Use smtpctl

https://www.opensmtpd.org/smtpctl.8.html

List messages in queue
smtpctl show queue

To try to flush the queue (Send all messages)
smtpctl schedule all

To remove messages use the following with the message ids shown by show queue
smtpctl remove $message-id

> On Oct 6, 2015, at 1:38 PM, Bryan C. Everly <br...@bceassociates.com> wrote:
> 
> Hi,
> 
> I have two servers up and running and would like to know how to clean
> out the queue on them.  I have a lot of test messages stuck there from
> early attempts to get the configuration right.
> 
> Is there an option to do this?  I read the manpages and didn't see
> anything.  If it's as simple as deleting some files out of a
> directory, I'm fine doing that - I just couldn't find the right
> directory.
> 
> Thanks in advance for any help you can provide.
> 
> Thanks,
> Bryan
> 
> -- 
> You received this mail because you are subscribed to misc@opensmtpd.org
> To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
> 


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Reply via email to