[Exim] filter-problems

Pàgina inicial
Delete this message
Reply to this message
Autor: Annemarie und Klaus Behmel
Data:  
A: exim-users
Assumpte: [Exim] filter-problems
Can anyone help us?

We have our domain "behmel.com" with the austrian provider
"inode.at". Inode uses Exim, the normal users like us can define
Exim-filters in a special window. I tried to make a filter for the
following purpose, but I failed, and also the people I contacted at
Inode-support were not able to gove us a solution.

What we need is:

1.)
We get a large number of mails (including many mails from several
information-services from Latin-America). Since we often read e-mails
with our mobile-phone when travelling, it would be very useful to
distribute the incoming mails to our standard-adress
(ami.klaus@???) to several adresses within our domain, making
it possible select only a small number of mails (from "adress-from")
for reading.
Therefore I tried Exim-scripts like

if
$reply_address contains "adress-from"
or
if ..........
then
deliver (unseen) adress-to
endif

the files did only work if "adress-to" was not within our domain
"behmel.com" and if "unseen" was omitted.
There might be a problem because the "adress-to" I used
(1.ami.klaus@???) might be an alias. If there is no simple
solution to this problem we could use an "adress-to" not within our
domain, but we would prefer to have all the mails within.


2.)
We want to send to certain adresses in Brasil automatically an
information that we received their mail - there are sometimes
problems with lokal providers in Brasil. Filter-files like

if $reply_address contains "adress-from"
then mail text "Your message to: ami.klaus@???, subject:
$h_subject:, has been received"
endif

work, but when I tried to join this script with the "forward"-script
above to form 1 script, it did not work. How can this be done?

Please help us, thank You very much, Klaus Behmel