mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
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
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.2.1@399 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
1 parent
5523242343
commit
eee2447bbd
1 file changed
+4
@@ -83,6 +83,9 @@ my $db_username = 'vacation';
|
||||
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 @@ sub do_mail {
|
||||
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,
|
||||
|
||||
Reference in new issue
Block a user