postfix default installation yields errors with encrypted user directories

Bug #694493 reported by jan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
encfs (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: postfix

As of Lucid, one can choose a user's directory to be encrypted.
I chose this, and now, postfix only works if ALL users are logged in at the same time.
With a user with an encypted home directory, it is a bad idea to use the ~/Maildir configuration.
Most of the time, this directory cannot be present.

Thus, if ANY user has an ecrypted home directory, postfix should NOT use ~/Maildir.
Also, if ANY new user is added with an ecrypted home directory, postfix should be re-configured NOT use ~/Maildir.

Please also warn against this in manuals, e.g. het postfix serverguide
https://help.ubuntu.com/10.04/serverguide/C/postfix.html

I am now trying to find out how to get back to mbox style.
I have not yet found a manual for that ....

Revision history for this message
jan (jan-ubuntu-h-i-s) wrote :

Please add the feature on how to remove Maildir from
https://help.ubuntu.com/community/Postfix
this file states a default postfix behavior that is NOT consistent with lucid lynx default behavior.

I commented out the lines below
# home_mailbox = Maildir/
# mailbox_command = /usr/lib/dovecot/deliver -c /etc/dovecot/conf.d/01-dovecot-postfix.conf -n -m "${EXTENSION}"

then, dovecot could not fin the files anymore

To my disgust,
sudo dkpg -reconfigure dovecot-postfix
appended the two lines I just commented out back to /etc/postfix/main.cf

I was able to get this running in Unbuntu 8.04. If I only could find out how to do it in lucid lynx ...

Revision history for this message
jan (jan-ubuntu-h-i-s) wrote :

https://help.ubuntu.com/10.04/serverguide/C/dovecot-server.html
gives a wrong location for where to set
mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u # (for mbox)

after the recommended dovecot-postfix integration, this line resides in
 /etc/dovecot/conf.d/01-dovecot-postfix.conf

I hope that dkpg will never try to reconfigure ...

Revision history for this message
jan (jan-ubuntu-h-i-s) wrote :

Auch.
I lost several days of E-mail with this setting.
On
http://wiki2.dovecot.org/MailLocation/mbox
I finally found a better setting:

mail_location = mbox:/var/empty:INBOX=/var/mail/%u:INDEX=MEMORY
for
 /etc/dovecot/conf.d/01-dovecot-postfix.conf

This bug is getting painful !

Changed in postfix (Ubuntu):
status: New → Confirmed
affects: postfix (Ubuntu) → ubuntu-docs (Ubuntu)
Revision history for this message
jan (jan-ubuntu-h-i-s) wrote :

Added module encfs as affected, as the problem seems of a similar kind as:
https://bugs.launchpad.net/ubuntu/+source/encfs/+bug/319909

affects: ubuntu-docs (Ubuntu) → encfs (Ubuntu)
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.