Jump to content

Setting up Postfix: can't connect remotely on port 25


448191

Recommended Posts

I've been trying to get Postfix setup, and it didn't seem too hard, but I can't make remote connections  :-\

 

From the server itself, I'm able to telnet 25, auth and all... From the outside the connection times out. I have every possible firewall disabled, domain and subdomain can be resolved.

 

Here's my config:

 

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)

biff = no

append_dot_mydomain = no

myhostname = *

mydomain = *

myorigin = $mydomain

inet_interfaces = all

mydestination = $mydomain, localhost.$mydomain, localhost

mynetworks = 127.0.0.0/8

smtpd_sasl_auth_enable = yes

smtpd_sasl_security_options = noanonymous

smtpd_sasl_local_domain = $mydomain

broken_sasl_auth_clients = yes

smtpd_sender_restrictions = reject_unknown_sender_domain, reject_unverified_sender

smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination

Do a netstat -tap.

It should have:

tcp        0      0 *:smtp                  *:*                    LISTEN    -

(if there is a localhost/127.0.0.1:smtp, its bound to localhost only)

 

A lot of ISPs block port 25 to prevent spam from been sent via hijacked pcs. Its strange to see incoming traffic on port 25 to be blocked however.

 

-steve

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.