Re: [exim] local_part and original_domain empty in smtp_data…

Top Page
Delete this message
Reply to this message
Author: Stian Jordet
Date:  
To: Adrian
CC: exim-users
Subject: Re: [exim] local_part and original_domain empty in smtp_data ACL
man, 06,.02.2006 kl. 19.47 +0100, skrev Adrian:
>
> ------------------------
> > That's because a message may have more than one recipient, so there is no
> > single appropriate value for $local_part or $domain for ACLs that deal
> > with the message as a whole (i.e. anything except the RCPT ACL).


> Is there a way to use it at least for messages with only a single
> recipient? Or how else can I allow users to use custom spam thresholds
> (I have a database table which contains the user who owns an email
> address and a table where the spam thresholds for the users are
> stored).


You have to use $recipients, and make sure every mail only has one
recipient (by using similar tricks to

http://duncanthrax.net/exiscan-acl/exiscan-acl-examples.txt

:)

Best regards,
Stian