Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: FrancisT on October 11, 2005, 03:45:06 AM
-
I need to modify the configuration file in /home/e-smith or in /home/e-smith/db (SME 7.0B2).
I need to disable qpsmtpd - port 25 and imaps - port 993 on one server that forwards mail to a exchange server.
I can manually stop these services, but have to remember to do this if the server re-starts - a pain if I don't know it has re-started.
Francis
-
I need to modify the configuration file in /home/e-smith or in /home/e-smith/db (SME 7.0B2).
I need to disable qpsmtpd - port 25 and imaps - port 993 on one server that forwards mail to a exchange server.
I can manually stop these services, but have to remember to do this if the server re-starts - a pain if I don't know it has re-started.
Francis
Don't edit the files directly, use the 'config' command to disable the service, and the 'svc' command to stop the running instance (or reboot):
/sbin/e-smith/config setprop qpsmtpd status disabled
svc -d /service/qpsmtpd
/sbin/e-smith/config setprop imaps status disabled
svc -d /service/imaps
Note that for the port 25 issue, you are probably better off configuring the Exchange server as a 'Delegate Mail Server' (see the E-mail panel). That way the SME Server receives and scans the mail before passing it to the Exchange server.
-
Thanks, Gordon. I have run the commands & things seem ok. At this stage I haven't specified a Delegate Mail Server, but will try that if there is a problem.
-
Is it possible to disable IMAPS and enable regular IMAP? I notice on startup that an IMAP service is getting initialized (along with IMAPS), however, I don't know if that neccesarily means I can switch from one to the other.
I'm using SME 7 pre1.
Thanks in advance,
Geoffrey