Whitelist Limit

paulo.souza

New Member
Aug 8, 2024
1
0
1
Hello.

I'm thinking about buying Proxmox Mail Gateway, but first I started testing it. I tried to insert 8,011 domains into the Whitelist and it aborts the operation and says the list is too long.

Aug 08 16:00:45 mailgateway pmgdaemon[13349]: problems updating SMTP whitelist - file '/etc/postfix/senderaccess' too long - aborting

Do you know what can be done to make Proxmox Mail Gateway accept this amount of domains in the Whitelist?

Thank you.
 
Hi Paulo,
I had the same problem building my own autowl from the recipients of the messages I send.
The workaround I found was to modify this line of code in the file /usr/share/perl5/PVE/Tools.pm :
$max = 1024 * 1024 if !$max;
to
$max = 4 * 1024 * 1024 ;
to increase the file size to 4MB.
It worked for me. I don't know if there is a way to configure this size and I guess that in the next update maybe it will be deleted...
Regards
 
Last edited:

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!