Hello,

I am looking for a solution to get the following information from postfix:
- Ignore connections from 127.0.0.1 or process only connections from
127.0.0.1 (with another flag/option set)
- What is done with the connection (mail accepted/mail rejected (if rejected
what was the reason, for example helo check failed/greylisted/recipient
doesn't exist/blacklisted))

Or if the above isn't available something that outputs the following to a
file or the commandline (so I can grep at it and use wc -l):
- Create a single line with information about a message
(time/sender/recipient/helo/sending server/action (including error
code/error information if available)

I did check and didn't find it here (or I didn't look good enough)
http://www.postfix.org/addon.html#logfile

Is something like that available for postfix or should I create something
for it?

With kind regards,

Mark Scholten

Reply via email to