PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > Gateway configuration to route users to different mail hubs
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Gateway configuration to route users to different mail hubs

Réponse
 
LinkBack Outils de la discussion
Vieux 13/09/2006, 12h13   #1
losheng
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Gateway configuration to route users to different mail hubs

Hi, Fellow Gurus,

Could you guys please give me some advice on how to do the following:
in my company we have two groups of users - one group on an Exchange
mail server, and the other group on sendmail/imap Linux box. What I
want to do is to set up a smtp gateway that automatically relay users
to the correct mailhub, and at the same time relay outgoing emailsfrom
users in the internal network.

What I would like to know is what I do need to setup on the gateway
sendmail to look up which mailhub each user belongs to? I suppose the
brute force way would be to generate a mailertable - which needs to
contain a routing rule for every single username and aliases in the
company domain. Generating this mailertable would probably involve
writing a LDAP script to query the AD, as well as some sed's and awks'
with the /etc/passwd and /etc/aliases on the Linux mailhub. Before I
dive into this, I just throught that you guys might have an more
elegant solution. Any advice would be appreciated!

Thank you very much in advance for any advice!

Cheers,
ls

  Réponse avec citation
Vieux 13/09/2006, 12h19   #2
David F. Skoll
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Gateway configuration to route users to different mail hubs

losheng wrote:

> What I would like to know is what I do need to setup on the gateway
> sendmail to look up which mailhub each user belongs to?


See the ldap_routing feature in Sendmail.

--
David.
  Réponse avec citation
Vieux 13/09/2006, 12h41   #3
Andrzej Adam Filip
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Gateway configuration to route users to different mail hubs

"David F. Skoll" <dfs@roaringpenguin.com> writes:

> losheng wrote:
>
>> What I would like to know is what I do need to setup on the gateway
>> sendmail to look up which mailhub each user belongs to?

>
> See the ldap_routing feature in Sendmail.


Feature ldap_routing *can* be used with hash/btree/dbm maps instead of
LDAP lookups [some postmasters dislike using LDAP in simple cases].

URL(s):
http://www.sendmail.org/m4/ldap_routing.html

--
[pl2en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
  Réponse avec citation
Vieux 13/09/2006, 13h31   #4
losheng
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Gateway configuration to route users to different mail hubs

Andrzej Adam Filip wrote:
> "David F. Skoll" <dfs@roaringpenguin.com> writes:
> >
> > See the ldap_routing feature in Sendmail.

>
> Feature ldap_routing *can* be used with hash/btree/dbm maps instead of
> LDAP lookups [some postmasters dislike using LDAP in simple cases].
>
> URL(s):
> http://www.sendmail.org/m4/ldap_routing.html
>


Hi, David and Andrzej,

Thank you. That looks like the solution I'm looking for. Now I've got
to dive into LDAP. Otherwise, for 100-120 mailboxes, I guess hash maps
might suffice, but at a quick glance, the information on sendmail.org
didn't seem to talk much about that option. I will have do more digging
around then.

Thanks again! Greatly appreciated!

ls

  Réponse avec citation
Vieux 13/09/2006, 13h42   #5
Andrzej Adam Filip
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Gateway configuration to route users to different mail hubs

"losheng" <losheng@gmail.com> writes:
> [...]
> Thank you. That looks like the solution I'm looking for. Now I've got
> to dive into LDAP. Otherwise, for 100-120 mailboxes, I guess hash maps
> might suffice, but at a quick glance, the information on sendmail.org
> didn't seem to talk much about that option. I will have do more digging
> around then.


To get keywords for extented searches for "LDAPless ldap_routing" take a
look at the posts below:
http://groups.google.com/groups?q=au...ting+null+hash

--
[pl2en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h34.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10165 seconds with 13 queries