Univention Bugzilla – Bug 31837
run newaliases in setup-join.sh (system-setup-boot)
Last modified: 2016-09-07 08:13:13 CEST
setup-join.sh sets the ucrv mail/alias/root (/etc/aliases) but does not update the alias cache with "newaliases" and then, after the system-setup-boot, mails to user "root" will disappear into the mail nirvana. FQDN before system-setup-boot: master.univention.qa FQDN after sytem-setup-boot: master.test.fb Jun 27 17:18:03 master postfix/smtp[22946]: F1BE8A015F: to=<systemmail@master.univention.qa>, orig_to=<root@localhost>, relay=none, delay=0.06, delays=0.01/0.01/0.04/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=master.univention.qa type=A: Host not found) Jun 27 17:18:03 master postfix/cleanup[22941]: 113E1A054D: message-id=<20130627151803.113E1A054D@master.test.fb> Jun 27 17:18:03 master postfix/qmgr[1231]: 113E1A054D: from=<>, size=2475, nrcpt=1 (queue active) Jun 27 17:18:03 master postfix/cleanup[22941]: 12343A062A: message-id=<20130627151803.113E1A054D@master.test.fb> Jun 27 17:18:03 master postfix/bounce[22948]: F1BE8A015F: sender non-delivery notification: 113E1A054D Jun 27 17:18:03 master postfix/qmgr[1231]: F1BE8A015F: removed Jun 27 17:18:03 master postfix/qmgr[1231]: 12343A062A: from=<>, size=2605, nrcpt=1 (queue active) Jun 27 17:18:03 master postfix/local[22945]: 113E1A054D: to=<root@master.test.fb>, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (forwarded as 12343A062A) Jun 27 17:18:03 master postfix/qmgr[1231]: 113E1A054D: removed Jun 27 17:18:03 master postfix/smtp[22946]: 12343A062A: to=<systemmail@master.univention.qa>, orig_to=<root@master.test.fb>, relay=none, delay=0.04, delays=0/0/0.03/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=master.univention.qa type=A: Host not found) Jun 27 17:18:03 master postfix/qmgr[1231]: 12343A062A: removed
This bug was annoying in ucs-test scripts that were trying to send test mails.
(In reply to Sönke Schwardt-Krummrich from comment #1) > This bug was annoying in ucs-test scripts that were trying to send test > mails. Despite that, mails from system services (cron, ...) to root@ and systemmail@ will not be delivered and will "vanish" due to the double bounce (mentioned above). I think this affects all amazon instances and VMWare appliances. The solution is very simple: call the command "newaliases".
With UCS this also happens after the installation.
We should addd a UCR module which executes newaliases.
*** Bug 12353 has been marked as a duplicate of this bug. ***
Added an UCR script /etc/univention/templates/scripts/etc/aliases to update (newaliases) /etc/aliases.db. QA please test if mail delivery works (mail to root -> /var/spool/mail/systemmail) directly after the installation.
OK, it works.
UCS 4.0-0 has been released: http://docs.univention.de/release-notes-4.0-0-en.html http://docs.univention.de/release-notes-4.0-0-de.html If this error occurs again, please use "Clone This Bug".
*** Bug 28251 has been marked as a duplicate of this bug. ***