Merhabalar,

Evdeki sunucuma postfix kurdum ve kurulumu gmail için satellite olarak
ayarladım ancak nedense mail göndermeye çalıştığımda

host smtp.gmail.com[74.125.206.108] said: 530 5.7.0 Must issue a STARTTLS
command first

sorunu ile karşılaşıyorum. Log'un tam çıktısı aşağıdaki gibi:

postfix/cleanup[20757]: 726A364034: message-id=<
> 20161001220037.726A364034@hostname.dynamic_domain_name.no-ip.biz>
> postfix/qmgr[20751]: 726A364034: from=<
> root@hostname.dynamic_domain_name.no-ip.biz>, size=380, nrcpt=1 (queue
> active)
> postfix/smtp[20759]: 726A364034: to=<receip...@gmail.com>, relay=
> smtp.gmail.com[74.125.206.109]:587, delay=0.58,
> delays=0.14/0.02/0.35/0.07, dsn=5.7.0, status=bounced (host 
> smtp.gmail.com[74.125.206.109]
> said: 530 5.7.0 Must issue a STARTTLS command first. lz5sm26408902wjb.24 -
> gsmtp (in reply to MAIL FROM command))
> postfix/cleanup[20757]: 1B4CB6403C: message-id=<
> 20161001220038.1B4CB6403C@hostname.dynamic_domain_name.no-ip.biz>
> postfix/qmgr[20751]: 1B4CB6403C: from=<>, size=2402, nrcpt=1 (queue active)
> postfix/bounce[20760]: 726A364034: sender non-delivery notification:
> 1B4CB6403C
> postfix/qmgr[20751]: 726A364034: removed
> postfix/cleanup[20757]: 286A864029: message-id=<
> 20161001220038.1B4CB6403C@hostname.dynamic_domain_name.no-ip.biz>
> postfix/local[20761]: 1B4CB6403C: to=<
> root@hostname.dynamic_domain_name.no-ip.biz>, relay=local, delay=0.08,
> delays=0.04/0.02/0/0.03, dsn=2.0.0, status=sent (forwarded as 286A864029)
> postfix/qmgr[20751]: 286A864029: from=<>, size=2546, nrcpt=1 (queue active)
> postfix/qmgr[20751]: 1B4CB6403C: removed
> postfix/smtp[20759]: 286A864029: to=<
> username@dynamic_domain_name.no-ip.biz>, orig_to=<
> root@hostname.dynamic_domain_name.no-ip.biz>, 
> relay=smtp.gmail.com[74.125.206.108]:587,
> delay=0.4, delays=0.03/0/0.31/0.06, dsn=5.7.0, status=bounced (host
> smtp.gmail.com[74.125.206.108] said: 530 5.7.0 Must issue a STARTTLS
> command first. lf9sm12907671wjb.22 - gsmtp (in reply to MAIL FROM command))
> postfix/qmgr[20751]: 286A864029: removed


Ayrıca main.cf yapıladırmam şu şekilde:

# 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 (Debian/GNU)
> 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
> readme_directory = no
> # TLS parameters
> smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
> smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
> smtpd_use_tls=yes
> smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
> smtp_tls_session_cache_database = btree:${data_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.
> smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated
> defer_unauth_destination
> myhostname = hostname.dynamic_domain_name.no-ip.biz
> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> myorigin = /etc/mailname
> mydestination = hostname.dynamic_domain_name.no-ip.biz,
> localhost.dynamic_domain_name.no-ip.biz, localhost
> relayhost = [smtp.gmail.com]:587
> mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
> mailbox_command = procmail -a "$EXTENSION"
> mailbox_size_limit = 0
> recipient_delimiter = +
> inet_interfaces = loopback-only
> default_transport = smtp
> relay_transport = smtp
> inet_protocols = all
> # SASL Settings
> smtp_sasl_auth_enable = yes
> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
> smtp_sasl_security_options =
> smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
> #debug_peer_list=smtp.gmail.com
> #debug_peer_level=3


Bir yerde master.cf dosyasında aşağıdaki satırın açık olması gerektiği
yazılmış

submission inet n       -       -       -       -       smtpd

Bunu da yaptım ama halen yukarıdaki sorunla karşılaşmaktayım. Bu sorunun
çözümünü bilen var mı acaba?


Saygılarımla,
Sencer HAMARAT
_______________________________________________
Linux-sunucu E-Posta Listesi
Linux-sunucu@liste.linux.org.tr

Liste kurallarını http://liste.linux.org.tr/kurallar.php  bağlantısından 
okuyabilirsiniz;

Bu Listede neden bulunduğunuzu bilmiyorsanız veya artık bu listeden gelen 
e-postaları almak istemiyorsanız aşağıdaki bağlantı adresini kullanarak 1 
dakika içinde üyeliğinizi sonlandırabilirsiniz.
https://liste.linux.org.tr/mailman/listinfo/linux-sunucu

Cevap