Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Nov 2007
    Posts
    865

    Default outgoing email log

    hi

    how can i get outgoing email logs per domain, per email id

    thanks
    nilesh

  2. #2
    Member arunsv84's Avatar
    Join Date
    Oct 2008
    Location
    India
    Posts
    129
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    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.

  3. #3
    Member
    Join Date
    Nov 2007
    Posts
    865

    Default

    & what about incoming mails ??


    Quote Originally Posted by arunsv84 View Post
    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!!!

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge JPC-Martin's Avatar
    Join Date
    May 2008
    Posts
    38

    Default

    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

  5. #5
    Member
    Join Date
    Nov 2007
    Posts
    865

    Arrow

    Thanks Arun &

    Thanks Martin for elaborate information

    Nilesh

  6. #6
    Member
    Join Date
    Nov 2007
    Posts
    865

    Arrow

    Quote Originally Posted by JPC-Martin View Post
    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"
    On my end

    I could see below for outgoing for mail id email@email.com
    2010-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
    and below for incoming
    2010-04-28 11:10:30 1O700b-0008DE-1z => email <email@email.com> R=virtual_user T=virtual_userdelivery
    But i could not see Subject line

    Regards
    Nilesh

Similar Threads & Tags
Similar threads

  1. Replies: 3
    Last Post: 05-13-2009, 03:03 PM
  2. outgoing email
    By blargman in forum E-mail Discussions
    Replies: 0
    Last Post: 12-16-2008, 04:09 PM
  3. Best way to log incoming/outgoing e-mail?
    By Man0warr in forum cPanel and WHM Discussions
    Replies: 18
    Last Post: 07-10-2007, 08:43 AM
  4. Reading apf log: outgoing packets, hacked?
    By Miss Jacky in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 10-07-2004, 11:40 AM
  5. Need to stop outgoing Email
    By Dacsoft in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-30-2004, 06:06 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube