From 438d3506dbfb28429ecd9c8bcca35e6e0cb55b44 Mon Sep 17 00:00:00 2001 From: tetragon Date: Thu, 2 Nov 2006 06:52:55 +0000 Subject: Adding more mailer config options git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@462 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Sysconfig.pm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'LedgerSMB') diff --git a/LedgerSMB/Sysconfig.pm b/LedgerSMB/Sysconfig.pm index 962c16fc..4e79f72a 100644 --- a/LedgerSMB/Sysconfig.pm +++ b/LedgerSMB/Sysconfig.pm @@ -29,7 +29,11 @@ $templates = "templates"; $memberfile = "users/members"; # location of sendmail -$sendmail = "| /usr/sbin/sendmail -t"; +$sendmail = "/usr/sbin/sendmail -t"; + +# SMTP settings +$smtphost = ''; +$smtptimout = 60; # set language for login and admin $language = ""; @@ -71,9 +75,12 @@ $localepath = $config{paths}{localepath} if $config{paths}{localepath}; $spool = $config{paths}{spool} if $config{paths}{spool}; $templates = $config{paths}{tempates} if $config{paths}{tempates}; -$sendmail = $config{programs}{sendmail} if $config{programs}{sendmail}; $gzip = $config{programs}{gzip} if $config{programs}{gzip}; +$sendmail = $config{mail}{sendmail} if $config{mail}{sendmail}; +$smtphost = $config{mail}{smtphost} if $config{mail}{smtphost}; +$smtptimeout = $config{mail}{smtptimeout} if $config{mail}{smtptimeout}; + $globalDBConnect = $config{globaldb}{DBConnect} if $config{globaldb}{DBConnect}; $globalDBUserName = $config{globaldb}{DBUserName} if $config{globaldb}{DBUserName}; $globalDBPassword = $config{globaldb}{DBPassword} if $config{globaldb}{DBPassword}; -- cgit v1.2.3