Mailing List Archive

Disable qmail listening on external port?
I want qmail to listen only on localhost, (127.0.0.1,) and not the
external network visible port.

Is that possible, or is the only way to block incoming connections by
removing everything except 127.0.0.1 from /access/tcp.smtp-where the
listener is running, but everything external is blocked.

Thanks,

John

--

John Conover, conover@rahul.net, http://www.johncon.com/
Re: Disable qmail listening on external port? [ In reply to ]
Hi!
This is an option of tcpserver.
Please specify host option instead of 0.

ex.
tcpserver -v -R -p -U -l -x /etc/tcp.smtp.cdb 127.0.0.1 smtp
/var/qmail/bin/qmail-smtpd hasiru.net

(/supervise/qmail-smtpd/run)



On 2010/01/10 PM 3:46, John Conover wrote:
> I want qmail to listen only on localhost, (127.0.0.1,) and not the
> external network visible port.
>
> Is that possible, or is the only way to block incoming connections by
> removing everything except 127.0.0.1 from /access/tcp.smtp-where the
> listener is running, but everything external is blocked.
>
> Thanks,
>
> John
>
>