Upon update, /etc/postfix/main.cf stopped procmail processing

Bug #715281 reported by Rob Frohne
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dovecot (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: postfix

Hi,

Upon update last night of dovecot and postifx, the /etc/postfix/main.cf was modified. The
mailbox_command was set as:
mailbox_command = /usr/lib/dovecot/deliver -c /etc/dovecot/conf.d/01-dovecot-postfix.conf -n -m "${EXTENSION}"

I had to reset it to:

mailbox_command = /usr/bin/procmail -a "$EXTENSION" DEFAULT=$HOME/Maildir/ MAILDIR=$HOME/Maildir

Thanks for all your good work!

Rob

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: postfix 2.7.0-1
ProcVersionSignature: Ubuntu 2.6.32-24.39-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
Date: Tue Feb 8 08:45:42 2011
ExecutablePath: /usr/lib/postfix/master
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
ProcEnviron:
 PATH=(custom, no user)
 LANG=C
SourcePackage: postfix

Revision history for this message
Rob Frohne (frohro) wrote :
Revision history for this message
James Page (james-page) wrote :

This update was made my the configuration of the dovecot-postfix package; reassigned to dovecot.

affects: postfix (Ubuntu) → dovecot (Ubuntu)
Revision history for this message
James Page (james-page) wrote :

It looks like (according to the comments) the dovecot-postfix.postinst script should not re-configure /etc/postfix/main.cf if it has already been configured by this package; however the logic in this script always moves the current backup file (indicator that it has already been configured) prior to then testing for the presence of the backup file and the reconfiguring postfix anyway.

I believe the change to use postfix should have been preserved during the upgrade; however the logic in the script causes it to be reconfigured every time the package is upgraded.

Revision history for this message
James Page (james-page) wrote :

Looking at the current development release, although this package has been renamed to mail-stack-delivery, the same logic exists in the postinst script.

Changed in dovecot (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
James Page (james-page)
Changed in dovecot (Ubuntu):
importance: Medium → Low
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

This is a dupe of #715056.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.