Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

/var/log/maillog no outgoing mail information ?

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

  1. rscalover

    rscalover Member

    Joined:
    Dec 16, 2010
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    51
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,491
    Likes Received:
    1,964
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. rscalover

    rscalover Member

    Joined:
    Dec 16, 2010
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    51
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,491
    Likes Received:
    1,964
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I am happy to see you were able to determine the cause of the problem. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice