Sunday, October 21, 2018

Re: OpenSMTPd: "mail.lmtp: connect: Connection refused"

On 2018-10-21 21:17, Gilles Chehade wrote:
> On Wed, Oct 17, 2018 at 10:44:19PM +0300, Atanas Vladimirov wrote:
>> Hi misc,
>>
>> Please, let me know if this mailing list is not the right place for
>> this
>> question.
>>
>> I'm following -current and I found that maybe something is wrong with
>> my
>> setup.
>> When the server boots the first time after an upgrade the emails from
>> the
>> installer are lost because of `result=PermFail stat=Error ("mail.lmtp:
>> connect: Connection refused")`.
>> I did a few tests and the problem appears when the dovecot is not
>> running
>> (or before it's been started during the boot cycle).
>>
>
> hi,
>
> for the record, the mail.lmtp mda was being too strict about the
> connect
> failures.
>
> this was not an issue before because smtpd was being extremely
> cautious,
> handling all MDA failures as TempFail but this came with other issues
> so
> in 6.4 we aligned with Postfix handling only some exit codes as
> tempfail
> and all others as permfail.
>
> diff going to the tree in a minute, tested by Atanas ;-)

Thanks for your fast reaction! Case closed :)

No comments:

Post a Comment