On 9/9/10 1:41 PM, Wietse Venema wrote: > pickup(8) and smtpd(8) produce Received: headers. They write the > message to cleanup(8) which implements header checks.
On 9/9/10 1:52 PM, Victor Duchovni wrote: > This message is handed off a proxy filter, not cleanup, so the > cleanup_service_name has no effect. > > This header has no "id <queue-id>" clause, further evidence that cleanup > is not involved. You need to check for this header further downstream, > in the smtpd/cleanup pair that come after the pre-queue filter. To tie up the thread; thank you Viktor and Wietse! Exactly what I needed to know. I told amavisd-new to hand off to a different "internal" handler than the one used for general mail, and configured that one with the separate cleanup_service_name and such. Works like a charm, and now a user isn't penalized with high spam scores just because they connected from a spam-laden ISP - by us, or another scanner further down the relay. -- Steve Huston - W2SRH - Unix Sysadmin, Dept. of Astrophysical Sciences Princeton University | ICBM Address: 40.346525 -74.651285 206 Peyton Hall |"On my ship, the Rocinante, wheeling through Princeton, NJ 08544 | the galaxies; headed for the heart of Cygnus, (267) 793-0852 | headlong into mystery." -Rush, 'Cygnus X-1'