13 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Smart mail relay
FromSent OnAttachments
Bowie BaileyJan 16, 2004 9:02 am 
Jeff JansenJan 16, 2004 10:31 am 
Bowie BaileyJan 16, 2004 11:54 am 
Jeff JansenJan 16, 2004 12:20 pm 
Gerardo GregoryJan 16, 2004 2:50 pm 
Bowie BaileyJan 19, 2004 7:03 am 
Dan MelomedmanJan 19, 2004 10:14 am 
Bowie BaileyJan 19, 2004 12:04 pm 
Dan MelomedmanJan 19, 2004 12:22 pm 
Bowie BaileyJan 19, 2004 2:37 pm 
Dan MelomedmanJan 19, 2004 2:52 pm 
Bowie BaileyJan 20, 2004 7:45 am 
Dan MelomedmanJan 20, 2004 8:34 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Smart mail relayActions...
From:Jeff Jansen (ivb_@sil.org)
Date:Jan 16, 2004 10:31:50 am
List:net.sourceforge.lists.courier-users

-----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

us@example.com: user@mail.example.com

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.

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