1 (edited by gpapaiko 2022-08-27 13:20:33)

Topic: Cronjob notification not going to postmaster email

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.0
- Deployed with iRedMail Easy or the downloadable installer? downloadable installeder
- Linux/BSD distribution name and version: Ubuntu 20.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  Myql 1.7
- Web server (Apache or Nginx): NGINX
- Manage mail accounts with iRedAdmin-Pro?  No - just IredAdmin
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi,

I have an issue where the Postfix  mail queue has over 450 unsent email becase they are from cron backup jobs.
They seem to be going to:
postmaster@mail.domain.info (Postmaster)  instead of to postmaster@domain.info (Postmaster)
root@mail.domain.info instead of to root@domain.info
sogo@mail.domain.info instead of sogo@mail.domain.info.

Eg some of the headers:

From    MAILER-DAEMON@mail.domain.info (Mail Delivery System)
To    postmaster@mail.domain.info (Postmaster)
Date    Sun, 31 Jul 2022 19:23:34 +1000 (AEST)
Subject    Postfix SMTP server: errors from ip6-localhost[127.0.0.1]

From    root@mail.domain.info (Cron Daemon)
To    root@mail.domain.info
Date    Mon, 1 Aug 2022 03:00:02 +1000 (AEST)
Subject    Cron <root@insmail> /sbin/shutdown --reboot 1 "System rebooting in 1 minute"

From    root@mail.domain.info (Cron Daemon)
To    sogo@mail.domain.info
Date    Mon, 1 Aug 2022 00:00:02 +1000 (AEST)
Subject    Cron <sogo@insmail> /usr/sbin/sogo-tool update-autoreply -p /etc/sogo/sieve.cred

user sogo is alias for roo.
root has an alias of rood@domain.info
postmaster has an alias of postmaster@domain.info


In the general option I have this:
What domain to use in outbound mail: mail.domain.info  - Should this be something like the below:
What domain to use in outbound mail: domain.info  ?

How can I fix this?

----

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