[Greylist-users] Re: Relaydelay - NULL relay_ip

S.Hasan Asghar Naqvi hasghar at super.net.pk
Sun Nov 6 07:00:17 PST 2005


Hi Ken,

Thanks for your reply. I checked my sendmail.cf and found all Milter 
options required for relaydelay.pl enabled there.

    O Milter.macros.connect=j, _, {daemon_name}, {if_name}, {if_addr}
    O Milter.macros.helo={tls_version}, {cipher}, {cipher_bits},
    {cert_subject}, {cert_issuer}
    O Milter.macros.envfrom=i, {auth_type}, {auth_authen}, {auth_ssf},
    {auth_author}, {mail_mailer}, {mail_host}, {mail_addr}
    O Milter.macros.envrcpt={rcpt_mailer}, {rcpt_host}, {rcpt_addr}
    O Milter.macros.eom={msg_id}

Following is the log whenever an email hit the milter:

    === 2005-11-06 19:05:03 ===
    Stored Sender: <sender at domain.com>
    Passed Recipient: <recipient at mydomain.com>
    Use of uninitialized value in pattern match (m//) at
    /usr/src/relaydelay-0.04/relaydelay.pl line 589.
    Use of uninitialized value in concatenation (.) or string at
    /usr/src/relaydelay-0.04/relaydelay.pl line 607.
      Relay:  - If_Addr: [mymachine ip addr]
    Use of uninitialized value in concatenation (.) or string at
    /usr/src/relaydelay-0.04/relaydelay.pl line 608.
    Use of uninitialized value in concatenation (.) or string at
    /usr/src/relaydelay-0.04/relaydelay.pl line 608.
    Use of uninitialized value in concatenation (.) or string at
    /usr/src/relaydelay-0.04/relaydelay.pl line 608.
    Use of uninitialized value in concatenation (.) or string at
    /usr/src/relaydelay-0.04/relaydelay.pl line 608.
      RelayIP:  - RelayName:  - RelayIdent:  - PossiblyForged:
      From: sender at domain.com - To: recipient
    Use of uninitialized value in concatenation (.) or string at
    /usr/src/relaydelay-0.04/relaydelay.pl line 610.
      InMailer: esmtp - OutMailer: local - QueueID:
    Use of uninitialized value in string eq at
    /usr/src/relaydelay-0.04/relaydelay.pl line 625.
    Use of uninitialized value in substitution (s///) at
    /usr/src/relaydelay-0.04/relaydelay.pl line 653.
    Use of uninitialized value in substitution (s///) at
    /usr/src/relaydelay-0.04/relaydelay.pl line 653.
    Use of uninitialized value in substitution (s///) at
    /usr/src/relaydelay-0.04/relaydelay.pl line 653.
    Use of uninitialized value in substitution (s///) at
    /usr/src/relaydelay-0.04/relaydelay.pl line 653.
    Use of uninitialized value in substitution (s///) at
    /usr/src/relaydelay-0.04/relaydelay.pl line 745.
      New mail row successfully inserted.  Issuing a tempfail.  rowid: 10
      IN ABORT CALLBACK - PrivData: 0<sender at domain.com>

On Nov 3, 2005, at 5:08, S.Hasan Asghar Naqvi wrote:

>> I am using relaydelay-0.04 with sendmail-8.13.5 and default  
>> relaydelay.conf. The problem I am facing is that whenever the  
>> triplet is saved in relaytofrom table, relay_ip field is always  
>> NULL. Everything else looks working fine.
>  
>
Is your sendmail.cf passing all the important parameters to the milter? 
My sendmail.cf includes: O Milter.macros.connect=j, _, {daemon_name}, 
{if_name}, {if_addr} O Milter.macros.helo={tls_version}, {cipher}, 
{cipher_bits}, {cert_subject}, {cert_issuer} O Milter.macros.envfrom=i, 
{auth_type}, {auth_authen}, {auth_ssf}, {auth_author}, {mail_mailer}, 
{mail_host}, {mail_addr} O Milter.macros.envrcpt={rcpt_mailer}, 
{rcpt_host}, {rcpt_addr} Though I don't know if all of these are needed 
for relaydelay; you could grep for "getsymval" in relaydelay.pl to see.

Ken

-- 
Regards,
Hasan Asghar.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.puremagic.com/pipermail/greylist-users/attachments/20051106/f590357c/attachment.htm


More information about the Greylist-users mailing list