[TriLUG] procmail, sendmail, spamassassin, and .forward
Jon Carnes
jonc at nc.rr.com
Tue Jan 14 14:16:45 EST 2003
A .forward file is not read/used by Procmail. It is only read/used by
your MTA (Sendmail). Thus Sendmail reads your .forward file and acts on
it without ever handing the mail off to Procmail.
Even though Procmail is setup as the system-wide local delivery agent,
it will not look at the .forward. However, it would still look at each
user's .procmailrc upon delivery, so you can put the forwarding request
in there.
The procmail version of forward is not intuitive, so I wrote a web-based
program that allowed folks to modify their forwarding and let them
specify the dates to start the forwarding and to stop the forwarding.
HtH - Jon Carnes
On Tue, 2003-01-14 at 13:00, Rodent of Unusual Size wrote:
> Jeremy Portzer wrote:
> >
> > Well it sounds like the .forward is being executed before
> > procmail, though I'm not enough of an expert to know why.
> > However, why can't you just put the "/some/script" directly
> > in the procmailrc, and get rid of the forward altogether?
> > Then you can be certain of the order of things in .procmailrc.
>
> the procmailrc involved is /etc/procmailrc. je ne comprends
> procmail pas; see <URL:http://Ken.Coar.Org/blog/index?entry=48>. :-)
>
> i suppose i could put some time into learning procmail, but
> that doesn't help the other people who use my mail server.
> i don't want to force them to have to learn it, too..
>
> [i *wish* there were some way to get mozilla to give me simple
> '>' quotes in replies, the way other muas do, instead of this
> weird half-arsed '>' html crap..]
> --
> #ken P-)}
>
> Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/
> Author, developer, opinionist http://Apache-Server.Com/
>
> "Millennium hand and shrimp!"
>
> _______________________________________________
> TriLUG mailing list
> http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ:
> http://www.trilug.org/~lovelace/faq/TriLUG-faq.html
More information about the TriLUG
mailing list