[Mimedefang] md_check_against_smtp_server and md_graphdefang_log

Tilman Schmidt t.schmidt at phoenixsoftware.de
Tue Mar 26 08:14:18 EDT 2013

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", "");
> Shouldn't that be:
>   my ($retval, $text, $code, $dsn) = md_check_against_smtp_server($sender, $recip, "localhost", "");

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",

Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <https://lists.mimedefang.org/pipermail/mimedefang_lists.mimedefang.org/attachments/20130326/207cc8b6/attachment.sig>

More information about the MIMEDefang mailing list