This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
ssmtp [2024/06/08 10:18] 135.181.79.106 old revision restored (2023/12/15 10:33) |
ssmtp [2024/06/16 15:56] 141.94.104.105 old revision restored (2024/06/14 19:40) |
||
---|---|---|---|
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: < |
</ | </ | ||