Translation of the messages sent by PMG

Stoiko Ivanov

Proxmox Staff Member
Staff member
May 2, 2018
6,949
1,073
164
I'm trying to translate the bounce messages,
which message concretely? (just so that we speak about the same thing)

as for modifications of the postfix config (as described in the thread you linked) - for PMG you need to use the templateing system to make changes to main.cf persistent:
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine

else - some reports sent by PMG (not bounce-messages though) are also rendered through the templating system - so check the files in
/var/lib/pmg/templates - maybe the file you want to change is there)

finally - keep in mind that those bounces are sent out also to the internet - and people are quite used to the standard format they are in - so consider that external recipients might be confused to receive a bounce message in a localized version

I hope this helps!
 

james_bond

New Member
Oct 19, 2021
18
1
3
51
Hi @Stoiko Ivanov
which message concretely? (just so that we speak about the same thing)
Specially the bounce messages.
finally - keep in mind that those bounces are sent out also to the internet - and people are quite used to the standard format they are in - so consider that external recipients might be confused to receive a bounce message in a localized version
We want these messages to go out in the standard format + following two or more languages so people that use the system can understand.

I'll look into these templating specified and see if I can adjust them!!

Thanks a lot!

Best,
 

Stoiko Ivanov

Proxmox Staff Member
Staff member
May 2, 2018
6,949
1,073
164
Specially the bounce messages.
These you should be able to customize following the postfix documentation:
https://www.postfix.org/bounce.5.html
(create a bounce_template file and adapt it)
then include:
Code:
bounce_template_file = /path/to/your/template.cf
in /etc/pmg/templates/main.cf.in (after you've copied it over from /var/lib/pmg/templates/) - following the documentation:
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine

I hope this helps!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!