View Single Post
Old 8th February 2009, 10:35
jayesha jayesha is offline
Junior Member
Join Date: Jun 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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 " 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[4724]: 8B84F2239C9: client=localhost.localdomain[]Feb 8 12:09:04 server1 postfix/cleanup[4732]: 8B84F2239C9: message-id=<32872. 3.250>
Feb 8 12:09:04 server1 postfix/cleanup[4732]: 8B84F2239C9: warning: header Subject: test from localhost.localdomain[]; from=<> to=<> proto=ESMTP helo=<>
Feb 8 12:09:04 server1 postfix/qmgr[4715]: 8B84F2239C9: from=<>, size=1086, nrcpt=1 (queue active)
Feb 8 12:09:04 server1 sendmail[4723]: n186d4Hp004723:, (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30533, relay=[] [], dsn=2.0.0, stat=Sent (Ok: queued as 8B84F2239C9)
Feb 8 12:09:05 server1 postfix/pipe[4734]: 8B84F2239C9: to=<>, relay=maildrop, delay=1, status=sent (
Feb 8 12:09:05 server1 postfix/qmgr[4715]: 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
Reply With Quote
Sponsored Links