Webhosting Blog

Error in system filter: failed to open filter log file “/var/log/filter.log”


I was facing the following mentioned error for emails on the server and the emails were discarded with following message.

Error in system filter: failed to open filter log file “/var/log/filter.log”: Permission denied (euid=506 egid=559)

The Above mentioned error is basically due to improper ownership assigned to the file “/var/log/filter.log” .

To sort the error you can do the following:

1) Check the ownership assigned for the file

[root@server ~]# ls -l /var/log/filter.log

-rw-r–r– 1 root root 1004191 Feb 1 07:23 /var/log/filter.log

2) The ownership of this file must be cpaneleximfilter instead of root.

3) change the ownership of the file as follows:

[root@server ~]# chown cpaneleximfilter.cpaneleximfilter /var/log/filter.log

4)Now just restart the exim service on the server. This should sort your issue.

Advertisements

3 responses

  1. Hey man , thanks 4 posting but this post is hard to read when using Mozilla it is doubled up.

    February 17, 2011 at 2:11 am

  2. good post, added you to my RSS reader.

    February 17, 2011 at 8:50 am

  3. Simple answer to getting my system filter additions to write to my log file properly. Still new to this, and I really like straightforward solutions. Thanks!

    December 9, 2011 at 10:33 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s