From: Phil Daws (no email)
Date: Fri Nov 02 2001 - 14:24:42 EST
Okay. So if you had two domains
abc.com
xyz.com
How would you configure Postfix to use two different map files for
antiSPAM?
P.
-----Original Message-----
From:
[mailto:]On Behalf Of Loic Le Loarer
Sent: 02 November 2001 19:13
To:
Subject: Re: MySQL
Le jeudi 01 novembre 2001 à 14:01:07 -0000, Phil Daws a écrit:
> Hi:
>
> When checking against a table that contains SPAM email addresses is
the
> domain of the recipient available to be used in the 'select' query?
> What I am thinking about is whether we could have a table that hold
>
> 550 REJECTED SPAM
>
>
> localdomain.com would be one of our customers who would have their own
> SPAM list that they could update. The select query would be :
>
> select fld_status from tbl_spamlist where fld_mailfrom = ``
> and fld_customer = `localdomain.com`;
>
> I know this probably cannot be done, but was just an idea.
>
> cheers
>
> Phil
And where the information localdomain.com would come from ?
The problem is that in a dict query, the only argument is the word
searched, you don't have any acces to the context from with it is asked,
for example if you are in check_sender_map, you don't have acces to the
recipient address.
But if you use the smtpd UCE classes, it is possible to have a different
map for each virtual domain, and so to have a different
additional_condition in the MySQL map.
-- Loic Le Loarer Fench - To unsubscribe, send mail to with content (not subject): unsubscribe postfix-users
|
|
|