Re: SMTP on multiple ports

Davide Libenzi <[email protected]>
Newsgroups gmane.mail.xmail.general
Message-ID <[email protected]>
On Mon, 31 May 2010, Barho? Martin wrote:

> Hello Davide,
> I have two questions.
> 
> 1) What is right syntax for configuring XMAIL services on multiple ports 
> on one IP adress. In manual is "-SI ip[:port]  Bind server to the 
> specified ip address and (optional) port (can be multiple)". If I want 
> to have multiple ports, it is right -SI ip1[:port1] -SI ip1[:port2] or 
> -SI ip1[:port1,port2] or something else? It is not clear from manual.

The most generic supported syntax is, if IP is 1.2.3.4 and port is 999:

	[1.2.3.4]:999

This allows support for IPV6 adresses too.
About your question, you need to use:

	-SI [IP1]:PORT1 -SI [IP2]:PORT2 ...


> 2) What is right way of using SmtpConfig in SERVER.TAB
> I want to have port 25 open for all SMTP communication - other SMTP 
> servers a authenticated clients. And I want port 587 open only for 
> authenticated clients for mail submission.
> Is the right way to have
> "SmtpConfig-IP1:25"				- without any options
> "SmtpConfig-IP1:587"	"MailAuth"
> 
> Or only one line
> "SmtpConfig-IP1:587"	"MailAuth"
> And port 25 will be implicitly open to all SMTP communication.

First it's looked up "SmtpConfig-IP,PORT", then "SmtpConfig-IP".


- Davide


_______________________________________________
xmail mailing list
[email protected]
http://xmailserver.org/mailman/listinfo/xmail
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.