Public bug reported:

Binary package hint: courier-imap

Running Ubuntu Edgy server.

I have been upgrading an old server. For various reasons I have my
maildir configured to point at a folder called ".maildir" instead of the
default Maildir.

I restored my .maildir folders from my backup
Then I changed courier-imap /etc/courier/imapd:
At the bottom of the file it says:
MAILDIRPATH=Maildir

I changed that to .maildir

After restarting the server I found that the server still tries to
deliver mail to the Maildir folder.

==> mail.log <==
Jan  1 01:30:51 enoch couriertcpd: chdir Maildir: No such file or directory

And ps gave me:
root      4780  4779  0 01:08 ?        00:00:00 /usr/sbin/couriertcpd 
-address=192.168.1.12 -maxprocs=40 -maxperip=20 -nodnslookup -noidentlookup 143 
/usr/lib/courier/courier/imaplogin /usr/bin/imapd Maildir

I looked in /etc/init.d/courier-imap and found that it uses the MAILDIR
variable instead of MAILDIRPATH

FIX: Change the default imapd and imapd-ssl so MAILDIRPATH=Maildir ->
MAILDIR=Maildir

The error must have been there back since Hoary. But looking back at my
old config files I hacked my way through the problem back then by
changing the /etc/default/courier file, since that one uses the right
variable.

** Affects: courier (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Can't change location of maildir in courier-imap
https://launchpad.net/bugs/86802

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to