EanderAlx.org

Linux, Virtualization and whatever I find interesting ...

User Tools


Site Tools


linux:postfix

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
blog:linux:postfix [29.09.2010 21:31] eanderalxlinux:postfix [23.03.2013 18:41] (current) – Page moved from blog:linux:postfix to linux:postfix eanderalx
Line 1: Line 1:
 ====== Postfix use with gmx ====== ====== Postfix use with gmx ======
  
-  * Use postfix to **send** mails via a public provider +  * How to use postfix to **send** mails via a public provider. 
-  * Here an example with [[http://www.gmx.net|gmx]] using Ubuntu+  * Here an example with [[http://www.gmx.net|gmx]] using Ubuntu.
  
 ~~READMORE~~ ~~READMORE~~
Line 14: Line 14:
 ==== Autoconf ==== ==== Autoconf ====
  
-  * When you install postfix a configuration dialog is opened+  * When you install postfix a configuration dialog is opened.
  
   * internet with smarthost   * internet with smarthost
Line 20: Line 20:
   * mail name: hostname   * mail name: hostname
  
-  * you can reconfigure with <code>dpkg-reconfigure --priority=low postfix</code>+  * You can reconfigure postfix: <code>dpkg-reconfigure --priority=low postfix</code>.
  
 ==== Authentication ==== ==== Authentication ====
Line 36: Line 36:
 sudo touch /etc/postfix/sasl_password  sudo touch /etc/postfix/sasl_password 
 </code> </code>
-  * the necessary authentication informations in this format "smtp.mailanbieter.de username:securepassword" +  * Enter the necessary authentication informations in the following format "smtp.mailanbieter.de username:securepassword". 
-  * create db file with postmap an then delete plain text file+  * Create db file with postmap an then delete plain text file.
 <code> <code>
 sudo postmap /etc/postfix/sasl_password  sudo postmap /etc/postfix/sasl_password 
Line 49: Line 49:
 ==== Correct sender address ==== ==== Correct sender address ====
  
-  * Most provider check the sender address so you can't send mail in others name +  * Most provider check the sender address so you can't send mails under another name. 
-  * therefor postfix has to replace the sender address+  * Therefor postfix has to replace the sender address.
 etc/postfix/main.cf: etc/postfix/main.cf:
 <code> <code>
 sender_canonical_maps = hash:/etc/postfix/sender_canonical sender_canonical_maps = hash:/etc/postfix/sender_canonical
 </code> </code>
-  * create "/etc/postfix/sender_canonical" as shown below+  * create "/etc/postfix/sender_canonical" as shown below.
 <code> <code>
 user user@gmx.net user user@gmx.net
Line 69: Line 69:
 ==== Aliases ==== ==== Aliases ====
  
-  * Now you need aliases so that postfix know where to send mails to root+  * Now you need aliases so that postfix know where to send mails to root.
 /etc/aliases /etc/aliases
 <code> <code>
 root:   user@gmx.net root:   user@gmx.net
 </code> </code>
-  * reload the db file  +  * Reload the db file  
-  * you don't need to restart postfix+  * You don't need to restart postfix
 <code> <code>
 newaliases newaliases
linux/postfix.txt · Last modified: 23.03.2013 18:41 by eanderalx