Ik kreeg de melding:

Mar 14 04:21:48 srv14.domein.nl postfix/smtp[61178]: 2E7A92402A4: to=root@domein.nl, orig_to=root@srv14.domein.nl, relay=smtp.t-mobilethuis.nl[37.143.82.162]:25, delay=0.06, delays=0.01/0/0.04/0.01, dsn=5.7.1, status=bounced (host smtp.t-mobilethuis.nl[37.143.82.162] said: 554 5.7.1 root@domein.nl: Relay access denied (in reply to RCPT TO command))

Postfix moet net ff anders worden ingesteld. Dit werkt voor mij:

  1. Inloggen in t-mobile thuis, dan naar je internet-abo, en naar emailinstellingen:
    https://www.t-mobile.nl/my/thuis/instellingen/email . Daar zie je ook je mailgebruikersnaam.
  2. Wachtwoord aanpassen in nette ASCII (a-zA-Z0-9@). Werkt beter in configs
  3. Instellen main.cf:
smtp_sasl_auth_enable = yes
relayhost = [smtp.t-mobilethuis.nl]:submission
smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_tls_security_level = encrypt

4. sasl/sasl_passwd

[smtp.t-mobilethuis.nl]:submission       jegebruikersnaamhier@t-mobilethuis.nl:wachtwoordhier

5. postmap sasl/sasl_passwd

By karlo