Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: FrancisT on October 11, 2005, 03:45:06 AM

Title: How to modify /home/e-smith/configuration
Post 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
Title: Re: How to modify /home/e-smith/configuration
Post by: gordonr on October 11, 2005, 05:49:32 AM
Quote from: "FrancisT"
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):

Code: [Select]
/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.
Title: How to modify /home/e-smith/configuration
Post by: FrancisT on October 11, 2005, 09:53:04 PM
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.
Title: How to modify /home/e-smith/configuration
Post by: djhomeless on February 14, 2006, 06:59:11 PM
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