Rule Set 3

  • A função deste conjunto de regras é realizar um pre-processamento de modo a retirar do campo From: apenas o endereço eletrônico do recipiente

  • Exemplo:

    S3 # local users made to look like they are from the hub
    R$*<$*<$*>$*>$* $3              denest
    R$*<$+>$*       $2              basic RFC822 parsing
    R$*<>$*         $n              RFC1123 <>
    R$=V            $@ $1 @ $w      Nao altera estes usuarios
    R$=V@$=w        $@ $1 @ $w
    R$-             $@ $1 @ $H      user => user@hub
    R$+@$+          $: $1 @ $[$2$]  canonify the hostname
    R$+@$=w         $@ $1 @ $H      user@thishost => user@hub
    R$=w!$+         $@ $2 @ $H      thishost!user => user@hub
    R$+%$=w         $@ $>3 $1 @ $2  handle % hack thishost
    R$*             $@ $1           default, unchanged
    
    
  • Teste das regras:

  • # /usr/lib/sendmail -bt
    ADDRESS TEST MODE
    [Note: No initial ruleset 3 call]
    Enter <ruleset> <address>
    >
    #/usr/lib/sendmail -d21.12 -bt
    ADDRESS TEST MODE [Note: No initial ruleset 3 call]
    Enter <ruleset> <address>

    | Anterior | | Próxima | | Sumário | | Notas |

    SENDMAIL
    Página 17