2 msgPostfix SASL Help
6 msgSlowing down postfix
2 msgneed help deciphering a line
4 msgPostfix SMTP server: errors from something.net[...
4 msg2.5.0-RC and 2.6 should recognize FreeBSD 8

Postfix not following my access file.
\ Yvo van Doorn (22 Jan 2008)
. \ (Wietse Venema) (22 Jan 2008)
. \ Victor Duchovni (22 Jan 2008)
. . \ Yvo van Doorn (22 Jan 2008)
. . \ Guy Story KC5GOI (22 Jan 2008)
. . . \ Duane Hill (22 Jan 2008)
. . . . \ mouss (23 Jan 2008)
. . . . . \ Duane Hill (23 Jan 2008)
. . . \ Victor Duchovni (22 Jan 2008)

3 msgpostfix logs delay, delays, dsn
3 msgBest way to shutdown postfix prior to servicing...
1 msgthe bounce process hangs a mail (?)
3 msgmessages destined for content_filter stuck in d...
2 msgDomain in username
5 msgmissing authentication on recipient
5 msgpostfixadmin
5 msgcheck_policy_service before reject_rbl_client
9 msgMXBackup via LDAP
5 msgheader and body check exemptions
5 msgRelay recipient maps and relocated users
4 msgmail forwarding loop :: SPAM
3 msgtransport_maps how to match mx's
2 msgWhere/when to insert a missing Message-ID
Subject:Re: Postfix not following my access file.
Group:Postfix-users
From:Duane Hill
Date:23 Jan 2008


 
On Wed, 23 Jan 2008 02:41:27 +0100
mouss <mouss> wrote:

> Duane Hill wrote:
> > On Tue, 22 Jan 2008 15:25:20 -0600
> > Guy Story KC5GOI <gstory> wrote:
> >
> >
> >> Question for you Victor. I still have to read on this but I have
> >> the following in my header_checks file. Am I making this harder
> >> than it has to be or is it just another way to do the same thing?
> >> Forgive the email formating. It is line wrapping before REJECT.
> >>
> >> /^From:.*\@.*\.r[uo]/
> >> REJECT Guy says No Russian or Romanian mail, please.
> >> /^From:.*\@.*\.bg/
> >> REJECT Guy says No foreign character sets for bg, please.
> >> /^From:.*\@.*\.nz/
> >> REJECT Guy says No foreign character sets for nz, please.
> >> /^From:.*\@.*\.lb/
> >> REJECT Guy says No foreign character sets for lb, please.
> >> /^From:.*\@.*\.cz/
> >> REJECT Guy says No foreign character sets for cz, please.
> >> /^From:.*\@.*\.kr/
> >> REJECT Guy says No foreign character sets for kr, please.
> >>
> >
> > Please start a new message next time. This doesn't have anything to
> > do with what the original poster sent in.
> >
> > You could replace ALL lines above with this one single line:
> >
> > /^From:.*\@.*\.([cn]z|r[ou]|bg|kr|lb)/ REJECT Guy says No foreign
> > character sets for $1, please.
> >
> > The $1 will get replaced with whatever is found between the open and
> > closed parenthesis.
> >
>
> that's the wrong expresssion. the right one is
>
> /yournetplus/ REJECT
>
> If you think it's nice to suggest blocking all russian domains, you
> might be surprised that we'll find it easier to block your domain. so
> do whatever you want on your boxes, but do never suggest anything
> you might regret.

WOW! The OP asked if there was a better way so I showed a compressed
regex with the same thing. I'll think twice next time. Thanks for the
harsh reality.

-------
_|_
(_| |


© 2004-2008 readlist.com