[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Excluding users from the milter

From: Robert Wagner
Subject: RE: Excluding users from the milter
Date: Thu, 3 Jul 2003 08:16:35 -0500

I had a similar request.  I ended up removing spamass-milt and installing
sanitizer.  It uses procmail to pass the mail through spamc and call and
attachment blocking program.  You can create a procmail recipe to exclude
users or domains from being routed through spamc.

---------------snip from filter.rc
* !^To:.*(address@hidden|address@hidden)
| spamc
---------------end snip

I don't claim to be an expert, but it seems to work - (If address TO is not
address@hidden or address@hidden then give it to spamc for processing.
There is also CC and BCC, wildcards will work, and basic and/or statements.
Someone will have to explain exactly how and where sendmail, procmail, and
milter handle messages as they come in.  I don't know if this saves any
time.  The other things I did to take some abuse off the system was add
defunct email addresses to the access list with REJECT and disable accepting
unresolvable domains (dnl FEATURE(`accept_unresolvable_domains')dnl).

Hope this helps.


-----Original Message-----
From: Erik Arneson [mailto:address@hidden
Sent: Monday, June 30, 2003 4:59 PM
To: Robert Wagner
Cc: address@hidden
Subject: RE: Excluding users from the milter

On 30 June 2003, Robert Wagner <address@hidden> wrote:
> I am not sure if this is what you are looking for.
> whitelist_to address@hidden
> If the given address appears in the To: or Cc: headers, mail will be
> whitelisted. Useful if you're deploying SpamAssassin system-wide, and
> don't want some users to have their mail filtered. Same format as
> whitelist_from.

It's actually the expense and delay of running SpamAssassin that
concerns me, not the possibility of mail being filtered.

;; Erik Arneson <address@hidden>    AARG Net <> ;;
;; GPG Key ID: 2048R/8B4CBC9C           <> ;;
;; "Resistance to tyrants is obedience to God!" - Thomas Jefferson ;;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]