logo       

Re: maildrop and spamc: msg#00023

mail.maildrop

Subject: Re: maildrop and spamc

* Robin Lynn Frank <rlfrank@xxxxxxxxxxxxxxxxxx> wrote:

> I'm switching over from procmail to maildrop. About the only thing I need to
> do that I can't get working is to have maildrop deliver to spamc. Can anyone
> point me to some documentation or give me a clue. I couldn't find anything
> on the spamassassin site, so I figured I'd try here.

I have already answered your question on the Spamassassin mailing list
but my mail hasn't shown up there, yet. So here it is again:

,----[ ~/.mailfilter ]
| ## Send everything smaller than 256 KB to Spamassassin
| if ($SIZE < 262144)
| {
| xfilter "/usr/bin/spamc -U /var/run/spamd.sock"
| }
|
| ## If Spam put the shit into the spam maildir
| if (/^X-Spam-Flag:.*YES/)
| {
| log "---------------------------------------------------- SPAM"
| to "Maildir/.spam"
| }
`----

Regards,
Marcus
--
"Full ammunition is used to destroy personel.
Special ammunition depending upon its construction is designed for target
identification and correction of fire, ignition of fuel and highly flammable
objects and for destroying lightly armoured targets."



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise