> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Gary V > Sent: Saturday, 23 July 2005 8:04 a.m. > To: [email protected] > Subject: Re: [AMaViS-user] FINAL DECISION: Will our machine handle it > > I'm sure you are aware of this Matt, but on your 2 gateway servers, > you MUST reject mail to nonexistent users. I don't know if or how you > are doing this now, but I've heard that use of a relay_recipients map > may be more efficient than LDAP queries, but of course this means that > programs have to be written to extract email addresses from LDAP > and load them into the map(s), and of course, this would have to > automatically happen on a regular basis.
I completely agree with Gary. Rejecting e-mail for non existent users *at the front-end* is a MUST. There are multiple ways to do it. Using a relay_recipients (or virtual_alias_maps, if you have virtual domains) map will be, of course, more efficient because postfix just checks a local hash table so it's very, very fast. LDAP is easier because both servers will contact only one directory, however, you now have a single point of failure if your LDAP server goes down (that's why I decided to go with local host tables on our system here, if you saw my presentation). Now, that all a side, time to lookup a user is close to zero comparing to the time you will spend on AV and anti-spam checks, so I wouldn't worry about this at all. Cheers, Bojan ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
