coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Tuesday May 21, 2013


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 43 guests online

Newest Member

nbewwmbxog

Hit Counter
11548621 Visitors

cool Statistics
coolcommands:1338
Categories:83
Total queries:620141
Members:22813





Category Search coolcommands.com
Select Category:


coolcommand

how to delete messages for a particular user when using Postfix
Description

The following one-liner will delete all messages for the user MAILER-DAEMON in postfix queues:

# mailq | tail -n +2 | awk 'BEGIN { RS = "" } / MAILER-DAEMON/ { print $1 }' | tr -d '*!' | postsuper -d -
Example

mailq | tail -n +2 | awk 'BEGIN { RS = "" } / MAILER-DAEMON/ { print $1 }' | tr -d '*!' | postsuper -d -

Return to search results

Random coolcommands

coolcommand: how to show the version number in Apache httpd
Example: httpd -v
[show me the details]
coolcommand: how to get asynchronous i/o information in IBM AIX
Example: /usr/sbin/lsattr -El aio0
[show me the details]
coolcommand: pkgchk - how to check software package installation accuracy in Sun Solaris
Example: pkgchk -l -p /usr/bin/ls
[show me the details]
coolcommand: sysdumpdev - how to always allow dump in IBM AIX
Example: sysdumpdev -K
[show me the details]

coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1160
audet37
kah00na32
Mariom24
lebjf00014

Top 5 Searches

Category Solaris51940
Category AIX49006
Category General UNIX47517
solaris23554
aix22739

Terms of Use
Privacy
Contact


 
coolcommands.com © 2013. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum