Re: Cyrus IMAP, sendmail and LDAP

2004-07-08 Thread AJ
John, Thanks again, I wound up just using the socket map option w/ cyrus and sendmail, which seems to be working well for me. Apparently, you can't have an aliases file and ldap_routing unless your aliases are in an ldap map. AJ John Arthur wrote: Ok, so I recompiled sendmail w/ LDAP support..

RE: Cyrus IMAP, sendmail and LDAP

2004-07-08 Thread John Arthur
> Ok, so I recompiled sendmail w/ LDAP support.. > Here are the relavent parts of my mc file: > > define(`confLOCAL_MAILER', `cyrusv2') > define(`CYRUSV2_MAILER_ARGS', `FILE /var/cyrus/imap/socket/lmtp') > > # LDAP Related > FEATURE(`ldap_routing') > LDAPROUTE_DOMAIN(`panther.mydomain.com') > defin

RE: Cyrus IMAP, sendmail and LDAP

2004-07-08 Thread Igor Brezac
On Thu, 8 Jul 2004, AJ wrote: > Well, because I read on various lists that if you don't use ldap_routing then > the cyrus mail server can become cluttered with various bounces and spoofed > sender addresses.. This way, sendmail will verify each user before accepting > delivery. I may try the oth

RE: Cyrus IMAP, sendmail and LDAP

2004-07-08 Thread AJ
Well, because I read on various lists that if you don't use ldap_routing then the cyrus mail server can become cluttered with various bounces and spoofed sender addresses.. This way, sendmail will verify each user before accepting delivery. I may try the other alternative via socket map. What do y

RE: Cyrus IMAP, sendmail and LDAP

2004-07-08 Thread Igor Brezac
On Thu, 8 Jul 2004, AJ wrote: > John, > Thanks, everything is up and running now, but I have one final question... > Is it possible for sendmail to check the alias file or virtusertable before > doing an ldap lookup. I am not ready to move these into ldap and I want to > preserve them. If you

RE: Cyrus IMAP, sendmail and LDAP

2004-07-08 Thread Igor Brezac
On Thu, 8 Jul 2004, AJ wrote: > John, > Thanks, everything is up and running now, but I have one final question... > Is it possible for sendmail to check the alias file or virtusertable before > doing an ldap lookup. I am not ready to move these into ldap and I want to > preserve them. If you

RE: Cyrus IMAP, sendmail and LDAP

2004-07-08 Thread AJ
John, Thanks, everything is up and running now, but I have one final question... Is it possible for sendmail to check the alias file or virtusertable before doing an ldap lookup. I am not ready to move these into ldap and I want to preserve them. Thanks again for all of your help. AJ Quoting John

Re: Cyrus IMAP, sendmail and LDAP

2004-07-08 Thread Andrzej Filip
AJ wrote: Ok, so I recompiled sendmail w/ LDAP support.. Here are the relavent parts of my mc file: define(`confLOCAL_MAILER', `cyrusv2') define(`CYRUSV2_MAILER_ARGS', `FILE /var/cyrus/imap/socket/lmtp') # LDAP Related FEATURE(`ldap_routing') LDAPROUTE_DOMAIN(`panther.mydomain.com') define(`confLDA

RE: Cyrus IMAP, sendmail and LDAP

2004-07-08 Thread John Andrews
You will want to have something similar to this for ldap_routing. FEATURE(`ldap_routing', `ldap -1 -T -v mailHost -k (mailLocalAddress=%0)', `ldap -1 -T -v mailRoutingAddress -k (mailRoutingAddress=%0)', `bounce', `preserve')dnl http://www.sendmail.org/m4/ldap_routing.html > # LDAP Related > FEA

RE: Cyrus IMAP, sendmail and LDAP

