[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

smtp-policy q-s and wishes



Hi all (especially Matti)!

	I was never looked in spam-blocking filters before this time,
but last week boss ask me to setup filters for his incoming mail and
customers who will ask for it. Unfortunately i've problem in
filter setup for single user.

	I've following smtp-policy.src:

.                       relaycustomer - relaytarget - senderokwithdns +
[0.0.0.0]/0             relaycustomer - relaytarget - senderokwithdns + = _rbl0
_rbl0           rcpt-dns-rbl    spamsources.orbs.org:inputs.orbs.org
_rbl1           test-rcpt-dns-rbl +
boss@mydomain.net	relaytarget + = _rbl1

( btw, including "boss@mydomain.net test-rcpt-dns-rbl + " in
smtp-policy.mx as recomended in manual did't working because of single %s 
"{printf "%s = _relaytarget\n",$1;}" in policy-builder)

But in RCPT TO: phase rbl test did't invoked:

000- Key: 19/USER/'boss@mydomain.net'
000-   Attribute: 4/relaytarget/'+'
000-     accepted!
000- Alias-recursion: 4
000- Key: 8/TAG/'_rbl1'
000-   Attribute: 4/test-rcpt-dns-rbl/'+'
000-     not interested, skipped...
000- Results: rejectnet . freezenet . rejectsource . freezesource . relaycustomer . relaycustnet . relaytarget + acceptifmx . acceptifdns . senderokwithdns . acceptbutfreeze . sendernorelay . test-dns-rbl . message . localdomain . maxinsize . maxoutsize . fulltrustnet . trustrecipients . trust-whoson . rcpt-dns-rbl . test-rcpt-dns-rbl .


Is there way to resolve this task ?

Second question is it possible to implement connection source test
at rcpt to: phase only ? It's wasting a time and bandwidth for quering RBL
against every incoming smtp connection while filtering required for
few customers only.

--
***********************************************
Sergei Fomin, Networks dept. head, SF721-RIPE
Lincom ISP. http://www.lin.com.ua
Kharkov, Ukraine. phone: +380 (572) 194-144