Postfix
From GarrettHoneycutt
Contents |
Postfix
Cheat Sheet
General commands
show config settings
# postconfList the names of all supported lookup table types (ldap, nis, sdbm, regexp, etc.)
# postconf -mRe-read config files
# postfix reloadQueue commands
show queue contents
# mailqexamine queue file 72B053FE13
# postcat -q 72B053FE13request a queue flush
# postqueue -fdelete message with queue id 7EA4B3FE06 from queue
# postsuper -d 7EA4B3FE06delete all messages in the active queue
# postsuper -d ALL activedelete all messages in all queues
# postsuper -d ALLTesting commands
startup smtp-sink with a counter and connection queue length of 10000
# smtp-sink -c sinkserver.yourhost.com:25 10000send 500 1k messages to localhost with a counter
# smtp-source -c -m 500 -l 1024 -f blagh@blagh.com -t you@yourhost.com localhost:25