Child process of spamcheck transport returned 1 from command: /usr/sbin/exim

fvma

New member
Joined
May 14, 2021
Messages
2
I'm getting this error when receiving any mail to my internal accounts. The full log is:

2021-05-14 07:51:46 1lhVQ1-0002dT-D8 <[email protected]>: spamcheck transport output: exim: getting initial cwd failed: No such file or directory
2021-05-14 07:51:46 1lhVQ1-0002dT-D8 ** [email protected] F=<[email protected]> R=spamcheck_director T=spamcheck: Child process of spamcheck transport returned 1 from command: /usr/sbin/exim

The error is solved for a while when i restart exim, but in the next day, or even a feel hours, the error is back again. I also tried rebuild exim with those commands bellow:

cd /usr/local/directadmin/custombuild
./build update
./build set exim yes
./build set eximconf yes
./build set eximconf_release 4.5
./build set spamassassin yes
./build update
./build exim
./build exim_conf

But i get the error back in a feel hours too.
 
I solve my case creating a new tmp file for exim. So i create the file in the / directory with the name /tmp-emails and set permissions chmod 777 e chmod +t for the /tmp-emails and opened the /etc/exim.conf alterating the parameters:

current_directory = "/tmp" to current_directory = "/tmp-emails"
and
home_directory = "/tmp" to home_directory = "/tmp-emails"

Then I get exim restarted.

I rope this can help someone else.
 
Back
Top