[Pkg-exim4-users] local macros

Marc Haber mh+pkg-exim4-users at zugschlus.de
Fri Feb 2 08:25:15 CET 2007


On Thu, Feb 01, 2007 at 11:24:55PM -0000, Andrew wrote:
> Problem is I don't know how to 'define' a macro?

No, the problem is somewhere else.

> CHECK_RCPT_LOCAL_LOCALPARTS = a^[.] : ^.*[@%!/|\''`#&?]

That's a regular expression matching any string that has an "a" before
its beginning.

what you want is:

CHECK_RCPT_LOCAL_LOCALPARTS = ^[a.] : ^.*[@%!/|\''#&?]

or (probably better understandeable

CHECK_RCPT_LOCAL_LOCALPARTS = ^[a] : ^[.] : ^.*[@%!/|\''#&?]

Both regular expressions matche all strings that start with a dot or
an "a" or contain one of the characters from [@%!/|\''#&?] at any
place.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835



More information about the Pkg-exim4-users mailing list