accept smtp context
[monkeysphere-validation-agent.git] / Crypt / Monkeysphere / MSVA.pm
index 02170b17f50454a5998d3df376ba492b74d2e9a0..ce838e4db8936af00c1ba3acef1218b9010ffb33 100755 (executable)
 
   sub getuid {
     my $data = shift;
-    if ($data->{context} =~ /^(https|ssh|ike)$/) {
+    if ($data->{context} =~ /^(https|ssh|smtp|ike)$/) {
       $data->{context} = $1;
       if ($data->{peer} =~ /^($RE{net}{domain})$/) {
         $data->{peer} = $1;