Extra postfix log for final delivery ?
Dear All ,
I am having one query , how to get extra mailog in one line in postfix other than the default one which is coming in /var/log/mailllog ? ( i.e final status / logreport in one line )
I installed the postfix mailserver with help of "http://www.howtoforge.com/virtual_users_postfix_courier_mailscanner_clamav_c entos"
I want to get the maillog report which contain the date , time , sender email id , receipent email id ,subjetct of email , and status of mail ( sent , bounce , deferred or reject ) ,
Is it possible to get final delivery report line in maillog with above ??
For Example the email which is sent locally , I am getting following log ( similarly for outging email )
Feb 8 12:09:04 server1 postfix/smtpd: 8B84F2239C9: client=localhost.localdomain[127.0.0.1]Feb 8 12:09:04 server1 postfix/cleanup: 8B84F2239C9: message-id=<firstname.lastname@example.org 3.250>
Feb 8 12:09:04 server1 postfix/cleanup: 8B84F2239C9: warning: header Subject: test from localhost.localdomain[127.0.0.1]; from=<email@example.com> to=<firstname.lastname@example.org> proto=ESMTP helo=<server1.test.com>
Feb 8 12:09:04 server1 postfix/qmgr: 8B84F2239C9: from=<email@example.com>, size=1086, nrcpt=1 (queue active)
Feb 8 12:09:04 server1 sendmail: n186d4Hp004723: firstname.lastname@example.org, email@example.com (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30533, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 8B84F2239C9)
Feb 8 12:09:05 server1 postfix/pipe: 8B84F2239C9: to=<firstname.lastname@example.org>, relay=maildrop, delay=1, status=sent (yourdomain.com)
Feb 8 12:09:05 server1 postfix/qmgr: 8B84F2239C9: removed
Is it possible to get to "ctladdr=" name in final delivery of each email ?
I tried the mailwatch with mailscanner , but it's report showing the scanning log and not the actual final delivery report.
Is there any script / postfix parameter by which I can achive the my final aim ?
Please guid me I am really stuck here .
Thanks & Regards
|All times are GMT +2. The time now is 00:42.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.