Re: newbie question

2004-06-15 Thread Sebastian Hagedorn
Hi,
--On Montag, 14. Juni 2004 20:26 Uhr -0400 Andrew J Caird 
<[EMAIL PROTECTED]> wrote:

Cyrus IMAP is more complicated than UWIMAP, for example, but it does many
things UWIMAP can't do - multiple access being one of them.
actually that's not true, but it's a common misconception. UW IMAP does 
support multiple access (in some respects actually better than Cyrus) *if* 
you use mbx mailboxes. I've used that for years and I'd always recommend 
this setup for a smallish installation. Cyrus wins hands down as your user 
base grows into the hundreds or thousands, but for just a handful of users 
UW IMAP is much easier to set up.

Cheers, Sebastian Hagedorn
--
Sebastian Hagedorn M.A. - RZKR-R1 (Gebäude 52), Zimmer 18
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587

pgphXA1oHxmTN.pgp
Description: PGP signature


RE: newbie question

2004-06-14 Thread Craig Ringer
On Tue, 2004-06-15 at 10:12, John Arthur wrote:

> Well I guess that would depend on what type of system you are installing it
> on. Simon Matter provides an excellent RPM for RedHat which is what I have
> based my (customised) setup on. As far as reliability goes Cyrus is an
> outstanding piece of software.

Agreed. I've basically been able to install it and forget about it,
which is _bliss_ when working as a sysadmin in a small company that in
many ways has big company IT needs.

One thing I'd love to see would be some tips on properly configuring the
Berkley DB for Cyrus. The only problem I've had with Cyrus was
BDB-related. I was under the impression for a long time that BDB was
just unreliable, but it seems from things people have been saying here
that it's simply misconfigured most of the time. If that's correct, then
some info on how to get it right would be really handy.

If someone who knows enough about BDB and Cyrus can provide me with that
info, I'll fill it out and write it up for the wiki. I'm sure some of it
will interest the NetATalk folks as well.

Craig Ringer

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


RE: newbie question

2004-06-14 Thread John Arthur
Hi Dudi,

> I am fairly experienced, done lots of sendmail installations to a manual
> modification of sendmail.cf ;-), A/V, spam filters etc., so I guess I'll
> manage - probably with some help from this list

If you do not mind my asking. If you are so familiar with sendmail, why do
you want to use postfix with Cyrus?

>Now, not being familiar with Cyrus at all, I wonder what am I facing
>here time wise, complexity, reliability etc.

Well I guess that would depend on what type of system you are installing it
on. Simon Matter provides an excellent RPM for RedHat which is what I have
based my (customised) setup on. As far as reliability goes Cyrus is an
outstanding piece of software.

John

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


RE: newbie question

2004-06-14 Thread Dudi Goldenberg
Sounds good!

Thanks for the quick reply.

I am fairly experienced, done lots of sendmail installations to a manual
modification of sendmail.cf ;-), A/V, spam filters etc., so I guess I'll
manage - probably with some help from this list

This customer is also a personal friend of mine, you can understand my
concerns.

Regards,

Dudi

=

Dudi,
  You might want to look at this information on CMU's installation:
http://acs-wiki.andrew.cmu.edu/twiki/bin/view/Cyrus/CarnegieMellonCyrusI
nstallation

  Cyrus IMAP is more complicated than UWIMAP, for example, but it does
many
things UWIMAP can't do - multiple access being one of them.  And it's
not
terribly complicated, allow some time for testing, and know that when
you've
got it sorted out, it will be very reliable.  32,000+ CMU Tartans can't
be
wrong, can they? 
  Not knowing what the real requirements you have are, or your general
experience level with this sort of thing, I can't begin to guess how
much time
you'll invest.  You'll probably be able to get a test-bed up and going
in less
than a week.  Test until your happy, and to prove to yourself that the
software
does what you want and need.  
  Hope this helps, and good luck.
--
Andrew Caird




---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: newbie question

