OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: $smtpd_recipient_restrictions = reject_unauth_destination vs. check_relay_domains...
From: Brad Knowles (blkskynet.be)
Date: Fri Feb 11 2000 - 16:44:30 CST


At 12:00 PM -0700 2000/2/11, LaMont Jones wrote:

> Which was why reject_unauth_destination came to be.

        I tried that. It didn't strip off the username portion and try
just the domain, so it rejected the recipient.

> In other words, reject_unauth_destination should do what you want (it's
> what we're using, with lots of domains to relay). Is there a
> documentation problem that needs to be resolved??

        It didn't work for me. I managed to solve the problem by having
my own hash table that I called directly, and included right before
reject_unauth_destination. This works, and is what I am likely to
use in production.

        Now I just need to get it to relay everything that matches any of
those 3500+ domains to our POP server without doing any further
processing (except to convert the hostname into an IP address).

-- 
   These are my opinions and should not be taken as official Skynet policy
  _________________________________________________________________________
|o| Brad Knowles, <blkskynet.be>                 Belgacom Skynet NV/SA |o|
|o| Systems Architect, Mail/News/FTP/Proxy Admin  Rue Col. Bourg, 124   |o|
|o| Phone/Fax: +32-2-706.13.11/726.93.11          B-1140 Brussels       |o|
|o| http://www.skynet.be                          Belgium               |o|
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
     Unix is like a wigwam -- no Gates, no Windows, and an Apache inside.
      Unix is very user-friendly.  It's just picky who its friends are.