Bug #4197
closedPostfix upgrade doesn't maintain some important files
0%
Description
Hi,
I've got postfix update (to my /hipster installation - OpenIndiana Development oi_151.1.8 X86 (powered by illumos) / illumos-746f551) and sending of e-mails stop to work:
a) /usr/lib/sendmail didn't pointed /usr/sbin/sendmail.postfix (which should be done if sendmail is disabled and postfix enabled)
"[2013-10-11 05:02:48] sendmail {2.2} [ID 801593 mail.crit] NOQUEUE: SYSERR: drop_privileges: setuid(0) succeeded (when it should not)"
b) /usr/sbin/postqueue and /usr/sbin/postdrop had wrong group ownership, should be 'postgroup'
"postfix {2.4} [ID 947731 mail.warning] warning: not owned by group postdrop: /usr/sbin/postqueue"
"postfix {2.4} [ID 947731 mail.warning] warning: not owned by group postdrop: /usr/sbin/postdrop"
After fixing those:
$ pfexec rm /usr/lib/sendmail && pfexec ln -s /usr/sbin/sendmail.postfix /usr/lib/sendmail $ pfexec chgrp postdrop /usr/sbin/postqueue /usr/sbin/postdrop
and restarting postfix service, I've got MTA working again...
Postfix pkg:
$ pkg info postfix Name: service/network/smtp/postfix Summary: Mailer System Category: System/Services State: Installed Publisher: sfe Version: 2.9.8 Build Release: 5.11 Branch: 0.151.1.8 Packaging Date: September 30, 2013 07:52:29 PM Size: 16.92 MB FMRI: pkg://sfe/service/network/smtp/postfix@2.9.8,5.11-0.151.1.8:20130930T195229Z
Regards.
Files
Updated by Ken Mays almost 10 years ago
- Due date set to 2013-12-10
- Category set to 10
- Status changed from New to Closed
- Estimated time set to 1.00 h
- Difficulty changed from Medium to Bite-size
- Tags changed from needs-triage to postfix
Fixed. Bumped spec to 2.10.2 and fixed group permissions.
Updated by Predrag Zečević almost 10 years ago
- File sendmail-2-postfix.sh sendmail-2-postfix.sh added
Hi,
hate to update closed ticket, but I have noticed problems:
even if sendmail is disabled, some system programs used it (during boot of illumos-d683e1b this morning)...
Mails have been sent to '${HOSTNAME%%.*}.local' host (bash notation), which then spammed root account alias mailbox.
I think that we still need to run commands from script in attachment (similar to RH alternate sym-linking): rename sendmail tools and link those to postfix ones. Not sure if that will survive packages update (pfexec pkg update --be-name ...)
Regards.