Jump to content

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


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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.