Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17804

Want elegant & efficient spam blocking. Help with Postfix main.cf?

$
0
0

I'm using Postfix/Postgrey/Dovecot on Debian 7. I'm trying to configure Postfix so that I get as little spam as possible without any false positives. I would like to:

  • automatically block/reject email sent to invalid addresses (with the rejection reason "Address lookup failed")
  • send whitelisted domains/addresses to my mailbox
  • send all remaining email through the greylist and/or blacklists

Here's a copy of my restrictions in main.cf: http://pastebin.com/437YT8uh

The hosting company says everything's correct. however, I'm still seeing entries in mail.log showing whitelisted domains/addresses being delayed by Postgrey, and email for invalid addresses (e.g. "nouser@mydomain.com") is still being processed by Postgrey. What do I have out of order that's causing this to happen? (Or what am I misunderstanding?) I'm new to this, so any other suggestions are welcome, too.

Thanks!

submitted by ghyllDev
[link][2 comments]

Viewing all articles
Browse latest Browse all 17804

Trending Articles