Tcl interface for mclient, and the copyright in the imclient man page
I've looked at the cyradm.c implementation of a Tcl interface. The only thing wrong with it appears to be a little bit rot from not being supported since Tcl 7.5. This would seem to be easily overcome with some programming. If anybody else is working on this, I'd like to know about it. So far, I've played around with adding support for the STATUS and CAPABILITY commands. I'm using Tcl8.3 and converted the implementation to use the Tcl object system. This interface has great potential for taking advantages of Tcl's event loop. All that needs to be added is support for the mailbox manipulation commands, such as SELECT, EXAMINE, FETCH, CLOSE, EXPUNGE, etc. Imclient would seem to make this all very easy. Libcyrus.a would need to be made into a shared library for this to be a dynamically loadable package. The copyright in the imclient man page is very restrictive, specifically excluding commercial use. Since I'm intending commercial use, would somebody please say if this is still true or is this an oversight of not updating documentation? Doc/readme.html has a clearly less restrictive copyright. Regards, Randy
Re: Tcl interface for mclient, and the copyright in the imclientman page
On Tue, 8 Oct 2002, Randy Kunkee wrote: I've looked at the cyradm.c implementation of a Tcl interface. The only thing wrong with it appears to be a little bit rot from not being supported since Tcl 7.5. This would seem to be easily overcome with some programming. If anybody else is working on this, I'd like to know about it. No one else is working on this. The TCL implementation of cyradm was long ago replaced by a Perl implementation. -Rob -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 Research Systems Programmer * /usr/contributed Gatekeeper
Re: What format can Cyrus store mail in?
Kevin P. Fleming [EMAIL PROTECTED] writes: Cyrus stores the messages themselves in individual text files, unchanged from the way they are passed in via LMTP. So it's like maildir? Could I copy the raw Cyrus directories and expect them to work with other clients that supported maildir? Thanks, Erik.
lmtp via TCP (localhost)
I setup sendmail 8.12.6 to use TCP for lmtp rather than UNIX sockets. define(`confLOCAL_MAILER', `cyrusv2')dnl define(`CYRUSV2_MAILER_FLAGS', `A5@w/:|m')dnl define(`CYRUSV2_MAILER_ARGS', `TCP localhost lmtp')dnl While this all SEEMS to work, when sendmail attempts to deliver a local message this is what happens: Oct 8 08:48:02 miller sendmail[787]: g98Dm0CH000786: to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (106/20), delay=00:00:01, xdelay=00:00:00, mailer=cyrusv2, pri=30584, relay=localhost.foobar.com. [127.0.0.1], dsn=4.0.0, stat=Deferred: 430 Authentication requ ired Authentication required? For local delivery? Help? -- J.D. Bronson Aurora Health Care // Information Systems // Milwaukee, WI USA Office: 414.978.8282 // Fax: 414.328.8282 // Pager: 414.603.8282
Easysieve 1.2 now available
An updated version of the `easysieve' application is now available at: http://mail.cc.umanitoba.ca/source The changes are mostly minor, although this version fixes a couple of cookie-related problems. easysieve.pl is a web application that offers a simplified interface for commonly-used Cyrus sieve script functions. Each web form has a detailed explanation of its purpose, and each field on the form has a block of text explaining what should be entered there. -- -Gary Mills--Unix Support--U of M Academic Computing and Networking-
Re: lmtp via TCP (localhost)
I setup sendmail 8.12.6 to use TCP for lmtp rather than UNIX sockets. Oct 8 08:48:02 miller sendmail[787]: g98Dm0CH000786: to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (106/20), delay=00:00:01, xdelay=00:00:00, mailer=cyrusv2, pri=30584, relay=localhost.foobar.com. [127.0.0.1], dsn=4.0.0, stat=Deferred: 430 Authentication requ ired Edit your cyrus config file. See the line like this: lmtpcmd=lmtpd listen=localhost:lmtp prefork=0 maxchild=20 Add -a to the cmd portion. (cmd=lmtpd -a). Quick and easy, which means there must be a downside. And there is - anything that connects to the lmtp port on localhost is automatically authenticated. Might not be a smokin' hot idea for boxes with shell accounts. The alternative (and no, I haven't done this yet) is to configure your MTA to use SASL to authenticate when it connects. I know Postfix can do this, but I haven't played with sendmail in a long, long time. If you're going to go this route, you don't add the -a to the lmtpd command like I described above. Hope this helps in some way. Chris Hilts [EMAIL PROTECTED]
Re: What format can Cyrus store mail in?
On Tue, Oct 08, 2002 at 09:28:13AM -0400, Erik Enge wrote: Kevin P. Fleming [EMAIL PROTECTED] writes: Cyrus stores the messages themselves in individual text files, unchanged from the way they are passed in via LMTP. So it's like maildir? Could I copy the raw Cyrus directories and expect them to work with other clients that supported maildir? From the little bit of work I've done with Maildir, no, you cannot. -- Scott Russell ([EMAIL PROTECTED]) Linux Technology Center, System Admin, RHCE. Dial 877-735-8200 then ask for 919-543-9289 (TTY)
Re: User account - permission denied
You have to have c permission to delete the user. So, do a sam first, like this: localhost sam user.fcuell cyrus all where cyrus is your administrator. This gives user cyrus permission to do anything he/she wants to the mailbox. Then, localhost dm user.fcuell should work fine. c* - Original Message - From: Felix Cuello [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 08, 2002 4:19 PM Subject: User account - permission denied Hello, I'm actually migrating my old cyrus users from a cyrus 2.0.16 to a new cyrus 2.1.9. I've created an account without any permissions... just $ cyradm --user cyrus localhost localhost cm user.fcuell localhost quit And then copy all contents of: /var/spool/imap/user/fcuell to /var/spool/imap/user/fcuell /var/imap/quota/user.fcuell to /var/imap/quota/f/user.fcuell All works fine... except when I tried to delete this mailbox... and here you hare the stdout :\ [root@sinclair /]# cyradm --user cyrus localhost IMAP Password: localhost lm user.fcuell (\HasNoChildren) localhost dm user.fcuell deletemailbox: Permission denied localhost I tried to delete all folders that contains user.fcuell information, but when I restart cyrus user.fcuell is still alive... What can I do? thanks a lot Felix
Re: shadow or PAM authentication
On Tue, 8 Oct 2002, Robert Scussel wrote: What version of sasl? What do your conf files look like? cyrus is 1.5.24. My /etc/imapd.conf has: partition-default: /var/spool/imap admins: cyrus allowanonymouslogin: no allowplaintext: yes sasl_passwd_check: pwcheck # To use the PAM for authentication (but not /etc/passwd or shadow), change # the following line to specify pam instead of sasldb. #sasl_pwcheck_method: sasldb tls_ca_file: /var/imap/server.pem tls_cert_file: /var/imap/server.pem tls_key_file: /var/imap/server.pem (I am using imap over ssl, but this is ok) TIA, -- Roberto Jung Drebes [EMAIL PROTECTED] Porto Alegre, RS - Brasil http://www.inf.ufrgs.br/~drebes/
Re: shadow or PAM authentication
What version of sasl? What do your conf files look like? B Roberto Jung Drebes wrote: Hi there, I am using cyrus imapd 2.0.16, and having no success authenticating users at the shadow file. I have pwcheck running as root, and sasl_passwd_check: pwcheck in /etc/imapd.conf, but when my user tries to authenticate, via mozilla, it receives a Login to server failed, error. With imtest, I get that the user does not exists, and he really do not exists in the sasldb, but it shouldn't be checking the sasldb instead of shadow. Can someone help me? TIA,