🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #280559

Re: postfix special characters

#280559
From: Jeremy Bentham
Date: Fri, 04 Mar 2016 00:35
31 lines
2153 bytes
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> On Thu, 3 Mar 2016 17:16:31 +0100, Anonymous wrote in
> Message-Id: <41968266769afef02bd32c0a0fd7e2cf@hoi-polloi.org>:
> 
> 
>>   Can someone point me to a list of the meanings of the special
>>   character used in postfix?  For instance, I think that $ means
>>   'include anything through the end', as in "/\.jp$/           REJECT"
>>   would mean reject any tcp record containing .jp, including .jp/???.
>>   "\" means to take the next character literally, not symbolically.  I
>>   think that these special character are called Perl escape
>>   characters.  They are apparently also used in bash.
> 
> I think you're talking about PCRE (Perl Compatible Regular Expressions).
> These are a bit complicated to learn but amazingly powerful filtering
> tools.
> 
> The "$" sign means match to the end.
> /\.jp$/ would only match ".jp"
> /\.jp/ would match ".jpg" or indeed ".jpfoobar"

  Yes and I found this here: http://perldoc.perl.org/perlre.html

That answered my question though.  I thought that
/\.jp*/ matched ".jpg" or ".jpfoobar".  Possibly both
work that way.  What I find really lousy is not all postfix types
of restriction will allow PCRE and it is somewhat hard to find
which ones will.
Technical Details
Message-ID: <249fa54de817b638fc54790b73e9e5f9@anemone.mooo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <slrnndgskv.qfp.admin@fleegle.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <249fa54de817b638fc54790b73e9e5f9@anemone.mooo.com>
Subject: Re: postfix special characters
Date: Fri, 04 Mar 2016 00:35:42 +0000
From: Jeremy Bentham <nobody@anemone.mooo.com>
References: <slrnndgskv.qfp.admin@fleegle.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Comments: This message did not originate from the Sender address above.
 It was remailed automatically by anonymizing remailer software.
 Please report problems or inappropriate use to the
 remailer administrator at <jeremyadmin@anemone.mooo.com>.
Newsgroups: alt.privacy.anon-server
Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net
Lines: 31