User Tools

Site Tools


linux:mailconfigwithpostfix

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:mailconfigwithpostfix [2016/01/30 16:29] – [mailserver config] adminlinux:mailconfigwithpostfix [2022/10/29 16:15] (current) – external edit 127.0.0.1
Line 40: Line 40:
 </code> </code>
 The **myorigin** parameter specifies the domain that appears in mail that is posted on this machine. Follow this configuration, send mail as "user@$mydomain" The **myorigin** parameter specifies the domain that appears in mail that is posted on this machine. Follow this configuration, send mail as "user@$mydomain"
 +
 +To **secure the mailserver was can't be used by other server**, you can config inet_interfaces to localhost:<code bash>
 +inet_interfaces = localhost
 +</code>
 === what domains this machine will deliver locally === === what domains this machine will deliver locally ===
 The **mydestination** parameter specifies what domains this machine will deliver locally, instead of forwarding to another machine. The **mydestination** parameter specifies what domains this machine will deliver locally, instead of forwarding to another machine.
Line 56: Line 60:
 <code bash> <code bash>
 yum install mailx yum install mailx
 +yum install sendmail
 </code> </code>
 === test sending mail === === test sending mail ===
linux/mailconfigwithpostfix.1454171358.txt.gz · Last modified: 2022/10/29 16:15 (external edit)