RE: howto for RH7?
I've had some problems too, the easiest way is to install a clean RH7, then install db3 from rpm and then the source compiles well. Nick Ustinov [EMAIL PROTECTED] http://www.videinfra.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 14, 2001 17:36 To: [EMAIL PROTECTED] Subject: howto for RH7? i've spent some time trying to get recent versions of cyrus-imapd working on RH7, but from both source and rpm install, i've only run into problems (the 'file descriptor' (if i use rpm) and 'signalled to death' (if i install from source, even using the most recent db from sleepycay) errors which have been oft reported but as far as i can see not odften resolved, at least according to Google). i've gotten CLOSEST, i guess, installing from source, but i can't get past the 'signalled to death' error...the only suggestion i've found to fixing that is to make sure sasl is compiled using the same version of db as cyrus, but i admit i'm not quite sure how to do that, as cyrus-sasl doesnt have a configure option similar to --with-dbdir on cyrus-imapd SO short of spending a week of my life on this, does anyone have a step-by-step howto build 2.0-series imapd with sasl/pam on a virgin Rh7/7.1 system? all help greatly appreciated thx
RE: cyradm
I had some similar problem with Solaris 8. I solved it compiling cyradm separately. Go to /perl/imap then... EXPORT CYRUS_SRC= perl Makefile.PL make make test make install Bye, Vito -Original Message- From: Jev [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 13, 2001 10:43 AM To: [EMAIL PROTECTED] Subject: cyradm Hi all, Im having trouble running cyradm on a Freebsd 4.3-Stable box, sasl has been installed from the ports, and I compiled and installed cyrus 2.0.14 by hand. When I try and run cyradm I get the following: %cyradm Can't load '/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Cyrus/IMAP/IMAP.so' for module Cyrus::IMAP: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Cyrus/IMAP/IMAP.so: Undefined symbol "sasl_client_init" at /usr/libdata/perl/5.00503/DynaLoader.pm line 169. at /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Cyrus/IMAP/Admin.pm line 43 BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Cyrus/IMAP/Admin.pm line 43. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Cyrus/IMAP/Shell.pm line 58. BEGIN failed--compilation aborted. % Any ideas? -- http://www.ecad.org/~jev/jev.gpg Key fingerprint = 748B 2346 1683 6384 5E8D 4EE3 0807 EADB 999E AB95
Password policy: Cyrus+pam_smb_auth on Solaris 8
Perhaps I have the answer of my previous message sent to the list. For the password management I can use our NT4 PDC... I reconfigured cyrus-sasl with the following options: ./configure --with-dblib=berkeley --disable-gssapi --disable-krb4 --with-pam=/usr/lib/security -disable-digest And I reconfigured cyrus-imapd this way, adding the --with-pwcheck=pam option: ./configure --prefix=/usr/local/cyrus --with-auth=unix --with-pwcheck=pam --without-krb --enable-netscapehack --with-ucdsnmp=/usr/local/snmpd --with-dbdir=/usr/local/BerkeleyDB.3.2 --with-sasldir=/usr/local --with-openssl=/usr/local/openssl Then I compiled and installed pam_smb_auth v.1.1.6 and I copied it under /usr/lib/security as pam_smb_auth.so.1 (linked in the same directory also as pam_smb_auth.so). I created the file /etc/pam_smb.conf adding the domain + PDC + BDC: Then I edited the file /etc/pam.conf adding the lines related to imap and pop3: imapauth required /usr/lib/security/pam_smb_auth.so.1 debug pop3auth required /usr/lib/security/pam_smb_auth.so.1 debug (I tried also with other options instead of debug, as nolocal and use_first_pass, but without success). Then I edited the /etc/imapd.conf: configdirectory: /data/imap partition-default: /data/spool/imap admins: cyrus root allowanonymouslogin: no quotawarn: 90 sasl_pwcheck_method: pam # Mods. by VM for SSL Support, 01/06/2001 tls_cert_file: /data/imap/server.pem tls_key_file: /data/imap/server.pem I cannot logon on the imap server and these are the errors reported: from the imapd.log ... Jun 15 10:16:29 uxs03 imapd[3382]: [ID 921384 local6.debug] accepted connection Jun 15 10:16:29 uxs03 imapd[3382]: [ID 427203 local6.debug] pam_authenticate: error Can not retrieve authentication info Jun 15 10:16:35 uxs03 last message repeated 2 times ... from the auth.log ... Jun 15 10:16:29 uxs03 imapd[3382]: [ID 498107 auth.debug] pam_smb: Local UNIX username/password check incorrect. Jun 15 10:16:29 uxs03 imapd[3382]: [ID 562731 auth.debug] pam_smb: Configuration Data, Primary , Backup , Domain . Jun 15 10:16:38 uxs03 IMP[138]: [ID 800047 auth.notice] FAILED 10.162.36.176 to localhost:143 as avm018 ... What I' missing? Thanks for any help, Vito
Re: Cyrus 2.0.14 on Linux and signal 11
Hi everyone, I also run into signal 11. But it happens when I try to access the mailserver through imap only. imapd gets signaled to death by 11, when I connect to it with a "fresh" imap-client, that is, a client which has no information about the folder structure yet. I only have one client, that is a w2k with netscape, that can access the imap server without any problems, but this client was configured over a year ago and knows the folder structure. Other users can access their mails through pop3 without any problems. I also have another user who uses an outlook mailclient with imap and he can also download his mails without any problems, but his folder structure is also known for over a year. I saw that many of the processes, which are invoked by master, can have a -d option for debug. But unfortunately imapd does not seem to have such an option. I'd like to know what happens there since I really want to access my mails from another client (which is linux), but imapd dies in the moment any "fresh" client (mozilla, netscape, evolution) looks up for mail folders. Do you have any suggestions? I am positive that the hardware is okay, I tested it and especially the server's RAM last week for over 48h and the server is in production for month now, so I assume it has to do something with cyrus. Thank you for any help you can offer. Bye, Levent.
RE: Cyrus 2.0.14 on Linux and signal 11
Well, here are a couple of things to try, even though they did not solve my problem: 1) Make sure SASL and IMAP are linked against the same db libs. 2) Perhaps there is a problem with your folder structure? Try re-constructing mailboxes. --Moby -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Levent Gundogdu Sent: Friday, June 15, 2001 6:16 AM To: [EMAIL PROTECTED] Subject: Re: Cyrus 2.0.14 on Linux and signal 11 Hi everyone, I also run into signal 11. But it happens when I try to access the mailserver through imap only. imapd gets signaled to death by 11, when I connect to it with a "fresh" imap-client, that is, a client which has no information about the folder structure yet. I only have one client, that is a w2k with netscape, that can access the imap server without any problems, but this client was configured over a year ago and knows the folder structure. Other users can access their mails through pop3 without any problems. I also have another user who uses an outlook mailclient with imap and he can also download his mails without any problems, but his folder structure is also known for over a year. I saw that many of the processes, which are invoked by master, can have a -d option for debug. But unfortunately imapd does not seem to have such an option. I'd like to know what happens there since I really want to access my mails from another client (which is linux), but imapd dies in the moment any "fresh" client (mozilla, netscape, evolution) looks up for mail folders. Do you have any suggestions? I am positive that the hardware is okay, I tested it and especially the server's RAM last week for over 48h and the server is in production for month now, so I assume it has to do something with cyrus. Thank you for any help you can offer. Bye, Levent.
Re: vacation: multiline replies
Alain Turbide wrote: > > Hmm, I suspect I was wrong with this one. I've duplicated the problem and > even thought the actual sieve script itself has the newlines, they don't > seem to be sent out on the vacation reply. Is there an lmtpd setup we're > missing here or is it a bug with sieve. The received email has no newlines > within it at all. Does sieve remove them? Have'tn had a chance to look at > the code. Did'nt find any references about it on the list either so figured > there is something I'm missing. The problem is not with Websieve though.. Here's the story AFAIK. Even though the Sieve spec allows CR/LF in quoted strings, the cmu-sieve parser eats them. I'm pretty sure that I know how to fix this to solve the vacation problem that you're seeing, but I'm not sure what the side effects would be for the rest of the parser, so I'm hesitant to make the change. My suggestion would be to have Websieve use the multi-line string form (see section 2.4.2 of RFC3028) for the vacation response text. This is exactly what the multi-line form was designed for, and IMHO it make the scripts easier to read. For example: vacation :days 7 :addresses ["[EMAIL PROTECTED]"] text: On vacation for the next week. Don't call me, I'll call you. . ; > - Original Message - > From: "Alain Turbide" <[EMAIL PROTECTED]> > To: "Klaus Jaehne" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Thursday, June 14, 2001 4:34 PM > Subject: Re: vacation: multiline replies > > > Sounds like the email program that receives the replies does'nt like plain > > new lines but prefers \r\n combinations. What email program receives the > > replies? Does the response message look ok in the raw script (not the > > basic mode..) if not then it's a different problem. I haven't seen it > here. > > > > Alain > > > > - Original Message - > > From: "Klaus Jaehne" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Wednesday, June 13, 2001 6:29 AM > > Subject: vacation: multiline replies > > > > > > > Hi, > > > > > > We have one problem with vacation and websieve: Users set their vacation > > > messages with websieve - the reply usually consists of several lines of > > > text. The problem is: The reply mail shows all lines queezed in one, > while > > > the text looks OK in websieve. > > > > > > We use Cyrus 2.0.14 and websieve 0.59. > > > > > > Any ideas? > > > > > > > > > -- > > > Mit freundlichen Grüßen, > > > Klaus Jähne > > > > > > Thinking Objects Software GmbH, Lilienthalstr. 2, 70825 Stuttgart, DE > > > phone 49 711 88770 100, fax 449, [EMAIL PROTECTED], http://www.to.com/ > > > > > > Linux without limits: http://linux.s390.org/ > > > > > > > > > > > > > -- 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[2]: Archiving mailboxes
Hey Jen-Mei, Sunday, May 27, 2001, 11:10:07 PM, you wrote: JMW> That doesn't really help, unfortunately. The idea is that on a JMW> particular client, someone might want to archive all messages older JMW> than 30 days to an identical folder (same place in tree, etc.) JMW> locally. I don't know of any MUA that does this, but if someone can JMW> think of one, I'd love to hear it! JMW> Thanks! The Bat! by RIT Labs has an extensive set of features. Maybe it'll even sync the IMAP folders automagically (dunno, haven't tried that yet), but you could always email the author, who's quick to respond. Anyway, with The Bat! you can filter messages based on headers (which is typical), but also on emails that are are older than x number of day, less than x number of days, larger than x KB, less than x KB, whether or not the user is in your address book, whether or not it has attachments, the priority of the email, and many others. Hell, even whether or not the screen saver is on (dunno why :-P) Check it out at www.ritlabs.com . I'm usually not one to plug software, but I've found this to be the most full-featured security-minded MUA at a nice educational price :) -- Kevin
Re: Re[2]: Archiving mailboxes
The Bat!'s support of IMAP isn't all that great, unfortunately (at least when I tried it a few months ago). I've tried it, Mulberry, Netscape, Outlook Express, Eudora, Calypso, and a few others whose names I can't remember. None of them offer the feature I'm interested in (configurable auto archiving of folders). On another note, the only MUA I've found that supports the IMAP servers my ISPs use and supports filtering into IMAP folders is Netscape. I don't think Netscape is a great MUA, but it's the only the that does everything. Mulberry looked promising, but it ran into errors just trying to read my inbox (plus it was really slow). I don't know if this is an issue with the IMAP server implementation (Imail) or what, but both Netscape and OE can open the inbox okay. OE is okay if you have server-side filtering (which I do now). Jen - Original Message - From: Kevin J. Menard, Jr. <[EMAIL PROTECTED]> To: Jen-Mei Wu <[EMAIL PROTECTED]> Cc: Nuno Silva <[EMAIL PROTECTED]>; Cillian Sharkey <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, June 15, 2001 10:22 AM Subject: Re[2]: Archiving mailboxes > Hey Jen-Mei, > > > Sunday, May 27, 2001, 11:10:07 PM, you wrote: > > JMW> That doesn't really help, unfortunately. The idea is that on a > JMW> particular client, someone might want to archive all messages older > JMW> than 30 days to an identical folder (same place in tree, etc.) > JMW> locally. I don't know of any MUA that does this, but if someone can > JMW> think of one, I'd love to hear it! > > JMW> Thanks! > > The Bat! by RIT Labs has an extensive set of features. Maybe it'll even sync > the IMAP folders automagically (dunno, haven't tried that yet), but you could > always email the author, who's quick to respond. Anyway, with The Bat! you can > filter messages based on headers (which is typical), but also on emails that are > are older than x number of day, less than x number of days, larger than x KB, > less than x KB, whether or not the user is in your address book, whether or not > it has attachments, the priority of the email, and many others. Hell, even > whether or not the screen saver is on (dunno why :-P) > > Check it out at www.ritlabs.com . I'm usually not one to plug software, but > I've found this to be the most full-featured security-minded MUA at a nice > educational price :) > > -- > Kevin > >
imtest PLAIN auth broken?
imtest seems to be broken for me when doing PLAIN authentication (however doing it manually works fine). Below you can see imtest failing to login followed by the successful manual login attempt. % imtest -t "" -u cyrus -a cyrus -m plain localhost [..] TLS connection established: TLSv1 with cipher DES-CBC3-SHA (168/168 bits) C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE STARTTLS AUTH=PLAIN X-NETSCAPE S: C01 OK Completed in sasl_client_start mech list from server is plain Considering mech plain Best mech so far: PLAIN Plain step #1 Trying to get userid Trying to get authid Trying to get password returning prompt(s) Please enter your password: in sasl_client_start Plain step #1 Trying to get userid Trying to get authid Trying to get password Got username, authid, and password userid=[cyrus] authid=[cyrus] password=[$cyrus] C: A01 AUTHENTICATE PLAIN S: + Plain step #3 Verify we're done stepC: S: A01 NO bad protocol / cancel Authentication failed. generic failure Security strength factor: 0 . AUTHENTICATE PLAIN + Y3lydXMAY3lydXMAJGN5cnVz . OK Success (tls protection) . LOGOUT * BYE LOGOUT received . OK Completed Connection closed. Just for completeness, imtest works fine using the 'login' mechanism and the base64 auth string was generated as follows: % echo -n "cyrus\0cyrus\0\$cyrus" | openssl base64 Y3lydXMAY3lydXMAJGN5cnVz -- Cillian
Re: vacation: multiline replies
Thanks Ken. I"ve made the necessary changes to Websieve to use the "text: \r\n.\r\n" format for quoted strings. Cleaner and easier to use anyways. It should be available on the server shortly. > > My suggestion would be to have Websieve use the multi-line string form > (see section 2.4.2 of RFC3028) for the vacation response text. This is > exactly what the multi-line form was designed for, and IMHO it make the > scripts easier to read. For example: > > vacation :days 7 :addresses ["[EMAIL PROTECTED]"] text: > On vacation for the next week. > > Don't call me, I'll call you. >
Group ACLs
Hey everyone, I'm trying to setup some group ACLs in Cyrus where the group membership is defined by an LDAP server. Does anyone already have a patch that does this for 1.6.x? THX. -- Todd Nemanich [EMAIL PROTECTED] "Protecting the opulent and staging moral standard, They expect redemption of character and self growth" Bad Religion - Inner Logic
Suggested fixes
- Starting master in debug mode (-D), I noticed "imapd: illegal option -- s" errors when IMAP SSL sessions were started. getopt in service.c is the cause of this as it doesn't know of all the various options services accept. Setting opterr = 0 seems like the easiest way of getting rid of the (annoying ;) messages. - Now that imapd reuses connections, it's probably worthwhile clearing the imapd's process title after a client disconnects, otherwise it "appears" it is still servicing the client in a ps listing. (patches for suggested fixes attached) Regards, -- Cillian --- imapd.c.origMon Jun 4 00:58:14 2001 +++ imapd.c Fri Jun 15 15:35:40 2001 @@ -218,6 +218,8 @@ static void mstringdata(char *cmd, char *name, int matchlen, int maycreate); extern void setproctitle_init(int argc, char **argv, char **envp); +extern void setproctitle(const char *fmt, ...); + extern int proc_register(char *progname, char *clienthost, char *userid, char *mailbox); extern void proc_cleanup(void); @@ -346,6 +348,7 @@ static void imapd_reset(void) { +setproctitle("imapd: awaiting connection"); proc_cleanup(); if (imapd_mailbox) { --- master/service.c.orig Fri Jun 15 17:58:53 2001 +++ master/service.cFri Jun 15 15:04:29 2001 @@ -145,6 +145,7 @@ int opt; char *alt_config = NULL; +opterr = 0; while ((opt = getopt(argc, argv, "C:")) != EOF) { switch (opt) { case 'C': /* alt config file */
No Subject
I am using PostFix on my RedHatBox 7.1 And I use cyrus as my mailbox transport, but when I deliver mail I can not receive mail from Inbox.I check the mail log and found follows in mail log: May 6 10:26:58 tifa postfix/pipe[8634]: fatal: request to use mail system owner group id 12 May 6 10:26:59 tifa postfix/local[8624]: warning: end of input while receiving string data from service private/cyrus May 6 10:26:59 tifa postfix/local[8624]: warning: private/cyrus: malformed response May 6 10:26:59 tifa postfix/master[8597]: warning: process /usr/libexec/postfix/pipe pid 8634 exit status 1 May 6 10:26:59 tifa postfix/master[8597]: warning: /usr/libexec/postfix/pipe: bad command startup -- throttling Any suggestion-please help.
Re: Cyrus 2.0.14 on Linux and signal 11
Is there a way to compile SASL against the libs in /usr/local/BerkeleyDB.3.2/lib instead of /lib ? There is a configure option (--with-dbdir=DIR) for Cyrus-imapd but none for cyrus-sasl Mobeen Azhar wrote: > Well, here are a couple of things to try, even though they did not solve my > problem: > > 1) Make sure SASL and IMAP are linked against the same db libs. > 2) Perhaps there is a problem with your folder structure? Try > re-constructing mailboxes. > > --Moby > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Levent > Gundogdu > Sent: Friday, June 15, 2001 6:16 AM > To: [EMAIL PROTECTED] > Subject: Re: Cyrus 2.0.14 on Linux and signal 11 > > > Hi everyone, > > I also run into signal 11. But it happens when I try to access the > mailserver through imap only. imapd gets signaled to death by 11, when I > connect to it with a "fresh" imap-client, that is, a client which has no > information about the folder structure yet. I only have one client, that is > a w2k with netscape, that can access the imap server without any problems, > but this client was configured over a year ago and knows the folder > structure. Other users can access their mails through pop3 without any > problems. I also have another user who uses an outlook mailclient with imap > and he can also download his mails without any problems, but his folder > structure is also known for over a year. > > I saw that many of the processes, which are invoked by master, can have a -d > option for debug. But unfortunately imapd does not seem to have such an > option. I'd like to know what happens there since I really want to access my > mails from another client (which is linux), but imapd dies in the moment any > "fresh" client (mozilla, netscape, evolution) looks up for mail folders. > > Do you have any suggestions? > > I am positive that the hardware is okay, I tested it and especially the > server's RAM last week for over 48h and the server is in production for > month now, so I assume it has to do something with cyrus. > > Thank you for any help you can offer. > > Bye, > Levent. > > >
Authentication problem
Greetings, I have a problem that I have been toiling with for quite some time now and thought I would present it to the list for any insight. I have Cyrus IMAP server version 2.0.12 running on Solaris 8. We are authenticating clients using plaintext and SASL 1.5.24 Our customer's application is connecting to the application from a Windows NT server using an IMAP DLL library provided by Quiksoft. (www.quiksoft.com). The application is configured to login to the server using the "cyproxy" userid. When looking at the log file imapd.log I see the application making a connection, but then it just immediately exists with status code 0.IMAPD never displays a message indicating that the "cyproxy" id was every authenticated. While performing my own testing I noticed that if I telnet to port 143 on the IMAP server and attempt to login with a bogus username / password that the IMAP server log file DOES NOT REFLECT the failed login attempt. So I don't know if the application is: A. Establishing a connection to port 143, but then not proceeding to try to authenticate by sending plaintext login/password. -- or - B. Establishing a connection, sending login/password information but receiving some type of error condition that is not being reflected properly in the imapd.log file. Does anyone have any advice on how to further debug this issue? Is there a way to increase the debug or logging level of the imapd server such that I can see what is occurring after connect on port 143? Any help is very much appreciated. Thank-you, Tim Powell
Re: Legal Characters in mailbox names
I feel that I should qualify this a little bit more. Yes, the following are valid mailbox name characters (as stated below): " +,-.0123456789:=@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~" However, if you are sharing a mailbox and set it up for external delivery (i.e. anyone+post ability) and sendmail is your SMTP server, I find that capital letters and spaces are no longer permitted. So the list becomes: "+,-.0123456789:=@_abcdefghijklmnopqrstuvwxyz~" I haven't tried many of the others to see what happens. Keep in mind that this is sendmail's fault and not Cyrus! What happens is that all uppercase characters get folded into lowercase and all spaces get converted to periods before the message gets passed onto "deliver" or "lmtpd" for final delivery. Consequently, the mailbox is usually not found and the message arrives in your INBOX instead. I tried tracing this in sendmail, thinking that it was one of the rules in sendmail.cf that might be doing this. What I found was that when it left one rule (maybe the 6th rule? can't remember), the mailbox name was fine, with all the spaces and caps intact. However, *before* it got into the next rule, the name had changed, with everything in lowercase and spaces replaced by periods. I was amazed that it was done between sendmail rules and I can only guess it must be occuring in the source of sendmail itself. Has anyone else seen this behavior? Are there any work arounds? I can live without the uppercase characters, but I use spaces a lot in my mailbox names. Scott --On Thursday, June 14, 2001 10:41 AM -0700 David Fuchs <[EMAIL PROTECTED]> wrote: > cyrus-imapd-2.0.12 - imap/mboxname.c - line #187: > > I believe this is what you're looking for... > ># define GOODCHARS " > +,-.0123456789:=@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~" > > -David Fuchs > > > > Barbara Greenwood wrote: > >> Hi, >> >> Does anyone know which characters, other than alphanumeric, are legal in >> mailbox names with Cyrus v2.0.12 & later? >> >> >> >> Thanks, >> Barbara >> -- >> Barbara Greenwood >> Senior Developer >> World Online UK, a Tiscali Company >> Email: [EMAIL PROTECTED] >> > > -- +-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-+ Scott W. Adkinshttp://www.cns.ohiou.edu/~sadkins/ UNIX Systems Engineer mailto:[EMAIL PROTECTED] ICQ 7626282 Work (740)593-9478 Fax (740)593-1944 +-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-+ CNS, HDL Center, Suite 301, Ohio University, Athens, OH 45701-2979
Re: Legal Characters in mailbox names
On 15-Jun-2001 Scott Adkins wrote: > However, if you are sharing a mailbox and set it up for external > delivery > (i.e. anyone+post ability) and sendmail is your SMTP server, I find > that > capital letters and spaces are no longer permitted. So the list > becomes: > > "+,-.0123456789:=@_abcdefghijklmnopqrstuvwxyz~" > This is true. Here a short excerpt of the sendmail book (bat book): Preserve uppercase for username The username portion of the recipient's address is ordinarily converted to lowercase before being tucked into $u. The $u is usually used with the A= equate of a delivery agent: Mprog, P=/bin/sh, F=lsDFMeuP, S=10, R=20, A=sh -c $u Some delivery agents, such as the prog agent, execute programs. They require that the program (user) name be left as is (otherwise, the program name would not be found). Specifying the F=u flag tells sendmail to not convert that name to lowercase. Beginning with v8,7 sendmail, the F=u flag also determines how some aliases are treated. If it is set, usernames are stored in the aliases database without conversion to lowercase. If it is clear, they are converted to lowercase. Also if the F=u flag is set, looking up the owner part that follows the owner- in a mailing list is done in a case-sensitive manner. If the F=u flag is clear, the owner is converted to lowercase before being looked up. In general, the F=u flag should be set in all delivery agent declarations, except the local delivery agent. --- The last sentence tells you where to look. Normaly the F=u flag is not set at the local delivery agent. And this is your problem. Add the F=u flag to your local delivery agent (as I've done) and all user names stay case-sensitive. -- Theofilu Andreas http://members.aon.at/theofilu - Enjoy the science of Linux! Genieße die Wissenschaft von Linux! -
RE: Cyrus 2.0.14 on Linux and signal 11
I just compiled both against the libs in /usr/lib. --Moby -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Patrick Boutilier Sent: Friday, June 15, 2001 13:10 PM To: [EMAIL PROTECTED] Subject: Re: Cyrus 2.0.14 on Linux and signal 11 Is there a way to compile SASL against the libs in /usr/local/BerkeleyDB.3.2/lib instead of /lib ? There is a configure option (--with-dbdir=DIR) for Cyrus-imapd but none for cyrus-sasl Mobeen Azhar wrote: > Well, here are a couple of things to try, even though they did not solve my > problem: > > 1) Make sure SASL and IMAP are linked against the same db libs. > 2) Perhaps there is a problem with your folder structure? Try > re-constructing mailboxes. > > --Moby > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Levent > Gundogdu > Sent: Friday, June 15, 2001 6:16 AM > To: [EMAIL PROTECTED] > Subject: Re: Cyrus 2.0.14 on Linux and signal 11 > > > Hi everyone, > > I also run into signal 11. But it happens when I try to access the > mailserver through imap only. imapd gets signaled to death by 11, when I > connect to it with a "fresh" imap-client, that is, a client which has no > information about the folder structure yet. I only have one client, that is > a w2k with netscape, that can access the imap server without any problems, > but this client was configured over a year ago and knows the folder > structure. Other users can access their mails through pop3 without any > problems. I also have another user who uses an outlook mailclient with imap > and he can also download his mails without any problems, but his folder > structure is also known for over a year. > > I saw that many of the processes, which are invoked by master, can have a -d > option for debug. But unfortunately imapd does not seem to have such an > option. I'd like to know what happens there since I really want to access my > mails from another client (which is linux), but imapd dies in the moment any > "fresh" client (mozilla, netscape, evolution) looks up for mail folders. > > Do you have any suggestions? > > I am positive that the hardware is okay, I tested it and especially the > server's RAM last week for over 48h and the server is in production for > month now, so I assume it has to do something with cyrus. > > Thank you for any help you can offer. > > Bye, > Levent. > > >
Re: Cyrus 2.0.14 on Linux and signal 11
Patrick Boutilier asks: > >Is there a way to compile SASL against the libs in >/usr/local/BerkeleyDB.3.2/lib instead of /lib ? >There is a configure option (--with-dbdir=DIR) for Cyrus-imapd but none >for cyrus-sasl Here's what I do, for a copy of DB that's compiled but not installed... env CPPFLAGS="-I/usr/local/src/db/db-3.1.17/build_unix" \ LDFLAGS="-L/usr/local/src/db/db-3.1.17/build_unix -R/usr/local/lib" \ CC=cc \ ./configure --localstatedir=/var/run --with-dblib=berkeley \ --with-saslauthd=/var/run/saslauthd --enable-login --disable-krb4 \ --disable-gssapi -- -Gary Mills--Unix Support--U of M Academic Computing and Networking-
postfix+cyrus error
I am using PostFix on my RedHatBox 7.1 And I use cyrus as my mailbox transport, but when I deliver mail I can not receive mail from Inbox.I check the mail log and found follows in mail log: May 6 10:26:58 tifa postfix/pipe[8634]: fatal: request to use mail system owner group id 12 May 6 10:26:59 tifa postfix/local[8624]: warning: end of input while receiving string data from service private/cyrus May 6 10:26:59 tifa postfix/local[8624]: warning: private/cyrus: malformed response May 6 10:26:59 tifa postfix/master[8597]: warning: process /usr/libexec/postfix/pipe pid 8634 exit status 1 May 6 10:26:59 tifa postfix/master[8597]: warning: /usr/libexec/postfix/pipe: bad command startup -- throttling Any suggestion-please help.
Cyrus Perl Modules authentication questions..
Hi Larry, I just have a couple questions regarding the Cyrus::IMAP::Admin and Cyrus::SIEVE::managesieve perl modules. They are so very much different in their implementations and I just have a couple of issues with them. The Imap module works fine in CGI applications for PLAIN or LOGIN authentication since I can send the password as a parameter but this does'nt work with DIGEST-MD5 or CRAM-MD5. The passwords dont get passed properly to the sasl library and I get an authentication error in the message log and the perl module gives me a "Virtual Memory exhausted at ...IMAP.pm line 125". Of course if I don't send the -password parameter to the authenticate procedure then SASL comes back, asks for the password and authenticates me fine. (which is'nt useful for non-console apps.). I still get the "virtual memory" error if I enter the wrong password. As to the managesieve module, it's a different story. I can pass the user, realm and password to the connection and get authenticated fine in DIGEST-MD5 BUT I cannnot select the mechanism of authentication. It is selected by the perl module according the Availability of the remote timsieved daemon. Two very different methods with their own sets of difficulties.. Just not sure why they were implemented so very differently. My question then is there a way using perl and the existing modules to pass all the authentication parameters to these modules to eliminate prompting for passwords? Hope I'm not asking for the impossible, just that this would make these modules so much more useful. I'd rather stick to using the facilities provided by Cyrus::Imap for all interfacing. Thanks.. Alain Turbide info
Re: Authentication problem
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > While performing my own testing I noticed that if I telnet to port 143 on > the IMAP server and attempt to login with a bogus username / password that > the IMAP server log file DOES NOT REFLECT the failed login attempt. It should! Your syslog setup may not be logging everything. Make sure you have local6.* in syslog.conf going somewhere. To be super-safe, you can log *.* to a file which is bound to get all Cyrus messages (and a whole lot more besides ;) > Does anyone have any advice on how to further debug this issue? Is there a > way to increase the debug or logging level of the imapd server such that I > can see what is occurring after connect on port 143? Run master like so: # CYRUS_VERBOSE=10 /path/to/master Also, versions of Cyrus > 2.0.12 have a -D switch for leaving stdout & stderr open to help debugging. Try running tcpdump/ethereal/etc. to capture the session log between the client and the server to see what's actually going on. Regards, -- Cillian
Restoring/Re-Inexing Mailboxes
Hello, I have deleted a subfolder of a mailbox using an imap client - which I have backed up before using plain tar. Now I try to restore the tarred mailbox, but somehow cyrus does not recognize it any more. So I guess I have missed to backup something from /var/imap (config directory). Still, is there a way to re-index a subfolder or the whole mailbox ? I tried to add user.test.subfolder to the test.seen file and I tried to re-create the subfolder using cyradm. Latter one brought back the folder (surprise ...) - but withouth the messages. Regards Klaus