Re: [Exim] Logging...

Top Pagina
Delete this message
Reply to this message
Auteur: Edgar Lovecraft
Datum:  
Aan: exim-users
Onderwerp: Re: [Exim] Logging...
> From Mark Seamans <mark@???>:
>
> 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?
>

Here is what I use, it works great for getting all of the information that
I want to grep for from the logs.

##########################################################################
# Logging
##########################################################################
    #Define what to log/what not to log
    #Define the => log lines
    #    +delivery_size +sender_on_delivery
    #Define the <= log lines
    #    +received_recipients +received_sender +smtp_confirmation +subject
    #Define other 'non <= =>' log lines
    #    -dnslist_defer -host_lookup_failed -queue_run -rejected_header
    #    -retry_defer -skip_delivery +smtp_incomplete_transaction
log_selector                     = +delivery_size +sender_on_delivery \
    +received_recipients +received_sender +smtp_confirmation +subject \
    -dnslist_defer -host_lookup_failed -queue_run -rejected_header \
    -retry_defer -skip_delivery +smtp_incomplete_transaction
    #Turn Off duplicate syslog logging of messages
syslog_duplication               = false


--

--EAL--