I can think of some very good reasons to run a second instance of SMTP, for instance, 
providing roaming mail service to a large userbase who dialup through earthlink.
Earthlink blocks any other SMTP than their own when their users dial up, so with a 
second SMTP server on another port, you effectively can bypass that problem.

I run my SMTP through supervise, so all I had to do was go into 
/var/qmail/supervise/qmail-smtpd, and edit the run script. In the run script, just 
copy your whole command
line in after the first instance, and change the port. Restart your mail, and you're 
all set (if you want to use a named port, you have to add the name in /etc/services,
otherwise you'll use a number).

Nothing to it.

Rob

Grant wrote:

> In my opinion you shouldn't be running two instances of qmail on the same
> machine and nor should you ever change the default mail port which is 25.
>
> On Tue, 16 Jan 2001, qmailu wrote:
>
> > Hi,
> >
> > How do I run two instances of qmail on the same machine - the first one listening 
>on port 25 (default smtp port) and the second on some other port, for eg. say 1099.
> > The two instances need to have two different control files - and should not 
>interfere with each others existance.
> >
> > Raghu
> >

--
Rob Hines Jr.
System Administrator

Reply via email to