#mailq
#tail -f /var/log/maillog
Delete a message from postfix mail queue
#postsuper -d 1FD3D2F8BAE <---- MailID
Flush Messages
#postfix flush
find out about your Postfix version to make sure it supports custom bounce messages:
postconf -d | grep mail_version
maximal_queue_lifetime: The maximal time a message is queued before it is sent back as undeliverable.
delay_warning_time: The time after which the sender receives the message headers of mail that is still queued.
The postconf -n command shows the settings that are currently configured in /etc/postfix/main.cf, whereas the postconf -d command shows the default settings that are valid unless something else is set in /etc/postfix/main.cf.
To find out about the current value of maximal_queue_lifetime, you can run
postconf -d | grep maximal_queue_lifetime
postconf -n | grep maximal_queue_lifetime
postconf -n | grep maximal_queue_lifetime
server2:~# postconf -d | grep maximal_queue_lifetime
maximal_queue_lifetime = 5d
server2:~# postconf -n | grep maximal_queue_lifetime
server2:~#
maximal_queue_lifetime = 5d
server2:~# postconf -n | grep maximal_queue_lifetime
server2:~#
postconf -d | grep delay_warning_time
postconf -n | grep delay_warning_time
postconf -n | grep delay_warning_time
server2:~# postconf -d | grep delay_warning_time
delay_warning_time = 0h
delay_warning_time = 0h
server2:~# postconf -n | grep delay_warning_time
server2:~#
postconf -e 'maximal_queue_lifetime = 1d'
postconf -e 'delay_warning_time = 0h'
-----------------------------------------------------------------------------------------------------------postconf -e 'delay_warning_time = 0h'
Parameters
minimal_backoff_time , maximum_backoff_time and queue_run_delay maximal_backoff_time (default: 4000s) |
Windows 2003 commands
Check local users & groups
#lusrmgr.msc
#net user
Change properties local users
#control userpasswords2
security\Sam\domain\account\users\names
No comments:
Post a Comment