question about smtpd_reject_contact_information

2011-01-07 Thread Noel Jones
Unexpected behavior when testing smtpd_reject_contact_information. When sending to an unknown recipient, the $recipient macro isn't expanded. Is this expected behavior? I haven't tested with other reject reasons. postconf snippit: mail_version = 2.8-20110105

Re: question about smtpd_reject_contact_information

2011-01-07 Thread Wietse Venema
Noel Jones: Unexpected behavior when testing smtpd_reject_contact_information. When sending to an unknown recipient, the $recipient macro isn't expanded. Is this expected behavior? I haven't tested with other reject reasons. You know what? I wil have to remove sender/recipient from the

Re: question about smtpd_reject_contact_information

2011-01-07 Thread Victor Duchovni
On Fri, Jan 07, 2011 at 04:22:52PM -0600, Noel Jones wrote: Unexpected behavior when testing smtpd_reject_contact_information. When sending to an unknown recipient, the $recipient macro isn't expanded. Is this expected behavior? I haven't tested with other reject reasons. Yes, the sender

Re: question about smtpd_reject_contact_information

2011-01-07 Thread Noel Jones
On 1/7/2011 4:33 PM, Wietse Venema wrote: Noel Jones: Unexpected behavior when testing smtpd_reject_contact_information. When sending to an unknown recipient, the $recipient macro isn't expanded. Is this expected behavior? I haven't tested with other reject reasons. You know what? I wil

Re: question about smtpd_reject_contact_information

2011-01-07 Thread Wietse Venema
Wietse Venema: Noel Jones: Unexpected behavior when testing smtpd_reject_contact_information. When sending to an unknown recipient, the $recipient macro isn't expanded. Is this expected behavior? I haven't tested with other reject reasons. You know what? I wil have to remove

Re: question about smtpd_reject_contact_information

2011-01-07 Thread Noel Jones
On 1/7/2011 4:36 PM, Victor Duchovni wrote: On Fri, Jan 07, 2011 at 04:22:52PM -0600, Noel Jones wrote: Unexpected behavior when testing smtpd_reject_contact_information. When sending to an unknown recipient, the $recipient macro isn't expanded. Is this expected behavior? I haven't tested

Re: question about smtpd_reject_contact_information

2011-01-07 Thread Victor Duchovni
On Fri, Jan 07, 2011 at 05:01:22PM -0600, Noel Jones wrote: I see. Something like = Data: servertime=($localtime) client=($client_address|$client_port) ${sender?from=($sender)} Am I correct assuming the time and client should always be available? Yes. I don't think that