2004-06-14 Thread Andrew J Caird
Quoting Dudi Goldenberg <[EMAIL PROTECTED]>:

> Hello list,
> 
> I need to provide a solution to one of my customers.
> 
> They expect around 6000-8000 emails a day, no big issue here, postfix
> will handle this part.
> 
> There are only 10 users accounts on this site, but all 10 accounts are
> simultaneously active on all 10 machines.
> 
> Some reading on Cyrus site made Cyrus IMAP my choice due to its multiple
> access abilities per mailbox.
> 
> Now, not being familiar with Cyrus at all, I wonder what am I facing
> here time wise, complexity, reliability etc.
> 
> Any comments, pros/cons, recommendations are welcomed.

Dudi,
  You might want to look at this information on CMU's installation:
http://acs-wiki.andrew.cmu.edu/twiki/bin/view/Cyrus/CarnegieMellonCyrusInstallation

  Cyrus IMAP is more complicated than UWIMAP, for example, but it does many
things UWIMAP can't do - multiple access being one of them.  And it's not
terribly complicated, allow some time for testing, and know that when you've
got it sorted out, it will be very reliable.  32,000+ CMU Tartans can't be
wrong, can they? 
  Not knowing what the real requirements you have are, or your general
experience level with this sort of thing, I can't begin to guess how much time
you'll invest.  You'll probably be able to get a test-bed up and going in less
than a week.  Test until your happy, and to prove to yourself that the software
does what you want and need.  
  Hope this helps, and good luck.
--
Andrew Caird
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Newbie question - moving from wu-imapd to cyrus-imapd on fedora core 1

2004-06-11 Thread pheonix1t
James Marcinek wrote:
Hello everyone,
I am preparing to move from the default wu-imapd to cyrus. I am very new
to cyrus though. I've been using my server with Squirrelmail and would
like to preserve all the information if possible. I am preparing to move
to OpenGroupware. Any help is appreciated.
Thanks,
James
RHCE
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
 

read the documentationbut also get the oreilly book!  It's a bit 
outdated by now, but it's still a great start for a person like yourself

Oskar
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Newbie question

2003-11-25 Thread Allister Gearon
Jordi,
first of all I am using SuSE 8.2.  Having installed the rpms;
cyrus-imapd, cyrus-sasl2, perl-cyrus-imap (provides cyradm, cyrus
configuration tool), and postfix; the set up was as follows (I included the
most important - I think! - parameters, but I can send the whole file if you
wish) ;

/etc/imapd.conf
admins:cyrus
allowanonymouslogin:no
sasl_pwcheck_method:auxprop

Then (note that the default admin here is cyrus, a system user created
for administerring Cyrus IMAP);

saslpasswd2 cyrus

Enter you password as asked and confirm that the user cyrus is in the
sasldb with;

sasldblistusers2

You should see something like:

[EMAIL PROTECTED]: userPassword

Start the cyrus-imapd daemon, with a  (on SuSE.).
You should now be able to use cyradm thus;

cyradm --auth login localhost --user cyrus

Provide the password you supplied to the saslpasswd2 program earlier, and
voila, you have been authenticated via sasldb. Type help at the command
prompt for further help on cyradm.
Hope this helps.
Cheers
Al
- Original Message -
From: "Jordi Pallarès" <[EMAIL PROTECTED]>
To: "Allister Gearon" <[EMAIL PROTECTED]>
Cc: "Craig Ringer" <[EMAIL PROTECTED]>; "Cyrus IMAP Mailing List"
<[EMAIL PROTECTED]>
Sent: Tuesday, November 25, 2003 11:44 AM
Subject: Re: Newbie question


