ram wrote:

The problem is if saslauthd is momentarily unavailable , postfix cant
(obviously) authenticate the smtp session. Postfix rejects the mail with a permanent failure. How do I change this to a 4xx error code so that the clients server would retry the mail

Postfix has no way of knowing saslauthd has failed when cyrus reports authentication has failed. Changing this would require code change in cyrus.

So postfix options here are rather limited, and are not without drawbacks.

If your clients connect on a specific port that always requires authentication such as the submission or smtps port, you can set "-o soft_bounce=yes" on that port in master.cf. This turns *all* rejects on that port into 450. Obviously this isn't appropriate for a general MX setting.

Or just stop/start postfix when you restart cyrus.


--
Noel Jones

Reply via email to