This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
networking:linux:postfix_smarthost [2019/05/20 08:20] gcooper |
networking:linux:postfix_smarthost [2021/11/30 08:01] (current) gcooper |
||
---|---|---|---|
Line 18: | Line 18: | ||
* Blacklisted IP address | * Blacklisted IP address | ||
* Etc. | * Etc. | ||
+ | |||
+ | You need a package installed (CentOS, Ubuntu): | ||
+ | |||
+ | < | ||
+ | yum install cyrus-sasl-plain | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | apt install libsasl2-modules | ||
+ | </ | ||
You can copy and paste the following into an editor, then adjust the $SMTPHOST and $USERPASS variables for your needs. Then, as root, paste it to the command line: | You can copy and paste the following into an editor, then adjust the $SMTPHOST and $USERPASS variables for your needs. Then, as root, paste it to the command line: | ||
Line 121: | Line 131: | ||
- **Edit** for your needs | - **Edit** for your needs | ||
- **Paste** into FreePBX Distro CLI as '' | - **Paste** into FreePBX Distro CLI as '' | ||
+ | |||
+ | :!: This package must be installed on older FreePBX Distro installations: | ||
+ | |||
+ | < | ||
+ | yum install cyrus-sasl-plain | ||
+ | </ | ||
+ | |||
+ | Copy, edit, then paste in the CLI: | ||
< | < | ||
Line 133: | Line 151: | ||
# Trusted CAs aren't configured by default?! | # Trusted CAs aren't configured by default?! | ||
CAFILE=/ | CAFILE=/ | ||
- | |||
- | #yum install cyrus-sasl-plain | ||
- | #apt-get install libsasl2-modules | ||
# This will overwrite any existing contents | # This will overwrite any existing contents |