> Hi all,
>
> I'm tryng to make the same login as you (with sasldb) but in my redhat9
> i can't implement it.
> Can you explain me how did you do it?.
> I've just login inside cyrus if i have a s.o. user.
>
> Thanks a lot.
>
> Jordi Pallarès
>
> Allister Gearon wrote:
>
> > Craig,
> > thanks for your reply.  At the moment users that login on my Cyrus
server
> > are authenticated via auxprop -> sasldb.  That works fine.  I am also
trying
> > to fetch mail from an upstream POP3 server and am using Fetchmail, which
> > does not like the fact that the recipient of the email is not a user (at
the
> > moment) on the OS.  As result mail is bounced.  I will write to the
> > fetchmail list to see if they have any ideas.  Thanks again
> > Al
>
>
>



Re: Newbie question

2003-11-25 Thread Allister Gearon
Craig,
I was probably not being clear, an explanation of Fetchmail's default
behaviour with users that do not appear in the system can be found here;
http://www.catb.org/~esr/fetchmail/fetchmail-FAQ.html#C1
However, this behaviour is changed very easily as a kind correspondent
on the Fetcmail list informed me.  Supposing our cyrus user is called
'auser', simply add < smtpname "auser" > to the command line or fetchmailrc
and  the mail is delivered to cyrus mailbox user.auser.  Thanks to yourself
and this other gent I am now rolling along at a great pace - just got to get
some kind of mail filtering going on.  Talking of mail filtering, you don't
know of any howto's etc dealing with sieve do you?  I have a
manage-sieve-perl script installed on my server, and a sieve daemon?
listening at 2000 but I haven't a clue how to use it and there seems to be
no official documentation.  Certainly b-all in the on the man page.
Thanks again for your help.
Cheers
Al

- Original Message -
>
> If fetchmail is using it's defaults, it'll be trying to deliver the mail
> to the local MTA using SMTP, in which case things should 'just work' if
> the MTA is configured correctly. It may well not be a fetchmail problem.
>
> Can you "mail [EMAIL PROTECTED]" from the cyrus server? If not, then
> it's probably your MTA and not fetchmail that's at fault.
>
> The MTA shouldn't really care if the user exists - unless it's
> configured to check - but should just try to deliver the mail to Cyrus
> via LMTP when handed the message by fetchmail. Cyrus will reject the
> message if the user has no mailbox, but it doesn't care (for purposes of
> mail /delivery/) whether they exist in the authentication database at all.
>
> Do you know at what stage the messages are being rejected, and by what?
>
> A copy of a bounce could well be helpful, if it is actually bouncing the
> mail.
>
> I'm having to make a lot of guesses, as I don't know (1) whether you
> take normal direct mail delivery via SMTP, (b) what the bounce/errors
> are, (3) whether you're using virtual domains, etc. Sorry if I'm in the
> wrong ballpark.
>
> Craig Ringer
>
>



Re: Newbie question

2003-11-25 Thread Alexander Sanda
On 25.11.2003 10:55 + Allister Gearon wrote:

thanks for your reply.  At the moment users that login on my Cyrus
server are authenticated via auxprop -> sasldb.  That works fine.  I am
also trying to fetch mail from an upstream POP3 server and am using
Fetchmail, which does not like the fact that the recipient of the email
is not a user (at the moment) on the OS.  As result mail is bounced.  I
will write to the fetchmail list to see if they have any ideas.
This isn't exactly a problem. You'll have to tell fetchmail that it has 
to use cyrus' own delivery program. Just look at the various fetchmail 
mta options (keyword mta, commandline -m). If your situation is more 
complex (i.e. you need to filter the mails before they are delivered to 
your local cyrus accounts) you can use a fetchmail -> procmail -> deliver 
chain (deliver is the program used by cyrus to handle local deliveries 
via lmtp).

--
PGP key-id: 7029C744 at http://wwwkeys.de.pgp.net


Re: Newbie question

2003-11-25 Thread Simon Matter
> Craig,
> thanks for your reply.  At the moment users that login on my Cyrus server
> are authenticated via auxprop -> sasldb.  That works fine.  I am also
> trying
> to fetch mail from an upstream POP3 server and am using Fetchmail, which
> does not like the fact that the recipient of the email is not a user (at
> the
> moment) on the OS.  As result mail is bounced.  I will write to the

