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

2010-01-01 Thread Jacek Masiulaniec
On Sat, Dec 26, 2009 at 08:47:28AM +0100, Tomas Bodzar wrote:
 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 ?

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



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

2009-12-28 Thread Gilles Chehade
On Sat, Dec 26, 2009 at 08:47:28AM +0100, Tomas Bodzar wrote:
 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 ?
 

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



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

2009-12-25 Thread Tomas Bodzar
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