Re: How to remove "Operation timed out" messages" from queue with smtpctl?

Previous thread: Ganha by DIESEL on Friday, December 25, 2009 - 2:14 am. (1 message)

Next thread: [Programme TV] Samedi 26 Décembre 2009 by Télé Loisirs on Saturday, December 26, 2009 - 12:49 am. (1 message)
From: Tomas Bodzar
Date: Saturday, December 26, 2009 - 12:47 am

Hi all,

how can I remove "Operation timed out" messages from mail queue with
smtpctl(8)? I have default setup for local delivery and I tested if
it's possible to send emails to outside world as with default
sendmail(8) configuration in OpenBSD. Now I have two messages in
queue. I read man pages for smtpd(8), smtpctl(8) and smtpd.conf(5) and
there is nothing about that. Is it safe to remove those files directly
from /var/spool/smtpd/queue ?

-- 
http://www.openbsd.org/lyrics.html

From: Gilles Chehade
Date: Monday, December 28, 2009 - 1:37 am

it is safe if you shutdown smtpd prior to removing the files, but if you
leave a message directory or a message file and no envelope, i'd bet some
fatal() will trigger at some point.

don't play with the queue using your shell unless you know how smtpd is
working :)

Gilles

-- 
Gilles Chehade
freelance developer/sysadmin/consultant

		   http://www.poolp.org

From: Jacek Masiulaniec
Date: Friday, January 1, 2010 - 8:00 am

It would be interesting to see the exact smtpctl output, and the
exact smtpd.conf that was used.

Previous thread: Ganha by DIESEL on Friday, December 25, 2009 - 2:14 am. (1 message)

Next thread: [Programme TV] Samedi 26 Décembre 2009 by Télé Loisirs on Saturday, December 26, 2009 - 12:49 am. (1 message)