<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Ken,<br>
<br>
Thanks for your reply. I checked my sendmail.cf and found all Milter
options required for relaydelay.pl enabled there.<br>
<blockquote><small>O Milter.macros.connect=j, _, {daemon_name},
{if_name}, {if_addr}</small><br>
<small>O Milter.macros.helo={tls_version}, {cipher}, {cipher_bits},
{cert_subject}, {cert_issuer}</small><br>
<small>O Milter.macros.envfrom=i, {auth_type}, {auth_authen},
{auth_ssf}, {auth_author}, {mail_mailer}, {mail_host}, {mail_addr}</small><br>
<small>O Milter.macros.envrcpt={rcpt_mailer}, {rcpt_host}, {rcpt_addr}</small><br>
<small>O Milter.macros.eom={msg_id}</small><br>
</blockquote>
Following is the log whenever an email hit the milter:<br>
<blockquote><small>=== 2005-11-06 19:05:03 ===</small><br>
<small>Stored Sender: <a class="moz-txt-link-rfc2396E" href="mailto:sender@domain.com"><sender@domain.com></a></small><br>
<small>Passed Recipient: <a class="moz-txt-link-rfc2396E" href="mailto:recipient@mydomain.com"><recipient@mydomain.com></a></small><br>
<small>Use of uninitialized value in pattern match (m//) at
/usr/src/relaydelay-0.04/relaydelay.pl line 589.</small><br>
<small>Use of uninitialized value in concatenation (.) or string at
/usr/src/relaydelay-0.04/relaydelay.pl line 607.</small><br>
<small> Relay: - If_Addr: [mymachine ip addr]</small><br>
<small>Use of uninitialized value in concatenation (.) or string at
/usr/src/relaydelay-0.04/relaydelay.pl line 608.</small><br>
<small>Use of uninitialized value in concatenation (.) or string at
/usr/src/relaydelay-0.04/relaydelay.pl line 608.</small><br>
<small>Use of uninitialized value in concatenation (.) or string at
/usr/src/relaydelay-0.04/relaydelay.pl line 608.</small><br>
<small>Use of uninitialized value in concatenation (.) or string at
/usr/src/relaydelay-0.04/relaydelay.pl line 608.</small><br>
<small> RelayIP: - RelayName: - RelayIdent: - PossiblyForged:</small><br>
<small> From: <a class="moz-txt-link-abbreviated" href="mailto:sender@domain.com">sender@domain.com</a> - To: recipient</small><br>
<small>Use of uninitialized value in concatenation (.) or string at
/usr/src/relaydelay-0.04/relaydelay.pl line 610.</small><br>
<small> InMailer: esmtp - OutMailer: local - QueueID:</small><br>
<small>Use of uninitialized value in string eq at
/usr/src/relaydelay-0.04/relaydelay.pl line 625.</small><br>
<small>Use of uninitialized value in substitution (s///) at
/usr/src/relaydelay-0.04/relaydelay.pl line 653.</small><br>
<small>Use of uninitialized value in substitution (s///) at
/usr/src/relaydelay-0.04/relaydelay.pl line 653.</small><br>
<small>Use of uninitialized value in substitution (s///) at
/usr/src/relaydelay-0.04/relaydelay.pl line 653.</small><br>
<small>Use of uninitialized value in substitution (s///) at
/usr/src/relaydelay-0.04/relaydelay.pl line 653.</small><br>
<small>Use of uninitialized value in substitution (s///) at
/usr/src/relaydelay-0.04/relaydelay.pl line 745.</small><br>
<small> New mail row successfully inserted. Issuing a tempfail.
rowid: 10</small><br>
<small> IN ABORT CALLBACK - PrivData: 0<a class="moz-txt-link-rfc2396E" href="mailto:sender@domain.com"><sender@domain.com></a></small><br>
</blockquote>
<pre class="moz-signature" cols="72">On Nov 3, 2005, at 5:08, S.Hasan Asghar Naqvi wrote:
</pre>
<blockquote type="cite">
<pre wrap=""><span class="moz-txt-citetags">> </span>I am using relaydelay-0.04 with sendmail-8.13.5 and default
<span class="moz-txt-citetags">> </span>relaydelay.conf. The problem I am facing is that whenever the
<span class="moz-txt-citetags">> </span>triplet is saved in relaytofrom table, relay_ip field is always
<span class="moz-txt-citetags">> </span>NULL. Everything else looks working fine.
</pre>
</blockquote>
<!---->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.
<br>
<br>
Ken
<pre class="moz-signature" cols="72">
--
Regards,
Hasan Asghar.</pre>
</body>
</html>