Postfix isn't working right on my (port 25 blocked) connection

Discussion in 'Server Operation' started by bagpiperdude90, Jun 20, 2007.

  1. bagpiperdude90

    bagpiperdude90 ISPConfig Developer

    Hey,

    Ok - long story short, I'm a small web designer, and I end up hosting most of my clients sites on my Fedora 6 server, running ISPConfig and Postfix.

    Right now, if they need email, I just sign them up with google's apps for your domain service, which provides free email domain hosting. Works great, until now... I have two clients; one wants a PHPbb forum, and the other wants Zen cart. Both *need* emails to be able to be sent from the website via PHP scripts. I want to be able to use their domain name, (i.e. Sales@domain.com, instead of StoreName@hotmail.com). Simple - just use Postfix.

    Well, I have another problem. I'm on a Bellsouth DSL connection, with port 25 blocked. I've talked with them, and threatened to leave, and they won't unblock port 25.

    Supposedly, I can authenticate all my outgoing mail through my ISP's email servers, because my gmail account can send outgoing just fine. So, connecting the dots, you'd think I would be able to send my domain.com email through their mailservers, right? People have told me I can...

    Could anybody do me a BIG favor, and let me know how to do this, or link me to some tutorials? I'll make a fresh install of any distro you want, and install whatever packages, and follow any directions. I have a spare server to use. I don't care if its postfix or sendmail at this point - I just want something to work, so I can see that it does work and how it does work.

    FYI: ISP is bellsouth, so mailservers are mail.bellsouth.net.

    Thank you very very very much for any replies!
     
  2. Hans

    Hans Moderator

  3. bagpiperdude90

    bagpiperdude90 ISPConfig Developer

    wow, most entertaining thread in a while! Sends me in circles...

    Check the link... you linked to this one ;-)

    Thanks for replying though!
     
  4. aqua

    aqua New Member

  5. bagpiperdude90

    bagpiperdude90 ISPConfig Developer

    ah! ok thanks!
     
  6. bagpiperdude90

    bagpiperdude90 ISPConfig Developer

    Well, I followed the directions... here's what I got back...


    Next is this:

    Or this:

    Continues:



    I'll look around to see what's going on.
     
    Last edited: Jun 21, 2007
  7. bagpiperdude90

    bagpiperdude90 ISPConfig Developer

    Funny thing is... it works if I send it to the bellsouth.net address I'm SMTP-AUTHing with.
     
  8. bagpiperdude90

    bagpiperdude90 ISPConfig Developer

    hmm... maybe bellsouth.net doesn't even require SMTP-AUTH? I can enter this into console: (reply is in quotes, my commands are in non-quotes)

    [root@localhost]# telnet mail.bellsouth.net 25
    EHLO
    quit

    Didn't ask for Authentication. Does that mean I don't need SMTP-AUTH?

    I'm so confused...


    EDIT -

    So, I turned off SMTP-AUTH by doing this:

    "
    postconf -e 'relayhost = mail.bellsouth.net'
    postconf -e 'smtp_sasl_auth_enable = no'
    "

    And tried sending mail. I can still connect... but I get the same old "Diagnostic-Code: smtp; 550 #5.1.0 Address rejected." thing.

    Grrrr.

    Appreciate any help... :)
     
    Last edited: Jun 21, 2007
  9. bagpiperdude90

    bagpiperdude90 ISPConfig Developer

    IT WORKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    2 months later... finally!

    Thanks for sending me that link... turns out all I had to do was:

    edit my /etc/postfix/main.cf file, and add:

    "
    relayhost = [mail.bellsouth.net]
    "
    Then of course, restarting postfix.

    It needed those darned brackets. No SMTP-AUTH needed. Just takes it as I send it. Dang.

    I assume that was the same as saying:

    "
    postconf -e 'relayhost = [mail.bellsouth.net]'
    "


    Man. Finally. Thanks for all the help, people! I'm one happy camper now :)



    :D :D :D
     

Share This Page