I'm using fetchmail like this with cyrus-imapd. That way fetchmail
delivers directly via lmtp:

/usr/bin/fetchmail --fetchmailrc /etc/fetchmailrc --smtphost \
/var/lib/imap/socket/lmtp --syslog --daemon 120 --all

HTH
Simon

> fetchmail list to see if they have any ideas.  Thanks again
> Al
>
>




Re: Newbie question

2003-11-25 Thread Jordi Pallarès
Hi all,

I'm tryng to make the same login as you (with sasldb) but in my redhat9 
i can't implement it.
Can you explain me how did you do it?.
I've just login inside cyrus if i have a s.o. user.

Thanks a lot.

Jordi Pallarès

Allister Gearon wrote:

Craig,
thanks for your reply.  At the moment users that login on my Cyrus server
are authenticated via auxprop -> sasldb.  That works fine.  I am also trying
to fetch mail from an upstream POP3 server and am using Fetchmail, which
does not like the fact that the recipient of the email is not a user (at the
moment) on the OS.  As result mail is bounced.  I will write to the
fetchmail list to see if they have any ideas.  Thanks again
Al




Re: Newbie question

2003-11-25 Thread Craig Ringer
thanks for your reply.  At the moment users that login on my Cyrus server
are authenticated via auxprop -> sasldb.  That works fine. 
Aha, sorry. It sounded from your post like you were just trying to get 
things up and running for the first time.

I am also trying
to fetch mail from an upstream POP3 server and am using Fetchmail, which
does not like the fact that the recipient of the email is not a user (at the
moment) on the OS.  As result mail is bounced.  I will write to the
fetchmail list to see if they have any ideas.
If fetchmail is using it's defaults, it'll be trying to deliver the mail 
to the local MTA using SMTP, in which case things should 'just work' if 
the MTA is configured correctly. It may well not be a fetchmail problem.

Can you "mail [EMAIL PROTECTED]" from the cyrus server? If not, then 
it's probably your MTA and not fetchmail that's at fault.

The MTA shouldn't really care if the user exists - unless it's 
configured to check - but should just try to deliver the mail to Cyrus 
via LMTP when handed the message by fetchmail. Cyrus will reject the 
message if the user has no mailbox, but it doesn't care (for purposes of 
mail /delivery/) whether they exist in the authentication database at all.

Do you know at what stage the messages are being rejected, and by what?

A copy of a bounce could well be helpful, if it is actually bouncing the 
mail.

I'm having to make a lot of guesses, as I don't know (1) whether you 
take normal direct mail delivery via SMTP, (b) what the bounce/errors 
are, (3) whether you're using virtual domains, etc. Sorry if I'm in the 
wrong ballpark.

Craig Ringer



Re: Newbie question

2003-11-25 Thread Allister Gearon
Craig,
thanks for your reply.  At the moment users that login on my Cyrus server
are authenticated via auxprop -> sasldb.  That works fine.  I am also trying
to fetch mail from an upstream POP3 server and am using Fetchmail, which
does not like the fact that the recipient of the email is not a user (at the
moment) on the OS.  As result mail is bounced.  I will write to the
fetchmail list to see if they have any ideas.  Thanks again
Al



Re: Newbie question

2003-11-25 Thread Craig Ringer
I'm not a Cyrus expert - being fairly new to it myself - but I thought 
I'd jump in and explain my understanding of things in case it's useful 
to you:

I am trying to configure Cyrus-IMAP (version 2.1.12), and I am a little
confused.  As I understand it one of the main advantages of the Cyrus mail
server is that the server is a sealed server.
It can run as a sealed server but it doesn't have to. I run Cyrus on a 
host that does /many/ other things.

