/var/log/maillog no outgoing mail information ?

rscalover

Active Member
Dec 16, 2010
29
2
58
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
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.
 

rscalover

Active Member
Dec 16, 2010
29
2
58
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
I am happy to see you were able to determine the cause of the problem. Thank you for updating us with the outcome.