Postfix remote SMTP

Discussion in 'Developers' Forum' started by quentusrex, Nov 7, 2008.

  1. quentusrex

    quentusrex New Member

    It seems that postfix wont' allow clients with e-mail accounts to sent e-mails through any e-mail program such as thunderbird, or outlook. I think it's because postfix is only listening on the local loopback address. Am I wrong?

    How do I enable remote sending and receiving for clients?
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Postfix is listening on all IP addresses and not just on localhost if you installed postfix correcly. But your problem is most likely not relatted to the server setup at all.

    Enable smtp authentication in the mail client
     
  3. quentusrex

    quentusrex New Member

    Did that... Imap works just fine, but the smtp part just hangs. So, I've got to figure out why the smtp portion hangs.
     
  4. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    What's the output of
    Code:
    netstat -tap
    ? Any errors in your mail log?
     
  5. quentusrex

    quentusrex New Member

    Alright, I've found the problem. Postfix won't even listen to any connection that isn't from localhost. So, how do I set this so that anyone can try to auth with smtp, from any ip?
     
  6. quentusrex

    quentusrex New Member

    Turns out that comcast is blocking all in and outgoing smtp on port 25. So I had to change the port to 587.

    It works now.
     
  7. Antennipasi

    Antennipasi ISPConfig Developer ISPConfig Developer

    did you change default listening port of Postfix?
    if so, i think that is not so good way to do it, because now you have to remember this also for internal programs and services.
    IMO better is to uncommet submission-line in /etc/postfix/master.cf
    submission-module will then relay all incoming smtp to postfix using port 587.
    for outgoing i suggest you to use comcast as a relay by modifying /etc/postfix/main.cf something like this:
    Code:
    RELAYHOST = your.comcast-smtp.tld user:pass
    this because many mailservers out there blocks mails that are coming fro other than port 25.
     

Share This Page