Am 25.03.2013 23:08, schrieb Kees Theunissen: > On Mon, 25 Mar 2013, David F. Skoll wrote: >> >> my ($retval, $code, $dsn, $text) = md_check_against_smtp_server($sender, >> $recip, "localhost", "192.168.1.10"); > > Shouldn't that be: > my ($retval, $text, $code, $dsn) = md_check_against_smtp_server($sender, > $recip, "localhost", "192.168.1.10");
Why four variables? My man mimedefang-filter says:
The return value is always a
two-element array. If the RCPT TO: command succeeds, the return
value is ("CONTINUE", "OK"). If the RCPT fails with a permanent
failure, the return value is ("REJECT", $msg), where $msg is the
message from the SMTP server. Any temporary failures, connec-
tion errors, etc. result in a return value of ("TEMPFAIL",
$msg).
--
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany
signature.asc
Description: OpenPGP digital signature
_______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

