[Exim] using exim to filter mails to various cyrus mailfolde…

Top Pagina
Delete this message
Reply to this message
Auteur: Ralf Batri
Datum:  
Aan: exim-users
Onderwerp: [Exim] using exim to filter mails to various cyrus mailfolders

Hi list,

i hope tis haven't been answered before !
I've searched the archives and didn'tfind anything to my
problem, which could be a solution for my problem.

I've installed cyrus-imapd on a debian woody and it's running.
BUT i'm not able to setup the filtering through the ~/.forward.

Hier some parts of my configuration,

the transport:
local_delivery_cyrus_imap:
driver = pipe
command = "/usr/sbin/cyrdeliver -m ${substr_1:$local_part_suffix} -- $local_part"
return_path_add
return_output
log_output
prefix =
suffix =
user = cyrus
group = mail

the director:
localuser_cyrus_imapd:
driver = localuser
transport = local_delivery_cyrus_imap
suffix = .*
domains = foo.de:*.foo.de
local_parts = test-user

the .forward:
# Exim Filter
if
$h_from: matches gmx.de
then
pipe "/usr/sbin/cyrdeliver -a test-user -m user.test-user.filter_test"
endif

After all of this i get still an error message in the mainlog an the
mail is send back.

-- error message --
  pipe to |/usr/sbin/cyrdeliver -a test-user -m user.test-user.filter_test
    generated by test-user@???
    Child process of address_pipe transport returned 65 (could mean error in input data) from command:
    /usr/sbin/cyrdeliver


The following text was generated during the delivery attempt:

------ pipe to |/usr/sbin/cyrdeliver -a test-user -m user.test-user.filter_test
       generated by test-user@??? ------


-- error-message end --


I hope there is someone out there, who can help me.

Thanks in advanced
Ralf

************************************
Ralf Batri 
e-mail:    ralf@???
Currently on Debian/Woody 


PLEASE don't send me html-mails !!
************************************