On Sun, 2006-06-04 at 22:38 +0200, Ambrogio wrote: > 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? You seem to be confused about the meaning of the MAILDIR variable. It's the directory that procmail runs from ($HOME by default). The default delivery location is set using the DEFAULT variable. Paul.