hi
how can i get outgoing email logs per domain, per email id
thanks
nilesh
hi
how can i get outgoing email logs per domain, per email id
thanks
nilesh
You can check email logs in the following location.
/var/log/exim_mainlog
/var/log/maillog
Use "grep domainname /var/log/exim_mainlog" for checking a particular domain.
Similarly "grep emailaddress /var/log/exim_mainlog" for particular email address.
Hope this helps.
Cheers!!!
Last edited by arunsv84; 02-13-2009 at 08:11 AM.
Both logs [incoming and outgoing mails] can be checked with same files as mentioned above by arunsv84.You can differentiate these logs through sign "less then equal to or grater then equal to " [ <= or => ]
i.e
For Incomming:
root@server: grep email@domain.com /var/log/exim_mainlog
2009-02-19 09:07:51 1La9Z6-0001Eg-IT <= email@domain.com H=cluster.server.com [x.x.x.x] P=esmtps X=TLSv1:AES256-SHA:256 S=926 id=499D67A2.5030502@domain.com T="Test - Incoming Mail"
For Outgoing:
2009-02-19 09:07:51 1La9Z6-0001Eg-IT => email@domain.com H=cluster.server.com [x.x.x.x] P=esmtps X=TLSv1:AES256-SHA:256 S=926 id=499D67A2.5030502@domain.com T="Test - Outgoing Mail"
Martin.K | JaguarPC.com
JaguarPC High Class Hosting since 1998*
Unmanaged VPS Hosting | Managed VPS Hosting | Fail Over Hosting
Thanks Arun &
Thanks Martin for elaborate information
Nilesh
On my end
I could see below for outgoing for mail id email@email.com
and below for incoming2010-04-28 11:07:43 1O6zxu-00068x-Mr <= email@email.com =(nilesh) [62.16.208.219] P=esmtpa A=fixed_login:email@email.com S=1500 id=00c001cae694$f9145cd0$0201a8c0@nilesh
But i could not see Subject line2010-04-28 11:10:30 1O700b-0008DE-1z => email <email@email.com> R=virtual_user T=virtual_userdelivery
Regards
Nilesh