Article View: alt.privacy.anon-server
Article #280573Re: postfix special characters
From: Zax
Date: Fri, 04 Mar 2016 09:19
Date: Fri, 04 Mar 2016 09:19
50 lines
2948 bytes
2948 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Fri, 4 Mar 2016 01:35:42 +0100 (CET), Jeremy Bentham wrote in
Message-Id: <249fa54de817b638fc54790b73e9e5f9@anemone.mooo.com>:
>> 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.
Postfix is a very mature product. If it doesn't accept regexs for a
specific setting, there's probably a good reason. Some tests are
expensive in terms of processing time, such as body_checks. Unless
there's a really pressing need for them, it's better to do that kind of
thing outside the MTA.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJW2VMSAAoJEC3jHKG+PvqnZ8EQAKDJTucxyx8uR/UjxnvhCEUF
2PS5tf36FeC+9zqtscCHmL2eNNfcxKvzd75rsuGEl2An838IVsK2xM8v6NO69U0j
4MvDSKg0VaDdIvr03iz26xGTRnFUbsJCbcAijuhb8zVjoq12k982x4T3pC68bZex
8LSaK8/eFDwSQeCr9rNB3ldaQAIKyYMQi+litHw8XPJsxMc45L8N2MIJyK+ir2sV
ClwFsFgAbk3nByzds2xW1RLdO841wI96FzOzJlchDNH1pK1FFOb+gAganqPqzhnw
8MnD2enCuDW+gBKa1crhF/CAdzVd0DszpTBvghapOVS8WVaj68J1xBr67PlIYkc8
LguKZz0ouvTMZu4AV9evkDQ6LEFyd7L19f2Sz80B/tRuFvUpvcWjUH/N2/zK7Sll
AQVpS3Mfk7ZEUpqUA/x6Jxq1N0AMRXkCoaQ+LcdkHnM8xRRnig9vuszSQzrnolCZ
cm7Nb/GQ5ws5h6QRn+WceMhCoQqlqorlC3rKZOWMorBUT5RHfuyUaug8FTW9JMnO
TocBNUzyT89ubHwWojH71alQ8Vcu1Y36pLY1S83SxXx7WXmpEZ+Tbfrr6KcpCgMH
X8L+r1LLM9z/NgvUl62EKekxeM0xgrm7lQ2hNOOVRTWMZQQLOsjeVkblzc2yErl2
uTSSnFVHDq4lw6XVeUvz
=QkfD
-----END PGP SIGNATURE-----
--
pub 1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
sub 4096R/BE3EFAA7 created: 2014-11-14 expires: 2016-11-13 usage: S
Technical Details
Message-ID:
<slrnndikoi.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-mailReferences:
<slrnndgskv.qfp.admin@fleegle.mixmin.net> <249fa54de817b638fc54790b73e9e5f9@anemone.mooo.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnndikoi.qfp.admin@fleegle.mixmin.net> Subject: Re: postfix special characters Date: Fri, 04 Mar 2016 09:19:14 +0000 From: Zax <admin@mixmin.net> References: <slrnndgskv.qfp.admin@fleegle.mixmin.net> <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 Newsgroups: alt.privacy.anon-server Organization: Mixmin Injection-Date: Fri, 4 Mar 2016 09:19:14 -0000 (UTC) Injection-Info: news.mixmin.net; posting-host="8182541511e47c0ea054ab09b598aea6c8f58b9b"; User-Agent: slrn/pre1.0.3-6 (Linux) Lines: 49