![]() ![]() Oct 25 07:39:09 postfix01 postfix-amavis/smtpd: 69119903DA8: client=localhost.localdomain ![]() Ln -s /var/adm/bin/posttrace.sh /usr/bin/posttraceĮxample: posttrace -l /var/log/maillog -t 25 07:39:09 postfix01 postfix/smtpd: 4AF88903D90: client=sender_ bin/mv -f /tmp/posttrace.sh /var/adm/bin/ Still, I think it can be optimized further.ĭownload and install: mkdir -p /var/adm/bin Here’s a simple script that, given sender and/or recipient address, will scan the maillog and provide you with a more or less clear picture of the matching incoming and outgoing emails. The script uses parallel utility to speed up the parsing process by taking advantage of your server’s multiple CPU cores. ![]() a secondary virus scanner, a malware scanner, etc.), the same email may change IDs multiple times. For example, if you have Amavis configured for spam and virus scanning, a new email arrives and it given ID A, it then goes to Amavis and loops back into the queue, but now with ID B, If you have additional email processing facilities configured (i.e. ![]() Depending on your Postfix configuration, the same email may cycle through the postfix queue several times, changing it’s queue ID and making it difficult to track. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |