From f3ea1f4ba66fe80a435b8224a8eb15e3c732e04b Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Sun, 23 Jan 2011 01:18:32 -0500 Subject: move dead packages into archive to clean this up a bit. I know there are some I missed if someone else would like to review --- config/archive/clamsmtp.inc | 57 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 config/archive/clamsmtp.inc (limited to 'config/archive/clamsmtp.inc') diff --git a/config/archive/clamsmtp.inc b/config/archive/clamsmtp.inc new file mode 100644 index 00000000..f23a35c1 --- /dev/null +++ b/config/archive/clamsmtp.inc @@ -0,0 +1,57 @@ + 65535)) + $input_errors[] = 'The field \'SMTP server\' must contain a port ranging from 0 to 65535'; +} + +function clamsmtp_resync() { + global $g, $config; + + $avconf = $config['installedpackages']['clamav']['config'][0]; + if ($avconf['scan_smtp'] == 'on') + $outaddress = "{$avconf['smtp_server']}:{$avconf['smtp_port']}"; + else + $outaddress = '127.0.0.1:25'; + $clamav_rundir = "{$g['varrun_path']}/clamav"; + $clamsocket = "$clamav_rundir/clamd.socket"; + $pidfile = "$clamav_rundir/clamsmtpd.pid"; + $conf = << \ No newline at end of file -- cgit v1.2.3