Sengrid for mailing redirect

  • Hi guys, i searched out the forum and did not find a topic for this subject, i hope not be posting duplicated question.

    I did set up imscp on google cloud with debian 9. It happens that google cloud block the usual smtp trafic and its recomended to use some external service like Sendgrid, when i went to edit postfix config to work with Sendgrid i was wellcome with a messege saying i should not edit that, as it would be replaced for a imscp auto generated script.

    My question is,
    Where should i go to edit thouse settings?
    i know that its not recommended to edit postfix settings, but according to google plataform helper, i have to do something like this

    Code
    1. relayhost = [smtp.sendgrid.net]:2525
    2. smtp_tls_security_level = encrypt
    3. smtp_sasl_auth_enable = yes
    4. smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
    5. header_size_limit = 4096000
    6. smtp_sasl_security_options = noanonymous

    Well

    thats it, thanks the supporte, hope somebody can help me.

  • Its not wise to change the files, because they get changed during reconfigurations and updates.

    As long as you know what you are doing, you can change them. Or include your own cf.

    Have a nice day. :)

  • Oh thank you :) i thoght it would be replaced at server restart. but if its only at updates and reconfiguragions, i gonna go for it!