2004-07-08 Thread AJ
Ok, so I recompiled sendmail w/ LDAP support.. Here are the relavent parts of my mc file: define(`confLOCAL_MAILER', `cyrusv2') define(`CYRUSV2_MAILER_ARGS', `FILE /var/cyrus/imap/socket/lmtp') # LDAP Related FEATURE(`ldap_routing') LDAPROUTE_DOMAIN(`panther.mydomain.com') define(`confLDAP_DEFAULT_

Re: Cyrus IMAP, sendmail and LDAP

2004-07-07 Thread Andrzej Filip
AJ wrote: Thanks. I have reviewed the sendmail page numerous times, but my question is what is the difference between the way I have things set up now, i.e just using cyrus as a local mailer, as opposed to ldap_routing. I am not sure why one would go one way or the other, just trying to clarify

Re: Cyrus IMAP, sendmail and LDAP

2004-07-07 Thread AJ
TECTED] Subject: Re: Cyrus IMAP, sendmail and LDAP Thanks. I have reviewed the sendmail page numerous times, but my question is what is the difference between the way I have things set up now, i.e just using cyrus as a local mailer, as opposed to ldap_routing. I am not sure why one would go one w

RE: Cyrus IMAP, sendmail and LDAP

2004-07-07 Thread John Arthur
> Thanks.. is there any LDAP attribute that will tell sendmail what server > and cyrus mailbox to deliver to. Yes, mailLocalAddress -- Addresses to accept email to (as many as you want) mailRoutingAddress -- The address to send the mail to mailHost -- The host to deliver mail

RE: Cyrus IMAP, sendmail and LDAP

2004-07-07 Thread John Arthur
imarily on the mx servers but also on the cyrus system) it has resulted in a 80% to 90% reduction in mail traffic and server load. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of AJ Sent: Thursday, 8 July 2004 8:21 AM To: [EMAIL PROTECTED] Subject: Re:

Re: Cyrus IMAP, sendmail and LDAP

2004-07-07 Thread Igor Brezac
On Thu, 8 Jul 2004, Andrzej Filip wrote: > AJ wrote: > > My setup is cyrus, sendmail and openldap for all users data. > > The way I have things set up now is sendmail use cyrus local mailer, and > > is not compile w/ LDAP support, so if a mailbox does not exist in cyrus, > > it gets bounced.

Re: Cyrus IMAP, sendmail and LDAP

2004-07-07 Thread AJ
Thanks.. is there any LDAP attribute that will tell sendmail what server and cyrus mailbox to deliver to. It seems that using ldap routing w/ mailLocalAddress and mailHost will cause a loop if everything is all one one server. AJ Wil Cooley wrote: On Wed, 2004-07-07 at 15:51, AJ wrote: Thanks.

Re: Cyrus IMAP, sendmail and LDAP

2004-07-07 Thread Wil Cooley
On Wed, 2004-07-07 at 15:51, AJ wrote: > Thanks. I have reviewed the sendmail page numerous times, but my > question is what is the difference between the way I have things set up > now, i.e just using cyrus as a local mailer, as opposed to ldap_routing. > I am not sure why one would go one way

Re: Cyrus IMAP, sendmail and LDAP

2004-07-07 Thread AJ
Basically, i have sendmail, cyrus and ldap all on the same box, so I am not sure I need ldap routing in sendmail. What do you think? Andrzej Filip wrote: > AJ wrote: > >> My setup is cyrus, sendmail and openldap for all users data. >> The way I have things set up now is sendmail use cyrus local ma

Re: Cyrus IMAP, sendmail and LDAP

2004-07-07 Thread AJ
Thanks. I have reviewed the sendmail page numerous times, but my question is what is the difference between the way I have things set up now, i.e just using cyrus as a local mailer, as opposed to ldap_routing. I am not sure why one would go one way or the other, just trying to clarify. Thanks.

Re: Cyrus IMAP, sendmail and LDAP

2004-07-07 Thread Andrzej Filip
AJ wrote: My setup is cyrus, sendmail and openldap for all users data. The way I have things set up now is sendmail use cyrus local mailer, and is not compile w/ LDAP support, so if a mailbox does not exist in cyrus, it gets bounced. Sendmail does not do user/mailbox lookups via LDAP. This se