Linux Support

Wednesday, 14 August 2013

Command Line to Delete Mailq Postfix

Command Line to Delete Mailq Postfix


 mailq | tail -n +2 | awk 'BEGIN { RS = "" } / root@mailhub.mailserver\.com$/ { print $1 }' | tr -d '*!' | postsuper -d -

Change the root@mailhub.mailserver\.com$/ as per emails you want to delete from mailq.
Posted by Unknown at 00:21
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2013 (42)
    • ►  December (1)
    • ►  November (1)
    • ►  October (11)
    • ►  September (5)
    • ▼  August (16)
      • After Snowden’s surveillance revelations, TOR user...
      • Apple new piece of Technology will allow Govt. to ...
      • FBI Used Anonymous to attack foreign goverment sys...
      • FaceBook Hacker will get reward of more than $11,0...
      • Hacked email ids of Delhi Export Company helped ha...
      • Pakistani Hackers Hack Indian Railways Website
      • Command Line to Delete Mailq Postfix
      • Pakistani Hackers will target Indian Govt. and Mil...
      • Hacker Tangodown the Official Site of an Indian Po...
      • Hacker Claims to hack New York's Division Of Milit...
      • TrueCaller Database Hacked
      • HOW To FORGE Repository
      • EPEL Repository
      • Hackers convince bank to send $15000 wire transfer...
      • Delhi Airport Customs Website Hacked
      • How do you change the Colour of your Linux prompt
    • ►  July (7)
    • ►  June (1)

About Me

Unknown
View my complete profile
Awesome Inc. theme. Powered by Blogger.