This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ssmtp [2025/03/05 08:45] 111.225.148.79 old revision restored (2024/12/25 00:54) |
ssmtp [2025/03/13 12:26] (current) 114.119.141.203 old revision restored (2025/03/06 03:49) |
||
---|---|---|---|
Line 31: | Line 31: | ||
</ | </ | ||
- | Configuration avec utilisation d'une boîte mail dédiée créée pour l' | + | Configuration avec utilisation d'une boîte mail dédiée créée pour l' |
< | < | ||
# | # | ||
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=< | AuthUser=< | ||
AuthPass=< | AuthPass=< | ||
+ | |||
+ | # 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 | ||
+ | </ | ||
+ | |||
+ | 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:// | ||
+ | < | ||
+ | # | ||
+ | # Config file for sSMTP sendmail | ||
+ | # | ||
+ | # The person who gets all mail for userids < 1000 | ||
+ | # Make this empty to disable rewriting. | ||
+ | root=< | ||
+ | |||
+ | # 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: | ||
+ | |||
+ | # Where will the mail seem to come from? | ||
+ | # | ||
+ | |||
+ | # The full hostname | ||
+ | hostname=< | ||
+ | |||
+ | UseSTARTTLS=YES | ||
+ | AuthUser= < | ||
+ | AuthPass=< | ||
# Are users allowed to set their own From: address? | # Are users allowed to set their own From: address? | ||
Line 73: | Line 102: | ||
# Example: root: | # Example: root: | ||
# where [:port] is an optional port number that defaults to 25. | # where [:port] is an optional port number that defaults to 25. | ||
- | root: < | + | root: < |
</ | </ | ||