User Tools

Site Tools


ssmtp

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
ssmtp [2023/12/19 04:09]
47.128.122.156 old revision restored (2023/12/11 13:47)
ssmtp [2024/04/04 10:59] (current)
49.0.207.249 old revision restored (2024/03/22 22:42)
Line 31: Line 31:
 </code> </code>
  
-Configuration avec utilisation d'une boîte mail dédiée créée pour l'occasion chez Gandi.+Configuration avec utilisation d'une boîte mail dédiée créée pour l'occasion chez infomaniak.
 <code> <code>
 # #
Line 42: Line 42:
 # The place where the mail goes. The actual machine name is required no # The place where the mail goes. The actual machine name is required no
 # MX records are consulted. Commonly mailhosts are named mail.domain.com # MX records are consulted. Commonly mailhosts are named mail.domain.com
-mailhub=mail.gandi.net:465+mailhub=mail.infomaniak.com:587
  
 # Where will the mail seem to come from? # Where will the mail seem to come from?
Line 51: Line 51:
  
 UseTLS=YES UseTLS=YES
 +UseSTARTTLS=YES
 AuthUser=<source_mail_fqdn> AuthUser=<source_mail_fqdn>
 AuthPass=<mot_de_passe> AuthPass=<mot_de_passe>
- 
-# Are users allowed to set their own From: address? 
-# YES - Allow the user to specify their own From: address 
-# NO - Use the system generated From: address 
-FromLineOverride=YES 
-</code> 
- 
-Autre configuration avec GMail qui a fonctionnée avant le durcissement de la sécurité GMail. Depuis, il faut utiliser un vrai mail plutôt que ce type de boîtes mail de particulier. 
-http://serverfault.com/questions/583176/google-blocks-authentication-attempts-by-my-machine-to-transfer-outgoing-mails 
-<code> 
-# 
-# Config file for sSMTP sendmail 
-# 
-# The person who gets all mail for userids < 1000 
-# Make this empty to disable rewriting. 
-root=<source_mail_fqdn> 
- 
-# The place where the mail goes. The actual machine name is required no 
-# MX records are consulted. Commonly mailhosts are named mail.domain.com 
-mailhub=smtp.gmail.com:587 
- 
-# Where will the mail seem to come from? 
-#rewriteDomain= 
- 
-# The full hostname 
-hostname=<machine_name> 
- 
-UseSTARTTLS=YES 
-AuthUser= <source_gmail_fqdn> 
-AuthPass=<password> 
  
 # Are users allowed to set their own From: address? # Are users allowed to set their own From: address?
Line 102: Line 73:
 # Example: root:your_login@your.domain:mailhub.your.domain[:port] # Example: root:your_login@your.domain:mailhub.your.domain[:port]
 # where [:port] is an optional port number that defaults to 25. # where [:port] is an optional port number that defaults to 25.
-root: <source_mail_fqdn>:mail.gandi.net:465+root: <source_mail_fqdn>:mail.infomaniak.com:587
 </code> </code>
  
ssmtp.1702958945.txt.gz · Last modified: 2023/12/19 04:09 by 47.128.122.156