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
ssmtp [2024/05/17 11:28]
3.21.127.68 old revision restored (2024/03/31 12:00)
ssmtp [2024/05/17 12:05] (current)
18.224.202.61 old revision restored (2024/03/31 06:32)
Line 31: Line 31:
 </code> </code>
  
-Configuration avec utilisation d'une boîte mail dédiée créée pour l'occasion chez infomaniak.+Configuration avec utilisation d'une boîte mail dédiée créée pour l'occasion chez Gandi.
 <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.infomaniak.com:587+mailhub=mail.gandi.net:465
  
 # 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 73: Line 102:
 # 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.infomaniak.com:587+root: <source_mail_fqdn>:mail.gandi.net:465
 </code> </code>
  
ssmtp.txt · Last modified: 2024/05/17 12:05 by 18.224.202.61