On 04/24/2014 10:46 AM, James Knott wrote:
Anton Aylward wrote:
Now each user's mail is delivered to ~/Mail/INBOX
In my dovecot.conf, I've got: mail_location = mbox:~/mail:INBOX=/var/mail/%u:LAYOUT=fs
Should I change that to?: mail_location = mbox:~/mail:INBOX=`/mail/%u:LAYOUT=fs
Are you running 1.x or 2.x? I have 2.x and use a number of namespaces including namespace inbox { # separator = / prefix = # location = maildir:~/Mail:INBOX=~/Mail/INBOX:LAYOUT=fs location = maildir:~/Mail/INBOX:LAYOUT=fs inbox = yes hidden = yes list = no } It is possible to mix mbox and maildir using namespaces. The 2.x documentation mentions this but you'll have to experiment. I finally got it working. Incoming and 'active' are maildir; archival is mbox. namespace ARCHIVE { # Namespace type: private, shared or public type = private separator = / prefix = ARCHIVE/ location = mbox:/home/%u/Mail/ARCHIVE. inbox = no hidden = no list = yes # subscriptions = yes } You could use the "%u" for the inbox namespace as well.
I expect I'll have to copy from /var/spool/mail first.
Yes
I had considered linking /var/spool/mail to ~/Mail.
Appropriately for each user. But beware! You may run into mbox/maildir problems! Postfix and fetchmail have to deal in the same format as well. -- If the errors of the past were good enough for our ancestors, they re good enough for us! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org