Victor Sudakov wrote:
> > >I have the following rule in local.cf:
> > >whitelist_from_rcvd *@dtdm.tomsk.ru dtdm.tomsk.ru
> > >
> > >Please help me figure out why the rule does not work. Below is a sample
> > >message where I think the rule should work but actually does not.

> >
> > [snip]
> >
> > >Received: from mail.sibptus.tomsk.ru [212.73.124.5]
> > > by admin.sibptus.tomsk.ru with POP3 (fetchmail-6.3.8)
> > > for (single-drop); Tue, 08 Apr 2008
> > >15:08:02 +0700 (OMSST)
> > >Received: from gw.dtdm.tomsk.ru ([213.183.100.11] verified)
> > > by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.13)
> > > with ESMTPS id 9838562 for vas@mpeks.tomsk.su; Tue, 08 Apr 2008
> > >15:05:54 +0700

> >
> > That rule does not match the host in the Received: header. The host
> > shows up as an IP address.

>
> No, the host shows up as "gw.dtdm.tomsk.ru" which matches "dtdm.tomsk.ru".


The debug output is here:
http://vas.tomsk.ru/sa.txt

--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
sip:sudakov@sibptus.tomsk.ru