Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] acl whitelist domain

2005-07-11 by Martin Paul

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.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.