Dave Wilson said:
> > Sure! -- use slocal. .forward has:
> > "| /usr/lib/nmh/slocal -user jm || exit 75"
>> Hmm that's really cool. Stupid question: can I invoke that from
> Procmail, after having invoked another program which may have
> edited the message?
>> Background: I like MAPS RBL,DUL,RSS, but I don't like blackholing.
> So sendmail uses procmail as a delivery agent, and /etc/procmailrc
>> :0 f
> | rblchk X-Antispam 10
>> ...which is a perl program will add an X-Antispam header, then
> deliver the message to /var/spool/mail/username or wherever
> ~/.procmailrc instructs it to. Is there a right way to invokej
> rblchk from slocal, or slocal from procmail in such a way that
> procmail won't try to re-deliver the message after slocal has
> done the job?
I'd say so, but I don't know anything about rblchk and very little about
procmail ;) Unfortunately I do know that slocal won't allow you to
pipe a message through a prog and carry on running with the processed
message, so that's one option down.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!