Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: paulmancan2 on August 10, 2004, 10:16:35 PM
-
I would like to disable the smtpfront-qmail service(while leaving qmail.) The great contrib that allows enabling/disabling services controls both concurrently however.
Any help on how to do this manually would be appreciated.
I see these entries in my logfile but not sure where to go from here. Thanks for any help!
/home/e-smith/configuration: OLD smtpfront-qmail=service|access|public|status|enabled
/home/e-smith/configuration: NEW smtpfront-qmail=service|access|public|status|disabled
-
I'm thinking the following should do the trick?
/sbin/e-smith/db configuration setprop smtpfront-qmail status disabled
/sbin/e-smith/signal-event console-save
-
Try
/sbin/e-smith/db configuration set smtpfront-qmail service status disabled
/sbin/e-smith/signal-event email-update
Disabling smtpfront-qmail will stop your email
-
Thanks Ray... whats the difference between SET and SETPROP?
I can still send outgoing mail without smptpfront-qmail running, which is all I want to be able to do :)
-
Why do you want to disable smtpfront-qmail, it does some useful things for outgoing mail (& incoming) eg spam (RBL) & virus (pattern matching) filtering
One sets a key, one sets a key property
See
/sbin/e-smith/db configuration
usage:
/sbin/e-smith/db dbfile keys
/sbin/e-smith/db dbfile print [key]
/sbin/e-smith/db dbfile show [key]
/sbin/e-smith/db dbfile get key
/sbin/e-smith/db dbfile set key type [prop1 val1] [prop2 val2] ...
/sbin/e-smith/db dbfile setdefault key type [prop1 val1] [prop2 val2] ...
/sbin/e-smith/db dbfile delete key
/sbin/e-smith/db dbfile printtype [key]
/sbin/e-smith/db dbfile gettype key
/sbin/e-smith/db dbfile settype key type
/sbin/e-smith/db dbfile printprop key [prop1] [prop2] [prop3] ...
/sbin/e-smith/db dbfile getprop key prop
/sbin/e-smith/db dbfile setprop key prop1 val1 [prop2 val2] [prop3 val3] ...
/sbin/e-smith/db dbfile delprop key prop1 [prop2] [prop3] ...
-
I want to disable it out of the principal of disabling any service that is not used LOL.
The only e-mail functionality I use this box for is admin alerts and some mail sent by php scripts. I previously had qmail disabled completely.
I will read up on key/prop stuff but without understanding it off the bat, the setprop did indeed work...
Thanks again!