Postfix Sender address rejected

Discussion in 'Server Operation' started by gabrix, Feb 4, 2011.

  1. gabrix

    gabrix New Member

    Hi!
    long time we don't speak ....
    ok!
    I'm going crazy with my postfix on debian 2.6.26. i can connect and use my smtpd from $mynetworks , but i can't do anything from internet ips .

    Code:
    root@hostname:~# postconf -n
    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    append_dot_mydomain = no
    biff = no
    broken_sasl_auth_clients = yes
    canonical_maps = hash:/etc/postfix/canonical
    config_directory = /etc/postfix
    delay_warning_time = 4h
    disable_dns_lookups = yes
    home_mailbox = Maildir/
    inet_interfaces = all
    mailbox_command = procmail -a "$EXTENSION"
    mailbox_size_limit = 0
    mydestination = $mydomain ,smtp.$mydomain,pop.$mydomain,localhost.localdomain , localhost
    mydomain = mydomainname
    myhostname = smtp.$mydomain
    mynetworks = 127.0.0.0/8, 192.168.1.0/24
    mynetworks_style = subnet
    myorigin = /etc/mailname
    readme_directory = /usr/share/doc/postfix
    recipient_delimiter = +
    relayhost = [smtp.myrelay.host]:587
    smtp_cname_overrides_servername = no
    smtp_enforce_tls = yes
    smtp_sasl_auth_enable = yes
    smtp_sasl_mechanism_filter = plain, login
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
    smtp_sasl_security_options = 
    smtp_sasl_tls_security_options = 
    smtp_tls_CAfile = /etc/postfix/ssl/CA.pem
    smtp_tls_cert_file = /etc/postfix/ssl/cert.pem
    smtp_tls_key_file = /etc/postfix/ssl/key.pem
    smtp_tls_mandatory_ciphers = high
    smtp_tls_mandatory_protocols = TLSv1
    smtp_tls_note_starttls_offer = yes
    smtp_tls_per_site = hash:/etc/postfix/tls_per_site
    smtp_tls_secure_cert_match = nexthop
    smtp_tls_security_level = secure
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    smtp_use_tls = yes
    smtpd_banner = ESMTP $mail_name (My mailname)
    smtpd_sasl_auth_enable = no
    smtpd_sasl_authenticated_header = no
    smtpd_sasl_local_domain = 
    smtpd_sasl_path = private/auth
    smtpd_sasl_security_options = 
    smtpd_sasl_tls_security_options = 
    smtpd_sasl_type = dovecot
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    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 = no
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtpd_tls_session_cache_timeout = 3600s
    smtpd_use_tls = yes
    tls_daemon_random_bytes = 32
    tls_random_reseed_period = 3600s
    tls_random_source = dev:/dev/urandom
    transport_maps = hash:/etc/postfix/transport
    
    what else could i say ???
    what's wrong with my main.cf?
    thanks!
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Are there any errors in your mail log (in the /var/log/ directory)?
     

Share This Page