[SFW] [OpenIndiana Distribution - Bug #4197] Postfix upgrade doesn't maintain some important files

illumos project devnull at illumos.org
Fri Jan 3 09:04:03 UTC 2014


Issue #4197 has been updated by Predrag Zečević.

File 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.
----------------------------------------
Bug #4197: Postfix upgrade doesn't maintain some important files
https://www.illumos.org/issues/4197

Author: Predrag Zečević
Status: Closed
Priority: Normal
Assignee: OI SFW
Category: SFW (Solaris Freeware)
Target version: 
Difficulty: Bite-size
Tags: postfix


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(predrag_zecevic): 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:
<pre>
$ pfexec rm /usr/lib/sendmail && pfexec  ln -s /usr/sbin/sendmail.postfix /usr/lib/sendmail
$ pfexec chgrp postdrop /usr/sbin/postqueue /usr/sbin/postdrop
</pre>
and restarting postfix service, I've got MTA working again...

Postfix pkg:
<pre>
$ 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
</pre>

Regards.


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account



More information about the SFW-team mailing list