Purging mailqueue (recent build)

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
atakacs
Posts: 14
Joined: Sat Sep 13, 2014 2:30 am

Purging mailqueue (recent build)

Post by atakacs »

Hello

Running 8.8.15 LTS here and I have the "classic" issue of needing to purge the mailques after a spam attack (takeover of one account generating huge amount of pending / incoming NDN).

I have found various FAQ / articles (including here) but they all refer to executables that don't seem to exist in our recent build, namely opt/zimbra/postfix/sbin/postqueue ).

What is the current best practice to perform this seemingly basic task ?
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Purging mailqueue (recent build)

Post by phoenix »

You run postqueue as the Zimbra use i.e.

Code: Select all

su - zimbra
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
atakacs
Posts: 14
Joined: Sat Sep 13, 2014 2:30 am

Re: Purging mailqueue (recent build)

Post by atakacs »

Thanks, we are in business now.

it is in the /opt/zimbra/common/sbin directory nowadays (vs opt/zimbra/postfix/sbin in most (all ?) the links I found).

Is there any easy way to simply delete all queued mail (irrespective of source / dest / mailbox / etc) ?
atakacs
Posts: 14
Joined: Sat Sep 13, 2014 2:30 am

Re: Purging mailqueue (recent build)

Post by atakacs »

atakacs wrote:Is there any easy way to simply delete all queued mail (irrespective of source / dest / mailbox / etc) ?

Code: Select all

./postsuper -d ALL
Post Reply