[Exim] Script

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Jonas Jacobsson
Data:  
Para: exim-users
Assunto: [Exim] Script
Hi,

I have a very simple and basic question, but I couldn't
find it in the FAQ or documentation in an easy to understand
kind of way.

How do I do to send an incoming mail to one of my own Perl-scripts?

I have tried two things. One is to just type in the following
in the aliases-file:
kalle: "|/home/kalle/kalle.pl"

It didn't work, så I tried to add the following in exim.conf:

kalle_aliases:
driver = aliasfile
file_transport = address_file
pipe_transport = address_pipe
file = /etc/aliases-kalle
search_type = lsearch
user = kalle
group = kalle

Now the file aliases-kalle consist of the aliases-line above.

But that didn't work either.

Could someone please help me to understand how this works?

/jonas