Revision: 399
http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=399&view=rev
Author: GingerDog
Date: 2008-07-02 12:51:41 -0700 (Wed, 02 Jul 2008)
Log Message:
-----------
patch from tabmowtez - allow smtp server to be specified - see https://sourceforge.net/tracker/index.php?func=detail&aid=2008468&group_id=191583&atid=937966
Modified Paths:
--------------
branches/postfixadmin-2.2.1/VIRTUAL_VACATION/vacation.pl
Modified: branches/postfixadmin-2.2.1/VIRTUAL_VACATION/vacation.pl
===================================================================
--- branches/postfixadmin-2.2.1/VIRTUAL_VACATION/vacation.pl 2008-07-02 19:51:26 UTC (rev 398)
+++ branches/postfixadmin-2.2.1/VIRTUAL_VACATION/vacation.pl 2008-07-02 19:51:41 UTC (rev 399)
@@ -83,6 +83,9 @@
my $db_password = '';
my $db_name = 'postfix';
+# smtp server used to send vacation e-mails
+my $smtp_server = 'localhost';
+
my $syslog = 1;
# path to logfile, when empty logging is supressed
@@ -198,6 +201,7 @@
my $vacation_subject = encode_mimewords($subject, 'Encoding'=> 'q', 'Charset'=>'utf-8', 'Field'=>'Subject');
my %mail;
%mail = (
+ 'smtp' => $smtp_server,
'Subject' => $vacation_subject,
'From' => $from,
'To' => $to,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|