[Mimedefang] Best place to collect Sender, Recipient and Server IP on a single log line

Jon Rowlan jon.rowlan at sads.com
Sat Mar 15 06:12:11 EDT 2014


Hi all,

I want to collect the sender, recipient and IP of the sending server in
a single line in my log file.

I don't seem to have the recipient in the arguments to filter_sender and
I don't really want to turn on filter_recipient

And for servers listed to allow relay in access MD does not seem to run
filter_begin

I want to be able to quickly grep a list of sender, recipient and IP so
that I can filter by IP and quickly see a flood without having to hunt
through mail.log for the separate "from" and "to" events.

Can someone please suggest the best position for this code?

Thanks

jON



More information about the MIMEDefang mailing list