[milters] Archive

Lists Index Date Thread Search

Article: 1907
From: Roberto Tagliaferri - Tosnet srl
Date: 2008-11-06 02:22:58 -0500
Subject: Re: Problem with whitelist

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

Anthony Howe ha scritto:
> Removal...........: milters-request@milter.info?subject=remove
> More information..: http://www.milter.info/#Support
> --------------------------------------------------------
>
> Roberto Tagliaferri - Tosnet srl uttered...:
>   
>> Hi, i've installed libsnert, milter-clamc and milter-link on my system 
>> (postfix) but i've a problem with access:
>> if i put in access.db
>>     
>
> First you want to turn on this option for Postfix for each milter.
>
> # Key lookups must include the terminating NUL byte. Intended for
> # Postfix with postmap(1) generated .db files; experimental.
> #
> +smdb-key-has-nul
>
>
> A complete list of options is available with -help
>
> 	milter-clamc -help >milter-clamc.cf.default
>
>   
>> milter-link-to:abuse@ OK
>> The email go in milter-link (whitout doing any whitelisting), but if i write
>>
>> milter-link-to: !abuse@*!OK
>>
>> work fine
>>
>> The problem is with many address in whitelist...
>> If i insert the complete email
>> milter-link-to:abuse@domain.com OK
>>     
>
> Try increasing the debug logging in one of the milters to see the
> access.db lookups being made.
>
> verbose=info,db
>
>   
>> work fine too
>>
>> my options for milter-link are
>> access-db=/etc/milter-access.db
>> milter-socket=inet:5556@192.168.10.1
>> run-group=vscan
>> run-user=vscan
>> interface-ip=91.102.48.7
>> +smdb-key-has-nul
>> -rfc2821-syntax
>> -reject-percent-relay
>> -reject-rfc2606
>> verbose=info
>> policy=reject
>> uri-bl=multi.surbl.org
>> +test-sub-domains
>>     
>
> This option is not useful with surbl.org as they don't list subdomains.
>
>   
>> -reject-unknown-tld
>> work-dir=/var/tmp
>>     
>
>   
Nov  6 08:15:25 mx milter-clamc[28146]: map="access" 
key=20:"from:robyt@tosnet.it" value=""
Nov  6 08:15:25 mx milter-clamc[28146]: map="access" 
key=14:"from:tosnet.it" value=""
Nov  6 08:15:25 mx milter-clamc[28146]: map="access" key=7:"from:it" 
value=""
Nov  6 08:15:25 mx milter-clamc[28146]: map="access" 
key=23:"milter-clamc-auth:robyt" value="" rc=-2
Nov  6 08:15:25 mx milter-clamc[28146]: map="access" 
key=18:"milter-clamc-auth:" value="" rc=-2
Nov  6 08:15:25 mx milter-clamc[28146]: map="access" 
key=28:"milter-clamc-to:abuse@rtd.it" value=""
Nov  6 08:15:25 mx milter-clamc[28146]: map="access" 
key=22:"milter-clamc-to:rtd.it" value=""
Nov  6 08:15:25 mx milter-clamc[28146]: map="access" 
key=18:"milter-clamc-to:it" value=""
Nov  6 08:15:25 mx milter-clamc[28146]: map="access" 
key=16:"milter-clamc-to:" value="" rc=-2
Nov  6 08:15:25 mx milter-clamc[28146]: map="access" 
key=17:"spam:abuse@rtd.it" value=""
Nov  6 08:15:25 mx milter-clamc[28146]: map="access" 
key=11:"spam:rtd.it" value=""
Nov  6 08:15:25 mx milter-clamc[28146]: map="access" key=7:"spam:it" 
value=""
Nov  6 08:15:25 mx milter-clamc[28146]: map="access" 
key=15:"to:abuse@rtd.it" value=""
Nov  6 08:15:25 mx milter-clamc[28146]: map="access" key=9:"to:rtd.it"

value=""
Nov  6 08:15:25 mx milter-clamc[28146]: map="access" key=5:"to:it"
value=""
Mailserver says:
Nov  6 08:15:25 smtp postfix/cleanup[5426]: 8E9A44D8010: milter-reject: 
END-OF-MESSAGE from net203-182-090.mclink.it[213.203.182.90]: 5.7.1 
message is INFECTED with Eicar-Test-Signature; from=<robyt@tosnet.it> 
to=<abuse@rtd.it> proto=ESMTP helo=<[213.203.182.90]>

in access:
milter-clamc-to:abuse@ OK




-- 
Roberto Tagliaferri
Responsabile Progettazione & Produzione
TosNet s.r.l. - Internet Service Provider
r.tagliaferri@tosnet.it
www.tosnet.it




Lists Index Date Thread Search