MAC OSX Mail Server – Postfix mail queue

The PostFix mail server, part of OSX Server, is a wonderfully flexible and configurable mail transfer agent. There are many ways that your Postfix message queues can become flooded with illegitimate messages.

Postfix on OSX Server can display the mail queue in terminal.

To see mail queue, enter:
# mailq

How to Delete One Email In Any Queue

postsuper -d MESSAGE_ID

How to Delete Email for a Single User In All Queues

Use the following command to delete the messages from your mail queues. Be sure to substitute ‘youruser@yourdomain\.com’ with the email account which is flooded. Be sure to escape the dot as shown in the example:

postqueue -p | tail -n +2 | awk 'BEGIN { RS = "" } / youruser@yourdomain\.com/ { print $1 }' | tr -d '*!' | postsuper -d -

If you mail server is really clogged, this can take hours to execute.

How to Delete All Email or Just In Specific Queues

To delete all deferred messages from a single queue:

postsuper -d ALL deferred

To remove all mail from the queue, enter:

# postsuper -d ALL


Fixed- iPad IMAP error “unable to move message to mailbox Trash”





Unable to Move Message: The message could not be moved to the mailbox. This only happens if you are using IMAP servers for your email.



To fix


go to Settings.

Scroll down and tap “Mail, Contacts, Calendars” from the list.

Click your email account – it should have an arrow to the right of the email address displayed.

Scroll to the end on the settings and click Advanced.

under Mailbox behavior – select Deleted Mailbox

scroll down and select Trash folder in Server



tap advanced on top and tap done


exit settings and go to mail program and test

whala! – done

WP Twitter Auto Publish Powered By :