Am 05.02.2014 15:52, schrieb Silvio Siefke: > On Wed, 05 Feb 2014 02:11:35 +0100 "li...@rhsoft.net" > <li...@rhsoft.net> wrote: > >> yes, but you provided only one log line which has no evidence that >> your client used the submission port (587) *and* authentication as >> well as you did not state your submission config in the inital posting > > I must give the client SMTP Port 587?
what else? it does not help much configure 587 on the server and use 25 on the client http://en.wikipedia.org/wiki/Mail_submission_agent both MTA and MSA functions use port number 25, but the official port for MSAs is 587 that is why ISP's are sometimes blocking outgoing port 25 and if *any* ISP would do that there would be less damage because hacked machines could not use open-realys for their trash guess what "smtp" and "submission" means in master.cf frankly, you can replace it with 25 and 587 [harry@rh:~]$ cat /etc/services | grep submission submission 587/tcp msa # mail message submission submission 587/udp msa # mail message submission [harry@rh:~]$ cat /etc/services | grep 25 smtp 25/tcp mail smtp 25/udp mail >> you only overwrite "smtpd_recipient_restrictions" in master.cf >> but you have other restrictions enabled and "Client host rejected: >> cannot find your hostname" is pretty sure from your global >> "smtpd_client_restrictions" as well you do not want >> your global "smtpd_helo_restrictions" on submission > > I has change now the restrictons what stand in postfix site. Now i become > a relay denied. > > Feb 5 15:47:38 ks3374456 postfix/smtpd[7063]: connect from > unknown[46.115.116.23] > Feb 5 15:47:40 ks3374456 postfix/smtpd[7063]: Anonymous TLS connection > established from unknown[46.115.116.23]: TLSv1 with cipher DHE-RSA-AES256-SHA > (256/256 bits) > Feb 5 15:47:42 ks3374456 postfix/smtpd[7063]: NOQUEUE: reject: RCPT from > unknown[46.115.116.23]: 554 5.7.1 <unknown[46.115.116.23]>: Client host > rejected: Access denied; from=<webmas...@silviosiefke.com> > to=<siefkesil...@gmail.com> proto=ESMTP helo=<gentoomobile> > Feb 5 15:47:44 ks3374456 postfix/smtpd[7063]: lost connection after RCPT > from unknown[46.115.116.23] > Feb 5 15:47:44 ks3374456 postfix/smtpd[7063]: disconnect from > unknown[46.115.116.23] > > When i understand the debug log of dovecot correct, the Auth work correct the dovecot log is completly irrelevant there is no authentication line in your postfix log and so auth did not happen Feb 5 15:57:55 mail postfix/smtpd[30701]: Anonymous TLS connection established from **************[xx.xx.xx.xx]: TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits) Feb 5 15:57:55 mail postfix/smtpd[30701]: 3fK5VW4GVTz2g: client=**************[xx.xx.xx.xx], sasl_method=CRAM-MD5, sasl_username=************** Feb 5 15:57:55 mail postfix/cleanup[15764]: 3fK5VW4GVTz2g: message-id=<**************> Feb 5 15:57:55 mail postfix/qmgr[19157]: 3fK5VW4GVTz2g: from=<**************>, size=2973, nrcpt=1 (queue active) Feb 5 15:57:55 mail postfix/smtpd[30701]: disconnect from **************[xx.xx.xx.xx]