Maildir in homedir

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 ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.exim

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-20-2007
Johan Boulé
 
Posts: n/a
Default Maildir in homedir

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?
Reply With Quote
  #2 (permalink)  
Old 06-25-2007
René Berber
 
Posts: n/a
Default Re: Maildir in homedir

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

Reply With Quote
  #3 (permalink)  
Old 06-29-2007
Johan Boulé
 
Posts: n/a
Default Re: Maildir in homedir

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
>

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:49 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0