554 5.5.1 Error: no valid recipients

Discussion in 'Installation/Configuration' started by tom99, Jan 27, 2015.

  1. tom99

    tom99 New Member

    Hi,
    We're trying to do away with our old domain and start using a new one. I've forwarded all the email from the old domain to the new one, everything has been working fine but now i seem to be getting this error.


    Transcript of session follows.

    Out: 220 mail.newdomain.com ESMTP Postfix (Ubuntu)
    In: EHLO delivery.olddomain.com
    Out: 250-mail.newdomain.com
    Out: 250-PIPELINING
    Out: 250-SIZE
    Out: 250-VRFY
    Out: 250-ETRN
    Out: 250-STARTTLS
    Out: 250-AUTH PLAIN LOGIN
    Out: 250-AUTH=PLAIN LOGIN
    Out: 250-ENHANCEDSTATUSCODES
    Out: 250-8BITMIME
    Out: 250 DSN
    In: STARTTLS
    Out: 220 2.0.0 Ready to start TLS
    In: EHLO delivery.olddomain.com
    Out: 250-mail.newdomain.com
    Out: 250-PIPELINING
    Out: 250-SIZE
    Out: 250-VRFY
    Out: 250-ETRN
    Out: 250-AUTH PLAIN LOGIN
    Out: 250-AUTH=PLAIN LOGIN
    Out: 250-ENHANCEDSTATUSCODES
    Out: 250-8BITMIME
    Out: 250 DSN
    In: MAIL FROM:<user1@olddomain.com> SIZE=9051
    Out: 250 2.1.0 Ok
    In: RCPT TO:<user@newdomain.com>
    Out: 451 4.3.5 Server configuration error
    In: DATA
    Out: 554 5.5.1 Error: no valid recipients
    In: QUIT
    Out: 221 2.0.0 Bye


    For other details, see the local mail logfile
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which tutorial did you use to install the mailserver?
     
  3. tom99

    tom99 New Member

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok. Which error do you get in the mail.log file?
     
  5. tom99

    tom99 New Member

    I cant seem to see any errors in mail.log but this only happens with this one domain. now emails are bouncing back

    To: user@olddomain.com
    Subject: Mail delivery failed: returning message to sender
    This message was created automatically by mail delivery software.
    A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:
    user2@newdomain.com
    host mail.newdomain.com [xxx.xxx.xxx.xx]
    SMTP error from remote mail server after RCPT
    TO:<user2@newdomain.com>:
    451 4.3.5 Server configuration error: retry timeout exceeded
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    is this the same domain that you get when you run the commad:

    hostname

    or

    hostname.f

    or is this domain listed somewhere in /etc/postfix/main.cf file?
     
  7. tom99

    tom99 New Member

    yes and it is listed in /etc/postfix/main.cf
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Please change the hostname of the server and all occurrences of this domain in main.cf file to a subdomain. Use e.g. server1.yordomain.com instead of yourdomain.com. A domain that you want to use for email with virtual users may not be used as hostname of the server nor may it be listed in postfix main.cf. Then restart the server.
     
  9. tom99

    tom99 New Member

    I changed the hostname and it seems to be working. thanks
     

Share This Page