[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] opensmtpd: Fix crash during authentication
From: |
Adam Zimmerman |
Subject: |
[PATCH] opensmtpd: Fix crash during authentication |
Date: |
Tue, 12 Jun 2018 10:13:15 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
Hi Clément,
On 2018-06-12 01:54 AM, Clément Lassieur wrote:
> I run OpenSMTPD 6.0.3p1 on GuixSD, I use authentication from a table,
> and none of the issues you described happened to me.
Strange, since the bug report I found in the opensmtpd github repo
seemed to suggest it happened for everyone.
>
> Here is its configuration:
>
> --8<---------------cut here---------------start------------->8---
> pki mail.lassieur.org certificate "/etc/smtpd/certs/fullchain.pem"
> pki mail.lassieur.org key "/etc/smtpd/certs/privkey.pem"
> table passwd file:/etc/mail/passwd
> listen on 0.0.0.0 port 25 tls pki mail.lassieur.org
> listen on 0.0.0.0 port 587 tls-require pki mail.lassieur.org auth <passwd>
> limit mta for domain gmail.com inet4
> accept from local for any relay
> reject sender "@lassieur.org" for any
> accept from any for any relay via smtp://mail2.lassieur.org
> --8<---------------cut here---------------end--------------->8---
>
> I don't understand why your setup would behave differently. Could you
> share a bit more of your configuration?
I have essentially the same config settings on the submission port:
listen on eth0 port 587 tls-require pki dusk auth <passwd> hostname
$host mask-source
I wonder if it's related to which specific hash you use. My file uses
sha512crypt (hash starts with $6$).
- Adam
>
> Clément
>