[EXIM] Relaying via ! addressing

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Robert Zilbauer
Data:  
Para: exim-users
Assunto: [EXIM] Relaying via ! addressing
I realize the config.samples are just that, samples. However, some of them are
quite useful. One in particular pertains to rewriting incoming UUCP-style
addresses (from C002):

# system*!user
^([^!]+)!(.*)@your\.domain      $2@$1   Tbcrtq


A very handy rewrite rule, but one that seems to open Exim up to mail
relaying. For example, mail sent from a host (that is not allowed to relay) to
an address like "externalhost.com!spamvictim@???" will be
rewritten to "spamvictim@???" and happily sent on its way (or so
it seems).

Is there a way for Exim to remember from which host it received this mail and
for it to check that host against its 'permitted relay hosts' list before
routing the mail back out to the internet?

Or, perhaps there's a better configuration and/or rewrite rule that wouldn't
open relaying via ! addressing in the first place?

Thanks for any suggestions you may have.


-- 
Robert C. Zilbauer, Jr.                          Europa Communications Inc
Primary: zilbauer@???                   Secondary: zilbauer@???


          "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn."





--
*** Exim information can be found at http://www.exim.org/ ***