Hi all, after beeing here on the list for "a long time" and puttung my two cents to a few points I need some help to install / run / admin the Cyrus-IMAP-server on openSUSE. the situation: I need a IMAP-server for a few accounts, that can hold mailboxes with about two or threee GBytes on data. the IMAP-server is only used for internal storage of the data. the server should also pick up the eMails from a few POP3-accounts outside. there is the need to connect with a windows-client and outlook to the server to get all old mailstuff, that is currenty on an exchange-server hosted on a public ISP (so it is outside of our hands). in the next few month there is still the need for the connection from outlook, but at "the end" there will be only a local hostet webmail-solution programmed in PHP that fits the special need for our purpose. the problem: there no good documention on how to set up the cyrus-server under openSUSE. the most things I could find on the net depends ether other distros or builing it up from source and setting it up from the ground. when I try to use docus for other distros, some files are on other places or missing complete. there is a magazine in german from "heise" called "c't special - Linux" with is based on openSUSE 10.1, and there is also a part witch covers the setup of cyrus - but even that didn't work. I can't get access as user cyrus to the host. what I need: some directions where to find a docu for cyrus-imap. or some hints what will be the best order to install and run cyrus. it should be run under SL10.0 or SL10.1. if it needs openLDAP - OK, but if it can run without - better. as I only need a few mailboxes, the accounts at cyrus can depend on user accounts on the local machine, but if it can run without its also good. could someone gave me some hints ? thanks, and best regards, JBScout aka Thomy PS: if I get a working solution, I will put the way on the wiki for others - of course ;) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Samstag, 26. August 2006 15:47 schrieb T. Lodewick:
after beeing here on the list for "a long time" and puttung my two cents to a few points I need some help to install / run / admin the Cyrus-IMAP-server on openSUSE.
What's about this on: http://www.heise.de/open/artikel/74991 -- Machs gut | http://www.iivs.de/schwinde/buerger/tremmel/ | http://packman.links2linux.de/ Manfred | http://www.knightsoft-net.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 T. Lodewick wrote: ...
the situation: I need a IMAP-server for a few accounts, that can hold mailboxes with about two or threee GBytes on data. the IMAP-server is only used for internal storage of the data. the server should also pick up the eMails from a few POP3-accounts outside. there is the need to connect with a windows-client and outlook to the server to get all old mailstuff, that is currenty on an exchange-server hosted on a public ISP (so it is outside of our hands). in the next few month there is still the need for the connection from outlook, but at "the end" there will be only a local hostet webmail-solution programmed in PHP that fits the special need for our purpose.
So any IMAP server will do. Any particular reason to pick Cyrus ? I've been using dovecot for quite a while now and I'm pretty happy with it. Marcus Rueckert (aka darix) has been providing high quality RPMs of dovecot since a while now: http://software.opensuse.org/download/server:/mail/ (there are cyrus-imapd packages there as well) Personally, I've been using a few IMAP servers in the past (Cyrus, Courier and dovecot). Not to start a flamewar, and Cyrus certainly has its supporters but I've found Courier to be extremely good though a little tedious to install, start/stop and such (the Courier suite has a performant and modular but somewhat unfriendly architecture). dovecot is very fast and easy to set up (and it's said to be the most secure). [...]
could someone gave me some hints ?
Yes, I think you should really have a look at dovecot. cheers - -- -o) Pascal Bleser http://linux01.gwdg.de/~pbleser/ /\\ <pascal.bleser@skynet.be> <guru@unixtech.be> _\_v The more things change, the more they stay insane. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFE8HWnr3NMWliFcXcRAnFwAKCdGllwrxD0jd611490wlAxZqhf7wCeOI/t LH2fd75Wd0ybncxTdrxWgpE= =0pek -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Pascal Bleser schrieb:
So any IMAP server will do. Any particular reason to pick Cyrus ?
mo, not realy ;)
I've been using dovecot for quite a while now and I'm pretty happy with it. Marcus Rueckert (aka darix) has been providing high quality RPMs of dovecot since a while now: http://software.opensuse.org/download/server:/mail/ (there are cyrus-imapd packages there as well)
Personally, I've been using a few IMAP servers in the past (Cyrus, Courier and dovecot). Not to start a flamewar, and Cyrus certainly has its supporters but I've found Courier to be extremely good though a little tedious to install, start/stop and such (the Courier suite has a performant and modular but somewhat unfriendly architecture). dovecot is very fast and easy to set up (and it's said to be the most secure).
[...]
could someone gave me some hints ?
Yes, I think you should really have a look at dovecot.
cheers
thanks a lot - I will give it a try tonight :) the only thing thats importend is the size of the mailboxes. and that I can get it up and running ... smile ... I will give a short responde afterwards :) best regards, JBScout aka Thomy --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Saturday 26 August 2006 15:47 schrieb T. Lodewick:
Hi all,
Hi!
after beeing here on the list for "a long time" and puttung my two cents to a few points I need some help to install / run / admin the Cyrus-IMAP-server on openSUSE.
What's about /usr/share/doc/packages/cyrus-imapd/README.SuSE ? Just follow the instructions in this file. You can set "POSTFIX_MDA=cyrus" in /etc/sysconfig/postfix and let create an (initial) postfix config for you. If you don't like it (or you want a more complicated postfix setup), you can disable the configuration by setting of "MAIL_CREATE_CONFIG=no" in /etc/sysconfig/mail, later. Make sure the /etc/cyrus.conf file contains this line in SERVICES {}: lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1 Edit /etc/imapd.conf like to match your needs, for example (this one forbits to use any plain-text passwords without TLS): configdirectory: /var/lib/imap partition-default: /var/spool/imap sievedir: /var/lib/sieve admins: cyrus #servername: imap.example.net reject8bit: no timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost lmtp_downcase_rcpt: yes lmtp_overquota_perm_failure: no autocreatequota: 10000 quotawarn: 90 # # use alternate namespace # altnamespace: yes userprefix: users sharedprefix: shared unixhierarchysep: yes # # allow plain + tls only ? # allowplainwithouttls: no allowanonymouslogin: no allowplaintext: no # # sasl auth # sasl_pwcheck_method: saslauthd sasl_mech_list: LOGIN PLAIN # sasl gssapi/krb5 auth: #sasl_mech_list: GSSAPI LOGIN PLAIN #sasl_keytab: /etc/krb5.keytab #sasl_realm: EXAMPLE.NET # # TLS settings # tls_key_file: /etc/ssl/example.net/private/imap.pem tls_cert_file: /etc/ssl/example.net/certs/imap.pem tls_ca_file: /etc/ssl/example.net/cacert.pem And use "cyradm" to create mailboxes for your users. See also the "autocreateinboxfolders" in "man imapd.conf". That's all. Gruesse / Regards, Marius Tomaschewski <mt@suse.de> -- SUSE LINUX, Nuernberg --- Development, Server-Team PGP public key on: http://www.suse.de/~mt/mt.pgp DF17 271A AD15 006A 5BB9 6C96 CA2F F3F7 373A 1CC0 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi Marius, thanks for these hints - I will compare them with the configs that are currently running - se also my post a few minutes ago as I found the mistakes I have done. I have by now a "half way" running solution, but the last problems depends not on the config but on the client - I just say the words "Microsoft", "Outlook" and "RFCs" ... ;) thanks again, best regards, JBScout aka Thomy --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi all, I was asked in the last days from a few people by private mail how far I am with thy try of installing Cyrus IMAP or other IMAP-server. here is a short view of the state: -> after trying again Cyrus, Dovecot, the "build in" imap-demon of openSUSE and having all over trouble with everyone, I started a new search in the net, and readed a lot of posts in wikis, mailinglists and newsgroups ( hmm, I think a few hundret the last days). -> then I've found a "hint" for Cyrus on the wiki of Cyrus self - about authentication and authorization. a rule - if using SASL for authetication - that was missing on all tutorials and even in the magazine from "heise" about linux and openSUSE was about the fact that there is need for a password entry in the db of SASL. so, after running a "sasslpasswd2 cyrus" I've set the coorrect password for user cyrus. now I could login via cyradm and try the first steps for administration of cyrus-IMAP. -> I'm able to connect with Thunderbird to the server - but no connection via Outlook. damm. -> to get the old data into the new server, I've imported the mails into thunderbird from a local .pst-file that was set as default datastore in outlook. it tooks me about 2 hours for the import ( 1.2 GB data ! ). -> after that I started to copy from the (local) data in thunderbird to the server - and get the next hole to trab in: the error about "bare newlines". a search about that error will bring a lot posts from people who have the same trouble ( mostly coming from outlook !! ), but there is no realy working solution to find. so I have to work on it to get the data into the new server. ( I have also tryed the alpha1 from thunderbird2 that has a fix for exactly that problem - but it looks like that even this didn't work). damm again. but I'm a lot of steps nearly tothe point I need to be, because all the other needed stuff ( fetchmail, procmail ) is allready working. next things will be the topics "spam" and "virus check", but I don't think that I will get there in trouble again - so I can see allready the next weekend with the topic "Calendar". here I will need to find a solution for a lot of dates ( about 3.000 currectly ). a happy weekend again ;) so, thats all for infos for today I think. best regards, JBScout aka Thomy BTW: thanks to all the the help and the hints - even some people didn't post here on the list but in a private mail. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Tuesday 29 August 2006 15:58 schrieb T. Lodewick:
Hi all,
I was asked in the last days from a few people by private mail how far I am with thy try of installing Cyrus IMAP or other IMAP-server. here is a short view of the state:
-> then I've found a "hint" for Cyrus on the wiki of Cyrus self - about authentication and authorization. a rule - if using SASL for authetication - that was missing on all tutorials and even in the magazine from "heise" about linux and openSUSE was about the fact that there is need for a password entry in the db of SASL. so, after running a "sasslpasswd2 cyrus" I've set the coorrect password for user cyrus. now I could login via cyradm and try the first steps for administration of cyrus-IMAP.
For normal logins using PAM (see also my other mail doing PAM+GSSAPI): /etc/sysconfig/saslauthd: SASLAUTHD_AUTHMECH=pam /etc/imapd.conf: sasl_pwcheck_method: saslauthd sasl_mech_list: LOGIN PLAIN to use sasldb2 (e.g. for crammd5 or digestmd5), you can use sasl_pwcheck_method: auxprop and don't forget to install the "cyrus-sasl-xxx" mechanism packages.
-> I'm able to connect with Thunderbird to the server - but no connection via Outlook. damm.
Hmm... I've had no problems with OExpress, but because I just tryed it one time and never really used them, I can't say anything about. Did you enabled imaps and pop3s services in /etc/cyrus.conf?
but I'm a lot of steps nearly tothe point I need to be, because all the other needed stuff ( fetchmail, procmail ) is allready working.
Ahm... You can use server based "sieve" scripts, see "man sieveshell". Gruesse / Regards, Marius Tomaschewski <mt@suse.de> -- SUSE LINUX, Nuernberg --- Development, Server-Team PGP public key on: http://www.suse.de/~mt/mt.pgp DF17 271A AD15 006A 5BB9 6C96 CA2F F3F7 373A 1CC0 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Marius Tomaschewski schrieb:
[...]
-> I'm able to connect with Thunderbird to the server - but no connection via Outlook. damm.
Hmm... I've had no problems with OExpress, but because I just tryed it one time and never really used them, I can't say anything about. Did you enabled imaps and pop3s services in /etc/cyrus.conf?
yes, it's enabled and working the right way. I think Outlook Express didn't have problems but Outlook will have - I have found hints on the net as people telling that OE makes no trouble but Outlook will.
but I'm a lot of steps nearly tothe point I need to be, because all the other needed stuff ( fetchmail, procmail ) is allready working.
that was the fun part yet. I just used the YaST MTA-tool to setup thinks, and they worked "out of the box" :) ( ok, I've put a ssl on the 'poll' lines, but that was no big deal, wasn't it !?! )
Ahm... You can use server based "sieve" scripts, see "man sieveshell".
yea, that will be also funny next time. not only having eMails put into to right inbox, but also into the right folder ( or other things to do with sieve I didn't know right now ... ).
Gruesse / Regards, Marius Tomaschewski <mt@suse.de> --
thanks & regards JBScout aka Thomy --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi all, if you are still reading this thread: there is a workaround for the "bare newlines"-message that was showen while saving my old messages ( after importing them from Outlook into Thunderbird and ) from Thunderbird into the new inbox of the cyrus-server. If you like to know about the workaround just now and you can't wait for more information at a later time, just drop me a line ;) more about that all later at this list or in a wiki-post in the future. Best regards, JBScout aka Thomy --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Manfred Tremmel
-
Marius Tomaschewski
-
Pascal Bleser
-
T. Lodewick