16 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Setting up SSL re...
FromSent OnAttachments
Peter William LountJan 19, 2003 3:22 am 
Peter William LountJan 19, 2003 3:47 am 
Anand BuddhdevJan 19, 2003 4:33 am 
Peter William LountJan 19, 2003 6:02 am 
Peter William LountJan 19, 2003 6:35 am 
PaeddyJan 19, 2003 4:14 pm 
Brian CandlerJan 20, 2003 1:45 am 
Peter William LountJan 20, 2003 2:11 am 
Brian CandlerJan 20, 2003 3:19 am 
Michael LeoneJan 20, 2003 6:32 am 
Brian CandlerJan 20, 2003 9:16 am 
Peter William LountJan 20, 2003 9:18 am 
Sam VarshavchikJan 20, 2003 10:02 am 
Michael LeoneJan 20, 2003 11:11 am 
Brian CandlerJan 20, 2003 11:31 am 
Peter William LountJan 24, 2003 10:07 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] Setting up SSL relaying?Actions...
From:Brian Candler (B.Ca@pobox.com)
Date:Jan 20, 2003 1:45:40 am
List:net.sourceforge.lists.courier-users

On Sun, Jan 19, 2003 at 01:33:22PM +0100, Anand Buddhdev wrote:

I'm wondering how to configure courier to accept esmtp "relaying" connections ONLY from those clients that login via SSL using their user id and password. I've been studying the documentation in depth and can't find any clear directions on how to do this.

OT: exim can implement the policy you require.

acl_check_rcpt: ... # Allow relaying from AUTH users, but only if they have connected # using STARTTLS

accept authenticated = * encrypted = *

That will reject relaying with a 550 at RCPT time. Even better, you can refuse the AUTH command itself, if the connection is not running under TLS at the point when it is issued. Example: http://www.exim.org/exim-html-4.10/doc/html/spec_37.html#SECT37.4

That doesn't mean you have to abandon Courier MTA though. You could set up a separate server for outgoing relaying. In fact, it's an extremely good idea to set up separate servers or server clusters for "outbound" and "inbound" mail anyway.

Apart from increased scalability, you get the important advantage that if one of your customers moves their MX records to a different provider without telling you, mail relayed via your "outbound" cluster will still be delivered correctly.

Regards,

Brian.