tiny tweaks to postfix email client config authored by anarcat's avatar anarcat
Add a space to the password writing so it hopefully doesn't go to
shell history.

Also add a configuration error I stumbled upon locally.
...@@ -223,7 +223,7 @@ configurations, one per line: ...@@ -223,7 +223,7 @@ configurations, one per line:
touch /etc/postfix/sasl/passwd touch /etc/postfix/sasl/passwd
chown root:root /etc/postfix/sasl/passwd && chmod 600 /etc/postfix/sasl/passwd chown root:root /etc/postfix/sasl/passwd && chmod 600 /etc/postfix/sasl/passwd
echo "submission.torproject.org user:pass" >> /etc/postfix/sasl/passwd echo "submission.torproject.org user:pass" >> /etc/postfix/sasl/passwd
Then rehash that map: Then rehash that map:
...@@ -279,6 +279,13 @@ For debugging, you can make SMTP client sessions verbose in Postfix: ...@@ -279,6 +279,13 @@ For debugging, you can make SMTP client sessions verbose in Postfix:
example, you can try to force the authentication mechanism to example, you can try to force the authentication mechanism to
`cram-md5` this way. `cram-md5` this way.
If you can't send mail after this configuration and get an error like
this in your logs:
Sep 26 11:54:19 angela postfix/smtp[220243]: warning: SASL authentication failure: No worthy mechs found
Try installing the `libsasl2-modules` Debian package.
### Exim4 client configuration ### Exim4 client configuration
You can configure your Exim to send mails which you send `From:` your `torproject.org` email via the TPI submission service, while leaving your other emails going whichever way they normally do. You can configure your Exim to send mails which you send `From:` your `torproject.org` email via the TPI submission service, while leaving your other emails going whichever way they normally do.
... ...
......