[Mimedefang] md_check_against_smtp_server and md_graphdefang_log
Kees Theunissen
C.J.Theunissen at differ.nl
Mon Mar 25 18:08:33 EDT 2013
On Mon, 25 Mar 2013, David F. Skoll wrote:
>On Mon, 25 Mar 2013 13:30:31 -0400
>James Curtis <jameswcurtis at hotmail.com> wrote:
>
>> md_check_against_smtp_server($sender, $recip, "localhost", "192.168.1.10");
>
>You are throwing away the return values from that function. You need
>to assign them to some local variables like this:
>
>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");
I assume that you intent to use meaningfull variable names.
Regards,
Kees Theunissen.
--
Kees Theunissen, System and network manager, Tel: +31 (0)30 6096724
Dutch Institute For Fundamental Energy Research (DIFFER)
e-mail address: C.J.Theunissen at differ.nl
postal address: PO Box 1207, 3430 BE Nieuwegein, NL
visitors address: Edisonbaan 14, 3439 MN Nieuwegein, NL
More information about the MIMEDefang
mailing list