On Sun, May 18, 2014 at 07:37:26AM -0400, Kenneth Westerback wrote:
> On 18 May 2014 05:37, Gilles Chehade <gil...@poolp.org> wrote:
> > On Sat, May 17, 2014 at 10:40:13PM -0400, Allan Streib wrote:
> >> On Sat, May 17, 2014, at 05:30 PM, Allan Streib wrote:
> >>
> >> > Just upgraded to -current from my local mirror. Was previously working
> >> > with a recent-ish -current (late April or early May)
> >>
> >> By "current" I meant "snapshot" sorry if that caused any confusion.
> >>
> >
> > I'll have a look at this, thanks
> >
> > --
> > Gilles Chehade
> >
> > https://www.poolp.org                                          @poolpOrg
> >
> 
> I've found that if there is anything processed from the offline queue
> then smtpd stops immediately. If I remove all offline files then smtpd
> starts up fine but as soon as I send an email (using mutt) it exits.
> 

strange :-/

I am running an opensmtpd -current on top of a snapshot one week-old and
no matter what I try I can't reproduce with the default configuration.

I just tried to enqueue offline mails after reading your mail:

$ echo test | mail gilles && sudo smtpd -dv
debug: init ssl-tree
info: OpenSMTPD 5.4.3 starting
[...]
debug: smtpd: scanning offline queue...
debug: smtpd: enqueueing offline message 
/var/spool/smtpd/offline/1400413673.u5SMhBkRCh
debug: smtpd: offline scanning done
debug: smtp: new client on listener: 0x13b5a7e68100
smtp-in: New session 4af9e1d27b2d9096 from host 0@localhost [local]
debug: 0x13b7b4d9c000: end of message, msgflags=0x0000
smtp-in: Accepted message 1540150a on session 4af9e1d27b2d9096: 
from=<r...@ws.poolp.org>, to=<gil...@ws.poolp.org>, size=169, ndest=1, 
proto=ESMTP
debug: scheduler: evp:1540150aac11ccde scheduled (mda)
smtp-in: Closing session 4af9e1d27b2d9096
debug: smtp: 0x13b7b4d9c000: deleting session: done
mda: new user 4af9e1d38d21e391 for "<getpwnam>:gilles"
debug: lka: userinfo <getpwnam>:gilles
debug: mda: new session 4af9e1d4e7c887ea for user "<getpwnam>:gilles" evpid 
1540150aac11ccde
debug: mda: no more envelope for "<getpwnam>:gilles"
debug: mda: got message fd 4 for session 4af9e1d4e7c887ea evpid 1540150aac11ccde
debug: mda: querying mda fd for session 4af9e1d4e7c887ea evpid 1540150aac11ccde
debug: smtpd: forking mda for session 4af9e1d4e7c887ea: "/home/gilles/Maildir" 
as gilles
debug: mda: got mda fd 5 for session 4af9e1d4e7c887ea evpid 1540150aac11ccde
debug: mda: end-of-file for session 4af9e1d4e7c887ea evpid 1540150aac11ccde
debug: mda: all data sent for session 4af9e1d4e7c887ea evpid 1540150aac11ccde
debug: smtpd: mda process done for session 4af9e1d4e7c887ea: exited okay
delivery: Ok for 1540150aac11ccde: from=<r...@ws.poolp.org>, 
to=<gil...@ws.poolp.org>, user=gilles, method=maildir, delay=0s, stat=Delivered
debug: mda: session 4af9e1d4e7c887ea done
debug: mda: user "gilles" becomes runnable
debug: mda: all done for user "<getpwnam>:gilles"


> 
> When I had four files in offline, then there were 4 "New session"
> lines before the 'warn' messages start.
> 
> All on -current as of yesterday, including mutt.
> 

I have no idea right now what could cause that but I'm looking into it
and hopefully I can find a way to crash this afternoon.


-- 
Gilles Chehade

https://www.poolp.org                                          @poolpOrg

Reply via email to