6 messages in net.sourceforge.lists.courier-usersRe: [courier-users] courier as smtp s...
FromSent OnAttachments
Aidas KasparasJan 31, 2006 7:25 am 
Gordon MessmerJan 31, 2006 10:02 am 
Aidas KasparasJan 31, 2006 10:35 am 
Jerry AmundsonJan 31, 2006 10:51 am 
Gordon MessmerJan 31, 2006 11:08 am 
Sam VarshavchikJan 31, 2006 3:37 pm 
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] courier as smtp smarthost for two sites with ldapActions...
From:Aidas Kasparas (a.ka@gmc.lt)
Date:Jan 31, 2006 10:35:42 am
List:net.sourceforge.lists.courier-users

Gordon Messmer wrote:

Aidas Kasparas wrote:

I use curier as a smarthost (antivirus scanner) for two sites using Lotus Notes. Both provide user lists via LDAP, but have different directories for political reasons. Email domains are different too. How can I check that user is present in these directories before accepting mail over smtp from not trusted senders?

I assume that, by "smarthost", you mean "mx server". One way that you could do this would be to write a script which pulls all of the valid users out of the two directories, and creates an alias file mapping their email address to their destinations. You can then configure the two domains as "hosteddomains". Unless you've configured a catch-all, courier will, then, only accept mail for addresses present in the alias file.

Thank you, Gordon, for idea.

But it has two problems: 1) synchronization of user lists -- if admin adds/deletes users from lotus box, new users will be not recognized until synchronization and no longer users will still be recognized... 2) I will have to add something to the domain in the aliases I create, as otherwise they will not be sent to the right host for final delivery. I would like to avoid that extra part.

Any better ideas?