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
I'd suggest that instead of using esmtproutes, you write a script to build an alias file that directs all of your users' addresses to your internal system.
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?
Not from a courierfilter, no. Those filters are called only once, after the body has come through. You could remove invalid users from the control file, but your spam volume will probably increase rapidly since you accept all mail, regardless of the validity of the user part of the address.
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
