[Exim] rewrite rules, uucp bang conversion, and orbs

Pàgina inicial
Delete this message
Reply to this message
Autor: Randy Bush
Data:  
A: exim users
Assumpte: [Exim] rewrite rules, uucp bang conversion, and orbs
my uucp host has become listed in orbs. as i consider orbs a vigilante
idiot, i really don't care and will likely not bother to inform him of
any changes.

but i am concerned about the actual problem. the web page says my host
accepted a mail from: <manawatu.co.nz!orbs-relaytest@???>, and i bet
it did, as i have rewrite rules up the ying yang

    # system!system.domain.net!user@???
    ^([^!]+)!((\w+)(\.\w+)+)!(.*)@psg\.com \
        "${if eq {$1}{$3}{$5@$2}{$2!$5@$1}}"    Tbcrtq


    # system*!user@???
    ^([^!]+)!(.*)@psg\.com        $2@$1        Tbcrtq


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


    # system!system.domain.net!user
    ^([^!]+)!((\w+)(\.\w+)+)!(.*) \
        "${if eq {$1}{$3}{$5@$2}{$2!$5@$1}}"    Tbcrtq


now
  o i don't think i really need all these
  o but i suspect that i want to deal with the address form
       a!b@???
    because it may come in from a uucp client


so, where is the bit about how to restrict which rewrite rules are applied
to what mail? the header flags seem to say which headers (and friends) are
rewritten, not useful. the S flag says do it for smtp, but they seem to be
applied anyway.

i am sure i am missing something obvious as usual. any clues appreciated.

randy