This is a discussion on Maildir in homedir within the alt.comp.mail.exim forums, part of the Mail Servers and Related category; I'm using exim on debian etch, and configured it, by answering the simple questions asked during package configuration, to ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I'm using exim on debian etch, and configured it, by answering the
simple questions asked during package configuration, to deliver mails in as a Maildir in users' homedirs. Despite of this setting, exim still delivers mails as mailbox files in /var/mail/<username>. Is it the normal behaviour, or a configuration problem? |
|
|||
|
On Jun 20, 1:26 pm, Johan Boulé wrote:
> I'm using exim on debian etch, and configured it, by answering the > simple questions asked during package configuration, to deliver mails in > as a Maildir in users' homedirs. > > Despite of this setting, exim still delivers mails as mailbox files in > /var/mail/<username>. > > Is it the normal behaviour, or a configuration problem? It's the default behavior, call it normal if you like. It can be changed easily by defining a local delivery agent, I don't use maildir format, but I do use mailboxes under ~/mail by changing: # in ROUTERS CONFIGURATION, at the end localuser: .... transport = local_delivery_tmail # in TRANSPORTS CONFIGURATION # UW-imap tmail local_delivery_tmail: driver = pipe command = /usr/bin/tmail $local_part delivery_date_add envelope_to_add return_path_add # user = $local_part # group = exim # log_output use_crlf message_prefix = message_suffix = The program tmail is part of UW IMAP, you can configure it to use different format of mailboxes, the above use means that it will use the same format of the (already existing) mailbox, or whatever a global configuration says. HTH -- René Berber |
|
|||
|
Hi René,
Thanks for the reply. I forgot to mention in the newsgroup that in the mean while i have found a way to obtain the behaviour i wanted. I turns out that on debian, if procmail is installed, it becomes the default routing method for exim, and hence the debconf setting that tells we want mail in ~/Maildir isn't applied. After i edited /etc/procmailrc to add a default rule asking for mails to go to ~/Maildir, everything ended up into Maildirs in user's homedirs. René Berber wrote: > On Jun 20, 1:26 pm, Johan Boulé wrote: > >> I'm using exim on debian etch, and configured it, by answering the >> simple questions asked during package configuration, to deliver mails in >> as a Maildir in users' homedirs. >> >> Despite of this setting, exim still delivers mails as mailbox files in >> /var/mail/<username>. >> >> Is it the normal behaviour, or a configuration problem? > > It's the default behavior, call it normal if you like. > > It can be changed easily by defining a local delivery agent, I don't > use maildir format, but I do use mailboxes under ~/mail by changing: > > # in ROUTERS CONFIGURATION, at the end > localuser: > ... > transport = local_delivery_tmail > > # in TRANSPORTS CONFIGURATION > # UW-imap tmail > local_delivery_tmail: > driver = pipe > command = /usr/bin/tmail $local_part > delivery_date_add > envelope_to_add > return_path_add > # user = $local_part > # group = exim > # log_output > use_crlf > message_prefix = > message_suffix = > > The program tmail is part of UW IMAP, you can configure it to use > different format of mailboxes, the above use means that it will use > the same format of the (already existing) mailbox, or whatever a > global configuration says. > > HTH > -- > René Berber > |
![]() |
| Thread Tools | |
| Display Modes | |
|
|