postfix smtp server errors from smtp.foo.mail

Discussion in 'Server Operation' started by gabrix, Sep 12, 2008.

  1. gabrix

    gabrix New Member

    All mail i get sent to my mail account gets this error message and this is the hadshake between the foreign client and my smtp :

    Code:
     Out: 220 mymail.server ESMTP Postfix (Free/OS)
     In:  EHLO www.someotherserver
     Out: 250-mail.myserver
     Out: 250-PIPELINING
     Out: 250-SIZE 10240000
     Out: 250-ETRN
     Out: 250-STARTTLS
     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 www.someotherserver
     Out: 250-mail.myserver
     Out: 250-PIPELINING
     Out: 250-SIZE 10240000
     Out: 250-ETRN
     Out: 250-AUTH PLAIN LOGIN
     Out: 250-ENHANCEDSTATUSCODES
     Out: 250-8BITMIME
     Out: 250 DSN
     In:  MAIL FROM:<aha-bounces@someother> SIZE=3945
     Out: 250 2.1.0 Ok
     In:  RCPT TO:<gabrix@mydomain>
     Out: 451 4.3.5 Server configuration error
     In:  DATA
     Out: 554 5.5.1 Error: no valid recipients
     In:  RSET
     Out: 250 2.0.0 Ok
     In:  QUIT
     Out: 221 2.0.0 Bye
    What can be due ? this is my postconf -n
    Code:
    alias_database = hash:/etc/postfix/aliases
    alias_maps = hash:/etc/aliases
    append_at_myorigin = yes
    append_dot_mydomain = no
    biff = no
    body_checks = pcre:/etc/postfix/body_checks.txt
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/lib/postfix
    debug_peer_level = 2
    debug_peer_list = $mydomain
    delay_warning_time = 4h
    disable_dns_lookups = yes
    disable_vrfy_command = yes
    header_checks = pcre:/etc/postfix/header_checks.txt
    home_mailbox = Maildir/
    html_directory = no
    inet_interfaces = all
    inet_protocols = all
    local_transport = local
    mail_owner = postfix
    mailbox_command =
    mailbox_size_limit = 0
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/local/man
    mydestination = $mydomain, mail.$mydomain, smtp.$mydomain , pop.$mydomain ,www.$mydomain , ns2.$mydomain , remailer.$mydomain,mix.remailer.$mydomain, localhost.$mydomain, localhost
    mydomain = gabrix.ath.cx
    myhostname = mail.$mydomain
    mynetworks = 127.0.0.0/8 , 10.0.0.0/8
    myorigin = $mydomain
    newaliases_path = /usr/bin/newaliases
    queue_directory = /var/spool/postfix
    readme_directory = no
    recipient_delimiter = +
    relay_domains = hash:/etc/postfix/relay_domains
    relayhost = smtp.autistici.org
    setgid_group = postdrop
    smtp_cname_overrides_servername = no
    smtp_enforce_tls = no
    smtp_sasl_auth_enable = yes
    smtp_sasl_mechanism_filter = plain,login
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
    smtp_sasl_security_options = noanonymous
    smtp_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtp_tls_cert_file = /etc/postfix/ssl/cert.pem
    smtp_tls_enforce_peername = no
    smtp_tls_key_file = /etc/postfix/ssl/key.pem
    smtp_tls_loglevel = 2
    smtp_tls_note_starttls_offer = no
    smtp_tls_security_level = may
    smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
    smtp_use_tls = yes
    smtpd_banner = $myhostname ESMTP $mail_name (Free/OS)
    smtpd_enforce_tls = no
    smtpd_helo_required = no
    smtpd_recipient_restrictions = permit_mynetworks,check_recipient_access /etc/postfix/client_access.txt,reject_unauth_destination,reject_rbl_client list.dsbl.org,reject_rbl_client zen.spamhaus.org,permit
    smtpd_reject_unlisted_sender = no
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_local_domain = $mydomain
    smtpd_starttls_timeout = 4000s
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_always_issue_session_ids = no
    smtpd_tls_ask_ccert = no
    smtpd_tls_auth_only = no
    smtpd_tls_cert_file = /etc/postfix/ssl/cert.pem
    smtpd_tls_key_file = /etc/postfix/ssl/key.pem
    smtpd_tls_received_header = yes
    smtpd_tls_req_ccert = no
    smtpd_tls_security_level = may
    smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
    smtpd_use_tls = yes
    strict_8bitmime = no
    strict_rfc821_envelopes = no
    tls_random_source = dev:/dev/urandom
    transport_maps = hash:/etc/postfix/transport
    
    Maybe i have to see in the maps i configured but sending is ok but i keep on having as delivery mail from any sort of domain with that :
    Code:
    Out: 554 5.5.1 Error: no valid recipients
    If you need more infos just ask , thanks !
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Are there any errors in your mail log?
     

Share This Page