Everything was working fine until i have enabled spamassasin for spam filter. If i disable spamassasin and revert procmailrc to default, everything works fine and spam filter is disabled.
something is wrong with loopup-domain thing which is causing issue or something else is wrong which I do not understand.
I tried all that is mentioned in restarting lookup-domain, checking user quotas etc.
/var/log/procmail.log shows:
Disk quota for user has been reached.
procmail: Program failure (73) of "/etc/webmin/virtual-server/lookup-domain.pl"
I am unable to figure out the issue. I would appreciate if anyone can point me to right direction so i can use email service with spam filter on my server.
Edit:
I tried running this…
echo test | sudo /etc/webmin/virtual-server/lookup-domain.pl user-domain.com
Disk quota for user-domain.com has been reached.
HTTP/1.0 302 Moved Temporarily
Ajay, the error indicates that the only problem with your system is that the user has exceeded the storage quota that you have assigned to him. There is no problem with Spam assassin so don’t try to fix what is not broken.
All you need to do to fix this problem is go to Virtualmin → Edit Users and increase the quota for the user.
Thank @calport however problem was something else… and probably its not taken care completely.
For normal users everything works fine. I figured out issue was something else running below command.
echo test | sudo /etc/webmin/virtual-server/lookup-domain.pl user-domain.com
I am running webmin at 11000 port and loopup-domain also runs at same port if not changed.
Here is the fix if you’re running webmin at 11000 port and ran into same issue.
Change lookup-domain port in virtualmin:
Goto Virtualmin → Email Settings → Spam & virus setting → Domain Lookup Daemon Port
Change it to any value other than 11000, I set to 12000
Update procmailrc file:
Goto Webmin → Servers → Procmail Mail Filter → Manually Edit Configuration
Change following line