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

Re: [vps-mail] Spamassassin user pref yes, but.. domain pref ?



On Mon, Dec 15, 2003 at 08:32:22AM +0100, ADNET Ghislain wrote:
> Hello,
> 
>    This thing is adding DOMAIN spam preferences. For local delivery,
> spamassassin have user options but the goal here is to have options for
> a complete domain on a gateway (no local user).

See Weldon Whipple's documentation:

    <http://www.technoids.org/procmailfilter.html>

It describes how to setup procmail to trigger for all incoming mail. You could add a domain recipe to your domain-specific file:

    :0
    * ! ^TO_@xxxxxxxxxx
    { SWITCHRC }

which would exit for mail destined for other domains. This isn't a
perfect method, of course, since the recipe reads the headers, not the
envelope. It would be better to add a rule to your sendmail.mc file
that would do this based on envelope recipient.

Scott
-- 
Scott Wiersdorf
scottw@xxxxxxxxxxxx
======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
======================================================================


Main Index | Thread Index
Match: Format: Sort by:
Search: