Autor: Miquel van Smoorenburg Datum: To: exim-users Betreff: [Exim] Re: Exim, Maildir & Procmail
In article <20020211230504.A2632@???>,
Paul Tansom <paul@???> wrote: >I've been trying to get Exim to work with Maildir delivery and been going spare
>because it hasn't been working. Any example config file I've found has failed
>until now, when I realise that the delivery method is picking up my Procmail
>pipe and so dropping everything into my mbox that isn't caught by a specific
>filter.
That is what procmail does, yes.
>I had assumed that it would be delivered as per the Exim config if there wasn't
>a matching rule, but apparantly not.
No, when exim passes a message to an external program such as procmail
it assumes that the mail gets delivered by that program.
>Does anyone know whether I should be
>changing the exim.conf file or the .procmailrc file to sort this. i.e. can I
>configure Exim to get Procmail to default back if it doesn't match, or do I
>configure Procmail to either default back or have a catchall rule to drop into
>my Inbox.
If you're using a recent procmail (i.e. 3.22) then procmail has complete
maildir support. Just configure procmail to deliver to a maildir
folder. For the default folder (system mailbox) set DEFAULT appropriately,
for example
DEFAULT=/var/spool/mail/$LOGNAME/
tells procmail to use that as system mailbox. The trailing slash
means 'deliver in maildir format'
I've set that systemwide in /etc/procmailrc
I'm using the Debian version of procmail 3.22 btw which has some
critical fixes wrt the standard version. Unfortunately it looks like
development of procmail has halted - 3.23 should have been released
by now, but the latest snapshot is from a few months ago .. but
vanilla 3.22 might work for you. Judging from the patches I
just wouldn't enable mmap support.
Mike.
--
Computers are useless, they only give answers. --Pablo Picasso