JonB wrote:
> On Monday, 11 January 2016 12:10:03 UTC, Claus Aßmann wrote:
> rewrite: ruleset Canonify2 input: HeaderFrom_Name < @ dodgydomain . com >
> rewrite: RHS $&{daemon_flags} => "b h"
> rewritten as: b h $| HeaderFrom_Name < @ dodgydomain . com >
> getcanonname(
ellgens.com), trying dns
> ... much DNS chatter logged and timeouts ensue ...
Well, obfuscating the data is NOT helpful.
Moreover, you messed it up (see above)
> This is with "define(`nocanonify',`canonify_hosts')" in the .mc (compiled to active .cf) file.
If that's what you did then it's "obvious" what's wrong...
See the earlier posting and the fine documentation.
If you actually used the FEATURE() then compare the entire
Canonify2
ruleset from your cf file with the rules shown below
or run
echo 'Canonify2 x<@
ellgens.com>' | sendmail -bt -d21.4
and check what's going on...
SCanonify2=96
# handle special cases for local names
R$* < @ localhost > $* $: $1 < @ $j . > $2 no domain at all
R$* < @ localhost . $m > $* $: $1 < @ $j . > $2 local domain
R$* < @ localhost . UUCP > $* $: $1 < @ $j . > $2 .UUCP domain
# check for IPv4/IPv6 domain literal
R$* < @ [ $+ ] > $* $: $1 < @@ [ $2 ] > $3 mark [addr]
R$* < @@ $=w > $* $: $1 < @ $j . > $3 self-literal
R$* < @@ $+ > $* $@ $1 < @ $2 > $3 canon IP addr
# if really UUCP, handle it immediately
# hostnames ending in class P are always canonical
R$* < @ $* $=P > $* $: $1 < @ $2 $3 . > $4
R$* < @ $* $~P > $* $: $&{daemon_flags} $| $1 < @ $2 $3 > $4
# pass to name server to make hostname canonical if in class {Canonify}
R$* $| $* < @ $* $={Canonify} > $* $: $2 < @ $[ $3 $4 $] > $5
# pass to name server to make hostname canonical if requested
R$* c $* $| $* < @ $* > $* $: $3 < @ $[ $4 $] > $5
R$* $| $* < @ $+ . > $* $: $2 < @ $3 . > $4
# add a trailing dot to qualified hostnames so other rules will work
R$* $| $* < @ $+.$+ > $* $: $2 < @ $3.$4 . > $5
# lookup unqualified hostnames
R$* $| $* < @ $* > $* $: $2 < @ $[ $3 $] > $4
R$* $| $* $: $2
# local host aliases and pseudo-domains are always canonical
R$* < @ $=w > $* $: $1 < @ $2 . > $3
R$* < @ $=M > $* $: $1 < @ $2 . > $3
R$* < @ $* . . > $* $1 < @ $2 . > $3