SF.net SVN: postfixadmin:[1612] trunk/VIRTUAL_VACATION/vacation.pl
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2013-12-26 14:27:50
|
Revision: 1612 http://sourceforge.net/p/postfixadmin/code/1612 Author: christian_boltz Date: 2013-12-26 14:27:45 +0000 (Thu, 26 Dec 2013) Log Message: ----------- vacation.pl: - whitespace fixes - update vim: line to 4 spaces tab (which seems to be used everywhere already) Modified Paths: -------------- trunk/VIRTUAL_VACATION/vacation.pl Modified: trunk/VIRTUAL_VACATION/vacation.pl =================================================================== --- trunk/VIRTUAL_VACATION/vacation.pl 2013-12-26 13:48:10 UTC (rev 1611) +++ trunk/VIRTUAL_VACATION/vacation.pl 2013-12-26 14:27:45 UTC (rev 1612) @@ -68,7 +68,7 @@ # Adjust SQL query for vacation timeframe. It is now possible to set from/until date for vacation message. # # 2012-04-1 Nikolaos Topp <info at ichier.de> -# Add configuration parameter $smtp_client in order to get mails through +# Add configuration parameter $smtp_client in order to get mails through # postfix helo-checks, using check_helo_access whitelist without permitting 'localhost' default style stuff # # 2012-04-19 Jan Kruis <jan at crossreference dot nl> @@ -602,9 +602,9 @@ if($address =~ /^(noreply|postmaster|mailer\-daemon|listserv|majordomo|owner\-|request\-|bounces\-)/i || $address =~ /\-(owner|request|bounces)\@/i || ($custom_noreply_pattern == 1 && $address =~ /^.*($noreply_pattern).*/i) ) { - $logger->debug("sender $address contains $1 - will not send vacation message"); - exit(0); - } + $logger->debug("sender $address contains $1 - will not send vacation message"); + exit(0); + } $address = strip_address($address); if($address eq '') { $logger->error("Address $address is not valid; exiting"); @@ -693,4 +693,4 @@ 0; -#/* vim: set expandtab softtabstop=3 tabstop=3 shiftwidth=3: */ +#/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |