Am 2003.09.10 19:51 schrieb(en) Kevin Bucknum:
>
>Hello,
>
>How can I tell qmail not to open port 25 on the extern IP,
>just on the
>localhost IP, to take emails with smtp and forward them everywhere?
>
>Martin
>

Edit the run file under /service/qmail-smtpd and change the 0 to
127.0.0.1

As I wrote, that works, but I have other problems too:

I cannot send emails.

What I tried:

# /etc/init.d/svscan stop
* Stopping service scan...... [ok]
* Stopping services...... [ok]
* Stopping service logging...... [ok]
# telnet localhost 25
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
# /etc/init.d/svscan start
* Starting service scan...... # telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
#

At the second telnet try, I didn't press anything, and I get the closed thing.

What am I doing wrong?

Thanks,
Martin


Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to