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
Last revisionBoth sides next revision
linux:postfix [2019/10/31 12:24] – [Set Sender] tmadelinux:postfix [2019/10/31 12:34] – [Set Sender] tmade
Line 23: Line 23:
  
   postmap /etc/postfix/sender_canonical   postmap /etc/postfix/sender_canonical
-  postmap /etc/postfix/generic 
-  postmap hash:/etc/postfix/sasl_password 
      
 Restart Postfix: Restart Postfix:
  
   /etc/init.d/postfix restart     /etc/init.d/postfix restart  
 +
 +====generic=====
 +If you run a postfix host without a signed domain such as "localdomain.local" you can't send mails. Therefore you need a "generic mapping":
      
 +Content file "/etc/postfix/generic":
 +
 +myaccount@myserver mymailadresse@domain.net
 +
 +Execute:
 +
 +  postmap /etc/postfix/generic
 +  
 +====sasl_password====
 +
 +Content "/etc/postfix/sasl_password":
 +
 +  mail.domain.net myuser@domain.net:my-strong-secret
 +
 +Execute:
 +
 +  postmap hash:/etc/postfix/sasl_password
 +  
 +
 +====main.cf====
  
-====setup send mail to provider====+/etc/postfix/main.cf "satellite" example:
  
 <code> <code>
linux/postfix.txt · Last modified: 2019/10/31 12:35 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki