Re: Can sendmail deliver to maildir instead of mailbox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux