I am working on a system to process email for a particular domain.  Mail for this domain will come to my main mailserver for virus scanning and then be sent along to another server for processing (via esmtproutes).
 
I would like to be able to reject invalid users from my mailserver, but I don't want to add hundreds of users and .courier files.  I was considering writing a simple perlfilter to check the usernames of any incoming email to this domain.  Can I reject individual recipients from a filter?  As I understand it, the filter just reports a single SMTP reply, so how can I indicate that I have accepted one address and rejected another?
 
Is there a better way to do this?
 
Thanks,
Bowie
 
 

Reply via email to