I'd like a check for a specific recipient address, that only accepts mail if 
the envelope recipient
matches the To header, and I want it before queueing so that failed matches can 
return an immediate 550,
instead of trying to generate a bounce message.

The use case: I have a mailman list owner on a remote site, 
[email protected] which is configured
to send to an alias on my own site [email protected]. 
[email protected] is now receiving spam
with To: headers that include random, garbage email addresses.

Legitimate emails to [email protected] will only contain 
[email protected] in the To: header.

It seems like the only way to get what I want is by writing a milter, but I 
wanted to double-check here if
anyone else has any ready-made solutions for this?

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to