secure_outgoing_smtp_via_postfix_courier_tls_and_sasl
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
secure_outgoing_smtp_via_postfix_courier_tls_and_sasl [2022/07/19 20:13] – external edit 127.0.0.1 | secure_outgoing_smtp_via_postfix_courier_tls_and_sasl [2022/07/22 22:47] (current) – Updated formatting and added current config admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Secure_Outgoing_SMTP_via_Postfix, | ====== Secure_Outgoing_SMTP_via_Postfix, | ||
- | ***OK. First off: apt-get** | + | \\ |
- | apt-get install postfix-tls libsasl2-2 sasl2-bin libsasl2-modules | + | **For more recent setup with Debian Bullseye, please see: |
+ | [[setup-config-debian-bullseye# | ||
+ | |||
+ | **Note: Details below are old and may not apply** | ||
+ | |||
+ | ***OK. First off: apt-get** | ||
+ | < | ||
+ | | ||
+ | </ | ||
Main Website used for Config: http:// | Main Website used for Config: http:// | ||
Line 59: | Line 67: | ||
</ | </ | ||
+ | < | ||
vi / | vi / | ||
- | < | + | #add in |
| | ||
- | < | + | #Then try and send emails via smtpd |
+ | </ | ||
***Restart Postfix< | ***Restart Postfix< | ||
+ | |||
Now continuing onto Auth< | Now continuing onto Auth< | ||
+ | |||
Because postfix runs chrooted - need to move the /var/run dir <br> | Because postfix runs chrooted - need to move the /var/run dir <br> | ||
+ | < | ||
mkdir -p / | mkdir -p / | ||
rm -fr / | rm -fr / | ||
+ | </ | ||
**Edit / | **Edit / | ||
+ | < | ||
| | ||
Add the line < | Add the line < | ||
+ | </ | ||
**Edit / | **Edit / | ||
+ | |||
< | < | ||
Add in dir=" | Add in dir=" | ||
Line 82: | Line 99: | ||
| | ||
| | ||
- | <nowiki>//</ | + | |
+ | <code> | ||
+ | #change to: | ||
| | ||
Line 89: | Line 108: | ||
***/ | ***/ | ||
***MAKE SURE TO ADJUST FIREWALL - OPEN UP PORT 111 Locally** | ***MAKE SURE TO ADJUST FIREWALL - OPEN UP PORT 111 Locally** | ||
+ | </ | ||
====== Debugging and testing ====== | ====== Debugging and testing ====== | ||
+ | < | ||
| | ||
| | ||
Line 105: | Line 126: | ||
| | ||
250 DSN | 250 DSN | ||
+ | </ | ||
After connecting via telnet, type "ehlo localhost" | After connecting via telnet, type "ehlo localhost" | ||
Line 110: | Line 132: | ||
Of course o2 have started filtering external traffic over port 25, and filterting out the starttls which makes life difficult for thunderbird. See: http:// | Of course o2 have started filtering external traffic over port 25, and filterting out the starttls which makes life difficult for thunderbird. See: http:// | ||
Just as well I have port 587 open for use with a nice iptable rule: | Just as well I have port 587 open for use with a nice iptable rule: | ||
+ | < | ||
| | ||
| | ||
| | ||
+ | </ |
secure_outgoing_smtp_via_postfix_courier_tls_and_sasl.txt · Last modified: 2022/07/22 22:47 by admin