Re: How is local mail delivery accomplished using postfix?
- From: tfreeman@xxxxxxxxxxxxxxxxxx
- Date: Thu, 25 May 2006 10:24:50 -0400 (EDT)
On Wed, 24 May 2006, Todd Zullinger wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
tfreeman@xxxxxxxxxxxxxxxxxx wrote:
What I want to happen is to use postfix and spamassassin to que up
the email to either accessed locally or by imap by the remote son or
daughters. What I'm not finding out (google & RH docs etc) is how
postfix hands off email for delivery to local spool, such that
spamassassin can get it's paws on the message.
You can do this with just a few edits. In /etc/postfix/main.cf,
specify the path to procmail for $mailbox_command:
mailbox_command = /usr/bin/procmail
Create /etc/procmailrc and include the spamassassin-spamc.rc file:
INCLUDERC=/etc/mail/spamassassin/spamassassin-spamc.rc
There are issues with procmail and SELinux, which don't appear to be
fixed with the latest selinux policy I have installed (2.2.40-1.fc5),
so you may need to disable that or work out the proper policy changes
until the official selinux policy gets updated.
(See the fedora-selinux-list archives for some details. Paul Howarth
brought this up and pointed me toward it, so he may well be able to
offer some specific tips in this area.)
As with most things, there are other ways to do this and plenty of
ways you could tweak things further. The postfix, procmail, and
spamassassin manuals will be of help, as will google. FWIW though, I
just made the changes I outlined and tested them, so I know that they
do at least work. YMMV.
After that, you can setup your email clients to do whatever they want
with mail that's marked as spam by spamassassin. Setting up a method
to train the Bayesian filters is something I'd highly recommend.
Todd - Thanks. That is one major headache down. Now to learn something
about the next headache. 8-/
--
=============================================
If you think Education is expensive
Try Ignorance
Author Unknown
============================================
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- Re: How is local mail delivery accomplished using postfix?
- From: Todd Zullinger
- Re: How is local mail delivery accomplished using postfix?
- Prev by Date: Re: cups relaying remote broadcasts to a local subnet (SOLVED)
- Next by Date: Re: CDROM/DVDROM drives on SATA IDE = no DMA
- Previous by thread: Re: How is local mail delivery accomplished using postfix?
- Next by thread: starting fetch mail when system boots up
- Index(es):