Hi guys,
Is there a way to add a mail relay server (AWS) via the control panel? Or do I have to hack the /etc/postfix/main.cf with the parameters?
Regards,
Hi guys,
Is there a way to add a mail relay server (AWS) via the control panel? Or do I have to hack the /etc/postfix/main.cf with the parameters?
Regards,
Have a look at this listener file: https://github.com/i-MSCP/imsc…tfix/10_postfix_tuning.pl
ok thanks Fluser, So its better to add the relay configuration changes to the listener file instead of /etc/postfix/main.cf right?
Regards,
Yes, because the listener file is considered by the installer/configuration script and your desired change will not be overwritten
Ok, thanks for that
Do I need to add the 10_postfix_tuning.pl file to /etc/imscp/listeners.d and edit lines 34-51 with my servers entries right?
Yes, you need to copy the file to /etc/imscp/listeners.d and edit line 34-51 according to your needs.
For example:
ok, Do I need to do anything in IMSCP control panel for it to pickup the changes? Restarting everything does not seem to apply the changes.
I gather in /etc/imscp/listeners.d/0_postfix_tuning.pl I can add things like: smtp_sasl_password_maps also right?
You have to reconfigure I-MSCP:
I can add things like: smtp_sasl_password_maps also right?
I am not sure, but I think so.
Rright, reconfigure worked but still sending via postfix instead of amazon. Strange.
My MAIN CF_PARAMETER section now reads.
and my MASTER CF_PARAMETERS