Control Web Panel

WebPanel => E-Mail => Topic started by: Aalesund on March 22, 2015, 02:04:54 PM

Title: How to clear the Qmail Queue?
Post by: Aalesund on March 22, 2015, 02:04:54 PM
Hi,
in my website, I use a script to send emails to all non-active users to warn them that if within 30 days not visit the site and log in, their account will be deleted according to our terms of use. But the problem is that some of them have no real email addresses or incorrect addresses. Thus accumulate dozens emails in Qmail. So can you tell me hot to delete Qmail queue? I don't see any options in CentOS WebPanel. There is only Postfix Mail queue to inform me that I have 211 (at the moment) emails in Postfix mail queue.
Title: Re: How to clear the Qmail Queue?
Post by: carmageddon63 on March 24, 2015, 10:08:28 AM
-mailq  see quee

-postfix flush force send

-postsuper -d ALL delete all quee

Title: Re: How to clear the Qmail Queue?
Post by: Administrator on March 24, 2015, 06:47:20 PM
on wiki/FAQ you have some mail server commands
http://wiki.centos-webpanel.com/