Sendmail + Cyrus + Procmail(?) + SpamAssassin

Kirk Strauser kirk at strauser.com
Tue Apr 1 07:22:41 PST 2003


At 2003-04-01T06:30:53Z, Rick Fournier <rick at rptn.net> writes:

> Well for the worth of it, I use Sendmail, Procmail, SpamAssassin and
> IMAP-UW but with my setup the IMAP software used, is totaly irrelevant.

Almost, but not quite.  You have to call Cyrus' "deliver" program to
actually deliver the mail; you can't just write it to the end of a
particular file.

> My setup is as follows:
>
> $ tail /usr/local/etc/procmailrc
> DROPPRIVS=yes
> :0fw: /var/run/spamassassin.lock
> * < 256000
> | /usr/local/bin/spamc

That looks similar to what I tried to do, which the exception of calling
"deliver" as the final step.  I'm not sure why that didn't work - the mail
just silently disappeared (wasn't in Cyrus' spools, wasn't in
/var/mail/username) although /var/log/maillog didn't show any errors.

> $ tail $HOME/.forward
> "|IFS=' '&&exec /usr/local/bin/procmail -f-||exit 75 $USER"

I may be showing my ignorance here, but what is "IFS"?  Googling for
"sendmail forward ifs" returned over 3000 hits, none of them actually
explaining it.
-- 
Kirk Strauser
In Googlis non est, ergo non est.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030401/a281e761/attachment.bin


More information about the freebsd-questions mailing list