Bryan Phinney grabbed a keyboard and wrote:
>
> Not sure if this is the right list for this type of question but I will
> plunge in anyway.  I am running Postfix 2.04 on my Linux system and using
> Fetchmail to pull down mail from my ISP and inject it into Postfix.  I
> have local aliases setup for all of the ISP accounts so the mail comes in
> from the ISP mail address and is then routed to the local address.
>
> What I am trying to do is to get Postfix to use RBL checks to bounce mail
> when it comes from a DNSBL listed address.  I am currently using Procmail
> and Spamassassin for filtering but the DNSBL filters in Spamassassin don't
> seem to be working at all since mail is never tagged when it comes from a
> DNSBL listed spammer.  I suspect that it is seeing the headers from my
> ISP as the originating source due to Fetchmail and is therefore deciding
> that blocklisted spam is actually from my ISP and thus okay.
>
> I also suspect that the Postfix RBL client restrictions are failing for
> much the same reason, it reads the ISP headers and decides that the mail
> is okay.
>
> Has anyone on the list implemented a solution that enables DNSBL filtering
> from Postfix when mail is injected with Fetchmail, or even some method of
> directly checking DNSBL from Procmail and rejecting the mail there?

I don't know if there's anything that will do what you want, but your
assumption here is correct - a DNSBL lookup is going to take place against
the IP address of the site connecting to you to send you mail.  Anything
other than that, it doesn't know.  When fetchmail is running, it connects
to the localhost SMTP port to let your MTA handle the final delivery - so
the only connection that is happening at that point is from your own
address.

Hopefully, someone out there will know of something that can figure out
what Received: line to check in order to do a lookup.

         --Dave


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to