Hello,
I'm trying to translate postfix bounce messages to my native language, i've found those similiar posts to help;
https://forum.proxmox.com/threads/how-to-configure-custom-postfix-bounce-messages-pmg-5-1-2.51499/
https://www.howtoforge.com/configure-custom-postfix-bounce-messages
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine
https://forum.proxmox.com/threads/translation-of-the-messages-sent-by-pmg.110180/
as far as i understand that i need to do through templates
so there was no /etc/pmg/templates folder i've created as
and copied main.cf.in file as below;
and changed file's name as template.cf
Created bounce.cf file as /etc/postfix/bounce.cf and included to my template.cf (to the end of the file) as;
restarted bıth sync and postfix services;
after that nothing changed it still uses the default messages, what am i doing wrong?
I'm trying to translate postfix bounce messages to my native language, i've found those similiar posts to help;
https://forum.proxmox.com/threads/how-to-configure-custom-postfix-bounce-messages-pmg-5-1-2.51499/
https://www.howtoforge.com/configure-custom-postfix-bounce-messages
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine
https://forum.proxmox.com/threads/translation-of-the-messages-sent-by-pmg.110180/
as far as i understand that i need to do through templates
so there was no /etc/pmg/templates folder i've created as
Code:
mkdir /etc/pmg/templates
Code:
cp /var/lib//pmg//templates/main.cf.in /etc/pmg/templates/main.cf
Created bounce.cf file as /etc/postfix/bounce.cf and included to my template.cf (to the end of the file) as;
Code:
bounce_template_file = /etc/postfix/bounce.cf
restarted bıth sync and postfix services;
Code:
pmgconfig sync --restart 1
service postfix restart
after that nothing changed it still uses the default messages, what am i doing wrong?
Last edited: