PERM_FAILURE: SMTP Error (state 9): 550

Discussion in 'Installation/Configuration' started by [email protected], Mar 24, 2007.

  1. help.me.spam.me@gmail.com

    [email protected] New Member

    I recently had a problem with sending email. Fixing /etc/default/saslauthd took care of it, but now I can't receive messages. I think postfix is refusing to relay for my domain. Here are my settings.

    Thanks


    Setup: http://www.howtoforge.com/perfect_setup_ubuntu_6.06
    Smtp not blocked by ISP

    Bounced message from sent from domain (gmail.com and others):
    Technical details of permanent failure:
    PERM_FAILURE: SMTP Error (state 9): 550 <[email protected]>: Recipient address rejected: User unknown in local recipient table

    mail info:
    Mar 24 10:08:56 MyHost courierpop3login: couriertls: connect: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number



    main.cf:
    # 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

    # TLS parameters
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_use_tls = yes
    smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${queue_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.

    myhostname = mail.MyDomain.net
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    #mydestination = MyHost.MyDomain.net, localhost.MyDomain.net, localhost
    relayhost =
    mynetworks = 127.0.0.0/8
    mailbox_command = procmail -a "$EXTENSION"
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    inet_protocols = all
    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
    smtp_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom

    virtual_maps = hash:/etc/postfix/virtusertable

    #mydestination = MyDomain.net, localhost.MyDomain.net, localhost
    mydestination = /etc/postfix/local-host-names

    netstat -tap:
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:mysql *:* LISTEN 3917/mysqld
    tcp 0 0 *:81 *:* LISTEN 4261/ispconfig_http
    tcp 0 0 MyHost.caru:domain *:* LISTEN 15842/named
    tcp 0 0 localhost.locald:domain *:* LISTEN 15842/named
    tcp 0 0 *:ftp *:* LISTEN 6035/proftpd: (acce
    tcp 0 0 localhost.localdoma:953 *:* LISTEN 15842/named
    tcp 0 0 *:smtp *:* LISTEN 15800/master
    tcp6 0 0 *:imaps *:* LISTEN 3791/couriertcpd
    tcp6 0 0 *:pop3s *:* LISTEN 3826/couriertcpd
    tcp6 0 0 *:pop3 *:* LISTEN 3806/couriertcpd
    tcp6 0 0 *:imap2 *:* LISTEN 3771/couriertcpd
    tcp6 0 0 *:www *:* LISTEN 4507/apache2
    tcp6 0 0 *:ssh *:* LISTEN 4098/sshd
    tcp6 0 0 *:56374 *:* LISTEN 4098/sshd
    tcp6 0 0 ip6-localhost:953 *:* LISTEN 15842/named
    tcp6 0 0 *:smtp *:* LISTEN 15800/master
    tcp6 0 0 *:https *:* LISTEN 4507/apache2
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. help.me.spam.me@gmail.com

    [email protected] New Member

    Nope!

    I don't get it. It was working before.

    ###################################
    #
    # ISPConfig virtusertable Configuration File
    # Version 1.0
    #
    ###################################
    [email protected] web2_timo
    [email protected] web2_timo
    timo@ web2_timo
    web2_timo@ web2_timo

    Should I just make mods after
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####

    Or should I reconfig the postfix package?

    Thanks
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    It looks like you removed the co-domain MyDomain.net from the website www.MyDomain.net . Please add this co-domain again (with empty hostname field!).
     
  5. help.me.spam.me@gmail.com

    [email protected] New Member

    That was easy.

    Thanks Till!
     

Share This Page