Page 1 of 1

Limit omsmtpd to one interface

Posted: Mon Jan 09, 2006 3:28 am
by gcc008
Is there any way to limit the omsmtpd to listen on one (or some but not all) network interface?

The are four network interfaces on my server. Two of them are for ISCSI network storage only. The third one is for backup only. For security and admin reason, I don't want any service to run on these interfaces.

Posted: Mon Jan 09, 2006 9:05 pm
by ScalixSupport
There isn't a specific way to do this in smtpd.cfg but there will be in the next release due Q1 06. As a side note, all the other daemons such as POP, IMAP and LDAP will listen on the wildcard, i.e. 0.0.0.0 address which is effectively all unused interfaces.

However, you can make use of a setting in general.cfg.

You can specify the interface that all listening daemons will listen on by adding the line:

Code: Select all

GCL_SIMPLE_SG_PKG_NAME=hostname
where hostname is the name of the interface you want them to bind to.

You will need to restart Scalix

Code: Select all

omshut
omrc


Please note that this setting will not be available in the next release as we're introducing support for multiple instances in a high availablity scenario which removes the need for this.

Cheers

Dave