The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

outgoing email log

Discussion in 'E-mail Discussions' started by crazyaboutlinux, Feb 13, 2009.

  1. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    hi

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

    thanks
    nilesh
     
  2. arunsv84

    arunsv84 Well-Known Member

    Joined:
    Oct 20, 2008
    Messages:
    373
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    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!!!
     
    #2 arunsv84, Feb 13, 2009
    Last edited: Feb 13, 2009
  3. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    & what about incoming mails ??


     
  4. JPC-Martin

    JPC-Martin Active Member
    PartnerNOC

    Joined:
    May 31, 2008
    Messages:
    37
    Likes Received:
    1
    Trophy Points:
    8
    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"
     
  5. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    Thanks Arun &

    Thanks Martin for elaborate information

    Nilesh
     
  6. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    On my end

    I could see below for outgoing for mail id email@email.com
    and below for incoming
    But i could not see Subject line

    Regards
    Nilesh
     
Loading...

Share This Page