Ralf Hildebrandt wrote: > * Hagen Fürstenau <hfuerste...@gmx.net>: >> Hi, >> >> I'm using dovecot for SASL authentication: >> >> smtpd_sasl_auth_enable = yes >> smtpd_recipient_restrictions = >> permit_mynetworks >> permit_sasl_authenticated >> reject_unauth_destination >> smtpd_sasl_type = dovecot >> smtpd_sasl_path = private/auth-client >> >> Now if for whatever reason dovecot is not running, smtpd will also >> refuse to work, complaining "fatal: no SASL authentication mechanisms". > > Indeed! > >> I would much prefer it to fall back to "smtpd_sasl_auth_enable = no" in >> that case, so that mail for local recipients can still be received. Is >> this possible? > > It's the one problem we're having here as well: When updating dovecot, > postfix won't work due to that... >
for the auth part, only enable auth for submission (587). for the "deliver" part, make it after the filter, so that mail is still kept in the local queue. I used to stop postfix while upgrading dovecot, but I don't do that anymore. I now only stop postfix if upgrading mysql (I thought about dumping the db and changing postfix config, but this is too much...).