diff options
Diffstat (limited to 'clamsmtp-model.lua')
| -rw-r--r-- | clamsmtp-model.lua | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/clamsmtp-model.lua b/clamsmtp-model.lua index ac09576..df610ad 100644 --- a/clamsmtp-model.lua +++ b/clamsmtp-model.lua @@ -10,8 +10,6 @@ local configfile = "/etc/clamsmtpd.conf" local processname = "clamsmtpd" local packagename = "clamsmtp" -local path = "PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin " - -- ################################################################################ -- LOCAL FUNCTIONS @@ -42,4 +40,11 @@ function mymodule.update_filedetails(self, filedetails) return modelfunctions.setfiledetails(self, filedetails, {configfile}) end +function mymodule.get_logfile(self, clientdata) + local retval = cfe({ type="group", value={}, label="Log File Configuration" }) + retval.value.facility = cfe({value="mail", label="Syslog Facility"}) + retval.value.grep = cfe({ value="clamsmtp", label="Grep" }) + return retval +end + return mymodule |
