[SOLVED] Daily Spamreport --> Sender name

tanjix

Member
May 12, 2021
15
3
8
41
Hi Guys,

following this thread:
https://forum.proxmox.com/threads/change-spam-report-sender-name.75164/

I modified the sender name of the daily spamreport.

However, it looks like, it does only recognize an email address and no real name as an additional parameter.

I would like to be shown that spam report email from a realname like "Secure Mailgateway" and the sender email address like securemailgateway@domain.com.
I tried to achieve that how it can be done with the common style by entering the following to the "EMail 'From:' field at PMG --> Spam DEtector --> Quarantine:

Code:
"Secure Mail-Gateway <securemailgateway@domain.com>"

But it does not do, what I wish to see.

How can I add both, a sender name and the senders mail address?

Thanks!
 
Works here - what's the output of:
Code:
pmgconfig dump |grep pmg.spamquar.mailfrom

and what is actually displayed wrong and where (maybe a screenshot would help)?
 
Hi Stoiko,

the output is:

Code:
root@pmg:~# pmgconfig dump |grep pmg.spamquar.mailfrom
could not change directory to "/root": Permission denied
pmg.spamquar.mailfrom = "Secure Mail-Gateway <securemailgateway@domain.com>"
root@pmg:~#

The problem is, that indeed my setting is applied as the senders name, however, the PMG's hostname is added as well, which is wrong, see screenshot.

Thanks!
 

Attachments

  • spamreport.png
    spamreport.png
    31.9 KB · Views: 23
Hm - could you try to remove the quote characters " ?
so:
Code:
"Secure Mail-Gateway <securemailgateway@domain.com>"
becomes
Code:
Secure Mail-Gateway <securemailgateway@domain.com>
 
yes - but it does show it when you click to edit it - but maybe I'll try to address this small glitch

Glad you found a solution :)
 
Yep, during edit it is shown. Would be glad if you can modify this simple thing in one of the next updates!

Anyways, thanks for your help! It's highly appreciated! :)
 
  • Like
Reactions: Stoiko Ivanov

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 yours easily in our online shop.

Buy now!