You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Tom Lanyon <to...@netspot.com.au> on 2005/06/17 04:09:50 UTC

Exceptions to all_spam_to?

Hi All,

Forgive me if this is a common question or one which has been answered
elsewhere, but I cannot find the answer anywhere.

I want to enable spamassassin on our production mail server, however I
only want to filter for spam on selected email accounts.

I was thinking of doing an all_spam_to *, and then creating exceptions
to this rule. However, I can't seem to find an unall_spam_to or
unwhitelist_to command in the docs to achieve this.

Does anyone have any suggestions?

Thanks,
Tom

-- 
Tom Lanyon
Systems Administrator
NetSpot Pty Ltd
183 Melbourne Street, North Adelaide, 5006
Ph: +618 8361 6800   Fax: +618 8361 6811
Email: tom@netspot.com.au


Re: Exceptions to all_spam_to?

Posted by David B Funk <db...@engineering.uiowa.edu>.
On Fri, 17 Jun 2005, Tom Lanyon wrote:

> Unfortunately, since we're using sendmail (ergh!) and cyrus (cyrdeliver
> for the MTA), we can't fit procmail in there anywhere.
> I'm currently researching cyrdeliver to see if there's any way to call
> spamassassin (or spamc) from that.
>
> If anyone knows how to call a filter from cyrdeliver, please speak
> up. :)

Sorry, don't know anything about cyrdeliver but I do know sendmail.
Use a sendmail milter to connect to spamd which allows you to
pick and choose who gets filtered. Look at milter-spamc:
  http://www.milter.info/sendmail/milter-spamc/

That milter hooks into your sendmail access-db and lets you write
rules that filter or bypass specific classes of senders or
recipients.



-- 
Dave Funk                                  University of Iowa
<dbfunk (at) engineering.uiowa.edu>        College of Engineering
319/335-5751   FAX: 319/384-0549           1256 Seamans Center
Sys_admin/Postmaster/cell_admin            Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{

Re: Exceptions to all_spam_to?

Posted by Tom Lanyon <to...@netspot.com.au>.
On Thu, 2005-06-16 at 23:07 -0500, Bob McClure Jr wrote:
> On Fri, Jun 17, 2005 at 11:39:50AM +0930, Tom Lanyon wrote:
> > Hi All,
> > 
> > Forgive me if this is a common question or one which has been answered
> > elsewhere, but I cannot find the answer anywhere.
> > 
> > I want to enable spamassassin on our production mail server, however I
> > only want to filter for spam on selected email accounts.
> > 
> > I was thinking of doing an all_spam_to *, and then creating exceptions
> > to this rule. However, I can't seem to find an unall_spam_to or
> > unwhitelist_to command in the docs to achieve this.
> > 
> > Does anyone have any suggestions?
> > 
> > Thanks,
> > Tom
> 
> Why not call spamassassin (or better, spamc) from the .procmailrc of
> the users who should have it?  That's what we do at our ISP with over
> 1000 email accounts.  Some punt all spam.  Some punt spam that scores
> 9 or more.  Some just mark spam without punting any of it.  Not hard
> to manage at all.
> 
> Cheers,

Thanks for your suggestion Bob,

Unfortunately, since we're using sendmail (ergh!) and cyrus (cyrdeliver
for the MTA), we can't fit procmail in there anywhere.
I'm currently researching cyrdeliver to see if there's any way to call
spamassassin (or spamc) from that.

If anyone knows how to call a filter from cyrdeliver, please speak
up. :)

Regards,
Tom

-- 
Tom Lanyon
Systems Administrator
NetSpot Pty Ltd
183 Melbourne Street, North Adelaide, 5006
Ph: +618 8361 6800   Fax: +618 8361 6811
Email: tom@netspot.com.au


Re: Exceptions to all_spam_to?

Posted by Bob McClure Jr <ro...@earthlink.net>.
On Fri, Jun 17, 2005 at 11:39:50AM +0930, Tom Lanyon wrote:
> Hi All,
> 
> Forgive me if this is a common question or one which has been answered
> elsewhere, but I cannot find the answer anywhere.
> 
> I want to enable spamassassin on our production mail server, however I
> only want to filter for spam on selected email accounts.
> 
> I was thinking of doing an all_spam_to *, and then creating exceptions
> to this rule. However, I can't seem to find an unall_spam_to or
> unwhitelist_to command in the docs to achieve this.
> 
> Does anyone have any suggestions?
> 
> Thanks,
> Tom
> 
> -- 
> Tom Lanyon
> Systems Administrator
> NetSpot Pty Ltd
> 183 Melbourne Street, North Adelaide, 5006
> Ph: +618 8361 6800   Fax: +618 8361 6811
> Email: tom@netspot.com.au

Why not call spamassassin (or better, spamc) from the .procmailrc of
the users who should have it?  That's what we do at our ISP with over
1000 email accounts.  Some punt all spam.  Some punt spam that scores
9 or more.  Some just mark spam without punting any of it.  Not hard
to manage at all.

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
robertmcclure@earthlink.net  http://www.bobcatos.com
God is more interested in our availability than our ability.