On Fri, Feb 02, 2007 at 08:26:31AM +0000, Andrew Critchlow wrote:> So Do I have to define this in the localmacros file via:CHECK_RCPT_LOCAL_LOCALPARTS = ^[a] : ^[.] : ^.*[@%!/|\''''#&?] > and all should work?Yes> or should the local macros file just contain: > CHECK_RCPT_LOCAL_LOCALPARTS = trueIf you intend to reject all local parts that contain the string "true", do this. And please, do not top-post. 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
So Do I have to define this in the localmacros file via:CHECK_RCPT_LOCAL_LOCALPARTS = ^[a] : ^[.] : ^.*[@%!/|\''''#&?] and all should work? or should the local macros file just contain: CHECK_RCPT_LOCAL_LOCALPARTS = true thanks> Date: Fri, 2 Feb 2007 08:25:15 +0100> From: mh+pkg-exim4-users@zugschlus.de> To: pkg-exim4-users@lists.alioth.debian.org> Subject: Re: [Pkg-exim4-users] local macros> > 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> > _______________________________________________> Pkg-exim4-users mailing list> Pkg-exim4-users@lists.alioth.debian.org> http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20070202/b8923a43/attachment.html