PDA

View Full Version : How to mod exim.conf



rosco
05-25-2004, 01:38 AM
Hi all,
I need to remove the X-AntiAbuse header from one account.
I tried commenting out the headers_add for it but that caused Exim not to restart successfully. Anyone know how to do this??

many thanks

DirectAdmin Support
05-25-2004, 10:42 AM
Hello,

We don't include any "X-AntiAbuse" lines by default so I'm not sure how they would have made it there in the first place. What errors are you getting when you restart exim?

service exim restart

John

rosco
05-25-2004, 08:26 PM
Hi John, and thanks for responding.

I'm getting this error:
"Exim configuration file /etc/exim.conf has the wrong owner, group, or mode"

The permissions are correct, but I think I've 'cocked it up' by downloading the file to comment-out the headers_add, because when I load it back in to the /etc directory, the original file(which I renamed to exim.confORIG is showing 'root' next to it (is that indicating where it originated/ownership??) whereas my modded uploaded one is not showing 'root' but a subordinate directory name. Being a newbie to this, I don't know how to (in Putty) carry out the mod to the file 'in-situ'.
Need a bit more guidance if possible.......

many thanks.

DirectAdmin Support
05-28-2004, 10:43 AM
Try this:

chown root:root /etc/exim.conf
chmod 755 /etc/exim.confJohn

rosco
05-28-2004, 12:11 PM
thank you John for responding, I'll try it!

kind regards

rosco
05-30-2004, 12:33 AM
John, that worked - success!

many thanks.