multiple smtp port

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

skf
Posts: 40
Joined: Thu Sep 15, 2005 3:33 pm

multiple smtp port

Postby skf » Fri Mar 31, 2006 12:09 pm

Is it possible to have multiple SMTP port, for example 25 and 2525
Thanks

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Mar 31, 2006 2:01 pm

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

skf
Posts: 40
Joined: Thu Sep 15, 2005 3:33 pm

Postby skf » Fri Mar 31, 2006 2:58 pm

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

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Mar 31, 2006 3:18 pm

Yes, that's the reason why I didn't specify a different hostname in the example I gave.

Cheers

Dave

skf
Posts: 40
Joined: Thu Sep 15, 2005 3:33 pm

Postby skf » Fri Mar 31, 2006 3:24 pm

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

skf
Posts: 40
Joined: Thu Sep 15, 2005 3:33 pm

Postby skf » Mon Apr 03, 2006 4:01 pm

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

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Mon Apr 03, 2006 5:05 pm

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

skf
Posts: 40
Joined: Thu Sep 15, 2005 3:33 pm

Postby skf » Mon Apr 03, 2006 5:12 pm

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

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Mon Apr 03, 2006 5:13 pm

Are you restarting the SMTP Relay after you make the change ?

Cheers

Dave

skf
Posts: 40
Joined: Thu Sep 15, 2005 3:33 pm

Postby skf » Mon Apr 03, 2006 5:14 pm

ScalixSupport wrote:Are you restarting the SMTP Relay after you make the change ?

Cheers

Dave

I did omoff -d 0 smtpd, omon smtpd

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Mon Apr 03, 2006 5:16 pm

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

skf
Posts: 40
Joined: Thu Sep 15, 2005 3:33 pm

Postby skf » Mon Apr 03, 2006 5:36 pm

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


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 17 guests