Skip to content

PDiary

Just another WordPress site

  • General programming
  • Java
    • General programming
  • Oracle
    • Oracle DB administering
    • Oracle DB programming
    • Oracle DB troubleshooting
  • Unix
    • Solaris
    • Linux
    • FreeBSD
  • Uncategorized
PDiary
LinuxUnix

Working with local sendmail queue

Posted 2017-06-13 fvb

https://www.cyberciti.biz/tips/howto-postfix-flush-mail-queue.html

Under Postfix MTA, just enter the following command to flush the mail queue:
# postfix flush
OR
# postfix -f

To see mail queue, enter:
# mailq
OR
#  sendmail -bp

To remove all mail from the queue, enter:
# postsuper -d ALL

To remove all mails in the deferred queue, enter:
# postsuper -d ALL deferred

Post navigation

⟵Spring inside Netty
Internet routing resources⟶

Recent Posts

  • RAID hot spare
  • Install tomcat app behind nginx
  • ORA-12899: importing a .dmp file + character set conversion
  • Dysfunctional programming in Java (Cyclops)
  • Installing FreeBSD

Recent Comments

    Archives

    • January 2019
    • December 2018
    • October 2018
    • September 2018
    • April 2018
    • March 2018
    • January 2018
    • December 2017
    • November 2017
    • September 2017
    • June 2017
    • May 2017
    • April 2017
    • March 2017
    • February 2017
    • January 2017

    Categories

    • FreeBSD
    • General programming
    • General programming
    • Java
    • Linux
    • Oracle
    • Oracle DB administering
    • Oracle DB programming
    • Oracle DB troubleshooting
    • Solaris
    • Uncategorised
    • Uncategorized
    • Unix

    Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
    Proudly powered by WordPress | Theme: Sydney by aThemes.