Re: [Postfixadmin-devel] Question re: vacation.pl
Brought to you by:
christian_boltz,
gingerdog
From: Christian B. <pos...@cb...> - 2013-01-06 17:15:41
|
Hello, Am Samstag, 5. Januar 2013 schrieb Tanstaafl: > In the 'Take headers apart' section, where all of the stuff goes to > determine what NOT to send auto-replies to, there is stuff like: > > elsif (/^Reply\-to:\s*(.*)\s*\n$/i) { $replyto = $1; $lastheader = > \$replyto; } > > However, in earlier version of vacation.pl, it was: > > elsif (/^reply-to:\s*(.*)\s*\n$/i) { $replyto = $1; $lastheader = > \$replyto; } > > Aside from escaping the '-', which was superfluous ;-) > note that the 'R' is now capitalized > 'Reply\-to:', whereas before it was not... > > Are these tests case sensitive? If they end with /i (like this one) they are not ;-) Regards, Christian Boltz -- [Greylisting ist] das alte Hotline-Prinzip: Wenn der 4 Minuten lang in der 01805 dringehangen hat, dann will er auch was von uns. Aber sofort ans Telefon gehen? Ne! [Peer Heinlein auf dem LinuxTag Chemnitz 2011] |