Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting mail from spool file

Status
Not open for further replies.

datadan

IS-IT--Management
Jul 22, 2002
283
US
Some people managed to get their email config caught in a perpetual bounce loops. I have changed the configs, but now I have a full spoolfile/mailque.

With send mail I sued to be able to list items in the queue and delete, How can I do this with postfix/maildrop?

Thanks,
 
I found the queue:
/var/spool/postfix/incomming/ 0-F.

How can I grep all related messages with "undeliveralb" in the subject and to "user1@foo.com" then delete?

Thanks,
 

Read the documentation on the 'postsuper' command, the -d option allows you to delete messages from the queue.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top