From: Loic Le Loarer (loic.le-loarer+)
Date: Fri Nov 02 2001 - 14:13:24 EST
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
|
|
|