Re: OpenSMTPD crashes on authentication
On Tue, Apr 15, 2014 at 06:47:26AM +0200, Martin Braun wrote: [...] I am running snapshot. [...] When you say you are running a snapshot, you meant an OpenBSD snapshot I assume from this: info: OpenSMTPD 5.4.3 starting You need to either get a later snapshot or update src/usr.sbin/smtpd and make clean; make; make install the issue will then go away Is this a bug or have I messed up the configuration? see: https://www.mail-archive.com/misc@openbsd.org/msg128272.html and: https://www.mail-archive.com/misc@opensmtpd.org/msg00899.html -- Gilles Chehade https://www.poolp.org @poolpOrg -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Re: OpenSMTPD crashes on authentication
Le 15/04/2014 06:47, Martin Braun a C)crit : And OpenSMTPD is crashed. Is this a bug or have I messed up the configuration? I really hope this would a misconfiguration as I have the same problem (OpenSMTPd latest snapshot with Debian 7.0 amd64) :p No problem with table uauth { denis = denis:mypass } but crash with table uauth passwd:/etc/dovecot/users.db Denis -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Re: OpenSMTPD crashes on authentication
On Tue, Apr 15, 2014 at 08:56:41AM +0200, Denis Fondras wrote: Le 15/04/2014 06:47, Martin Braun a C)crit : And OpenSMTPD is crashed. Is this a bug or have I messed up the configuration? I really hope this would a misconfiguration as I have the same problem (OpenSMTPd latest snapshot with Debian 7.0 amd64) :p No problem with table uauth { denis = denis:mypass } but crash with table uauth passwd:/etc/dovecot/users.db Denis I think there's a confusion arising from everyone using the term snapshot to mean something different :-) Where does the Debian snapshot come from ? -- Gilles Chehade https://www.poolp.org @poolpOrg -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
Re: OpenSMTPD crashes on authentication
Hi Gilles, Le 15/04/2014 09:00, Gilles Chehade a icrit : I think there's a confusion arising from everyone using the term snapshot to mean something different :-) Where does the Debian snapshot come from ? I mean I compiled it myself with the source from http://www.opensmtpd.org/archives/opensmtpd-portable-latest.tar.gz Denis -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
OpenSMTPD crashes on authentication
I have situation in which OpenSMTPD crashes. I don't know if this is due to misconfiguration or something else. I really think we need some more configuration samples on how to integrate with other known MDA's used on the Internet. Before integrating stuff with Dovecot I wanted to make things work with some users have a local account and other users not having a local account, but having their password in the vusers-passwd file. This file I intend to share with Dovecot. I am running snapshot. Please excuse any misconfiguration on my part as I felt the need to locate bits and pieces on the Internet as to how to get this working. I have this in smtpd.conf: SNIP table vdoms /etc/smtpd/vdoms table vusers /etc/smtpd/vusers table vuserspasswd /etc/smtpd/vusers-passwd pki serv1.example.com certificate /etc/ssl/serv1.example.com.crt pki serv1.example.com key /etc/ssl/private/serv1.example.com.key listen on re0 tls-require pki serv1.example.com auth vuserspasswd accept from any for domain vdoms virtual vusers deliver to maildir %{user.directory}/Mail/%{rcpt.domain}/%{rcpt.user}/ accept from any for any relay /SNIP In /etc/smtpd/vusers-passwd I tried using smtpctl encrypt and I have tried doveadm pw -s CRAM-MD5 -u foo. In this case where OpenSMTPD crashes I am using the doveadm example. SNIP foo:5a84de92f28aa45aff3b78cc27348a71c3500a3677ec94695fac89d44393dd69 /SNIP The mail client is claws-mail and it connects using SMARTLS and Automatic on authentication method. Debugging: SNIP # smtpd -vdf /etc/smtpd.conf debug: init ssl-tree info: loading pki information for serv1.example.com info: OpenSMTPD 5.4.3 starting debug: bounce warning after 4h debug: using fs queue backend debug: using ramqueue scheduler backend debug: using ram stat backend info: startup [debug mode] debug: queue: done loading queue into scheduler debug: parent_send_config_ruleset: reloading debug: parent_send_config: configuring pony process debug: smtp: listen on IPv6:fe80::223:8bff:fe2b:7b8f%re0 port 25 flags 0x49 pki serv1.example.com debug: smtp: listen on 192.168.60.20 port 25 flags 0x49 pki serv1.example.com debug: smtp: will accept at most 502 clients debug: smtpd: scanning offline queue... debug: smtpd: offline scanning done debug: smtp: new client on listener: 0x7d0bb000 smtp-in: New session c4bbeb34c522e072 from host 192.168.60.8 [192.168.60.8] debug: lka: looking up pki serv1.example.com debug: session_start_ssl: switching to SSL smtp-in: Started TLS on session c4bbeb34c522e072: version=TLSv1/SSLv3, cipher=DHE-RSA-AES128-SHA, bits=128 debug: lka: authenticating for vuserspasswd:foo smtpd: session_imsg: unexpected IMSG_LKA_AUTHENTICATE imsg warn: lka - pony: pipe closed warn: parent - pony: pipe closed warn: control - pony: pipe closed warn: scheduler - control: pipe closed bash-4.3# warn: queue - pony: pipe closed /SNIP And OpenSMTPD is crashed. Is this a bug or have I messed up the configuration? Kind regards.