Re: sieve filtering into a program, or a file?
"The Hermit Hacker" <[EMAIL PROTECTED]> wrote: > Right now, we're using procmail in order to help a user filter mail ... > basically, if it comes in with a To address of X, file it to a file, else > file it into his imap mailbox ... > > Is there some way of doing similar with sieve *or* at least having that > mail message pipe'd through a program? You could use "resend" to forward the message to a program or file mail alias defined in /etc/mail/aliases. Or, you could refile into an IMAP folder and have a program periodically download messages from there. Cheers, -Peter S. Housel- [EMAIL PROTECTED] http://members.home.com/housel/
Re: Redhat 7.0 + Cyrus Imap 1.6.25 deliverdb problem - solved
In case anyone else has the problem.. It is the dreaded db3 problem with Redhat's links.Had to search the list archives to find it. The sasl libraries build fine using the db3 headers but I could'nt get cyrus-imap to compile the deliver program properly using the db3 headers and library. I had to make a link for /usr/lib/libdb.so to point to libdb1.so in order and use CPPFLAGS=-I/usr/include/db2 and LDFLAGS=-L/usr/lib . Redhat puts a link in /lib/libdb.so to point to the db3 library file but the cyrus-imapd configure just would work or compile properly with the include db3 library. Had to use the db1 one. All is fine now. If anyone has a better fix or a better explanation, let me know. Do intend to move to 2.0.12 eventually but am waiting for all db related issues to be resolved. Alain - Original Message - From: "Alain Turbide" <[EMAIL PROTECTED]> To: "Cyrus Mailinglist" <[EMAIL PROTECTED]> Sent: Monday, March 05, 2001 9:11 AM Subject: Redhat 7.0 + Cyrus Imap 1.6.25 deliverdb problem > Can anyone shed some light on this problem I'm having. Whenever a message > needs to be delivered to more then one recipient in the same deliverdb > database file I get a "resource not available" message from the deliver > process (in LMTP mode) and the message remains queued. Seems like a db > locking problem to me.. The deliver.db files do get created and seem to work > ok for duplicate message suppression but I still get this error. I've > recompiled cyrus to use the db1 header files instead of the db3 includes and > still the same problem. The only difference I really see is when I run > configure. The dbopen function never gets located on Redhat 7.0 but is ok > on a Redhat 6.2 system. The messages do get delivered eventually but takes > a few runs of the queue first. One more weird sympton is that the vacation > replies totally ignore the days setting and always send a reply to every > message. > > Yes I know I should upgrade to 2.0.x eventually but I'm ready yet to switch > over my production system to it. > >
Re: Cyradm
Bevan Christians <[EMAIL PROTECTED]> wrote: > I have a problem with cyradm > > it asks for one pwd for the cyrus user which I have, > then it asks me for an IMAP pwd , which I don't have > > Non of the FAQs I have speak about this > > Anyone have this problem b4? Yes. The reason for this is that the first method for authentication fails (for whatever reason) and so it falls back to using the IMAP LOGIN method which is what the "IMAP Password:" prompt is about. Either enter the same password twice at both prompts, or use 'cyradm --auth login' to specifically use the IMAP LOGIN method only. Regards, -- Cillian
Re: SIEVE question
Ralf Haferkamp wrote: > > Hi, > > Is it possible to write a SIEVE filterrule that checks all mail headers for > a specific string? Something like: > > if header :contains [*] "blahblah"{ > discard; ^ > }| > | > |___ > What do I have do put here to > test _all_ mail headers? You can't use a wildcard to match all headers. You'll have to list the headers that you want to check, ie: if header :contains ["to", "from", "subject", "x-mailer", ...] "blahblah" { discard; } -- 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: [Re: Modified drac support patch]
Ramiro Morales wrote: > > Glad to apport my two cents for Cyrus. > > Excuse me and please tell me if I'm doing wrong > posting it to the list, maybe one should > sent the patches to another place. > > Just to point thay you may want to correct > the description of the patch at the top of the file, > the first reference to the configuration file to > be edited refers erroneously to cyrus.conf(5) > instead of imapd.conf. Made the change in CVS. Gary, if you are going to add the 2.0.12 patch to your web site, do you want to make this change? -- 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
SIEVE question
Hi, Is it possible to write a SIEVE filterrule that checks all mail headers for a specific string? Something like: if header :contains [*] "blahblah"{ discard; ^ }| | |___ What do I have do put here to test _all_ mail headers? -- regards, Ralf
Re: sieve problem
prune wrote: > hoops > while looking at the log, I just saw : > Mar 7 11:14:55 diamond timsieved[77218]: mkdir > /usr/sieve/p/prune_lecentre_net: No such file or directory > Mar 7 11:14:55 diamond timsieved[77218]: error in actions_setuser() > Mar 7 11:14:56 diamond timsieved[77219]: mkdir > /usr/sieve/p/prune_lecentre_net: No such file or directory > Mar 7 11:14:56 diamond timsieved[77219]: error in actions_setuser() > > so, why is he trying to use /usr/sieve (should use /var/imap/spool/) > ??? Hi prune. /usr/sieve is the default sieve directory. Its clearly documented in the docs. Here is the excerpt from docs/install-configure.html - 7. If you wish to use Sieve, and you didn't configure deliver to look in home directories (see the imapd.conf man page), create the Sieve directory: cd /usr mkdir sieve chown cyrus sieve chgrp mail sieve - Hope that helps > > Thanks for your help :) > > Prune -- Atif Ghaffar Internet Development Manager 4unet AG/SA/Ltd. -. +41 21 351 53 60 ¦ voice +41 78 787 51 45 ¦ mobile +41 86 0796598972¦ fax http://www.4unet.net ¦ www http://atif.developer.ch ¦ homepage [EMAIL PROTECTED] ¦ email
Re: [Re: Modified drac support patch]
Glad to apport my two cents for Cyrus. Excuse me and please tell me if I'm doing wrong posting it to the list, maybe one should sent the patches to another place. Just to point thay you may want to correct the description of the patch at the top of the file, the first reference to the configuration file to be edited refers erroneously to cyrus.conf(5) instead of imapd.conf. And as a bonus a question (for the mailling list): I'm maintaining RPM packages for Red Hat Linux of Cyrus IMAPd, and I'm giving the final retouches to the package containing version 2.0.12. Here is the situation (I hope being clear enough with my bad english): 1) Now that drac support is selectable at runtime I want to be able to make incorporating the drac patch at build time a choice for the builder (he/she should have libdrac.a available in the filesystem at this point). 2) Right now the package build process is using configure as it comes with the Cyrus IMAPd distribution. 3) the drac patch needs to rebuild configure from the patched configure.in, so it adds two (possibly three?) new packages to the list of build dependencies: (automake autoconf (and smake?) I was trying to avoid this and come to the following solution: install automake, autoconf (and smake?) on my system unpack the Cyrus IMAPd distribution to dir A unpack the Cyrus IMAPd distribution to dir B apply the drac patch to dir B run # rm -f aclocal.m4 configure ; sh SMakefile on dir B An now obtain a new drac patch by running diff -ruN A B This new drac patch is applied in the %prep section of the specfile. a diffstat -w 50 run on it gives now: acconfig.h |3 config.h.in |3 configure| 511 + configure.in | 15 imap/imapd.c | 52 ++ imap/pop3d.c | 13 man/imapd.conf.5 |7 7 files changed, 378 insertions, 226 deletions (the high change count in configure is because many "echo configure:" changes after insertion os some lines on it) I'm doing this because the 'expected audience' for the RPM packages is people running Red Hat Linux (as I do), 7 and even the coming 7.1 each one with potentially different versions (or none at all) of db3 and cyrus-sasl so I'm recommending people to download and rebuild the source RPM in their system rather to use the binary one made in my system. But I want to avoid, if possible, to force them to install autoconf, automake (and smake). Is it correct or I'm making some wrong assumption(s) ? TIA ! Ken Murchison <[EMAIL PROTECTED]> wrote: > Thanks for the changes. > > I have attached a slightly modified version of your patch for 2.0.12. I > have also checked a similar patch into CVS for inclusion with future > releases. > > My changes: > > - Use value of 'dracinterval' to enable/disable DRAC at runtime. > > - Set the default value of 'dracinterval' to 5, since I think that most > people who compile Cyrus with DRAC support will tend to use it and > expect it to be on. > > - Disable DRAC at runtime if dracd can not be contacted. > > Ken > > Get free email and a permanent address at http://www.amexmail.com/?A=1
sieve problem
Hi As I can't find more documentation, I'm asking for help. Cyrus + sieve support have been installed, with SASL and pam-ldap. I use LMTP between cyrus and postfix. sieve port (2000) is opened. This is what I get when I telnet it : bash-2.04$ telnet 0 sieve Trying 0.0.0.0... Connected to 0. Escape character is '^]'. "IMPLEMENTATION" "Cyrus timsieved v1.0.0" "SASL" "PLAIN DIGEST-MD5 CRAM-MD5" "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress regex" OK logout Ok "Logout Complete" Then, I tried to use installsieve : su-2.04# /usr/local/cyrus/perl/sieve/scripts/installsieve.pl localhost Please enter your username: Please enter your authentication name: xxx Please enter your password: xxx Unable to connect to server at /usr/local/cyrus/perl/sieve/scripts/installsieve.pl line 136, line 3. is this normal ? what is the difference between username and authentication name ? if my cyrus mailbox is "user.prune_lecentre_net", which one is it ? I then tried to install websieve. I have 2 main problems : -when I give a false user/password, I get the normal management page, without any mailbox in the list -when I give a valid password and make some changs, I get the error : ACL modification successful.. Sieve vacation active error: IMAP::Sieve [ putscript ]: couldn't save script default : NO ("SASL" "internal error") "Authentication error" Error: Unable to Modify Entry... hoops while looking at the log, I just saw : Mar 7 11:14:55 diamond timsieved[77218]: mkdir /usr/sieve/p/prune_lecentre_net: No such file or directory Mar 7 11:14:55 diamond timsieved[77218]: error in actions_setuser() Mar 7 11:14:56 diamond timsieved[77219]: mkdir /usr/sieve/p/prune_lecentre_net: No such file or directory Mar 7 11:14:56 diamond timsieved[77219]: error in actions_setuser() so, why is he trying to use /usr/sieve (should use /var/imap/spool/) ??? Thanks for your help :) Prune