Re: [exim] More info sought about "recipients" ACL modifier.

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Heiko Schlittermann
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] More info sought about "recipients" ACL modifier.
Hi,

Kaz Kylheku <kaz@???> (Fr 24 Sep 2010 06:08:42 CEST):
>
> Hi Eximers,
> The documentation is a little vague.


That's what you say…

> If a rule has "recipients = ab@c : de@f", what does that mean?
>
> Does the rule match if at least one of these two recipients is found
> in
> either the To: or Cc: header? Does it use headers or the
> envelope recipients?


Message headers are not relevant here. Only the envelope is used for
recipient and sender tests. Additionally, the above test probably is
part of the a rcpt_acl. At this time only the EHLO, MAIL, and RCPT
information is available, the data_acl would have access to the message
headers.

Tests based on To:, From:, and Cc: headers mostly are even less useful
then the envelope based tests, since this information is even more
easily faked.

> (And is that the right syntax for a list of two recipients,
> analogous to hosts? Can there even be multiple recipients,
> or is this feature for testing one name against the list
> of recipients in the message?)


It tests, if the current recipient (from RCPT TO: …) is in the list.
The above test doesn't work in the data_acl, since there is no "current
recipient", as it could be a single one or a list.

> How strict is the match? For instance, if a recipient
> is "A B <ab@c>" does that match ab@c?


The comment part ("A B") of the address is not presend in RCPT TO.
The above test matches if the current $recipient is *exactly* in the
list.

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann HS12-RIPE -----------------------------------------
 gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -