coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Sunday May 27, 2012


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?
Create an account

Who's Online
We have 23 guests online

Newest Member

beyondimagem

Hit Counter
9133552 Visitors

cool Statistics
coolcommands:1330
Categories:83
Total queries:595500
Members:16437





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: dfshares - to list available resources from remote or local systems in Sun Solaris
Example: dfshares
[show me the details]
coolcommand: uuencode - to transfer an attachment with an email
Example: uuencode file_with_path file_name_in_email | mail -s "subject here" destination@domain.com
[show me the details]
coolcommand: hmcshutdown - command to shut down the Hardware Management Console
Example: hmcshutdown -t { < number-of-minutes > | now } [ -r ] [—help ]
[show me the details]
coolcommand: how to connect to a modem
Example: cu -l /dev/ttyd0p1
[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

lvo1152
audet37
kah00na32
Mariom24
lebjf00014

Top 5 Searches

Category Solaris49379
Category AIX46267
Category General UNIX43933
solaris22927
aix22116

Terms of Use
Privacy
Contact


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