Re: [Exim] Logging...

Góra strony
Delete this message
Reply to this message
Autor: Blaine Simpson
Data:  
Dla: exim-users
Temat: Re: [Exim] Logging...
One way would be to find the exact acl that is causing the rejects and
add a warn printing the $variable for the recipient(s) (and whatever
else you would like to record), as well as a flag for your perl/grep/whatever
script to look for.

Depending on how you're going to whitelist, you may need the smtp envelope
receiver or the $header_from:. I don't recall the variable for the
former (since that value's used automatically in most places where you
need it), but it should be listed in chapter 4 of the spec.



Mark Seamans wrote:
>
> I have a customer that I am relaying/queueing mail for. My server accepts
> mail (MX record) for his domains, does the exim-acl, spamassassin, clamav,
> the forwards the mail to his server (Exchange2K).
>
> He would like to see the messages that are rejected my mail server so we can
> create a whitelist of email accounts that should not be rejected due to spam
> score. (ie...whitelist_to in spamassassin).
>
> As you know, exim does not log the receipient info on rejected mail messages.
>
> I was thinking maybe (if possible) to increase the verbose logging of exim,
> then grep'ing for the receipent and emailing the parsed log to the admin of
> the domain.
>
> Possible? Other ideas?
>
> Thanks!
>
> Mark Seamans
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>


--
ICF:  703-934-3692       Cell:  703-944-9317