Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to run Qmail on a non-standard port

Status
Not open for further replies.

spittingfire

Technical User
Feb 6, 2002
18
CA
Hello All,

I need your help...

I'm running E-Smith Server 5.5 which uses qmail as it's mail server. I installed Trend Virus Wall on the same box as my anti-virus solution, however trend has to run on port 25 and then pass all mails to qmail. How can I change qmail to listen on any port other than 25?

Thanks for all the help in advance
 
I think Trend Virus Wall should be run as a gateway server. It collects the mail, filters the virus, and forwards the clean mail to qmail box.
Even if they had to be installed in the same machine, qmail doesn't need to listen on a specific port as a daemon.
 
Hello,

using tcpserver it would look like this:

/usr/local/bin/tcpserver -H -R -c 255 -u 82 -g 81 192.168.0.1 2525 /var/qmail/bin/qmail-smtpd &

Here qmail-smtpd listens on port 2525. You might want to read the tcpserver manpage for additional information.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top