1 (edited by tr00n3r 2017-09-15 02:45:44)

Topic: [solved] Receiving Cron Deamon Emails - Cron <sogo@mail>

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Linux/BSD distribution name and version: Ubuntu 16.04.2 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? yes (if that is the webinterface)
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue .
====

postmaster mail address is receiving every minute following email:

from:
root@mail.domain.com

subject:
Cron <sogo@mail.domain.com> /usr/sbin/sogo-tool expire-sessions 30 2>/dev/null; /usr/sbin/sogo-ealarms-notify

to:
sogo@mail.domain.com

body:
<0x0xc2d540[SOGoProductLoader]> SOGo products loaded from '/usr/lib/GNUstep/SOGo':
<0x0xc2d540[SOGoProductLoader]>   Mailer.SOGo, ActiveSync.SOGo, MainUI.SOGo, SchedulerUI.SOGo, PreferencesUI.SOGo, ContactsUI.SOGo, MailerUI.SOGo, MailPartViewers.SOGo, CommonUI.SOGo, Appointments.SOGo, Contacts.SOGo, AdministrationUI.SOGo





/var/log/mail.log

Sep 14 12:50:01 mail postfix/pickup[6579]: B2B72C9CA63: uid=999 from=<sogo>
Sep 14 12:50:01 mail postfix/cleanup[7346]: B2B72C9CA63: message-id=<20170914105001.B2B72C9CA63@mail.domain.com>
Sep 14 12:50:01 mail postfix/qmgr[1773]: B2B72C9CA63: from=<sogo@mail.domain.com>, size=937, nrcpt=1 (queue active)
Sep 14 12:50:01 mail postfix/10025/smtpd[7471]: connect from mail.domain.com[127.0.0.1]
Sep 14 12:50:01 mail postfix/10025/smtpd[7471]: E4903C9CA65: client=mail.domain.com[127.0.0.1]
Sep 14 12:50:01 mail postfix/cleanup[7346]: E4903C9CA65: message-id=<20170914105001.B2B72C9CA63@mail.domain.com>
Sep 14 12:50:01 mail postfix/qmgr[1773]: E4903C9CA65: from=<sogo@mail.domain.com>, size=1393, nrcpt=1 (queue active)
Sep 14 12:50:01 mail postfix/10025/smtpd[7471]: disconnect from mail.domain.com[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Sep 14 12:50:01 mail postfix/cleanup[7346]: E890BC9CA66: message-id=<20170914105001.B2B72C9CA63@mail.domain.com>
Sep 14 12:50:01 mail postfix/qmgr[1773]: E890BC9CA66: from=<sogo@mail.domain.com>, size=1524, nrcpt=1 (queue active)
Sep 14 12:50:01 mail postfix/local[7520]: E4903C9CA65: to=<sogo@mail.domain.com>, relay=local, delay=0.02, delays=0/0.01/0/0.01, dsn=2.0.0, status=sent (forwarded as E890BC9CA66)
Sep 14 12:50:01 mail amavis[7318]: (07318-04) Passed CLEAN {RelayedInbound}, [127.0.0.1] <sogo@mail.domain.com> -> <sogo@mail.domain.com>, Message-ID: <20170914105001.B2B72C9CA63@mail.domain.com>, mail_id: 5Qwl-kYUTGVY, Hits: 0, size: 936, queued_as: E4903C9CA65, 214 ms, Tests: [NO_RELAYS=-0.001,TVD_SPACE_RATIO=0.001]
Sep 14 12:50:01 mail postfix/qmgr[1773]: E4903C9CA65: removed
Sep 14 12:50:01 mail postfix/smtp-amavis/smtp[7326]: B2B72C9CA63: to=<sogo@mail.domain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.24, delays=0.01/0/0/0.23, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as E4903C9CA65)
Sep 14 12:50:01 mail postfix/qmgr[1773]: B2B72C9CA63: removed
Sep 14 12:50:01 mail postfix/pipe[7333]: E890BC9CA66: to=<postmaster@domain.com>, relay=dovecot, delay=0.04, delays=0/0/0/0.03, dsn=2.0.0, status=sent (delivered via dovecot service)
Sep 14 12:50:01 mail postfix/qmgr[1773]: E890BC9CA66: removed




crontab looks like this:

30   3   *   *   *   /bin/bash /var/vmail/backup/backup_mysql.sh

# iRedAPD: Clean up expired tracking records hourly.
1   *   *   *   *   python /opt/iredapd/tools/cleanup_db.py >/dev/null

# iRedAPD: Convert SPF DNS record of specified domain names to IP
#          addresses/networks every 30 minutes.
*/30   *   *   *   *   python /opt/iredapd/tools/spf_to_greylist_whitelists.py >/dev/null

# iRedMail: Cleanup Amavisd database
1   2   *   *   *   python /opt/www/iredadmin/tools/cleanup_amavisd_db.py >/dev/null

# iRedAdmin: Clean up sql database.
1   *   *   *   *   python /opt/www/iredadmin/tools/cleanup_db.py >/dev/null 2>&1
# iRedMail: Cleanup Roundcube SQL database
2   2   *   *   *   /usr/bin/php /opt/www/roundcubemail/bin/cleandb.sh >/dev/null

# iRedMail: Cleanup Roundcube temporary files under 'temp/' directory
2   2   *   *   *   /usr/bin/php /opt/www/roundcubemail/bin/gc.sh >/dev/null
# iRedMail: update Awstats statistics for web hourly
1   */1   *   *   *   /usr/bin/perl /usr/lib/cgi-bin/awstats.pl -update -config=web >/dev/null

# iRedMail: update Awstats statistics for smtp hourly
1   */1   *   *   *   /usr/bin/perl /usr/lib/cgi-bin/awstats.pl -update -config=smtp >/dev/null


any advice to stop this mails or to check why I am getting it? I cannot find the cron job for it or what exactly this emails mean.

thanks

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: [solved] Receiving Cron Deamon Emails - Cron <sogo@mail>

It's fixed in the latest SOGo release, please upgrade SOGo packages.

3

Re: [solved] Receiving Cron Deamon Emails - Cron <sogo@mail>

thanks a lot

latest release of SOGo fixed the issue:


root@mail:~# acp sogo
sogo:
  Installed: 3.2.10.20170914-1
  Candidate: 3.2.10.20170914-1
  Version table:
*** 3.2.10.20170914-1 500
        500 https://packages.inverse.ca/SOGo/nightly/3/ubuntu xenial/xenial amd64 Packages
        100 /var/lib/dpkg/status