Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 30

Thread: Postfix - 550 550 #5.1.0 Address rejected

  1. #11
    Join Date
    Aug 2009
    Beans
    48

    Re: Postfix - 550 550 #5.1.0 Address rejected

    When I enter: sudo lsof -nP -i :25
    not running a firewall and the router has 25 open / forwarded to the server.

    Here are my results:

    COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
    master 8389 root 12u IPv4 3149454 0t0 TCP *:25 (LISTEN)
    master 8389 root 13u IPv6 3149456 0t0 TCP *:25 (LISTEN)

  2. #12
    Join Date
    Aug 2009
    Beans
    48

    Angry Re: Postfix - 550 550 #5.1.0 Address rejected

    Bump!! help setting up mail server.. please.

    So I am still struggling to figure this stuff out...
    Seems like my configuration is good, but I can't seem to send or receive mail.

    my telnet connection works: (ip address and domain name below changed)

    zidaps@localhost:~$ telnet example.com 25
    Trying 209.107.204.13...
    Connected to example.com.
    Escape character is '^]'.
    220 localhost.example.com ESMTP Postfix (Ubuntu)
    the ehlo bit works as well:

    ehlo example.com
    250-localhost.example.com
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH CRAM-MD5 DIGEST-MD5 PLAIN LOGIN NTLM
    250-AUTH=CRAM-MD5 DIGEST-MD5 PLAIN LOGIN NTLM
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN
    What am I missing here? Why isn't the mail being sent or received from my example.com ??

    This is the error I am getting from gmail:

    Mail Delivery Subsystem mailer-daemon@googlemail.com to me
    Delivery to the following recipient failed permanently:

    info@example.com

    Technical details of permanent failure:
    Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 #5.1.0 Address rejected info@example.com (state 14).
    I'm not sure what other valid info I can provide?? here is my main.cf file again:

    Code:
    # See /usr/share/postfix/main.cf.dist for a commented, more complete version
    
    
    # Debian specific:  Specifying a file name will cause the first
    # line of that file to be used as the name.  The Debian default
    # is /etc/mailname.
    #myorigin = /etc/mailname
    
    
    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    biff = no
    
    # appending .domain is the MUA's job.
    append_dot_mydomain = no
    
    # Uncomment the next line to generate "delayed mail" warnings
    #delay_warning_time = 4h
    
    readme_directory = no
    
    # TLS parameters
    smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
    smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
    smtpd_use_tls=yes
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    
    # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
    # information on enabling SSL in the smtp client.
    
    mydomain = example.com
    myhostname = loclahost.example.com
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = $mydomain
    mydestination = $myhostname, localhost.$mydomain, localhost $mydomain
    relayhost = [smtp.broadband.rogers.com]
    relay_domains = $mydestination 
    mynetworks = 127.0.0.0/8
    mailbox_command = procmail -a "$EXTENSION"
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    proxy_interfaces = 209.107.204.13
    
    smtpd_sasl_local_domain =
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smtpd_tls_auth_only = no
    #Use these on Postfix 2.2.x only
    #smtp_use_tls = yes
    #smtpd_use_tls = yes
    #For Postfix 2.3 or above use:
    smtp_tls_security_level = may
    smtpd_tls_security_level = may
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_key_file = /etc/ssl/private/smtpd.key
    smtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt
    smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom
    
    virtual_mailbox_domains = example.com example2.com example3.com
    virtual_mailbox_maps = hash:/etc/postfix/virtual_mailboxes
    Thanks in advance for any help provided on this...

  3. #13
    Join Date
    Aug 2009
    Beans
    48

    Re: Postfix - 550 550 #5.1.0 Address rejected

    Ok, so a bit of progress but still a no go..
    I've added the MX record information for my ISP at my godaddy account.

    But now I am having another error returned:

    Delivery to the following recipient failed permanently:

    username@mydomain.com

    Technical details of permanent failure:
    Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 530 530 authentication required - for help go to http://help.yahoo.com/help/us/mail/pop/pop-11.html (state 13).

  4. #14
    Join Date
    Feb 2006
    Location
    Ontario, Canada
    Beans
    49
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Postfix - 550 550 #5.1.0 Address rejected

    I think Rogers is your problem. Outgoing mail could be due to a local configuration problem but it looks like incoming mail is being rejected by your ISP. Doesn't Rogers require you to use @rogers.com e-mail addresses?

    You have two options in my estimation:
    1. Find someone successfully using Postfix and Rogers to advise you.
    2. Dump Rogers.

    My preference is the second one. A few years ago I struggle to get Postfix/Rogers working. It worked only a short time and then Rogers started requiring a list of Sender e-mail addresses. I am down to two mobile phone accounts with Rogers. One will probably be cancelled in the next week or so. The other one probably soon after.

    Zidaps, if you are in Ontario, Canada, I can give you the specs for my ISP... and no, I have not vested interest in my ISP.

    -Dennis
    Last edited by einstein; November 8th, 2011 at 06:00 AM.

  5. #15
    Join Date
    Aug 2009
    Beans
    48

    Re: Postfix - 550 550 #5.1.0 Address rejected

    Hi Dennis,

    Thanks for the help. Yes I am in Ontario. If you can send me the ISP config information that would be awesome. If it works with that then we know for sure the problem is Rogers. (wouldn't be surprised)

    but I want to believe there is something else I am doing wrong.. Reason being. I am using openwebmail to access and send my mail... I am not even able to send mail locally on my own network. I have 2 user names created on my server and using that to try to send mail from between users on the same domain.. but its not working. It says the mail is sent successfully, but the other user doesn't receive it... I will post the mail log error when I get back home tonight.

    Thanks.

  6. #16
    Join Date
    Dec 2010
    Beans
    570
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Postfix - 550 550 #5.1.0 Address rejected

    Are you actually using the domain example.com? Your ISP may very well recognize that you are not the owner of example.com so it refuses to relay mail with that address.

  7. #17
    Join Date
    Aug 2009
    Beans
    48

    Re: Postfix - 550 550 #5.1.0 Address rejected

    Hi hawkmage,

    no i'm actually using my domain name torontotuner.com so i'm not sure what the issue is or could be.

  8. #18
    Join Date
    Dec 2010
    Beans
    570
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Postfix - 550 550 #5.1.0 Address rejected

    OK, for your domain I see that you have the following MX records:
    Code:
    torontotuner.com    mail exchanger = 0 torontotuner.com.
    torontotuner.com    mail exchanger = 0 smtp.broadband.rogers.com.
    torontotuner.com    mail exchanger = 10 mailstore1.secureserver.net.
    You have your Mail server reports its self as bluesteel.torontotuner.com and you have no DNS entry for it.

    You may want to have postfix report its self as torontotuner.com or add an externally resolvable entry for the name bluesteel.torontotuner.com.

    I sent an email from my system to admin AT torontotuner.com with the subject "This is a test". Did you get it?

  9. #19
    Join Date
    Aug 2009
    Beans
    48

    Re: Postfix - 550 550 #5.1.0 Address rejected

    Hi Hawkmage,

    So i tried changing my hostname definition in postfix to read just torontotuner.com but that didn't work. Unfortunately I did not get the email from you either. The reason I have the defined myhostname as bluesteel.torontotuner.com is because my machine's name is BlueSteel... All the tutorials show that I should make it localhost.domain.com

    So far no luck.. I will keep trying new things to see what works. If you have any suggessions.. by all means... Please let me know Thanks.

  10. #20
    Join Date
    Dec 2010
    Beans
    570
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Postfix - 550 550 #5.1.0 Address rejected

    I am still see this:
    Code:
    telnet torontotuner.com 25
    Trying 99.250.117.208...
    Connected to torontotuner.com.
    Escape character is '^]'.
    220 bluesteel.torontotuner.com ESMTP Postfix (Ubuntu)
    QUIT
    221 2.0.0 Bye
    Connection closed by foreign host.

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •