Skip to main content

Email sending as root - possible solutions.

Comments

6 comments

  • cPanelMichael
    Hello :) Are you able to determine the source of the message by reviewing /var/log/exim_mainlog for messages coming from "root"? Thank you.
    0
  • crystalfat
    ]Hello :) Are you able to determine the source of the message by reviewing /var/log/exim_mainlog for messages coming from "root"? Thank you.

    Thank you for the response. I am not well versed enough to search for a string in what i assume will be a huge file? i did try to locate the message details using the ID however the message had been deleted. when the message is sent it is deferred for a retry and then when retried it is deleted. It doesnt seem to log.
    0
  • cPanelMichael
    You can use the "exigrep" utility to search /var/log/exim_mainlog. EX:
    exigrep MSGID /var/log/exim_mainlog
    Thank you.
    0
  • crystalfat
    This is what i got from the mainlog. It
    2015-03-05 18:37:42 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1YTaeT-0000Ho -O2 2015-03-05 18:37:42 cwd=/var/spool/exim 7 args: /usr/sbin/exim -t -oem -oi -f <> -E1YTaeT-0000Ho-O2 2015-03-05 18:37:42 1YTaeT-0000Ho-O2 <= root@Vps.mydomain.com U= root P=local S=777 T="lfd on Vps.mydomain.com: SSH login alert f or user root from 82.17.147.242 (GB/United" for root 2015-03-05 18:37:42 1YTaeT-0000Ho-O2 remote host address is the local host: vps. mydomain.com 2015-03-05 18:37:42 1YTaeT-0000Ho-O2 == root@vps.mydomain.com R= lookuphost defer (-1): remote host address is the local host 2015-03-05 18:37:42 1YTaeT-0000Ho-O2 ** root@Vps.mydomain.com: r etry timeout exceeded 2015-03-05 18:37:42 1YTaeT-0000Ho-O2 Completed 2015-03-05 18:37:42 1YTaeU-0000I7-DI <= <> R=1YTaeT-0000Ho-O2 U=mailnull P=local S=1730 T="Mail delivery failed: returning message to sender" for root@Vps. mydomain.com 2015-03-05 18:37:42 1YTaeU-0000I7-DI remote host address is the local host: vps. mydomain.com 2015-03-05 18:37:42 1YTaeU-0000I7-DI == root@vps.internationalworkpermits.com R= dkim_lookuphost defer (-1): remote host address is the local host 2015-03-05 18:37:42 1YTaeU-0000I7-DI ** root@Vps.mydomain.com: r etry timeout exceeded 2015-03-05 18:37:42 1YTaeU-0000I7-DI root@Vps.mydomain.com: erro r ignored 2015-03-05 18:37:42 1YTaeU-0000I7-DI Completed
    0
  • cPanelMichael
    It looks like this message stems from your LFD application. Is a valid email address configured as the "root" contact address in "WHM Home " Server Contacts " Edit System Mail Preferences"? Thank you.
    0
  • crystalfat
    ]It looks like this message stems from your LFD application. Is a valid email address configured as the "root" contact address in "WHM Home " Server Contacts " Edit System Mail Preferences"? Thank you.

    Having checked i can see there are no forwards set up for root, nobody or cpanel. I shall correct this now. thanks for your help. best chris
    0

Please sign in to leave a comment.