• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Qmail SMTP On Alternate Port For FreeBSD

M

MattR@

Guest
Does anyone have any idea how to accomplish Qmail SMTP running on an alternate port for FreeBSD, the copying, /etc/services instructions for RedHat don't work / apply to the FreeBSD install. ANY help would be appreciated.

Matt
 
in /etc/services

smtpXXX NEWPORT/tcp mail #Simple Mail Transfer
smtpXXX NEWPORT/udp mail #Simple Mail Transfer

XXX= somehting unique so its different from just smtp, and NEWPORT is the port you wish to run it on (make sure you dont interfere with anything else)

in /etc/inetd.conf

copy the line that starts:

smtp stream tcp nowait root

and change smtp to smtpXXX

Now simply restart inetd

kill -HUP `cat /var/run/inetd.pid`

and check its running with

telnet localhost NEWPORT
 
Hi Mikk,

The posted solution allows Qmail to listen on both port 25 and newport for SMTP connections, or it only substitutes port 25 with newport ?

Thanks
 
Problem

Ok.. everythings looks right... but when i try to send to an email that the domain isn't on my server i got 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

Anyone knows whats wrong?

Thanks in Advanced.
 
Tried those instructions

and when I do a telnet localhost 2525 it says connection refused.......

Any additional help?
 
Back
Top