unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Adam Zimmerman <adam@digitalpirate.ca>
To: "Clément Lassieur" <clement@lassieur.org>
Cc: guix-devel@gnu.org
Subject: [PATCH] opensmtpd: Fix crash during authentication
Date: Tue, 12 Jun 2018 10:13:15 -0700	[thread overview]
Message-ID: <4a2a1997-163a-1944-1130-ecae82bec731@digitalpirate.ca> (raw)
In-Reply-To: <8736xs8jvx.fsf@lassieur.org>

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
> 

  reply	other threads:[~2018-06-12 17:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-06 22:15 [PATCH] opensmtpd: Fix crash during authentication Adam Zimmerman
2018-06-07  2:17 ` Tobias Geerinckx-Rice
2018-06-12  8:54 ` Clément Lassieur
2018-06-12 17:13   ` Adam Zimmerman [this message]
2018-06-12 17:22     ` Clément Lassieur
2018-06-12 17:46   ` Clément Lassieur
2018-06-12 18:59     ` Adam Zimmerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4a2a1997-163a-1944-1130-ecae82bec731@digitalpirate.ca \
    --to=adam@digitalpirate.ca \
    --cc=clement@lassieur.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).