On 10/19/2016 4:30 AM, pat G wrote:
> Hello,
> 
> i ve a problem to send with a postfix server.
> 
> when i use telnet (port 25) to send, i ve a message in mailq, but
> nothing go out :
> 
> 6FDA937607C1*     399 Wed Oct 19 11:20:10  t...@dm.com
>                                          t...@dm.com
> 
> when i use an other soft (mutt port 25) to send a mail, i ve an error :
> 
> in the mail's logs there's that :
> 
> Oct 19 11:21:37 mail postfix/smtpd[22701]: connect from
> unknown[192.168.1.50]
> Oct 19 11:21:37 mail postfix/smtpd[22701]: Anonymous TLS connection
> established from unknown[192.168.1.50]: TLSv1 with cipher
> DHE-RSA-AES256-SHA (256/256 bits)
> Oct 19 11:22:36 mail postfix/smtpd[22701]: lost connection after
> EHLO from unknown[192.168.1.50]
> Oct 19 11:22:36 mail postfix/smtpd[22701]: disconnect from
> unknown[192.168.1.50]
> 
> in the mutt soft, it indicates : SMTP server doesn't support
> authentication
> 
> in the SMTP server postconf -n :
> 
> # postconf -n
> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases
> append_dot_mydomain = no
> biff = no
> config_directory = /etc/postfix
> inet_interfaces = all
> lmtp_tls_session_cache_database = btree:${data_directory}/lmtp_scache
> mailbox_command = procmail -a "$EXTENSION"
> mailbox_size_limit = 0
> mydestination = localhost, localhost.localdomain, localhost
> myhostname = mail.dm.com
> mynetworks = 127.0.0.0/8 192.168.1.0/24
> readme_directory = no
> recipient_delimiter = +
> relayhost =
> smtp_tls_CAfile = /etc/ssl/certs/ca.cert.pem
> smtp_tls_exclude_ciphers = aNULL, eNULL, EXPORT, DES, 3DES, RC2,
> RC4, MD5, PSK, SRP, DSS, AECDH, ADH
> smtp_tls_loglevel = 1
> smtp_tls_mandatory_ciphers = high
> smtp_tls_mandatory_protocols = !SSLv2, !SSLv3
> smtp_tls_note_starttls_offer = yes
> smtp_tls_protocols = !SSLv2, !SSLv3
> smtp_tls_security_level = may
> smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
> smtpd_banner = dm.com ESMTP mx1.dm.com (Debian/GNU)
> smtpd_client_restrictions = permit_mynetworks,
> permit_inet_interfaces, permit_sasl_authenticated,
> smtpd_helo_restrictions = permit_mynetworks,
> permit_sasl_authenticated, reject_invalid_helo_hostname,
> reject_non_fqdn_helo_hostname
> smtpd_recipient_restrictions = permit_mynetworks,
> permit_sasl_authenticated, reject_non_fqdn_recipient,
> reject_unauth_destination, reject_unknown_recipient_domain,
> reject_rbl_client zen.spamhaus.org
> smtpd_relay_restrictions = permit_mynetworks
> permit_sasl_authenticated defer_unauth_destination


smtpd_sasl_auth_enable = yes


> smtpd_sender_login_maps = mysql:/etc/postfix/mysql-sender-login-maps.cf
> smtpd_sender_restrictions = reject_non_fqdn_sender,
> reject_unknown_sender_domain, reject_sender_login_mismatch
> smtpd_tls_CAfile = $smtp_tls_CAfile
> smtpd_tls_auth_only = yes
> smtpd_tls_cert_file = /etc/ssl/certs/mailserver.crt
> smtpd_tls_dh1024_param_file = $config_directory/dh2048.pem
> smtpd_tls_dh512_param_file = $config_directory/dh512.pem
> smtpd_tls_key_file = /etc/ssl/private/mailserver.key
> smtpd_tls_loglevel = 1
> smtpd_tls_mandatory_ciphers = medium
> smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3
> smtpd_tls_protocols = !SSLv2, !SSLv3
> smtpd_tls_received_header = yes
> smtpd_tls_security_level = may
> smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
> smtpd_use_tls = yes
> tls_preempt_cipherlist = yes
> tls_random_source = dev:/dev/urandom
> virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf
> virtual_gid_maps = static:5000
> virtual_mailbox_base = /var/spool/vmail
> virtual_mailbox_domains =
> mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
> virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
> virtual_minimum_uid = 5000
> virtual_transport = lmtp:unix:private/lmtp
> virtual_uid_maps = static:5000
> 
> 
> did i miss something ?
> 
> thx
> 
> pat.
> 

Reply via email to