I also turned on verbose log in dovecot and below is output in mail.log: Feb 23 10:03:51 vps342401 postfix/smtps/smtpd[3640]: xsasl_dovecot_server_connect: auth reply: DONE Feb 23 10:03:51 vps342401 postfix/smtps/smtpd[3640]: xsasl_dovecot_server_mech_filter: skip mechanism: PLAIN Feb 23 10:03:51 vps342401 postfix/smtps/smtpd[3640]: xsasl_dovecot_server_mech_filter: skip mechanism: LOGIN Feb 23 10:03:51 vps342401 postfix/smtps/smtpd[3640]: fatal: no SASL authentication mechanisms Feb 23 10:03:52 vps342401 postfix/master[25124]: warning: process /usr/lib/postfix/smtpd pid 3640 exit status 1 Feb 23 10:03:52 vps342401 postfix/master[25124]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling Feb 23 10:04:12 vps342401 postfix/anvil[3328]: statistics: max connection rate 27/60s for (submission:54.175.125.239) at Feb 23 09:58:20 Feb 23 10:04:12 vps342401 postfix/anvil[3328]: statistics: max connection count 1 for (submission:54.175.125.239) at Feb 23 09:58:08 Feb 23 10:04:12 vps342401 postfix/anvil[3328]: statistics: max message rate 1/60s for (smtps:93.X.X.31) at Feb 23 10:00:37 Feb 23 10:04:12 vps342401 postfix/anvil[3328]: statistics: max cache size 3 at Feb 23 09:58:21
2017-02-23 9:59 GMT+01:00 Poliman - Serwis <ser...@poliman.pl>: > Ok, so I added in main.cf at the bottom of the file the line: > debug_peer_list = 127.0.0.1,93.X.X.31 > > and in master.cf (set 'n' in chroot column): > submission inet n - n - - smtpd > smtps inet n - n - - smtpd > > What is next step? > > 2017-02-23 9:42 GMT+01:00 wilfried.es...@essignetz.de < > wilfried.es...@essignetz.de>: > >> Hi, >> >> >> would suggest : >> - Try turning off chroot operation in master.cf >> - Verbose logging for specific SMTP connections >> (see http://www.postfix.org/DEBUG_README.html) >> >> >> Willi >> >> >> Am 23.02.2017 um 09:21 schrieb Poliman - Serwis: >> > Hmm. I think that above is not working. Probably I tried sent email too >> > fast after restart dovecot and new settings weren't loaded. >> > >> > 2017-02-23 9:18 GMT+01:00 Poliman - Serwis <ser...@poliman.pl>: >> > >> >> By the way I did some test. I removed cram-md5 from auth_mechanisms >> line >> >> and I uncommented default lines in passdb block and also left >> uncommented >> >> two lines added by me like below: >> >> auth_mechanisms = plain login >> >> >> >> passdb { >> >> args = /etc/dovecot/dovecot-sql.conf >> >> driver = sql >> >> driver = passwd-file >> >> args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd >> >> } >> >> >> >> I can send emails but I have no idea which setting is used - these two >> >> lines: >> >> args = /etc/dovecot/dovecot-sql.conf >> >> driver = sql >> >> >> >> or these >> >> driver = passwd-file >> >> args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd >> >> >> >> 2017-02-23 8:17 GMT+01:00 Dominic Raferd <domi...@timedicer.co.uk>: >> >> >> >>> On 23 February 2017 at 07:01, Poliman - Serwis <ser...@poliman.pl> >> wrote: >> >>>> ... >> >>>> All worked fine. Then I added in dovecot.conf file: >> >>>> auth_mechanisms = plain login cram-md5 #added cram-md5 >> >>>> >> >>>> passdb { >> >>>> #args = /etc/dovecot/dovecot-sql.conf >> >>>> #driver = sql >> >>>> driver = passwd-file >> >>>> args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd >> >>>> } >> >>>> >> >>>> In passdb block commented out default lines and add two (I can put >> whole >> >>>> dovecot config). All things still worked fine. Then - in dovecot.conf >> >>> file I >> >>>> changed back setting to default. After this I can't send emails. In >> log >> >>> I >> >>>> have: >> >>>> Feb 23 06:46:49 vps301 postfix/smtps/smtpd[24919]: fatal: no SASL >> >>>> authentication mechanisms >> >>>> Feb 23 06:47:50 vps301 postfix/smtps/smtpd[24942]: fatal: no SASL >> >>>> authentication mechanisms >> >>> >> >>> I suspect it is not permitted to have # comments in dovecot conf files >> >>> except on a line of their own, though I admit I can't find this >> >>> documented. Try removing '#added cram-md5' or putting it on a line of >> >>> its own. >> >>> >> >> >> >> >> >> >> >> -- >> >> >> >> *Pozdrawiam / Best Regards* >> >> *Piotr Bracha* >> >> >> >> >> >> >> >> >> >> *tel. 534 555 877* >> >> >> >> *ser...@poliman.pl <ser...@poliman.pl>* >> >> >> > >> > >> > >> >> > > > -- > > *Pozdrawiam / Best Regards* > *Piotr Bracha* > > > > > *tel. 534 555 877* > > *ser...@poliman.pl <ser...@poliman.pl>* > -- *Pozdrawiam / Best Regards* *Piotr Bracha* *tel. 534 555 877* *ser...@poliman.pl <ser...@poliman.pl>*