add mail relay server via control panel?

  • 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/ with the parameters?


  • ok thanks Fluser, So its better to add the relay configuration changes to the listener file instead of /etc/postfix/ right?


  • Yes, because the listener file is considered by the installer/configuration script and your desired change will not be overwritten

  • Do I need to add the 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/ I can add things like: smtp_sasl_password_maps also right?

  • Rright, reconfigure worked but still sending via postfix instead of amazon. Strange.

    My MAIN CF_PARAMETER section now reads.


    1. '125 inet n - y - - smtpd'