Re: [exim] finding destination account at SMTP time

Góra strony
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
Dla: Arkadiusz Miskiewicz
CC: exim-users
Temat: Re: [exim] finding destination account at SMTP time
On Mon, 24 Jan 2005, Arkadiusz Miskiewicz wrote:
>
> Now I would like to create antispam system with different settings _per user
> account_. This means that I need to know target local account at SMTP time to
> get preferences from sql database for that account.


Set address_data in the router that delivers email to its destination to
either contain the destination account or its anti-spam options, and
use $address_data in the ACL to make your decisions.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}