Iker Perez de Albeniz wrote:
an other quiestion.. abaut this postfix..

if it's another question, better start another thread. or at least, trim the old conversation.


why sometimes i get an IP an other a client name???

if you mean in access checks, postfix will generally lookup both. first the hostname, then the IP. This should be ok for most purpuses. to only check IPs, use a cidr map.

and if you use a cidr map, do not postmap it.


is ther any way to force
postfix to resolve allways the names to get te ips?

there is no point to resolve the name. The IP is known before the name is! (the name is obtained by resolving the IP). you want cidr.

for example in
uceprotect DNSBls system they give you that script:


1- if this is a "real" mail server, don't use uceprotect. it is unsafe.

2- read about reject_rbl_client and its friends.

3- to download uceprotect lists, use rsync instead of wget:

rsync --times -azv \
 rsync-mirrors.uceprotect.net::RBLDNSD-ALL/dnsbl-2.uceprotect.net \
 .


4- the files need to be converted to a format usable by postfix. something like:

awk '{print $1 " REJECT listed in uceprotect blah blah"}' $file > uceprotect.tmp && mv uceprotect.tmp uceprotect.cidr



Reply via email to