Postfix Sending via mail.bellsouth.net

Discussion in 'Server Operation' started by bagpiperdude90, May 9, 2007.

  1. Hi,

    So, I have my own ISPConfig server running postfix on Fedora 6, on a static IP address with bellsouth. They told me they would unblock port 25... so much for that. :rolleyes:

    Now my mom wants to open a zen cart based shop on my server, but it needs to be able to send out emails to customers, confirming orders, etc. So... I was reading around, and saw this here:

    http://andrew.jorgensenfamily.us/2007/04/postfix-client-authentication/

    Sounds like I can authenticate through mail.bellsouth.net using my bellsouth.net ID. I followed the steps, and have made sure these lines are in the main.cf file:

    relayhost = mail.bellsouth.net
    smtp_sasl_auth_enable = yes
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

    and then also made the sasl_passwd file, with this inside it:

    mail.bellsouth.net username:password


    and then ran the "postmap /etc/postfix/sasl_passwd" command, and restarted my mail server.

    When trying to send mail, I get this bounce back immediately:


    -------------------


    This is the mail system at host localhost.localdomain.

    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.

    For further assistance, please send mail to <postmaster>

    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.

    The mail system

    <[user]@gmail.com>: host mx01.mail.bellsouth.net[205.152.58.33] said:
    550 relaying mail to gmail.com is not allowed (in reply to RCPT TO command)

    Reporting-MTA: dns; localhost.localdomain
    X-Postfix-Queue-ID: 2F5C114C829A
    X-Postfix-Sender: rfc822; david@[domain].com
    Arrival-Date: Tue, 8 May 2007 18:38:37 -0400 (EDT)

    Final-Recipient: rfc822; [user]@gmail.com
    Original-Recipient: rfc822;[user]@gmail.com
    Action: failed
    Status: 5.0.0
    Remote-MTA: dns; mx01.mail.bellsouth.net
    Diagnostic-Code: smtp; 550 relaying mail to gmail.com is not allowed


    -------------------------------



    I'm assuming that is a problem with bellsouth, most likely them rejecting my connection?


    -- Other information that might be helpful --


    My BIND DNS server is not working for some reason

    I do have the mailboxes setup correctly, using RoundCube

    I cannot receive email either

    This same setup (without the relayhost stuff, just a plain postfix install) worked when I was on Earthlink DSL. However, I left them to get a static IP with bellsouth.




    Any help is greatly appreciated! I'll keep playing around with this... hopefully I'll come across something.
     
  2. well... I got it to stop bouncing back now. I used smtp.bellsouth.net and it doesn't give me errors now. But, my gmail account doesnt receive the email either. I guess this is a step in the right direction...
     
  3. falko

    falko Super Moderator Howtoforge Staff

    Hm... Maybe that smtp.bellsouth.net server is blacklisted somewhere (although I can hardly believe it)?

    Any errors in your mail log?
     
  4. well, I tried looking, and didn't see anything out of the ordinary...

    the log would be:

    /var/log/mail

    or /var/log/maillog

    right??
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Yes, something like that (depends on your distribution).
     
  6. Fedora 6 is my distro...

    didn't see anything unusual in the logs... :confused:
     
  7. JaJunk

    JaJunk New Member

    I requested the port be opened online and it was done in a matter of a couple of days. SW Bell, but it's all AT&T now anyway

    http://helpme.att.net/servabuse.php

    Select OPT-out port 25 on the abuse part and they should send a confirmation email to you when received and when completed.
     
  8. Ah! Thank you so much!!!!!!!! I submitted the request... we'll see what happens.
     

Share This Page