LVOware
PRATTICO Consulting
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:
AIX
AIX Hardware Components
AIX Logical Volume Manager (LVM)
apache
Application
ASM
awk
Backup/Restore
bash
Checkpoint Firewall-1
coolscripts
CPU
DB2
Disk
DST
EMC
Environment
Epoch Time
File
Filesystem
Firmware
FTP
General UNIX
HACMP
Hitachi
HMC
HP/UX
HTTP
IBM
Infoprint Manager
IRIX
Java
Kerberos
Kernel
KSH
Linux
LPAR
Mail
Memory
MySQL
nawk
Network
NFS
NIM
Open Source Tools
Oracle
Performance Testing
Perl
PHP
postfix
Print
Process
Python
RDAC
Relational Databases
robot
RS/6000
Samba
Security
sed
Sendmail
Service Update Management Assistant
Shell
Software Packaging
Solaris
Solaris Volume Manager (SVM)
Solstice Disksuite
SPARC Storage Array (SSA)
SSH
Storage SAN
Sun Cluster
Sybase
TSM
TWS
Veritas Volume Manager (VXVM)
VI
VIO Server
VMware
WebMethods
WebSM
Websphere Application Server (WAS)
Websphere MQ
XWindows
Submitted by: lvo  
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
myPMS
Password
Management
System
by
Top 5 Submitters
lvo
1160
audet
37
kah00na
32
Mariom
24
lebjf000
14
Top 5 Searches
Category Solaris
51940
Category AIX
49006
Category General UNIX
47517
solaris
23554
aix
22739
Terms of Use
Privacy
Contact
coolcommands.com © 2013. All Right Reserved.
Programming by
PRATTICO Consulting
.
Hosting by
Apricusum