1 (edited by moyorakkhi 2011-12-14 20:38:49)

Topic: Large mail queue

==== Provide basic information to help troubleshoot and get quick answer ====
- iRedMail version: 0.7.3
- Linux/BSD distribution name and version: CentOS 5.6
- Any related log? Log is helpful for troubleshooting.
====

Hi,

When I give mailq command I can see lots of mails older than 114 days. But aren't to mails suppose to be deleted from queue after 1 day?

I've tried to clear the queue with :

 mailq | awk '/yahoo.com/ {print $1}' | postsuper -d - 

. But failed to delete them, returning error like this:

 postsuper: warning: invalid mail queue id: uglifan02@yahoo.com 

.

Also is there a 32 bit edition of this

 postfix-perl-scripts-2.5.9-5.ired.x86_64.rpm 

It would be nice to examine the mailq with qshape.

Thanks!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Large mail queue

moyorakkhi wrote:

. But failed to delete them, returning error like this:

Maybe you get incorrect queue id with commands mailq + awk, it's better to double check its output.

postfix-perl-scripts is available in yum repo "iRedMail". You can download it directly here:
http://iredmail.org/yum/rpms/5/