Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
lwc:linux:postfix [2021/09/25 10:23] – John Harrison | lwc:linux:postfix [2021/11/11 05:59] (current) – John Harrison | ||
---|---|---|---|
Line 28: | Line 28: | ||
* '' | * '' | ||
=== test === | === test === | ||
+ | Test with sendmail: | ||
< | < | ||
sendmail -f sender@example.com recipient@example.com # -f allows you to specify from and is not required | sendmail -f sender@example.com recipient@example.com # -f allows you to specify from and is not required | ||
Line 35: | Line 36: | ||
. | . | ||
</ | </ | ||
+ | or [[https:// | ||
=== Tips === | === Tips === | ||
* postfix should be set up with no configuration. When you do this, there are instructions given at the end to copy some sort of sample configuration. | * postfix should be set up with no configuration. When you do this, there are instructions given at the end to copy some sort of sample configuration. | ||
Line 40: | Line 42: | ||
* to reload the settings: '' | * to reload the settings: '' | ||
* when testing '' | * when testing '' | ||
+ | * view queued mail: '' | ||
+ | * flush queued mail: '' | ||
+ | * purge all queued mail: '' | ||
==== Optional ==== | ==== Optional ==== | ||
* get current hostname: '' | * get current hostname: '' | ||
* set hostname with '' | * set hostname with '' | ||