Re[2]: Postfix + Cyrus IMAPd + LDAP

2001-07-23 Thread Kevin J. Menard, Jr.

Hey Haim,


Friday, July 20, 2001, 3:20:27 PM, you wrote:

HD> Hey Kevin,

HD>  I have been working on the same exact thing for the past 2 months. The only
HD> thing is I do not use LDAP.

HD>  I tought about doing the same exact thing, creating mailboxes named like
HD> the email address. I ran into the same problems. I personnally use the
HD> following schema:

HD> [EMAIL PROTECTED] -> username~domain-com

I've opted to do username.domain.com using the HIERSEP distribution.

HD>  In the postfix virtual table I put

HD> domain.com: anything
HD> [EMAIL PROTECTED]: username~domain-com

HD>  And it works like that. I would love to do it differently (go explain the
HD> users that they have to put a "~" instead of an "@" and you'll see how much
HD> fun this is). If you find a way to do, please let us know. Some kind of
HD> howto would be great!

I think I'll be writing a HOWTO for what I've done in the near future.  And
I agree, customers aren't happy :-P  Problem is right now, that the Cyrus
LMTPd splits on '@' for SASL/Kerberos realms or something.  Devdas Bhagat is
working on a virtual domain patch for Cyrus IMAPd, and hopefully this issue
will be addressed.

HD> Haim.


-- 
 Kevin


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Postfix + Cyrus IMAPd + LDAP

2001-07-20 Thread Haim Dimermanas

Hey Kevin,

 I have been working on the same exact thing for the past 2 months. The only
thing is I do not use LDAP.

 I tought about doing the same exact thing, creating mailboxes named like
the email address. I ran into the same problems. I personnally use the
following schema:

[EMAIL PROTECTED] -> username~domain-com

 In the postfix virtual table I put

domain.com: anything
[EMAIL PROTECTED]: username~domain-com

 And it works like that. I would love to do it differently (go explain the
users that they have to put a "~" instead of an "@" and you'll see how much
fun this is). If you find a way to do, please let us know. Some kind of
howto would be great!

Haim.

"Kevin J. Menard, Jr." wrote:
> 
> Hey guys,
> 
> I've emailed the postfix-users list with this, and really haven't gotten
> any replies, so I'm hoping someone here might be able to help.  I see
> there's a lot of people good with this kinda stuff (Craig, Russ, and so
> on) :)
> 
> I'm using the Cyrus-IMAPd 2.0.15-HIERSEP release.  Reason I mention this
> is because with this release, it is possible to use a '.' as a valid
> part of a user name.
> 
> So, I log into cyradm as an admin from /etc/imapd.conf and "localhost>
> cm [EMAIL PROTECTED]" (Note, I have no affiliation with WPI other
> than attending the school.  The email admins there are big sendmail
> buffs.  Just doing this as an illustration) and the mailbox
> "[EMAIL PROTECTED]" is created (in reality, it's "kmenard@wpi^edu", in
> order to preserve on-disk structure).
> 
> Now, I want to set up postfix to query my OpenLDAP 2.0.11 server, and
> get all the info it needs.  I'm using the misc.schema file that comes
> with openldap, which I believe is based off of
> http://www.watersprings.org/pub/id/draft-lachman-laser-ldap-mail-routing-02.txt.
> Most of the postfix docs with ldap, including the LDAP_README, use the
> "maildrop" and "mailacceptinggeneralid" attributes.  I use the
> "mailLocalAddress" and "mailRoutingAddress" attributes.
> 
> So, now my question is, how do I receive mail and then forward it to the
> mailbox by the same name?
> 
> I was thinking have a mailLocalAddress: wpi.edu (to notify postfix of
> the virtual domain) and a mailLocalAddress: [EMAIL PROTECTED] (to notify
> it of the email address), and then a mailRoutingAddress:
> [EMAIL PROTECTED]@localhost.  Alas, I am running into some difficulties.
> 
> Is this even possible?  Or do I need to change my nomenclature from
> cyrus mailboxes such as [EMAIL PROTECTED] to something like
> kmenard.wpi.edu.  I've been recommended to do the latter, but I prefer
> the former, and want to know if it's possible.
> 
> As usual, thanks for the help in advance.
> 
> PS -- Following recent discussion, would it be recommended to use a
> ReiserFS for an entire server?  In this case, following my thread on
> partition schemes, a / and a /home partition.  Thanks again.
> 
> --
>  Kevin
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Postfix + Cyrus IMAPd + LDAP

2001-07-20 Thread Kevin J. Menard, Jr.

Hey guys,

I've emailed the postfix-users list with this, and really haven't gotten
any replies, so I'm hoping someone here might be able to help.  I see
there's a lot of people good with this kinda stuff (Craig, Russ, and so
on) :)

I'm using the Cyrus-IMAPd 2.0.15-HIERSEP release.  Reason I mention this
is because with this release, it is possible to use a '.' as a valid
part of a user name.

So, I log into cyradm as an admin from /etc/imapd.conf and "localhost>
cm [EMAIL PROTECTED]" (Note, I have no affiliation with WPI other
than attending the school.  The email admins there are big sendmail
buffs.  Just doing this as an illustration) and the mailbox
"[EMAIL PROTECTED]" is created (in reality, it's "kmenard@wpi^edu", in
order to preserve on-disk structure).

Now, I want to set up postfix to query my OpenLDAP 2.0.11 server, and
get all the info it needs.  I'm using the misc.schema file that comes
with openldap, which I believe is based off of
http://www.watersprings.org/pub/id/draft-lachman-laser-ldap-mail-routing-02.txt.
Most of the postfix docs with ldap, including the LDAP_README, use the
"maildrop" and "mailacceptinggeneralid" attributes.  I use the
"mailLocalAddress" and "mailRoutingAddress" attributes.

So, now my question is, how do I receive mail and then forward it to the
mailbox by the same name?

I was thinking have a mailLocalAddress: wpi.edu (to notify postfix of
the virtual domain) and a mailLocalAddress: [EMAIL PROTECTED] (to notify
it of the email address), and then a mailRoutingAddress:
[EMAIL PROTECTED]@localhost.  Alas, I am running into some difficulties.

Is this even possible?  Or do I need to change my nomenclature from
cyrus mailboxes such as [EMAIL PROTECTED] to something like
kmenard.wpi.edu.  I've been recommended to do the latter, but I prefer
the former, and want to know if it's possible.

As usual, thanks for the help in advance.

PS -- Following recent discussion, would it be recommended to use a
ReiserFS for an entire server?  In this case, following my thread on
partition schemes, a / and a /home partition.  Thanks again.

-- 
 Kevin


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]