On 7/6/19 4:07 PM, Basile Starynkevitch wrote:
Jean-Michel OLTRA indique dans un autre message:
As tu essayé de configurer Postfix avec un relai (relayhost, smarthost) ?
Tu mets ensuite tes couples login/mdp sous forme, par exemple pour moi :
[email protected]:xxxxxxxx
dans le fichier /etc/postfix/ton_fichier_sasl
Tu transformes ton_fichier_sasl en bdd avec postmap
et tu ajoutes les lignes dans /etc/postfix/main.cf :
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/ton_fichier_sasl
Il faut installer la libsasl.
Ca devrait le faire, mais dans mon imaginaire j'aurais voulu que cette
configuration se fasse à apt-get install time.
Et ça commence bien :-( car dpkg-reconfigure postfix me demande:
*Please select the mail server configuration type* that best meets your
needs. │
│ │
│ No configuration: │
│ Should be chosen to leave the current
configuration unchanged. │
│ Internet site: │
│ Mail is sent and received directly using
SMTP. │
│ *Internet with smarthost*: │
│ Mail is received directly using SMTP or by
running a utility such │
│ as fetchmail. Outgoing mail is sent using a
smarthost. │
│ *Satellite system*: │
│ All mail is sent to another machine, called a
'smarthost', for delivery. │
│ Local only: │
│ The only delivered mail is the mail for local
users. There is no network. │
│ │
│ General type of mail
configuration: │
│ │
│ No
configuration │
│ Internet
Site │
│ Internet with
smarthost │
│ Satellite
system │
│ Local
only │
│
Et j'hésite déjà entre Internet with smarthost ou Satellite system. Je
dois répondre quoi?
Librement
--
Basile STARYNKEVITCH == http://starynkevitch.net/Basile
opinions are mine only - les opinions sont seulement miennes
Bourg La Reine, France