Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:debian:configure-send-only-mailserver [2023/07/30 12:09] – ↷ Page name changed from linux:debian:configure_send-only_mailserver to linux:debian:configure-send-only-mailserver Zyzonixlinux:debian:configure-send-only-mailserver [2026/11/25 16:06] (current) – Zyzonix
Line 18: Line 18:
 **3.** Verify correct ''host''-file entry: **3.** Verify correct ''host''-file entry:
  
-It is important that the first DNS name of the local server (''127.0.1.1'') contains the domain, otherwise some mail servers will reject the mails sent from this server because they can't verify the domain. So in our case the ''/etc/hosts'' file should look like this:+<callout type="warning" icon="true">It is important that the first DNS name of the local server (''127.0.1.1'') contains the domain, otherwise some mail servers will reject the mails sent from this server because they can't verify the domain. So in our case the ''/etc/hosts'' file should look like this:</callout> 
  
 {{:linux:debian:postfix_config_host_file.png?400|}} {{:linux:debian:postfix_config_host_file.png?400|}}
Line 47: Line 48:
  
 If the receiver address is properly configured through the ''/etc/aliases'' file, just add ''MAILTO=root'' to the top of each crontab file that should send emails. If the receiver address is properly configured through the ''/etc/aliases'' file, just add ''MAILTO=root'' to the top of each crontab file that should send emails.
 +
 +===== Configure to use other relay =====
 +See: [[https://oneuptime.com/blog/post/2026-01-15-setup-email-notifications-postfix-ubuntu/view|oneuptime.com/blog/post/2026-01-15-setup-email-notifications-postfix-ubuntu]]
  • linux/debian/configure-send-only-mailserver.1690711759.txt.gz
  • Last modified: 2026/09/27 19:04
  • (external edit)