Page 1 of 1

multiple smtp port

Posted: Fri Mar 31, 2006 12:09 pm
by skf
Is it possible to have multiple SMTP port, for example 25 and 2525
Thanks

Posted: Fri Mar 31, 2006 2:01 pm
by ScalixSupport
Yes it is.

In /var/opt/scalix/sys/smtpd.cfg, you need to add the line

Code: Select all

LISTEN=ip.addr.domain.com:port1,ip.addr.domain.com:port2


At the moment, it's not possible to have different rules based on the port number so the RELAY rules that are present will apply to both ports.

Cheers

Dave

Posted: Fri Mar 31, 2006 2:58 pm
by skf
ScalixSupport wrote:Yes it is.

In /var/opt/scalix/sys/smtpd.cfg, you need to add the line

Code: Select all

LISTEN=ip.addr.domain.com:port1,ip.addr.domain.com:port2


At the moment, it's not possible to have different rules based on the port number so the RELAY rules that are present will apply to both ports.

Cheers

Dave


Thanks Dave
Can I use the same ip with different ports?
Sergey

Posted: Fri Mar 31, 2006 3:18 pm
by ScalixSupport
Yes, that's the reason why I didn't specify a different hostname in the example I gave.

Cheers

Dave

Posted: Fri Mar 31, 2006 3:24 pm
by skf
ScalixSupport wrote:Yes, that's the reason why I didn't specify a different hostname in the example I gave.

Cheers

Dave


Thanks you are the great

Sergey

Posted: Mon Apr 03, 2006 4:01 pm
by skf
skf wrote:
ScalixSupport wrote:Yes it is.

In /var/opt/scalix/sys/smtpd.cfg, you need to add the line

Code: Select all

LISTEN=ip.addr.domain.com:port1,ip.addr.domain.com:port2


At the moment, it's not possible to have different rules based on the port number so the RELAY rules that are present will apply to both ports.

Cheers

Dave


Thanks Dave
Can I use the same ip with different ports?
Sergey


Hi
I tried to give LISTEN=domain.com:25,domain.com=2525 and it doesn't work...
my server has internal ip address 192.168.100.197
Could you help me to put correcte line
Thanks

Posted: Mon Apr 03, 2006 5:05 pm
by ScalixSupport
skf wrote: I tried to give LISTEN=domain.com:25,domain.com=2525 and it doesn't work...


You need

Code: Select all

LISTEN=domain.com:25,domain.com:2525
but this is available only in 10.0 and above. If this is not working, I'm guessing you have an earlier version.

Cheers

Dave

Posted: Mon Apr 03, 2006 5:12 pm
by skf
ScalixSupport wrote:
skf wrote: I tried to give LISTEN=domain.com:25,domain.com=2525 and it doesn't work...


You need

Code: Select all

LISTEN=domain.com:25,domain.com:2525
but this is available only in 10.0 and above. If this is not working, I'm guessing you have an earlier version.

Cheers

Dave

I am sorry, I tried LISTEN=domain.com:25,domain.com:2525 and i have version 10.0, but it doesn't work

Posted: Mon Apr 03, 2006 5:13 pm
by ScalixSupport
Are you restarting the SMTP Relay after you make the change ?

Cheers

Dave

Posted: Mon Apr 03, 2006 5:14 pm
by skf
ScalixSupport wrote:Are you restarting the SMTP Relay after you make the change ?

Cheers

Dave

I did omoff -d 0 smtpd, omon smtpd

Posted: Mon Apr 03, 2006 5:16 pm
by ScalixSupport
OK, let's dispense with the example names...

You should have a line that reads

Code: Select all

LISTEN=192.168.100.197:25,192.168.100.197:2525
.

Is this the case ?

Cheers

Dave

Posted: Mon Apr 03, 2006 5:36 pm
by skf
ScalixSupport wrote:OK, let's dispense with the example names...

You should have a line that reads

Code: Select all

LISTEN=192.168.100.197:25,192.168.100.197:2525
.

Is this the case ?

Cheers

Dave

Thanks it was my mistake
I did use LISTEN_PORT!!!
I changed to LISTEN and all working fine.
Thanks