Re: [exim] domain-wide emails (mysql vmail)

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Tony Finch
Datum:  
To: exim-users
CC: Chris Shucksmith
Betreff: Re: [exim] domain-wide emails (mysql vmail)
On Wed, 25 May 2005, Philip Hazel wrote:
> On Tue, 24 May 2005, Chris Shucksmith wrote:
>
> > How do I limit a router so that only applies to messages exim is relaing
> > (in relay_from_hosts).
> > eg. sender= +relay_from_hosts ?
>
> When you say "relaying", do you mean "inward" or "outward" relaying?
> Looks like you mean "outward", in which case you can put something like
> this on your router:
>
> condition = ${if eq{${mask:$sender_host_address/24}}{192.168.1.0}}


My inclination would be to set a $acl_m* variable when the ACL determines
that the message is being accepted because it's from a relay_from_host,
then use the ACL variable in the router's precondition. This makes it
easier to extend the condition to be true for authenticated message
submission, for example.

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}}