Do I undestand correctly from
this that the users do not have to be created on the OS of the Cyrus mail
server, that the mailboxes just have to be created via the cyradm tool.
You will need some form of user authentication in addition to the 
existance of mailboxes. The server needs to be able to validate that 
that the person trying to log in as "bob" really is "bob" and should 
have access to "bob"'s mailbox.

It's possible to have Cyrus look up a separate user database (sasldb, 
private LDAP directory, etc) _or_ share the system's user authentication 
(shared LDAP; PAM; unix auth, kerberos, etc). It's very common to use an 
LDAP directory to authenticate users, either one private to cyrus or one 
that's used by the rest of the system as well. Using PAM to share the 
same authentication setup as the rest of the server is also common.

I found Cyrus's authentication quite complex at first, but it does make 
sense - it's a bit complex because it's extremely flexible. I recently 
did a "map" of the way the various ways cyrus can authenticate users - 
it's a draft and not accompanied by any explanation, but in case it's of 
any use you can read it here:

http://www.postnewspapers.com.au/~craig/cyrus_authentication_map.pdf

Most of these components are fairly well documented, it's just an 
overview of how it all fits together that seems to be missing.

Or
is that you create the users on the OS but just don't provide them with a
shell?
That's possible too. You can also potentially have all normal users on 
the OS able to access Cyrus, /and/ some extra Cyrus-only users. It all 
depends on the authentication scheme you choose, and how you plug 
everything together.

I recently posted a rather badly written example config to the cyrus 
wiki, based on my setup here. If it's of any interest, you can find it here:
http://asg.web.cmu.edu/twiki/bin/view/Cyrus/SampleCyrusConfigurations

My setup falls into the non-sealed server category, and every user with 
mail access also has system login access - we don't need mail-only users 
here at present.

Hope this helps.

Craig Ringer



Re: Newbie question - Redhat8.0 howto

2003-06-12 Thread Andrew Koros
There are many  howto's:

For use with PostgreSQL with RPMS:
http://home.teleport.ch/simix/RPMS/Cyrus-imapd/contrib/Postfix+cyrus+postgreSQL+web-cyradm.pdf
or a copy of it here
http://www.web-cyradm.org/documentation/Postfix-cyrus-postgreSQL-web-cyradm.pdf

For Use with MySQL from tarballs:
http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/index.html

another one here:
http://www.web-cyradm.org/documentation/web-cyradm-redhat.txt

On Thu, 2003-06-12 at 17:44, Martin Ferguson wrote:
> Hi,
> 
> I'm trying to set-up Cyrus2.1.13 on Redhat8.0 and I'm having some issues
> with authentication, does anyone have a recent howto for this platform,
> the only one I could find http://www.tldp.org/HOWTO/Cyrus-IMAP.html is
> very out of date.
> 
> Thanks in advance
> Martin.
-- 
Andrew Koros
Developer, Systems Services
UUNET (Kenya) Ltd
http://www.uunet.co.ke
Tel: +254 2 69088618
Fax: +254 2 69088001
Email: [EMAIL PROTECTED]   


NOTICE: This e-mail message and all attachments transmitted with it may
contain legally privileged and confidential information intended solely
for the use of the addressee. If the reader of this message is not the
intended recipient, you are hereby notified that any reading,
dissemination, distribution, copying, or other use of this message or
its attachments is strictly prohibited. If you have received this
message in error, please notify the sender immediately by electronic
mail, and delete this message and all copies and backups thereof. Thank
you.



Re: Newbie question - Redhat8.0 howto

2003-06-12 Thread Christian Schlaefcke
Hi Martin,

is kerberos the issue? Then have look at this threads:
"Compiling Cyrus-Imap/Kerberos problems" and
"RH 9.0 ssl compiler error"

Maybe it helps.

Regards,

Chris

>
> Hi,
>
> I'm trying to set-up Cyrus2.1.13 on Redhat8.0 and I'm having some issues
> with authentication, does anyone have a recent howto for this platform,
> the only one I could find http://www.tldp.org/HOWTO/Cyrus-IMAP.html is
> very out of date.
>
> Thanks in advance
> Martin.
>



