Browse Source

allow flags to be specified

Ralf S. Engelschall 24 years ago
parent
commit
af990617fb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      smtpfeed/rc.smtpfeed

+ 2 - 1
smtpfeed/rc.smtpfeed

@@ -5,6 +5,7 @@
 
 %config
     smtpfeed_enable="no"
+    smtpfeed_flags="-u -V"
     smtpfeed_bind_local="127.0.0.1:2525"
     smtpfeed_bind_remote="0.0.0.0"
     smtpfeed_hostname="localhost"
@@ -21,7 +22,7 @@
 
 %common
     smtpfeed_pidfile="@l_prefix@/var/smtpfeed/smtpfeed.pid"
-    smtpfeed_args="-u -V -E -l mail"
+    smtpfeed_args="${smtpfeed_flags:--u -V} -E -l mail"
     smtpfeed_args="$smtpfeed_args -t connect=${smtpfeed_timeout_connect:-1m}"
     smtpfeed_args="$smtpfeed_args -t greet=${smtpfeed_timeout_greet:-2m}"
     smtpfeed_args="$smtpfeed_args -t rset=${smtpfeed_timeout_rset:-2m}"