[exim] routing based on IP that submitted message

Etusivu
Poista viesti
Vastaa
Lähettäjä: Dave Lugo
Päiväys:  
Vastaanottaja: exim-users
Aihe: [exim] routing based on IP that submitted message
Hi,

I have a requirement to have all mail that exim
accepts from a specified set of IPs, sent to a
specific remote email address.

I think what I need is a redirect router with a
condition to check the connecting IP against a
file, and then grab the dest email from the file.

File would be something like:

1.2.3.0        user@???
2.3.4.0/24    user2@???


Has anyone done this already? I'll probably dig
through docs more this afternoon, hoping someone
has a config snippet they can paste that I can
reuse.

Thanks!

Dave

-- 
--------------------------------------------------------
  Dave Lugo     dlugo@???      No spam, thanks.
  Are you the police?  . . .  No ma'am, we're sysadmins.
--------------------------------------------------------