Chap 5: Queue Management Flashcards
What are the 5 different queues of the Queue Manager ?
incoming, active, deferred, hold, corrupt
Which parameter allows to specify the minimum amount of free space in bytes in the queue file system that is needed to receive mails ?
queue_minfree
How to specify the maximal amount of original message text that is sent in a non-delivery notification ?
bounce_size_limit (default: 50000)
Specify a byte count.
How to configure the maximal time after which a message must be considered as undeliverable, when delivery fails with a temporary error ?
maximal_queue_lifetime (default 5days)
Which parameters set the time between deferred queue scans by the queue manager ?
queue_run_delay (default 300s)
How to set minimum and maximum time limits on how often Postfix attempts to redeliver deferred messages
minimal_backoff_time and maximal_backoff_time
How to configure the list of error classes that should generate error notices ?
notify_classes = bounce, 2bounce, delay, policy, protocol, resource, software
How to configure the email address that will recive the error notifications ?
parameters of the form class_notice_recipient:
bounce_notice_recipient
2bounce_notice_recipient
delay_notice_recipient
…
How to list all the messages in the postfix queue ?
postqueue -p
How to remove messages from the queue ?
postsuper -d DBA3F1A9
or
postsuper -d ALL (Be very careful when using the command, since it will delete all queued messages without asking any questions)
What is the purpose of the hold queue ?
The hold queue is available for messages you would like to keep in your queue indefinitely
How to place message into the hold queue ?
postsuper -h DBA3F1A9
How to move the message back from hold queue into the normal queue ?
postsuper -H DBA3F1A9
How to requeue messages that were deferred because of a configuration problem that has been
corrected ?
postsuper -r ALL
How to display the content of a queued message ?
postcat -q DBA3F1A9