Re: Relaydelay - NULL relay_ip

"S.Hasan Asghar Naqvi" <[email protected]>
Newsgroups gmane.mail.spam.greylist.user
Organization Supernet Ltd.
Message-ID <[email protected]>
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: <[email protected]>
    Passed Recipient: <[email protected]>
    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: [email protected] - 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<[email protected]>

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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.