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.

/var/log/maillog no outgoing mail information ?

Discussion in 'E-mail Discussions' started by rscalover, Mar 7, 2014.

  1. rscalover

    rscalover Member

    Joined:
    Dec 16, 2010
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I managed to get mailgraph working with exim and it's showing everything just fine accept for outgoing emails and i think i know why.I've setup mailgraph to use the logfile "/var/log/maillog" because the actual exim logfile eg /var/log/exim_mainlog is not in syslog format and it won't work.The exim documentation says

    • mainlog is mapped to LOG_INFO
    • rejectlog is mapped to LOG_NOTICE
    • paniclog is mapped to LOG_ALERT

    found that here so i'm on Centos 6.5 (64 bit) in /etc/rsyslog.conf i have

    Code:
    mail.*           /var/log/maillog
    

    yet no outgoing email information is there is it because i'm using MailScanner ?.I don't like half work i want it to work completely.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You could try temporarily uninstalling MailScanner, but keep in mind that both mailgraph and mailscanner are third-party applications. You may receive more user-input for this issue directly from the developers or support teams of those applications.

    Thank you.
     
  3. rscalover

    rscalover Member

    Joined:
    Dec 16, 2010
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I found the problem.MailScanner is using the same logging "text" in /var/log/maillog for both incoming and outgoing messages so i can't create a regex to feed to that log to grap the outgoing messages but you're right not a problem for CPanel.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page