[exim] Receiving and forwarding based on the recpipent

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Kevin Colagio
Datum:  
To: exim users
Betreff: [exim] Receiving and forwarding based on the recpipent

We would like to setup the mail so that anything addressed to:
rt-*@???
is sent over the the system that is managing the RT service. I've tried
a few different things, but nothing seems to work properly. The one
sticking point I keep hitting is that the "rt-" is stripped off, and it
needs to remain intact.

I tried a simple filter, but it never seems to get that far...the mail
is rejected before it gets there.

Can someone give me a hand on figuring it out?

Thanks!

Here are a few of the things I've tried (that didn't work).

acl_check_rcpt:
accept  local_parts   = rt-*
         domains       = +local_domains


Router:
rt_users:
driver = accept
domains = +local_domains
local_part_prefix = rt-
transport = rt_smtp


Transport:
rt_smtp:
driver = smtp
hosts = status.geneseo.edu


Filter:
rt-*@??? $1@??? h


-- 
    Kevin Colagio: Systems Analyst, Reef Geek, and Perpetual Student
    Computing and Information Technology, SUNY at Geneseo, South 124
    colagio@???    (585) 245-5577     http://www.geneseo.edu
Experience is a harsh teacher, the tests are first, the lessons follow.