On 05/08/05, Herb Martin <[EMAIL PROTECTED]> wrote:
> In my Exim ACL_SMTP_MAIL handler (acl_check_mail) I
> have the following warnings set to write to the reject.log,
> and get sensible results for many SMTP connections but
> for some servers the results seem incorrect:
> 
> warn message = X-Greylist: listed no reverse record.
> 
>    logwrite = :reject: H=$sender_fullhost: no reverse record.
> 
>     !verify = reverse_host_lookup
> 
> warn message = X-Greylist: listed invalid HELO.
>    logwrite = :reject: H=$sender_fullhost: invalid HELO.
>        !verify = helo
> 
> These lines appear in the reject log
> (date/time prefix removed to shorten line length):
> 
> H=mail.mkcontacts.com [63.65.43.137]: no reverse record.
> H=mail.mkcontacts.com [63.65.43.137]: invalid HELO.
> H=n10a.bulk.scd.yahoo.com [66.94.237.44]: listed no reverse record.
> H=n10a.bulk.scd.yahoo.com [66.94.237.44]: listed invalid HELO.
> 
> Will someone please point out my syntax error or misunderstanding?

>From the docs:

"logwrite = <text> 

This modifier writes a message to a log file as soon as it is
encountered when processing an ACL."

It's doing what you told it it. You should look at the 'log_message'
modifier instead.

Peter

-- 
Peter Bowyer
Email: [EMAIL PROTECTED]
Tel: +44 1296 768003
VoIP: sip:[EMAIL PROTECTED]

--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to