On Dec 30 12:23:12, [email protected] wrote:
> On Mon, Dec 29, 2014 at 09:46:31PM +0100, Jan Stary wrote:
> > Running OpenSMTPd 5.4.3 on
> > OpenBSD 5.6-current (GENERIC) #0: Tue Aug 12 00:05:24 CEST 2014
> > 
> > It seems that if my /var/mail is full and incomming mail
> > cannot be written into the mailboxes, it get logged as
> > 
> >   Dec 29 20:40:18 www smtpd[5599]: info: queue handler exiting
> >   Dec 29 20:40:18 www smtpd[6383]: info: lookup agent exiting
> >   Dec 29 20:40:18 www smtpd[26578]: warn: control -> queue: pipe closed
> >   Dec 29 20:40:18 www smtpd[26967]: warn: scheduler -> queue: pipe closed
> >   Dec 29 20:40:18 www smtpd[13906]: warn: pony -> queue: pipe closed
> >   Dec 29 20:40:18 www smtpd[16119]: warn: ca -> pony: pipe closed
> >   Dec 29 20:40:18 www smtpd[274]: warn: parent terminating
> >   Dec 29 20:40:19 www smtpd[26230]: info: OpenSMTPD 5.4.3 starting
> >   Dec 29 20:40:19 www smtpd[6791]: info: startup [debug mode]
> >   Dec 29 20:40:49 www smtpd[23099]: delivery: TempFail for 
> > d9f580d1cc353803: from=<[email protected]>, to=<[email protected]>, user=hans, 
> > method=mda, delay=3d1h1m8s, stat=Error (exited abnormally)
> >   Dec 29 20:40:55 www smtpd[23099]: delivery: TempFail for 
> > 47f08781a1bc03fe: from=<[email protected]>, to=<[email protected]>, 
> > user=hans, method=mda, delay=1d5h27m34s, stat=Error (exited abnormally)
> >  
> 
> In this log, did you stop and restart smtpd or did it crash ??

I restarted smtpd. It didn't crash.

> > It is of course an admin error to let /var/mail get filled,
> > and OpenSMTPd handles the undelivered mail well (it got delivered
> > once I made room in /var/mail and did a 'smtpctl schedule all'),
> > but couldn't the error message be more descriptive?
> > Or does 'delivery' not know what the error was?
> > 
> Well, delivery does not always know what the error was.
> 
> When using mbox or maildir, it will print out the error from errno so it
> will be very descriptive.
> 
> In your case, it comes from the mda so we can't necessarily know what is
> causing the error, maybe your mda has logged the error somewhere and you
> should configure it to log in maillog ?

Ah, right. It goes to procmail, which says in its log:

 procmail: No space left to finish writing "/var/mail/hans"
 procmail: Truncated file to former size

Thanks for the clue bat.

        Jan


-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to