Re: newbie question

2002-10-02 Thread Chris Hilts

> I just reinstalled debian (3.0) to my linux box and this time I
> installed cyrus-imapd from .deb packages.. (got exim as the mailerpart)
>
> Now I'm just wondering, how the hell do I create those mailboxes for
> users? I'm starting to lose hair due this. :-p

Assuming you've configured it the way you want it, now you can use cyradm
to connect and create mailboxes.  Check the documentation, this part is
documented quite well.  If you'll have trouble with anything, it'll be
SASL.  I just put up a Debian cyrus server, so if you get stuck again just
drop me a line.  Good luck.

-- 
Chris Hilts
[EMAIL PROTECTED]






Re: newbie question

2002-10-02 Thread Christoph Kania

Hi Mika!

Have a look at http://www.tldp.org/HOWTO/Cyrus-IMAP.html.

Christoph

On Wednesday 02 October 2002 13:10, Mika Tuunanen wrote:
> Hiho!
>
> I just reinstalled debian (3.0) to my linux box and this time I installed
> cyrus-imapd from .deb packages.. (got exim as the mailerpart)
>
> Now I'm just wondering, how the hell do I create those mailboxes for
> users? I'm starting to lose hair due this. :-p





Re: newbie question....cjk

2001-06-26 Thread Constantine Koulis

Dear Sir.
I gave # ./cyradm and i had the following error :

./cyradm: error while loading shared libraries: libtcl8.0.so: cannot open 
shared object file: No such file or directory

Any suggestions...

>From: "tarjei" <[EMAIL PROTECTED]>
>Reply-To: "tarjei" <[EMAIL PROTECTED]>
>To: "Constantine Koulis" <[EMAIL PROTECTED]>, 
><[EMAIL PROTECTED]>
>Subject: Re: newbie questioncjk
>Date: Tue, 26 Jun 2001 14:37:17 +0200
>
>install websieve to give your users vacation and filtering posibilities.
>
>when it comes to quotas, just log in to cyradm and set the qoutas for each 
>user.mailbox
>(use the help command to find the correct one). You can also set a default 
>quota on new users by putting the line:
>autocreatequota: 10
>in imapd.conf.
>
>cheers!
>Tarjei
>- Original Message -
>From: Constantine Koulis <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, June 26, 2001 1:10 PM
>Subject: newbie questioncjk
>
>
> > Hello all.
> > I have a mail server running Cyrus-Imap with sendmail and squirrelmail 
>on
> > it.I am very satisfied until now but i would like some restrictions to 
>may
> > IMAP-Webbased users.I would like to limit the space to their mailbox and
> > also another future to make the deleted items to be removed 
>automatically
> > from the TRASH folder...
> > I would like to point out that my cyrus-imap was installed from rpm.
> > Sincerely
> > 
>_
> > Get Your Private, Free E-mail from MSN Hotmail at 
>http://www.hotmail.com.
> >
> >
> >
>

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Re: newbie question....cjk

2001-06-26 Thread tarjei

install websieve to give your users vacation and filtering posibilities.

when it comes to quotas, just log in to cyradm and set the qoutas for each user.mailbox
(use the help command to find the correct one). You can also set a default quota on 
new users by putting the line:
autocreatequota: 10
in imapd.conf.

cheers! 
Tarjei
- Original Message - 
From: Constantine Koulis <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 26, 2001 1:10 PM
Subject: newbie questioncjk


> Hello all.
> I have a mail server running Cyrus-Imap with sendmail and squirrelmail on 
> it.I am very satisfied until now but i would like some restrictions to may 
> IMAP-Webbased users.I would like to limit the space to their mailbox and 
> also another future to make the deleted items to be removed automatically 
> from the TRASH folder...
> I would like to point out that my cyrus-imap was installed from rpm.
> Sincerely
> _
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> 
> 
>