Postfix Email Server: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Installation == TODO == Troubleshooting == === Postfix queue control === Sometimes you may need to check what's in the queue of emails waiting to be fully processed. * '''...") |
(→Tweaks) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Installation == | == Installation == | ||
TODO | TODO | ||
== Tweaks == | |||
* [[Backscatter Rejection]] | |||
* [[Greylisting]] | |||
* [[Postfix Relay]] | |||
* [[TLS Security Level]] | |||
== Troubleshooting == | == Troubleshooting == | ||
=== Log files === | |||
* If problems, the places to look for useful info are: | |||
/var/log/mail.info | |||
mail | |||
=== Postfix queue control === | === Postfix queue control === | ||
Sometimes you may need to check what's in the queue of emails waiting to be fully processed. | Sometimes you may need to check what's in the queue of emails waiting to be fully processed. | ||
Line 8: | Line 20: | ||
service postfix stop | service postfix stop | ||
* print a list of all queued email: | * print a list of all queued email: | ||
postqueue -p | less | mailq | less | ||
postqueue -p | less # it's the same | |||
* print a specific email by its ID | * print a specific email by its ID | ||
postcat -vq ID | less | postcat -vq ID | less | ||
* delete a specific email by its ID | * delete a specific email by its ID | ||
postsuper -d ID | postsuper -d ID | ||
[[Category:Email]] |
Latest revision as of 09:57, 19 July 2023
Installation
TODO
Tweaks
Troubleshooting
Log files
- If problems, the places to look for useful info are:
/var/log/mail.info mail
Postfix queue control
Sometimes you may need to check what's in the queue of emails waiting to be fully processed.
- Optional: stop Postfix, in case you need to investigate something and stop incoming/outgoing activity.
service postfix stop
- print a list of all queued email:
mailq | less postqueue -p | less # it's the same
- print a specific email by its ID
postcat -vq ID | less
- delete a specific email by its ID
postsuper -d ID