On Sun, Jul 10, 2005 at 10:00:13PM -0500, Theresa Klarr wrote:
> Can anyone tell me which syntax to use for acl whitelist domain? Should I
> use
>
> acl whitelist domain example.net
I'd use
acl whitelist domain .example.net
It will match every sending host under the .example.net domain. Without
the "." it also matches "host.myexample.net", which might not be what
you want.
> or should I use
>
> acl whitelist domain /.*@example\.net/
This won't match any host, as the domain name will never contain
an "@" character. Such a regular expression only makes sense with
"acl whitelist from" or "acl whitelist rcpt", ie. when matching on
sender/recipient e-mail addresses.
mp.