I want to prevent greylisting on certain domains on my server and figure that the place to do that is to use “whitelisted Recipients” in the Greylisting module.
Having done some Googling I find that the domain only needs to be added. ie. “domain.com” not “@domain.com”.
I have tried that and mail is still greylisted.
Am I missing something?
Many thanks for reading.
CentOS Linux 5.7
Webmin version 1.570
Virtualmin version 3.88 Pro
Theme version 8.1
/etc/postfix/postgrey_whitelist_recipients does appear to be updated correctly and Postgrey is restarted but simply adding “domain.com” does not work with incoming email still being greylisted.
I have discovered that if I use “.*@domain.com” and turn regex on, it works well !
I did find a post on the web from someone with a similar problem but that was dates several years ago and it was reported as a bug.
Anyway, the problem is resolved for me but if you can improve on the regex I have used, please do.
Edited to add :-
Just noticed that the single backstroke character before the “.com” does not show in this forum.