Afficher un message
Vieux 27/03/2008, 17h13   #4
Andrzej Adam Filip
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sendmail ignores mailertable for some "semilocal" domains

peter pilsl <pilsl@goldfisch.at> wrote:

> Andrzej Adam Filip wrote:
>>> [...]

>>
>> Use the debug command below:
>> echo '3,0 peter@imap.local' | sendmail -d21.12 -d8.20 -d60.5 -bt
>>
>> -d21.12 - tracking R lines processing in sendmail.cf
>> -d8.20 - tracking DNS queries
>> -d60.5 - tracking map lookups
>>

>
> thnx a lot !! this lead me to my problem.
>
> imap.local was a CNAME to phoenix.local and so sendmail "translated"
> imap.local to its canonical hostname phoenix.local, which is in
> class{w} and therefore mailertable does not apply anymore.
>
> changing imap.local to a A-record in my zonefile solved the problem.
>
> thnx a lot
> peter


I would suggest you using such pseudo domains only internally (e.g. in
virtusertable rewrites) with rejecting them in SMTP session.

*.mc file:
LOCAL_CONFIG
CPlocal

access:
# aasumes lack of FEATURE(`relay_hosts_only')
to:local reject
from:local reject


--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/
Horse sense is the thing a horse has which keeps it from betting on people.
-- W. C. Fields
  Réponse avec citation
 
Page generated in 0,04868 seconds with 9 queries