sendmail ignoruje aliasy

Miroslav Lachman 000.fbsd at quip.cz
Sat Jul 8 22:40:32 CEST 2006


Petr Rehor wrote:
[...]
> A pak jeste overeni kam se to vlastne posle (pokud aliasy funguji spravne
> ale trabl je nekde jinde):
> 
> reho at charon.rx.cz:/etc/mail> sendmail -bt
> ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
> Enter <ruleset> <address>
> 
>>3,0 prehor at gmail.com
> 
[...]

root at roxy mail/# sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
 > /map aliases root
map_lookup: aliases (root) returns ja at moje.tajna.adresa (0)
 > 3,0 root
canonify           input: root
Canonify2          input: root
Canonify2        returns: root
canonify         returns: root
parse              input: root
Parse0             input: root
Parse0           returns: root
ParseLocal         input: root
ParseLocal       returns: root
Parse1             input: root
Parse1           returns: $# local $: root
parse            returns: $# local $: root
 > 3,0 root at roxy.example.org
canonify           input: root @ roxy . example . org
Canonify2          input: root < @ roxy . example . org >
Canonify2        returns: root < @ example . org . >
canonify         returns: root < @ example . org . >
parse              input: root < @ example . org . >
Parse0             input: root < @ example . org . >
Parse0           returns: root < @ example . org . >
ParseLocal         input: root < @ example . org . >
ParseLocal       returns: root < @ example . org . >
Parse1             input: root < @ example . org . >
Mailertable        input: < example . org > root < @ example . org . >
Mailertable        input: example . < org > root < @ example . org . >
Mailertable      returns: root < @ example . org . >
Mailertable      returns: root < @ example . org . >
MailerToTriple     input: < > root < @ example . org . >
MailerToTriple   returns: root < @ example . org . >
Parse1           returns: $# esmtp $@ example . org . $: root < @ 
example . org . >
parse            returns: $# esmtp $@ example . org . $: root < @ 
example . org . >


Jak to tak vypada, tak je to patrne "legitimni" chovani sendmailu i kdyz 
to dela neco jineho, nez bych si ja pral a patrne je to zpusobeno tim, 
ze domena ma wildcard s CNAME a tak se i pro subdomeny dedi MX zaznam 
(viz mail odeslany pred par minutama).
Lze tohle obejit jinak, nez zmenou DNS? (DNS nespravuji ja a navic bych 
si tak tipnul, ze k nemu bude webove rozhrani, kde moc veci nastavit 
nepujde - krome zruseni toho CNAME)

Miroslav Lachman



More information about the Users-l mailing list