Hi,
I’m just setting up my second Zammad server and experiencing a small problem:
Infos:
- Used Zammad version: 5.1.1-1653048051.ea163bb0.focal
- Used Zammad installation type: package
- Operating system: Ubuntu 20.04 x64 LTS server
- Browser + version: Firefox 100.0.2
Expected behavior:
- Zammad should send mail with fqdn in message-id
Actual behavior:
- Zammad sends mail with myhostname.mail in message-id
- uncle cron sends with fqdn, so system seems to be okay (fresh install of ubu 20.04 vm)
How can I change this behiavour?
I already changed the postfix configuration, but that one is okay.
The system is able to send cron mails to my exchange on-prem server and they arrive at my mailbox with correct fqdn
This is what log says:
This is what Zammad does:
May 23 18:18:35 myhostname postfix/pickup[4294]: 63C5614192E: uid=115 from=<ticket@mydomain.de>
May 23 18:18:35 myhostname postfix/cleanup[4648]: 63C5614192E: message-id=<628bb3db61f6d_13a62c4ac2767d@myhostname.mail>
May 23 18:18:35 myhostname postfix/qmgr[4295]: 63C5614192E: from=<ticket@mydomain.de>, size=815, nrcpt=1 (queue active)
May 23 18:18:35 myhostname postfix/smtp[4650]: 63C5614192E: to=<verify-external-smtp-sending@discard.zammad.org>, relay=MY-ONPREM-EXCH.mydomain.de[192.168.41.114]:25, delay=0.11, delays=0/0/0/0.11, dsn=2.6.0, status=sent (250 2.6.0 <628bb3db61f6d_13a62c4ac2767d@myhostname.mail> [InternalId=34398393073675, Hostname=MY-ONPREM-EXCH.mydomain.de] 2250 bytes in 0.101, 21,690 KB/sec Queued mail for delivery)
May 23 18:18:35 myhostname postfix/qmgr[4295]: 63C5614192E: removed
This is what Cron does:
May 23 18:19:01 myhostname CRON[5351]: pam_unix(cron:session): session opened for user root by (uid=0)
May 23 18:19:01 myhostname CRON[5352]: (root) CMD (/ADMIN/./test.sh)
May 23 18:19:01 myhostname postfix/pickup[4294]: 4DAAE14192E: uid=0 from=<root>
May 23 18:19:01 myhostname CRON[5351]: pam_unix(cron:session): session closed for user root
May 23 18:19:01 myhostname postfix/cleanup[4648]: 4DAAE14192E: message-id=<20220523161901.4DAAE14192E@myhostname.mydomain.de>
May 23 18:19:01 myhostname postfix/qmgr[4295]: 4DAAE14192E: from=<root@mydomain.de>, size=674, nrcpt=1 (queue active)
May 23 18:19:01 myhostname postfix/smtp[4650]: 4DAAE14192E: to=<myaddress@mydomain.de>, relay=MY-ONPREM-EXCH.mydomain.de[192.168.41.114]:25, delay=0.11, delays=0/0/0/0.11, dsn=2.6.0, status=sent (250 2.6.0 <20220523161901.4DAAE14192E@myhostname.mydomain.de> [InternalId=34398393073676, Hostname=MY-ONPREM-EXCH.mydomain.de] 2100 bytes in 0.102, 19,987 KB/sec Queued mail for delivery)
May 23 18:19:01 myhostname postfix/qmgr[4295]: 4DAAE14192E: removed
Thanks a lot for your help!