[exim] .forward weirdness

Startseite
Nachricht löschen
Nachricht beantworten
Autor: relic
Datum:  
To: exim-users
Betreff: [exim] .forward weirdness
Hi,

I have used mail filtering with exim with success until added one
more
filtering-rule, it broke. After removing the added rule it stayed
so.

The error is:

Dec 16 10:40:05 entropy exim[17737]: 2004-12-16 10:40:05
1Ces7B-0004c0-3c == rel@localhost R=userforward defer (-17
): error in redirect file: missing or malformed local part
(expected word or "<") in "if error message then finish
endif"



Can somone see what syntax error this .forward has? I'am clueless.



My $HOME/.forward:

if error message then finish endif

if $header_List-Id: contains "The -ck kernel mailing list   
<ck.vds.kolivas.org>" 
then 
    save $home/.maildir/.ck-sources-ml/ 
    finish 
endif 
if $header_List-Id: contains "A user list for the exim MTA  
<exim-users.exim.org>" 
then 
    save $home/.maildir/.exim-users-ml/ 
    finish 
endif 
if $header_List-Id: contains "General discussion 
<gnome-list.gnome.org>" 
then 
    save $home/.maildir/.gnome-users-ml/ 
    finish 
endif 
if $header_List-Id: contains "Evolution users mailing list.  
<evolution.lists.ximian.com>" 
then 
    save $home/.maildir/.Evolution-ml/ 
    finish 
endif 
if $header_Subject: contain "Cron <rel@entropy>" 
then 
    save $home/.maildir/.cron-jobs/ 
    finish 
endif 


if $header_List-Id: contains "For discussion about KDE PIM 
applications <kdepim-users.kde.org>" 
then 
    save $home/.maildir/.kdepim-ml/ 
    finish 
endif 
if $header_List-Id: contains "General KDE discussion 
<kde.mail.kde.org>" 
then 
    save $home/.maildir/.kde-ml.kde/ 
    finish 
endif 


if $header_List-Id: contains "For discussion of multimedia 
\(sound/video\) issues under KDE" 
then 
    save $home/.maildir/.kde-ml.kde-multimedia/ 
    finish 
endif 
if $header_List-Id: contains "Contributors support and 
coordination, to make KDE rock!" 
then 
    save $home/.maildir/.kde-ml.kde-quality/ 
    finish 
endif 



# The bit responsible in exim.conf

userforward:
driver = redirect
check_local_user
# local_part_suffix = +* : -*
# local_part_suffix_optional
file = $home/.forward
allow_filter = true
no_verify
no_expn
check_ancestor
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
directory_transport = address_directory


I run courier-ssl on localhost, and pass mail to exim with
fetchmail.
Thanks, relic.