Re: LDAP Virtual Hosting (Multiple Domains)

2001-11-26 Thread Mihai Amariutei

Some work in this direction have been done by Atif Ghaffar (
http://www.ispman.org/ ).
His solution is to externaly config stock Cyrus instalations from data in
LDAP.
Making Cyrus LDAP aware by itsef will be nice.

Mihai
- Original Message -
From: "James Spooner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 25, 2001 12:28 PM
Subject: LDAP Virtual Hosting (Multiple Domains)


> Hi all.
>
> I'm currently evaluating the possibility of modifying Cyrus to be fully
LDAP
> driven, with multiple domain support (say domains/d/dom.com/users/j/james/
> type dirs etc) and login names like [EMAIL PROTECTED] for POP3 and IMAP.
>
> Also negating the need to use cyradm to create mail directorys would be a
> plus, building them on-demand from the LDAP tree on delivery, centralising
> all mail administration to the LDAP tree.
>
>
> What work has been done in this area please specify URLs to patches
> pertaining to this matter
>
>
> Thanks
>
>
> James Spooner
>
>
>




Re: problem compiling cyrus-imapd-2.0.16 w/ cyrus-sasl-1.5.27

2001-11-26 Thread Leena Heino

On Mon, 26 Nov 2001, Thomas C. Meggs wrote:

>
> So no suggestions on this? =/ I'm definitely stuck.
>
Here's what I did. I did not have need fo kerberos support but the system
was Solaris with OpenSSL in /usr/local/ssl and BerkeleyDB in
/usr/local/BerkeleyDB.3.3

SASL-library:
cd cyrus-sasl-1.5.27
env LIBS="-lpam -lxnet" \
CPPFLAGS="-I/usr/local/BerkeleyDB.3.3/include" \
LDFLAGS="-R/usr/local/BerkeleyDB.3.3/lib -L/usr/local/BerkeleyDB.3.3/lib"
\
./configure \
--prefix=/usr/local \
--enable-static \
--enable-shared \
--with-pam \
--with-saslauthd=/var/state/saslauthd1 \
--with-rc4=/usr/local/ssl \
--with-des=/usr/local/ssl \
--disable-krb4 \
--disable-gssapi
make

the installation with root account:
make install
chmod 755 /usr/local/lib/sasl

Cyrus IMAP 2.0.16:
env LIBS="-lpam" \
CPPFLAGS="-I/usr/local/BerkeleyDB.3.3/include" \
LDFLAGS="-R/usr/local/BerkeleyDB.3.3/lib -L/usr/local/BerkeleyDB.3.3/lib"
\
./configure \
--with-cyrus-prefix=/usr/local/cyrus \
--with-statedir=/var/state/saslauthd \
--with-dbdir=/usr/local/BerkeleyDB.3.3 \
--with-perl=perl \
--with-tcl=/usr/local \
--with-auth=unix \
--without-krb \
--with-openssl=/usr/local/ssl \
--without-zephyr \
--without-notify \
--with-idle=idled \
--enable-murder \
--enable-netscapehack \
--with-sasl=/usr/local \
--without-libwrap \
--without-ucdsnmp
make depend

Before the real compile I had to change few lib paths in perl related
makefiles. add few library searchpath to makefiles in the line:
'LIBS'  => something
add a few dirs to searchpath:
'LIBS'  => ["-L/usr/local/BerkeleyDB.3.3/lib
-R/usr/local/BerkeleyDB.3.3 -ldb-3.3 -L/usr/local/ssl/lib and here is the
rest of the original line.

These are the files:
imap/Makefile.PL sieve/acap/Makefile.PL sieve/managesieve/Makefile.PL

After those fixes give the command:
make all
and proceed as usual.

> --tom
>
> -
> Thomas C. Meggs
> Assistant UNIX System Administrator
> Physics and Astronomy Network Infrastructure and Computing
> UNC Chapel Hill
> http://www.panic.unc.edu/
>
> Regards,
> Tom
>

-- 
  -- Leena Heino ([EMAIL PROTECTED])




Re: LDAP patch for sasl 1.5.27?

2001-11-26 Thread Mika Iisakkila

Tarjei Huse wrote:
> Hi, has anyone come around to updating the sasl-ldap patch to 1.5.27?

Which one of them? :-) I just used the "IP-Plus" patch for 1.5.21
that is floating around (can't even remember where I got it).
The patch doesn't work automatically anymore, but it is so simple
that doing it manually only takes a couple of minutes.

> Also: Please, please, please include ldap support in the final version of Sasl
> V2!!

Seconded.

--mika



install Docs

2001-11-26 Thread Kiarna Boyd

Good Morning!

I hope every one had a good Thanks Giving

I am trying to gather cyrus docs, listed below are the ones I know of and use.
If anyone has other favorites, could you please email them to me?
Thanks!

-Kiarna


http://shamrock.med.nyu.edu/cyrus/install.html

http://andrew2.andrew.cmu.edu/cyrus/imapd/install-FAQ




Re: forward mail already in mailbox

2001-11-26 Thread Joe Ellis

im sorry i havent replied to this thread.  its the holiday's :)

i had to setup a mail account to forward to another server.  there was 
mail in the mailbox already.  i wanted to know how to send that mail to 
the other server.

in any case, i just had the user pop the mailbox one last time to clean 
it out.

Tarjei Huse wrote:

> If it is only the inbox you want to move around, a blast all method is to 
> use pop.
> 
> If you got another imap mailbox you want a copy of the mail to go to, 
> simply set up a client that coneckts to that mailbox and a POP3 conection 
> to the other inbox you whant the mail from. If you whan tcopy only, make 
> sure mails are not deleted from the first inbox.
> 
> 
> 
> Tarjei
> 
> 
>>Would bw fine, if you could specify your question a little bit. 
>>
>>e.g.The mail you want to forward is already in an IMAP-Mailbox? What
>>dou you want to POP?
>>What is your configuration like? e.g which MTA and which MDA do you
>>use?
>>
>>Mail which is already in a mailbox is delivered. Of course you can
>>specify rules, sorting Mail before Delivery, forwarding a CC to another
>>Mailbox.
>>
>>Joe Ellis wrote:
>>
>>>is there anyway i can forward mail that is already in a mailbox?
>>>
>>>there are a few people that want to forward thier mail to another
>>>mailserver.  is there a way to do this, or do they have to pop thier
>>>account one last time?
>>>
>>>--
>>>Joe Ellis
>>>http://www.lithodyne.net
>>>
>>-- 
>>Bernd Weber
>>Medienpartner Tel0 22 07/911 377
>>Kommunikationsgesellschaft mbH
>>Baerbroich 35 Mobil  0177-3627616
>>51429 Bergisch-Gladbach   e-mail:[EMAIL PROTECTED]
>>
> 
> 
> 
> Tarjei Huse
> 920 63 413
> 
> 
> 
> 


-- 
Joe Ellis
http://www.lithodyne.net




Re: install Docs

2001-11-26 Thread Tarjei Huse

cyrus-utils.sf.net/faq might help. :) 

Kiarna Boyd wrote:
> 
> Good Morning!
> 
> I hope every one had a good Thanks Giving
> 
> I am trying to gather cyrus docs, listed below are the ones I know of and use.
> If anyone has other favorites, could you please email them to me?
> Thanks!
> 
> -Kiarna
> 
> http://shamrock.med.nyu.edu/cyrus/install.html
> 
> http://andrew2.andrew.cmu.edu/cyrus/imapd/install-FAQ



imap pam md5 passwords

2001-11-26 Thread Harry Hoffman

Hey All,
  I've been trying to figure this out for sometime. Currently I'm using
plaintext logins to the cyrus-imap (2.0.9) server. I would like to make
md5 passwords work. I'm using openldap to store the user/password info
and using PAM to have cyrus validate against the LDAP server but
if I create a /etc/sasldb then all forms of authentication fail, including
plaintext.
  Can anyone point me in the right direction. Sorry if this doesn't make
sense, I still don't fully understand how everything is supposed to fit
together.

Regards,
Harry




[no subject]

2001-11-26 Thread Kip Cranford


I'm in the process of testing a Cyrus IMAP installation for rollout at
my company.

So far, I've had little difficulty with it -- in fact, it's up and I'm
using both the IMAP and POP servers without any problems.

Howerver, I'm now trying to test the quota functionality, and am running
into some problems.

I've set "quotawarn: 90" in imapd.conf, and used cyradm to set my quota
(on the user. mailbox) to a relatively low value.  I watched
my mailbox fill up to about 95%.  I then launched MS Outlook (2000) and
connected to the IMAP server...  and didn't see any warning message.  I
was under the impression from the documentation that the server should
have been generating warning messages in this case.  I also did not see
anything in my imap log files.

Is this a client issue?  Does Outlook not communicate correctly with
Cyrus IMAP?  Or am I missing something simple?

Thanks for any informtion,  

--kip

p.s.

Here's the capabilities list from the server:

[cyrus@srvr4 cyrus]$ imtest -p 143 -m login localhost
C: C01 CAPABILITY
S: * OK srvr4 Cyrus IMAP4 v2.0.16 server ready
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID
NO_ATOMIC_RENAME UNSELECT MULTIAPPEND
SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=DIGEST-MD5 AUTH=CRAM-MD5
S: C01 OK Completed

--kip



where do full mailboxes send messages

2001-11-26 Thread Andreas Freyvogel

Good Day all!

I have a quick question: if a users mailbox is full what does the system do
with that message? As far as I am able to see it does not send a response to
the sender saying it cannot be delivered, but it does not keep it either.

Thank you in advance for any assistance or thoughts.

-Andreas




Re:

2001-11-26 Thread Ken Murchison

Try running 'imtest' again to connect/login and then do a

. EXAMINE inbox

and see if you get an ALERT response.  If so, then the server is
behaving correctly.  9 times out of 10 these issues are the client not
displaying ALERTs.

Ken


Kip Cranford wrote:
> 
> I'm in the process of testing a Cyrus IMAP installation for rollout at
> my company.
> 
> So far, I've had little difficulty with it -- in fact, it's up and I'm
> using both the IMAP and POP servers without any problems.
> 
> Howerver, I'm now trying to test the quota functionality, and am running
> into some problems.
> 
> I've set "quotawarn: 90" in imapd.conf, and used cyradm to set my quota
> (on the user. mailbox) to a relatively low value.  I watched
> my mailbox fill up to about 95%.  I then launched MS Outlook (2000) and
> connected to the IMAP server...  and didn't see any warning message.  I
> was under the impression from the documentation that the server should
> have been generating warning messages in this case.  I also did not see
> anything in my imap log files.
> 
> Is this a client issue?  Does Outlook not communicate correctly with
> Cyrus IMAP?  Or am I missing something simple?
> 
> Thanks for any informtion,
> 
> --kip
> 
> p.s.
> 
> Here's the capabilities list from the server:
> 
> [cyrus@srvr4 cyrus]$ imtest -p 143 -m login localhost
> C: C01 CAPABILITY
> S: * OK srvr4 Cyrus IMAP4 v2.0.16 server ready
> S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID
> NO_ATOMIC_RENAME UNSELECT MULTIAPPEND
> SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=DIGEST-MD5 AUTH=CRAM-MD5
> S: C01 OK Completed
> 
> --kip

-- 
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp



Re: where do full mailboxes send messages

2001-11-26 Thread Ken Murchison



Andreas Freyvogel wrote:
> 
> Good Day all!
> 
> I have a quick question: if a users mailbox is full what does the system do
> with that message?

Assuming you are delivering via LMTP, it refuses delivery with a 452
response (temporary failure).

>As far as I am able to see it does not send a response to
> the sender saying it cannot be delivered, but it does not keep it either.

These are both MTA issues.  A stock sendmail config will queue the
message and continue to attempt delivery for a specified period (7
days?) before it finally gives up and sends a response to the sender.

Ken
-- 
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp



Re:

2001-11-26 Thread Roland Pope

Its a problem with M$ Outlook. If you test with Outlook Express, it should work. Full 
Outlook doesn't implement the
IMAP RFC fully and fails to show IMAP ALERTS to the user.

Roland

---Original Message---
From: Kip Cranford
Date: Tue 27/11/01 08:52
To: [EMAIL PROTECTED]
Subject: 


I'm in the process of testing a Cyrus IMAP installation for rollout at
my company.

So far, I've had little difficulty with it -- in fact, it's up and I'm
using both the IMAP and POP servers without any problems.

Howerver, I'm now trying to test the quota functionality, and am running
into some problems.

I've set "quotawarn: 90" in imapd.conf, and used cyradm to set my quota
(on the user. mailbox) to a relatively low value.  I watched
my mailbox fill up to about 95%.  I then launched MS Outlook (2000) and
connected to the IMAP server...  and didn't see any warning message.  I
was under the impression from the documentation that the server should
have been generating warning messages in this case.  I also did not see
anything in my imap log files.

Is this a client issue?  Does Outlook not communicate correctly with
Cyrus IMAP?  Or am I missing something simple?

Thanks for any informtion,  

--kip

p.s.

Here's the capabilities list from the server:

[cyrus@srvr4 cyrus]$ imtest -p 143 -m login localhost
C: C01 CAPABILITY
S: * OK srvr4 Cyrus IMAP4 v2.0.16 server ready
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID
NO_ATOMIC_RENAME UNSELECT MULTIAPPEND
SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=DIGEST-MD5 AUTH=CRAM-MD5
S: C01 OK Completed

--kip




RE: where do full mailboxes send messages

2001-11-26 Thread Kiarna Boyd

Depends what is under the cyrus.
My sendmail queues the message for several days.
It will email me, the postmaster, saying the message could not be delivered.
It will try redelivering it based on what the queue is set to.
Does that help?

-Kiarna

-Original Message-
From:   Andreas Freyvogel [SMTP:[EMAIL PROTECTED]]
Sent:   Monday, November 26, 2001 1:14 PM
To: [EMAIL PROTECTED]
Subject:where do full mailboxes send messages

Good Day all!

I have a quick question: if a users mailbox is full what does the system do
with that message? As far as I am able to see it does not send a response to
the sender saying it cannot be delivered, but it does not keep it either.

Thank you in advance for any assistance or thoughts.

-Andreas




Re:

2001-11-26 Thread Ken Murchison



Kip Cranford wrote:
> 
> On: Mon, 26 Nov 2001 14:49:45 EST Ken Murchison wrote:
> 
> >Try running 'imtest' again to connect/login and then do a
> >
> >. EXAMINE inbox
> >
> >and see if you get an ALERT response.  If so, then the server is
> >behaving correctly.  9 times out of 10 these issues are the client not
> >displaying ALERTs.
> >
> 
> Thanks for the quick response.
> 
> I used imtest and received the following:
> 
> . examine inbox
> * FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
> * OK [PERMANENTFLAGS ()]
> * 8 EXISTS
> * 0 RECENT
> * OK [UNSEEN 2]
> * OK [UIDVALIDITY 1005855686]
> * OK [UIDNEXT 1544]
> . OK [READ-ONLY] Completed
> 
> No ALERTS
> 
> However, I downloaded Netscape's mail client and tried it, and _did_
> receive a popup warning.  So, it does appear to be a client issue...
> 
> Should I be concerned that my EXAMINE didn't alert me?  I'm using Cyrus
> IMAP 2.0.16, btw.

Um...  maybe it only sends ALERTs on a SELECT.  Try SELECT instead of
EXAMINE.

Ken

-- 
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp



Re:

2001-11-26 Thread Kip Cranford

On: Mon, 26 Nov 2001 14:49:45 EST Ken Murchison wrote:

>Try running 'imtest' again to connect/login and then do a
>
>. EXAMINE inbox
>
>and see if you get an ALERT response.  If so, then the server is
>behaving correctly.  9 times out of 10 these issues are the client not
>displaying ALERTs.
>

Thanks for the quick response.

I used imtest and received the following:

. examine inbox
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
* OK [PERMANENTFLAGS ()]
* 8 EXISTS
* 0 RECENT
* OK [UNSEEN 2]
* OK [UIDVALIDITY 1005855686]
* OK [UIDNEXT 1544]
. OK [READ-ONLY] Completed

No ALERTS

However, I downloaded Netscape's mail client and tried it, and _did_
receive a popup warning.  So, it does appear to be a client issue...

Should I be concerned that my EXAMINE didn't alert me?  I'm using Cyrus
IMAP 2.0.16, btw.

Thanks,

--kip