Author Topic: Mail to root from root [SOLVED]  (Read 2103 times)

gofast321

  • Zen Apprentice
  • *
  • Posts: 33
  • Karma: +4/-0
    • View Profile
Mail to root from root [SOLVED]
« on: May 27, 2015, 08:30:52 pm »
In my mail log I'm seeing mail from the root account, to the root account.  It happens every few minutes all day long. What is causing this? I have no root mailbox. Below is an entry from the mail.log file and attached is a screenshot of the log in Zentyal.  I'm currently running Zentyal 4.1.1 that is fully updated.


Sample 1:
May 27 13:55:01 fbwpa2 amavis[12632]: (12632-02) Checking: nQXiU8kzCZ8C [127.0.0.1] <root@fbwpa2.fbwrightpa.local> -> <root@fbwpa2.fbwrightpa.local>
May 27 13:55:02 fbwpa2 postfix/smtpd[13748]: 739C7FE0B2E: client=localhost.localdomain[127.0.0.1]
May 27 13:55:02 fbwpa2 postfix/cleanup[13743]: 739C7FE0B2E: message-id=<20150527175501.A00CFFE0B31@fbwpa2.fbwrightpa.local>
May 27 13:55:02 fbwpa2 postfix/smtpd[13748]: disconnect from localhost.localdomain[127.0.0.1]
May 27 13:55:02 fbwpa2 postfix/qmgr[25228]: 739C7FE0B2E: from=<root@fbwpa2.fbwrightpa.local>, size=1322, nrcpt=1 (queue active)
May 27 13:55:02 fbwpa2 amavis[12632]: (12632-02) nQXiU8kzCZ8C FWD from <root@fbwpa2.fbwrightpa.local> -> <root@fbwpa2.fbwrightpa.local>, BODY=7BIT 250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: q$
May 27 13:55:02 fbwpa2 amavis[12632]: (12632-02) Passed, <root@fbwpa2.fbwrightpa.local> -> <root@fbwpa2.fbwrightpa.local>, quarantine nQXiU8kzCZ8C, Message-ID: <20150527175501.A00CFFE0B31@fbwpa2.fbwrightpa.$
May 27 13:55:02 fbwpa2 amavis[12632]: (12632-02) Hits: -1.9
May 27 13:55:02 fbwpa2 postfix/smtp[13744]: A00CFFE0B31: to=<root@fbwpa2.fbwrightpa.local>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.92, delays=0.11/0/0/0.81, dsn=2.0.0, status=sent (250 2.$
May 27 13:55:02 fbwpa2 postfix/qmgr[25228]: A00CFFE0B31: removed
May 27 13:55:02 fbwpa2 postfix/local[14688]: 739C7FE0B2E: to=<root@fbwpa2.fbwrightpa.local>, relay=local, delay=0.11, delays=0.06/0.01/0/0.04, dsn=2.0.0, status=sent (delivered to mailbox)
May 27 13:55:02 fbwpa2 postfix/qmgr[25228]: 739C7FE0B2E: removed

Sample 2:
May 27 14:00:01 fbwpa2 postfix/pickup[16404]: B2A07FE050E: uid=0 from=<root>
May 27 14:00:01 fbwpa2 postfix/cleanup[16516]: B2A07FE050E: message-id=<20150527180001.B2A07FE050E@fbwpa2.fbwrightpa.local>
May 27 14:00:01 fbwpa2 postfix/qmgr[16405]: B2A07FE050E: from=<root@fbwpa2.fbwrightpa.local>, size=608, nrcpt=1 (queue active)
May 27 14:00:01 fbwpa2 amavis[16106]: (16106-01) ESMTP :10024 /var/lib/amavis/amavis-20150527T140001-16106-hXCS2hkB: <root@fbwpa2.fbwrightpa.local> -> <root@fbwpa2.fbwrightpa.local> SIZE=608 Received: from $
May 27 14:00:01 fbwpa2 amavis[16106]: (16106-01) Checking: y76K2WvFL2n1 [127.0.0.1] <root@fbwpa2.fbwrightpa.local> -> <root@fbwpa2.fbwrightpa.local>
May 27 14:00:03 fbwpa2 postfix/smtpd[16522]: connect from localhost.localdomain[127.0.0.1]
May 27 14:00:03 fbwpa2 postfix/smtpd[16522]: 91289FE078E: client=localhost.localdomain[127.0.0.1]
May 27 14:00:03 fbwpa2 postfix/cleanup[16516]: 91289FE078E: message-id=<20150527180001.B2A07FE050E@fbwpa2.fbwrightpa.local>
May 27 14:00:03 fbwpa2 postfix/qmgr[16405]: 91289FE078E: from=<root@fbwpa2.fbwrightpa.local>, size=1322, nrcpt=1 (queue active)
May 27 14:00:03 fbwpa2 amavis[16106]: (16106-01) y76K2WvFL2n1 FWD from <root@fbwpa2.fbwrightpa.local> -> <root@fbwpa2.fbwrightpa.local>, BODY=7BIT 250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: q$
May 27 14:00:03 fbwpa2 amavis[16106]: (16106-01) Passed, <root@fbwpa2.fbwrightpa.local> -> <root@fbwpa2.fbwrightpa.local>, quarantine y76K2WvFL2n1, Message-ID: <20150527180001.B2A07FE050E@fbwpa2.fbwrightpa.$
May 27 14:00:03 fbwpa2 amavis[16106]: (16106-01) Hits: -1.9
May 27 14:00:03 fbwpa2 postfix/smtp[16518]: B2A07FE050E: to=<root@fbwpa2.fbwrightpa.local>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, delay=2, delays=0.13/0.02/0.01/1.8, dsn=2.0.0, status=sent (250 $
May 27 14:00:03 fbwpa2 postfix/qmgr[16405]: B2A07FE050E: removed
May 27 14:00:03 fbwpa2 postfix/local[16523]: 91289FE078E: to=<root@fbwpa2.fbwrightpa.local>, relay=local, delay=0.13, delays=0.08/0.01/0/0.04, dsn=2.0.0, status=sent (delivered to mailbox)
May 27 14:00:03 fbwpa2 postfix/qmgr[16405]: 91289FE078E: removed

« Last Edit: May 28, 2015, 06:59:16 pm by gofast321 »

rrosson

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +2/-0
    • View Profile
Re: Mail to root from root
« Reply #1 on: May 28, 2015, 06:27:00 pm »
To find out what these are you need SSH into your Zentyal system and edit (using sudo) /etc/aliases and add an entry like so:
        root: <your.admin@yourdomain.com>
 The run the command newaliases with sudo.

This will send all e-mail destined for the root account to the address you defined above.

Hope this helps.
-Ron

gofast321

  • Zen Apprentice
  • *
  • Posts: 33
  • Karma: +4/-0
    • View Profile
Re: Mail to root from root
« Reply #2 on: May 28, 2015, 06:56:35 pm »
That worked perfectly Ron. Thanks for the great tip! 

Apparently my system is complaining about a couple of issues it's having. Which has opened up a bunch of additional questions I now have but I will save those for another thread.   :)

Thanks for the help Ron!