Tuneups and Tweaks for the Better Spam-Trap
Postfix Soft Bounces
In parts 1 and 2 of our thrilling "Building an Anti-Virus/Anti-Spam Gateway" series, we covered the basic steps for setting up SpamAssassin and Clam Anti-virus with Postfix. This installment is devoted to testing and tweaking, and creating whitelists in Amavisd-new. Whitelists are essential when you set up any kind of spam filtering: It's the best way to make sure your wanted mail gets through. The first thing to do is configure Postfix for soft bounces. Add this line to/etc/postfix/main.cf:
soft_bounce = yes
This converts 5xx response codes to 4xx. 4xx codes are temporary failures, and the sending server is told to keep trying. 5xx response codes are permanent failures, so messages are rejected and the sending server is told to go away, and to not try again. Then you must watch your Postfix and Amavisd-new logs like the proverbial hawk to see what is happening. (See the "Logging Fun" section.)
For a complete list of SMTP response codes, see RFC 2821.
- Skip Ahead
- 1. Postfix Soft Bounces
- 2. Postfix Soft Bounces
- 3. Postfix Soft Bounces
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.