-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 16 January 2004 5:01 pm, Bowie Bailey wrote:
> Is it possible to use Courier to create a 'smart' mail relay?
>
> What I want is a mail server that can reject mail to non-existent users
> based on it's userdb, but then send the good mail along to another
> server for delivery.
>
> From what I can tell by reading the man pages, I can't use esmtproutes
> to send the mail to another server if the mail is local, but if the mail
> is not local, then it won't check the usernames.  Is there any way
> around this?

Not sure about this but what about using aliases?  So let's say that you are 
"relay.example.com" and you are the primary MX for "example.com" and you want 
to send the mail onto mail.example.com.  So you would put "example.com" into 
locals and esmtpacceptmailfor and then create aliases like

[EMAIL PROTECTED]:  [EMAIL PROTECTED]

Now you have no accounts on your system but you accept mail for example.com if 
there's a valid alias which will in turn ship it out to mail.example.com.

As I said, I haven't thought this through really well but it seems to me that 
this would work.

Jeff Jansen
IVB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFACC35m70UT1BIHdYRAnzpAJ9thhff1p4jJW/75IO7xHo3TANGIQCcDrGM
aE0cj5KwsdUbG2USQldatr0=
=kEZN
-----END PGP SIGNATURE-----



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to