Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Blacklisting syntax

2006-08-08 by Jack L. Stone

At 12:23 PM 8.8.2006 +0000, you wrote:
>On Tue, Aug 08, 2006 at 07:18:57AM -0500, Jack L. Stone wrote:
>> list "known spammers" rcpt { /.*@.../ /.*@.../ /bad1@*/
>> /bad2@*/ }
>
>IMO, you want /.*@example1\.com/ and /bad1@.*/
>
>-- 
>Emmanuel Dreyfus
>manu@...

The man page sez this:
The domain, from, and rcpt clauses may be  used  with  regular  expres-
       sions.  The  regular  expressions  must  be enclosed by slashes (/). No
       escaping is available to provide a slash inside a  regular  expression,
       so  just do not use it. Regular expressions follow the format described
       in re_format(7).  Here is an example:

         acl greylist rcpt /.*@.../

(^_^)
Happy trails,
Jack L. Stone

System Admin
Sage-american

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.