[milters] Archive

Lists Index Date Thread Search

Article: 1772
From: Anthony Howe
Date: 2007-10-07 13:18:06 -0400
Subject: Re: What am I doing wrong in access.db?

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

Jim Hermann - UUN Hostmaster wrote:
>> -----Original Message-----
>>
>> Jim Hermann - UUN Hostmaster wrote:
>>> Why doesn't this cause milter-spiff to check email from localhost?
>> Because in the case of milter-spiff:
>>
>> a) blacklisting has no effect;
>>
>> b) 127.0.0.1 is hard coded to always be white listed. If you want to 
>> check localhost then change line 254:
>>
>> 	access = smfAccessHost(&data->work, MILTER_NAME "-connect:", 
>> client_name, data->client_addr, SMDB_ACCESS_OK);
>>
>>
>> to
>>
>> 	access = smfAccessHost(&data->work, MILTER_NAME "-connect:", 
>> client_name, data->client_addr, SMDB_ACCESS_UNKNOWN);
> 
> Thanks.
> 
> Does this work for milter-link also?  I had a similar problem with getting
> milter-link to check internal email.

Yes. Similar logic is used in filterOpen() of most of my milters.


-- 
Anthony C Howe          Skype: SirWumpus                    SnertSoft
+33 6 11 89 73 78         ICQ: 7116561          BarricadeMX & Milters
http://www.snert.com/                 
     http://www.snertsoft.com/

Lists Index Date Thread Search