On 2010-11-25 Patric Falinder wrote: > Ansgar Wiechers skrev 2010-11-25 09:44: >> You could try something like this: >> >> # /etc/postfix/main.cf >> ... >> smtpd_restriction_classes = backscatter_rbl >> backscatter_rbl = reject_rbl_client ips.backscatterer.org >> smtpd_recipient_restrictions = >> ... >> check_sender_access hash:/etc/postfix/bounce-senders >> ... >> >> # /etc/postfix/bounce-senders >> <> backscatter_rbl >> >> This should check NDNs (or rather, all messages sent with a null sender >> address, which usually are NDNs) against ips.backscatterer.org. Not sure >> if it does work though, as I haven't tested it. >> >>> and then only the address u...@domain.com gets checked at >>> ips.backscatterer.org? >>> >>> And if I would want to check all the mails that comes from<> can I do >>> the same only in the smtpd_sender_restrictions? >> >> I'd recommend doing the latter rather than the former. > > It actually looks like it's working! It checks every message that has > from=<> against ips.backscatterer.org :) > > Thanks a lot for your help!
You're welcome. Regards Ansgar Wiechers -- "Abstractions save us time working, but they don't save us time learning." --Joel Spolsky