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: