[exim] Filtering with .forward files

Góra strony
Delete this message
Reply to this message
Autor: ebishop
Data:  
Dla: exim-users
Temat: [exim] Filtering with .forward files
Ok, need some help and would be very grateful for the person who can solve this for me.

We are running a server with CPANEL and Exim installed. We want to log all outgoing messages from joeuser@???. We read that this can be done with Exim filtering. We added a ".forward" file to our home directory with the following information:


# Exim filter
if error_message then finish endif

if $header_from: contains "joeuser@???"
then
unseen save /home/our_account/test.txt
endif


This is the only change we made and nothing is being written to test.txt after we send messages from joeuser@???

The file text.txt is writeable.

We tried the same info above many times with slight variations and nothing would work.

Is there any other file that has to be edited or is this filter information in the wrong place. All the documentation stated that we could put this in the .forward file in our home directory.

Thanks,

Eric