Help for Setup Postfix Manually

Hello,

I tried to add the settings in order to have notification via email. Unfortunately i couldn’t do it.
Can somebody help me?
You can find information below regarding freepbx also the changes that i have made.

information
Current PBX Version:15.0.17.34
Current System Version:12.7.8-2104-1.sng7

I have applied those changes:

nano /etc/postfix/main.cf

relayhost = [mail.domain.com]:465
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_use_tls = yes

smtp_generic_maps = hash:/etc/postfix/generic

nano /etc/postfix/sasl_passwd

[mail.domain.com]:465 [email protected]:password

/etc/postfix/generic

root [email protected]
root@localhost [email protected]
[email protected] [email protected]
root@freepbx [email protected]
[email protected] [email protected]
asterisk [email protected]
asterisk@localhost [email protected]
[email protected] [email protected]
asterisk@freepbx [email protected]
[email protected] [email protected]
vm@asterisk [email protected]
@freepbx.localdomain @domain.com

I haved run those commands

postmap /etc/postfix/generic
postmap hash:/etc/postfix/sasl_passwd
service postfix restart
chmod 400 /etc/postfix/sasl_passwd
systemctl reload postfix

Thanks a lot,
Stefanos

You did not hash the credentials

postmap hash:/etc/postfix/sasl_passwd

https://wiki.freepbx.org/display/PPS/Setup+Postfix+Manually

Hello,

Thanks for your help,

I have forgotten to write this command. I have done it and followed the guide that you have sent.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.