Monthly Archives: May 2020

Exim Error: Failed to create directory “/var/spool/exim/db”: Permission denied

We came across an issue where emails were not coming to server

on checking logs we saw below error

failed to open DB file /var/spool/exim/db/ratelimit: Permission denied (euid=47 egid=12)

We executed below steps to fix the error


1003 2020-05-20 11:38:14 rm -fv /var/spool/exim/db/*
1004 2020-05-20 11:38:30 service exim restart
1005 2020-05-20 11:39:22 chown -R mailnull.mail /var/spool/exim
1006 2020-05-20 11:40:19 chmod 0750 /var/spool/exim
1007 2020-05-20 11:40:25 /scripts/upcp –force