Can sendmail deliver to maildir instead of mailbox

Ambrogio fn050202 at flashnet.it
Sun Jun 4 20:38:48 UTC 2006


Il giorno dom, 04/06/2006 alle 21.18 +0100, Paul Howarth ha scritto:

> Sendmail doesn't actually "deliver" the mail at all. In Fedora, by
> default it sub-contracts this job to procmail, and procmail can deliver
> to a variety of mail formats, including maildir. A sample ~/.procmailrc
> would be:
> 
> :0
> /path/to/mail/delivery/dir
> 
> See "man procmailrc".
Tnx a lot,

modified my procmailrc in this way
PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
MAILDIR=/var/spool/mail/rootmd/
#DEFAULT=$MAILDIR/$USER
LOGFILE=/var/log/procmail
LOCKFILE=$HOME/.lockmail

#BOGOFILTER_DIR=/var/spool/bogofilter

#### backup ####
#:0c:
#mail.backup
####
:0fw
| bogofilter -p -l -e --spam-header-name=X-Ambrogio-bogo

:0e
{
        EXITCODE=75
        HOST
}

:0
/var/spool/mail/rootmd/

My question is:
Why changing only MAILDIR is not working?

tnx
 Ambrogio




More information about the fedora-list mailing list