Unable to use .forward file/filter functionality

hariskhan

Well-Known Member
Apr 15, 2004
146
0
166
Hello folks;

1) I am running exim 4.63 on FreeBSD 5.4 (updated through ports) regularly. I am unable to use the .forward files/filter functionality with my server.

My userforward: router is as follows;

userforward:
#!!# filter renamed allow_filter
driver = redirect
allow_filter
check_ancestor
check_local_user
domains = ! lsearch;/etc/userdomains
no_expn
file = $home/.forward
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
no_verify

It is the default config file that comes with exim from cpanel.

I have tried commenting the following lines from the above config;

- Commented: domains = ! lsearch;/etc/userdomains
- Changed line from file = $home/.forward -> To -> file = /etc/mail/.forward-support

I moved my .forward file to /etc/mail/.forward-support

where support was my $local_part. The file is owned by username:mail.

I made these changes in /use/local/etc/exim/configure file, since exim -bV tells me that THAT is my config file.

2) I don't understand why cpanel has /etc/exim.conf on the server if its using /use/local/etc/exim/configure as its config file?

;==========================================================

The attached file configure.txt is my /usr/local/etc/exim/configure

P.S. cpanel doesn't let me upload files without extensions.

Need an insight into what is going on?
 

Attachments

Last edited:

hariskhan

Well-Known Member
Apr 15, 2004
146
0
166
Found vfilters

I was checking out cpanel's implementation of exim's config file. With no body replying to my question, it was taking time, but I found a solution.

cpanel implements /etc/vfilters/${domain} file that contains the script which should normally go in $HOME/.forward file.

the exim's config file that cpanel distributes contains a spec for central_filter: This central_filter has vfilters configured in it.

By debugging I found out, exim doesn't use the userforward: router at all. It uses only vfilters.
 

mahinder

Well-Known Member
Jun 12, 2003
69
0
156
matrix
ok so you mean

$HOME/.forward file no longer works. I tested this on one server and its not working but on other server its working fine. can anyone from cpanel confir that

$HOME/.forward no longer works with cpanel?