Re: Problem with export db at shutdown
Simon Matter wrote: A quick tip: if it's only hanging with deliver.db, one could simply wipe it and start with a new one. It's not really that important, isn't it? No it isn't really. You will only loose your vacation databases, and if you are running singleinstance store you would get a now copy on disk and not a hard link. Rudy -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert [EMAIL PROTECTED] tel:+32 9 264 4734 Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office Groep SystemenSystems group Universiteit Gent Ghent University Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Sieve vacation problem
Marcelo Terres wrote: I'm having a problem with sieve vacation. I'm using cyrus 2.2.12 with postfix 2.2.10 and horde. My users create the sieve filters with Ingo (from Horde) and everything is working, except vacation. The sieve script is correct, but nothing happens when the message come to the user. Have you checked the server to see if the script is on the sieve dir of the user. Even if Horde says it's activated it could be that it is't activated. Rudy -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert [EMAIL PROTECTED] tel:+32 9 264 4734 Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office Groep SystemenSystems group Universiteit Gent Ghent University Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: need help recovering from disk crash
David Lang wrote: On Tue, 25 Sep 2007, David Lang wrote: On Tue, 25 Sep 2007, Scott M. Likens wrote: Hi, If you have a dump of the mailbox's (ctl_mboxlist) then you can restore those, personally I back those up weekly as well as /var/spool/imap I don't think I have that. If you don't, re-add the users, then do reconstruct -r -f user.username (obviously replace username with the username in question) and it will reconstruct the mailbox and find all the folders for you and add them to the mailboxes db. Then do that on all your users, and you should be good. Ok, that's not bad. I'm running into a problem with this, I can do this for one domain, but not for a second. I don't know if 2.2 supports virtual domains. You'd better check that. I think there is a bug in reconstruct with virtual domains. I have to run: reconstruct -r -f user/[EMAIL PROTECTED] and reconstruct -r -f user/login/[EMAIL PROTECTED] (I'm also using unix hierarchy seperator, but you aren't I think.) -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert [EMAIL PROTECTED] tel:+32 9 264 4734 Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office Groep SystemenSystems group Universiteit Gent Ghent University Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Problem with export db at shutdown
Hi there! Thanks deliver.db: /var/lib/imap/deliver.db: Berkeley DB (Btree, version 9, native byte-order) The running version is: 2.3.8-3 for FC6 here is our cyrus.conf [EMAIL PROTECTED] ~]# vi /etc/cyrus.conf # standard standalone server implementation START { # do not delete this entry! recover cmd=ctl_cyrusdb -r # this is only necessary if using idled for IMAP IDLE idled cmd=idled } # UNIX sockets start with a slash and are put into /var/lib/imap/sockets SERVICES { # add or remove based on preferences imap cmd=imapd listen=imap prefork=5 imaps cmd=imapd -s listen=imaps prefork=1 pop3 cmd=pop3d listen=pop3 prefork=3 pop3s cmd=pop3d -s listen=pop3s prefork=1 sieve cmd=timsieved listen=sieve prefork=1 # these are only necessary if receiving/exporting usenet via NNTP # nntp cmd=nntpd listen=nntp prefork=3 # nntpscmd=nntpd -s listen=nntps prefork=1 # at least one LMTP is required for delivery # lmtp cmd=lmtpd listen=lmtp prefork=0 lmtpunix cmd=lmtpd listen=/var/lib/imap/socket/lmtp prefork=1 # this is only necessary if using notifications # notify cmd=notifyd listen=/var/lib/imap/socket/notify proto=udp prefork=1 } EVENTS { # this is required checkpointcmd=ctl_cyrusdb -c period=30 # this is only necessary if using duplicate delivery suppression, # Sieve or NNTP delprune cmd=cyr_expire -E 3 at=0400 # this is only necessary if caching TLS sessions tlsprune cmd=tls_prune at=0400 # squat it squatter cmd=squatter -r * period=30 } and here the imapd.conf postmaster: postmaster configdirectory: /var/lib/imap partition-default: /var/spool/imap admins: cyrus sievedir: /var/lib/imap/sieve sieve_maxscriptsize: 320 sieve_maxscripts: 5 unixhierarchysep: yes altnamespace: yes sendmail: /usr/sbin/sendmail hashimapspool: true sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN LOGIN tls_cert_file: /etc/pki/cyrus-imapd/newcert.pem tls_key_file: /etc/pki/cyrus-imapd/newkey.pem tls_ca_file: /etc/pki/cyrus-imapd/cacert.pem allowanonymouslogin: no allowplaintext: yes allowplainwithouttls: yes autocreatequota: 4 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost servername: mail1.##.de #defaultdomain: mailserver.#.de virtdomains: userid lmtp_over_quota_perm_failure: 1 there no more cyrus process , just this 7321 cyrus 22 0 371m 17m 17m R 83.0 1.1 2:09.34 cvt_cyrusdb the convert ist running , but still a long time 15 min and end in a failure and some postgrey, saslauh, hhtpd, in /var/log/messages/ ar only some entries from salsauthd Georg Stich NovaTec Ingenieure für neue Informationstechnologien GmbH -Technic Service- Dieselstr. 18/1 70771 L.-E. Echterdingen tel.: 0700 / 52805280 fax: 0700 / 52805290 EMail: [EMAIL PROTECTED] Web: www.novatec-gmbh.de Sitz der Gesellschaft: Brunnenstrasse 28 D-7 Waldenbuch Handelsregister: Stuttgart HRB 244435 Geschäftsführer: Hans-Dieter Brenner Michael Schuchart Albrecht Stäbler Hi 5625 is not Dead but in state of uninterruptible sleep, usually waiting for IO. cvt_cyrusdb is used to change the databaseformat of a cyrusdatabase from one format to another. In your case the deliver.db is changed from berkeley to skiplist. This should only be nesseary if you changed your databaseformat in /etc/imapd.conf. I don't know the script /usr/lib/cyrus-imapd/cvt_cyrusdb_all but i think it called cvt_cyrusdb . Is it part of you start procedure? Which Cyrus verson do you run? what does file /var/lib/imap/deliver.db report post your cyrus.conf and your imapd.conf I don't see any other cyrus proceses so i think they will get started after /usr/lib/cyrus-imapd/cvt_cyrusdb_all has finished. are there any elated errors in /var/log/messages /var/log/localmessages? M.Menge Tel.: (49) 7071/29-70316 Universitaet Tuebingen Fax.: (49) 7071/29-5912 Zentrum fuer Datenverarbeitung mail: [EMAIL PROTECTED] Waechterstrasse 76 72074 Tuebingen hr Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Problem with export db at shutdown
Hi there! Thanks deliver.db: /var/lib/imap/deliver.db: Berkeley DB (Btree, version 9, native byte-order) The running version is: 2.3.8-3 for FC6 here is our cyrus.conf [EMAIL PROTECTED] ~]# vi /etc/cyrus.conf # standard standalone server implementation START { # do not delete this entry! recover cmd=ctl_cyrusdb -r # this is only necessary if using idled for IMAP IDLE idled cmd=idled } # UNIX sockets start with a slash and are put into /var/lib/imap/sockets SERVICES { # add or remove based on preferences imap cmd=imapd listen=imap prefork=5 imaps cmd=imapd -s listen=imaps prefork=1 pop3 cmd=pop3d listen=pop3 prefork=3 pop3s cmd=pop3d -s listen=pop3s prefork=1 sieve cmd=timsieved listen=sieve prefork=1 # these are only necessary if receiving/exporting usenet via NNTP # nntp cmd=nntpd listen=nntp prefork=3 # nntpscmd=nntpd -s listen=nntps prefork=1 # at least one LMTP is required for delivery # lmtp cmd=lmtpd listen=lmtp prefork=0 lmtpunix cmd=lmtpd listen=/var/lib/imap/socket/lmtp prefork=1 # this is only necessary if using notifications # notify cmd=notifyd listen=/var/lib/imap/socket/notify proto=udp prefork=1 } EVENTS { # this is required checkpointcmd=ctl_cyrusdb -c period=30 # this is only necessary if using duplicate delivery suppression, # Sieve or NNTP delprune cmd=cyr_expire -E 3 at=0400 # this is only necessary if caching TLS sessions tlsprune cmd=tls_prune at=0400 # squat it squatter cmd=squatter -r * period=30 } and here the imapd.conf postmaster: postmaster configdirectory: /var/lib/imap partition-default: /var/spool/imap admins: cyrus sievedir: /var/lib/imap/sieve sieve_maxscriptsize: 320 sieve_maxscripts: 5 unixhierarchysep: yes altnamespace: yes sendmail: /usr/sbin/sendmail hashimapspool: true sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN LOGIN tls_cert_file: /etc/pki/cyrus-imapd/newcert.pem tls_key_file: /etc/pki/cyrus-imapd/newkey.pem tls_ca_file: /etc/pki/cyrus-imapd/cacert.pem allowanonymouslogin: no allowplaintext: yes allowplainwithouttls: yes autocreatequota: 4 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost servername: mail1.##.de #defaultdomain: mailserver.#.de virtdomains: userid lmtp_over_quota_perm_failure: 1 there no more cyrus process , just this 7321 cyrus 22 0 371m 17m 17m R 83.0 1.1 2:09.34 cvt_cyrusdb the convert ist running , but still a long time 15 min and end in a failure and some postgrey, saslauh, hhtpd, Can you show me your file /usr/share/cyrus-imapd/rpm/db.cfg I'm wondering why your deliver.db is a Berkeley DB file. Do you run the cyrus-imapd package which is shipped by Fedora? Simon in /var/log/messages/ ar only some entries from salsauthd Georg Stich NovaTec Ingenieure für neue Informationstechnologien GmbH -Technic Service- Dieselstr. 18/1 70771 L.-E. Echterdingen tel.: 0700 / 52805280 fax: 0700 / 52805290 EMail: [EMAIL PROTECTED] Web: www.novatec-gmbh.de Sitz der Gesellschaft: Brunnenstrasse 28 D-7 Waldenbuch Handelsregister: Stuttgart HRB 244435 Geschäftsführer: Hans-Dieter Brenner Michael Schuchart Albrecht Stäbler Hi 5625 is not Dead but in state of uninterruptible sleep, usually waiting for IO. cvt_cyrusdb is used to change the databaseformat of a cyrusdatabase from one format to another. In your case the deliver.db is changed from berkeley to skiplist. This should only be nesseary if you changed your databaseformat in /etc/imapd.conf. I don't know the script /usr/lib/cyrus-imapd/cvt_cyrusdb_all but i think it called cvt_cyrusdb . Is it part of you start procedure? Which Cyrus verson do you run? what does file /var/lib/imap/deliver.db report post your cyrus.conf and your imapd.conf I don't see any other cyrus proceses so i think they will get started after /usr/lib/cyrus-imapd/cvt_cyrusdb_all has finished. are there any elated errors in /var/log/messages /var/log/localmessages? M.Menge Tel.: (49) 7071/29-70316 Universitaet Tuebingen Fax.: (49) 7071/29-5912 Zentrum fuer Datenverarbeitung mail: [EMAIL PROTECTED] Waechterstrasse 76 72074 Tuebingen hr Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ:
sieveshell problem after cyrus 2.3.9 upgrade
Dear All, I have strange sieveshell error after upgrading to cyrus imapd 2.3.9: I no longer can use sieveshell to upgrade the sieve rules. I got the following error: [EMAIL PROTECTED] sieveshell mail.domain.hu:2000 connecting to mail.domain.hu:2000 unable to connect to server at /usr/local/bin/sieveshell line 169. When I try connecing via telnet: telnet -4 mail.domain.hu 2000 Trying mail.domain.hu... Connected to mail.domain.hu. Escape character is '^]'. IMPLEMENTATION Cyrus timsieved v2.3.9 SIEVE comparator-i;ascii-numeric fileinto reject vacation imapflags notify envelope relational regex subaddress copy STARTTLS OK What can be a problem? Janos Mohacsi Network Engineer, Research Associate, Head of Network Planning and Projects NIIF/HUNGARNET, HUNGARY Key 70EF9882: DEC2 C685 1ED4 C95A 145F 4300 6F64 7B00 70EF 9882 Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: sieveshell problem after cyrus 2.3.9 upgrade
On Wed, 26 Sep 2007, Mohacsi Janos wrote: Dear All, I have strange sieveshell error after upgrading to cyrus imapd 2.3.9: I no longer can use sieveshell to upgrade the sieve rules. I got the following error: [EMAIL PROTECTED] sieveshell mail.domain.hu:2000 connecting to mail.domain.hu:2000 unable to connect to server at /usr/local/bin/sieveshell line 169. When I try connecing via telnet: telnet -4 mail.domain.hu 2000 Trying mail.domain.hu... Connected to mail.domain.hu. Escape character is '^]'. IMPLEMENTATION Cyrus timsieved v2.3.9 SIEVE comparator-i;ascii-numeric fileinto reject vacation imapflags notify envelope relational regex subaddress copy STARTTLS OK What can be a problem? Answering myself and others if they have similar problems It seems that cyrus imapd after 2.3.9 does not support plaintext authentication by default. And sieveshell does not support STARTTLS by default. You have to enable allowplaintext in the imapd.conf configuration file used by timsieved. Regards, Janos Mohacsi Network Engineer, Research Associate, Head of Network Planning and Projects NIIF/HUNGARNET, HUNGARY Key 70EF9882: DEC2 C685 1ED4 C95A 145F 4300 6F64 7B00 70EF 9882 Janos Mohacsi Network Engineer, Research Associate, Head of Network Planning and Projects NIIF/HUNGARNET, HUNGARY Key 70EF9882: DEC2 C685 1ED4 C95A 145F 4300 6F64 7B00 70EF 9882 Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: sieveshell problem after cyrus 2.3.9 upgrade
Mohacsi Janos wrote: Dear All, I have strange sieveshell error after upgrading to cyrus imapd 2.3.9: I no longer can use sieveshell to upgrade the sieve rules. I got the following error: [EMAIL PROTECTED] sieveshell mail.domain.hu:2000 connecting to mail.domain.hu:2000 unable to connect to server at /usr/local/bin/sieveshell line 169. When I try connecing via telnet: telnet -4 mail.domain.hu 2000 Trying mail.domain.hu... Connected to mail.domain.hu. Escape character is '^]'. IMPLEMENTATION Cyrus timsieved v2.3.9 SIEVE comparator-i;ascii-numeric fileinto reject vacation imapflags notify envelope relational regex subaddress copy STARTTLS OK What can be a problem? Starting with 2.3.9 allowplaintext is set to false by default. And if I'm not mistaken sieveshell doesn't support tls. Rudy -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert [EMAIL PROTECTED] tel:+32 9 264 4734 Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office Groep SystemenSystems group Universiteit Gent Ghent University Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Duplicatet mails after sieve scripts
Hi, Quoting Martin Schweizer [EMAIL PROTECTED]: Hello I have sieve script which sorts some mails in different folders but I get now the e-mails twice. One of the copy is going in the responsable subfolder and the other copy is going in the INBOX. What is going wrong here? Here my script: require [fileinto]; if allof (header :matches subject *Ausw**) { fileinto INBOX.Auswertung; } if allof (address :matches [from] *Charlie**) { fileinto INBOX.System; } if allof (header :matches subject *Postmaster**) { fileinto INBOX.Postmaster; } if allof (header :matches subject *Cron**) { fileinto INBOX.Cron; } if allof (address :matches [from] *disks**) { fileinto INBOX.Disks; } if allof (header :matches subject *Deny**) { fileinto INBOX.DenyHosts; } else { keep; } You don't need the else case. Sieve has the implicit keep wich will be used for all mails that had no actions performed on them. The else case is only for the if allof (header :matches subject *Deny**) { fileinto INBOX.DenyHosts; } all eMails that don't have Deny in the Subject you call the action keep M.Menge Tel.: (49) 7071/29-70316 Universitaet Tuebingen Fax.: (49) 7071/29-5912 Zentrum fuer Datenverarbeitung mail: [EMAIL PROTECTED] Waechterstrasse 76 72074 Tuebingen smime.p7s Description: S/MIME krytographische Unterschrift Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Duplicatet mails after sieve scripts
You should replace all if except first one with elsif, or remove last else block. On Wed, 26 Sep 2007 14:10:47 +0900, Martin Schweizer [EMAIL PROTECTED] wrote: Hello I have sieve script which sorts some mails in different folders but I get now the e-mails twice. One of the copy is going in the responsable subfolder and the other copy is going in the INBOX. What is going wrong here? Here my script: require [fileinto]; if allof (header :matches subject *Ausw**) { fileinto INBOX.Auswertung; } if allof (address :matches [from] *Charlie**) { fileinto INBOX.System; } if allof (header :matches subject *Postmaster**) { fileinto INBOX.Postmaster; } if allof (header :matches subject *Cron**) { fileinto INBOX.Cron; } if allof (address :matches [from] *disks**) { fileinto INBOX.Disks; } if allof (header :matches subject *Deny**) { fileinto INBOX.DenyHosts; } else { keep; } Any hints are welcome. Kind regards, -- Of course I love NetBSD:-) OBATA Akio / [EMAIL PROTECTED] Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Sieve vacation problem
Does the script have an :address parameter? If not, it will never work! Search the list achive; this has been the problem with 3/4 of all cases. Regards, Torsten Martin Schweizer schrieb: Hello Marcelo Is the script activated? Is the synatax correct? Check with sieveshell. Regards, 2007/9/25, Marcelo Terres [EMAIL PROTECTED]: I'm having a problem with sieve vacation. I'm using cyrus 2.2.12 with postfix 2.2.10 and horde. My users create the sieve filters with Ingo (from Horde) and everything is working, except vacation. The sieve script is correct, but nothing happens when the message come to the user. I'm sure that sieve is working cause if the user add a forward filter, it works fine. Anybody can give me some help in this question ? Thanks in advance, -- Marcelo H. Terres [EMAIL PROTECTED] Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Sieve vacation problem
Yes, the directory is correct. If I put a forward filter there, the message is forwarded correctly. The problem is specifically with vacation. This is the script: # Sieve Filter # Generated by Ingo (http://www.horde.org/ingo/) (September 25, 2007, 4:38 pm) require vacation; # Férias vacation :days 0 :addresses [EMAIL PROTECTED] :subject Retorno de mensagem Teste de mensagem de resposta; Regards, On 9/26/07, Rudy Gevaert [EMAIL PROTECTED] wrote: Marcelo Terres wrote: I'm having a problem with sieve vacation. I'm using cyrus 2.2.12 with postfix 2.2.10 and horde. My users create the sieve filters with Ingo (from Horde) and everything is working, except vacation. The sieve script is correct, but nothing happens when the message come to the user. Have you checked the server to see if the script is on the sieve dir of the user. Even if Horde says it's activated it could be that it is't activated. Rudy -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert [EMAIL PROTECTED] tel:+32 9 264 4734 Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office Groep SystemenSystems group Universiteit Gent Ghent University Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Marcelo H. Terres [EMAIL PROTECTED] Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Sieve vacation problem
Here is the script: # Sieve Filter # Generated by Ingo (http://www.horde.org/ingo/) (September 25, 2007, 4:38 pm) require vacation; # Férias vacation :days 0 :addresses [EMAIL PROTECTED] :subject Retorno de mensagem Teste de mensagem de resposta; I just don't understand what is require vacation. Maybe I need a module or something ??? Regards, On 9/26/07, Martin Schweizer [EMAIL PROTECTED] wrote: Hello Marcelo Is the script activated? Is the synatax correct? Check with sieveshell. Regards, 2007/9/25, Marcelo Terres [EMAIL PROTECTED]: I'm having a problem with sieve vacation. I'm using cyrus 2.2.12 with postfix 2.2.10 and horde. My users create the sieve filters with Ingo (from Horde) and everything is working, except vacation. The sieve script is correct, but nothing happens when the message come to the user. I'm sure that sieve is working cause if the user add a forward filter, it works fine. Anybody can give me some help in this question ? Thanks in advance, -- Marcelo H. Terres [EMAIL PROTECTED] Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html -- Martin Schweizer [EMAIL PROTECTED] Tel.: +41 32 512 48 54 (VoIP) Fax: +1 619 3300587 -- Marcelo H. Terres [EMAIL PROTECTED] Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Sieve vacation problem
On Wed, 26 Sep 2007, Marcelo Terres might have said: The script has an :addresses parameter not an :address. Is this a problem ? I've been trying to get vacation working also. Is the :addresses [EMAIL PROTECTED] the address of the person we're looking to send a custom reply to or is this the address of the receiving person? If I'm [EMAIL PROTECTED] and I get a message from [EMAIL PROTECTED], is the vacation line ':addresses [EMAIL PROTECTED]' or ':addresses [EMAIL PROTECTED]'? I wrote it and it's confusing to me. What I'm trying to ask is should the :addresses line be my address because I'm receiving the message or should the :addresses line be the address of someone I'm expecting to receive a message from? Mike Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Sieve vacation problem
The script has an :addresses parameter not an :address. Is this a problem ? On 9/26/07, Torsten Schlabach [EMAIL PROTECTED] wrote: Does the script have an :address parameter? If not, it will never work! Search the list achive; this has been the problem with 3/4 of all cases. Regards, Torsten Martin Schweizer schrieb: Hello Marcelo Is the script activated? Is the synatax correct? Check with sieveshell. Regards, 2007/9/25, Marcelo Terres [EMAIL PROTECTED]: I'm having a problem with sieve vacation. I'm using cyrus 2.2.12 with postfix 2.2.10 and horde. My users create the sieve filters with Ingo (from Horde) and everything is working, except vacation. The sieve script is correct, but nothing happens when the message come to the user. I'm sure that sieve is working cause if the user add a forward filter, it works fine. Anybody can give me some help in this question ? Thanks in advance, -- Marcelo H. Terres [EMAIL PROTECTED] Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html -- Marcelo H. Terres [EMAIL PROTECTED] Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Sieve vacation problem
I just don't understand what is require vacation. It's a kind of declaration. Your script announces it will need the vacation module. If it would not be there, imapd would probably complain. But it's usually built in. I'm sure that sieve is working cause if the user add a forward filter, it works fine. I hope you made sure that the forwarding is by the means of Sieve, not in the MTA? I am not sure about the days: 0 parameter. I know the default is 7, but will 0 mean that a response is sent every time? Did you grep the logfile of your MTA to make sure Sieve really doesn't attempt to send a message? The problem might as well be that a message is generated but not accepted by your MTA for whatever reason. AFAIK sieve calls sendmail, so depending on your MTA you need to make sure that sendmail is a proper alias to your actual MTA. Regards, Torsten Marcelo Terres schrieb: Here is the script: # Sieve Filter # Generated by Ingo (http://www.horde.org/ingo/) (September 25, 2007, 4:38 pm) require vacation; # Férias vacation :days 0 :addresses [EMAIL PROTECTED] :subject Retorno de mensagem Teste de mensagem de resposta; I just don't understand what is require vacation. Maybe I need a module or something ??? Regards, On 9/26/07, Martin Schweizer [EMAIL PROTECTED] wrote: Hello Marcelo Is the script activated? Is the synatax correct? Check with sieveshell. Regards, 2007/9/25, Marcelo Terres [EMAIL PROTECTED]: I'm having a problem with sieve vacation. I'm using cyrus 2.2.12 with postfix 2.2.10 and horde. My users create the sieve filters with Ingo (from Horde) and everything is working, except vacation. The sieve script is correct, but nothing happens when the message come to the user. I'm sure that sieve is working cause if the user add a forward filter, it works fine. Anybody can give me some help in this question ? Thanks in advance, -- Marcelo H. Terres [EMAIL PROTECTED] Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html -- Martin Schweizer [EMAIL PROTECTED] Tel.: +41 32 512 48 54 (VoIP) Fax: +1 619 3300587 Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Sieve vacation problem
Hi - Quote --- http://www.ietf.org/internet-drafts/draft-ietf-sieve-vacation-07.txt 4.5. Address Parameter and Limiting Replies to Personal Messages Vacation MUST NOT respond to a message unless the recipient user's email address is in a To, Cc, Bcc, Resent-To, Resent-Cc, or Resent-Bcc line of the original message. An email address is considered to belong to the recipient if it is one of: 1. An email address known by the implementation to be associated with the recipient, 2. the final envelope recipient address if it's available to the implementation, or 3. an address specified by the script writer via the :addresses argument described in the next paragraph. Users can supply additional mail addresses that are theirs with the :addresses argument, which takes a string-list listing additional addresses that a user might have. These addresses are considered to belong to the recipient user in addition to the addresses known to the implementation. --- As fas as i know cyrus does not know any other email address from the user other than the address given by :addresses Quoting Mike Eggleston [EMAIL PROTECTED]: On Wed, 26 Sep 2007, Marcelo Terres might have said: The script has an :addresses parameter not an :address. Is this a problem ? I've been trying to get vacation working also. Is the :addresses [EMAIL PROTECTED] the address of the person we're looking to send a custom reply to or is this the address of the receiving person? If I'm [EMAIL PROTECTED] and I get a message from [EMAIL PROTECTED], is the vacation line ':addresses [EMAIL PROTECTED]' or ':addresses [EMAIL PROTECTED]'? I wrote it and it's confusing to me. What I'm trying to ask is should the :addresses line be my address because I'm receiving the message or should the :addresses line be the address of someone I'm expecting to receive a message from? Mike Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html M.Menge Tel.: (49) 7071/29-70316 Universitaet Tuebingen Fax.: (49) 7071/29-5912 Zentrum fuer Datenverarbeitung mail: [EMAIL PROTECTED] Waechterstrasse 76 72074 Tuebingen Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Sieve vacation problem
I think that addresses in this case is ':addresses [EMAIL PROTECTED]'. I'm putting my address in this line. On 9/26/07, Mike Eggleston [EMAIL PROTECTED] wrote: On Wed, 26 Sep 2007, Marcelo Terres might have said: The script has an :addresses parameter not an :address. Is this a problem ? I've been trying to get vacation working also. Is the :addresses [EMAIL PROTECTED] the address of the person we're looking to send a custom reply to or is this the address of the receiving person? If I'm [EMAIL PROTECTED] and I get a message from [EMAIL PROTECTED], is the vacation line ':addresses [EMAIL PROTECTED]' or ':addresses [EMAIL PROTECTED]'? I wrote it and it's confusing to me. What I'm trying to ask is should the :addresses line be my address because I'm receiving the message or should the :addresses line be the address of someone I'm expecting to receive a message from? Mike -- Marcelo H. Terres [EMAIL PROTECTED] Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Sieve vacation problem
In this case, [EMAIL PROTECTED] is just an example, this is not the real address. On 9/26/07, Rudy Gevaert [EMAIL PROTECTED] wrote: Marcelo Terres wrote: Yes, the directory is correct. If I put a forward filter there, the message is forwarded correctly. The problem is specifically with vacation. This is the script: # Sieve Filter # Generated by Ingo (http://www.horde.org/ingo/) (September 25, 2007, 4:38 pm) require vacation; # Férias vacation :days 0 :addresses [EMAIL PROTECTED] :subject Retorno de mensagem Teste de mensagem de resposta; are you trying it by sending from the [EMAIL PROTECTED] address? If so, that will never work :). See the Sieve rfc, sieve doesn't send vacation messages to addresses it knows about. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert [EMAIL PROTECTED] tel:+32 9 264 4734 Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office Groep SystemenSystems group Universiteit Gent Ghent University Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html -- Marcelo H. Terres [EMAIL PROTECTED] Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Sieve vacation problem
Hello. I hope you made sure that the forwarding is by the means of Sieve, not in the MTA? Yes, sieve is working in forward filter. I saw in the logs. I am not sure about the days: 0 parameter. I know the default is 7, but will 0 mean that a response is sent every time? I think so. Anyway, I tried with days: 1 and I had the same problem. Did you grep the logfile of your MTA to make sure Sieve really doesn't attempt to send a message? The problem might as well be that a message is generated but not accepted by your MTA for whatever reason. No, in this case nothing from sieve appears in the logs. In the forward case, I can see sieve logs. AFAIK sieve calls sendmail, so depending on your MTA you need to make sure that sendmail is a proper alias to your actual MTA. Yes, but if the problem is the MTA, the forward filter would not work too, am I right ? Regards, Regards, Torsten Marcelo Terres schrieb: Here is the script: # Sieve Filter # Generated by Ingo (http://www.horde.org/ingo/) (September 25, 2007, 4:38 pm) require vacation; # Férias vacation :days 0 :addresses [EMAIL PROTECTED] :subject Retorno de mensagem Teste de mensagem de resposta; I just don't understand what is require vacation. Maybe I need a module or something ??? Regards, On 9/26/07, Martin Schweizer [EMAIL PROTECTED] wrote: Hello Marcelo Is the script activated? Is the synatax correct? Check with sieveshell. Regards, 2007/9/25, Marcelo Terres [EMAIL PROTECTED]: I'm having a problem with sieve vacation. I'm using cyrus 2.2.12 with postfix 2.2.10 and horde. My users create the sieve filters with Ingo (from Horde) and everything is working, except vacation. The sieve script is correct, but nothing happens when the message come to the user. I'm sure that sieve is working cause if the user add a forward filter, it works fine. Anybody can give me some help in this question ? Thanks in advance, -- Marcelo H. Terres [EMAIL PROTECTED] Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html -- Martin Schweizer [EMAIL PROTECTED] Tel.: +41 32 512 48 54 (VoIP) Fax: +1 619 3300587 -- Marcelo H. Terres [EMAIL PROTECTED] Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
sieve works for one user, but not another?
I have sieve working (except vacation) for me and I'm trying to test the filtering rules (not vacation) on another user. It appears that sieve is not working for that other user. Is there something I've forgotten to turn on? Must I turn on sieve for each user? Fedora Core 5 cyrus-imapd-devel-2.3.1-2.8.fc5 cyrus-sasl-lib-2.1.21-10 cyrus-sasl-2.1.21-10 cyrus-imapd-utils-2.3.1-2.8.fc5 cyrus-sasl-ldap-2.1.21-10 cyrus-imapd-2.3.1-2.8.fc5 cyrus-sasl-devel-2.1.21-10 Mike Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: need help recovering from disk crash
On Wed, 26 Sep 2007, Rudy Gevaert wrote: David Lang wrote: On Tue, 25 Sep 2007, David Lang wrote: On Tue, 25 Sep 2007, Scott M. Likens wrote: Hi, If you have a dump of the mailbox's (ctl_mboxlist) then you can restore those, personally I back those up weekly as well as /var/spool/imap I don't think I have that. If you don't, re-add the users, then do reconstruct -r -f user.username (obviously replace username with the username in question) and it will reconstruct the mailbox and find all the folders for you and add them to the mailboxes db. Then do that on all your users, and you should be good. Ok, that's not bad. I'm running into a problem with this, I can do this for one domain, but not for a second. I don't know if 2.2 supports virtual domains. You'd better check that. I think there is a bug in reconstruct with virtual domains. I have to run: reconstruct -r -f user/[EMAIL PROTECTED] and reconstruct -r -f user/login/[EMAIL PROTECTED] (I'm also using unix hierarchy seperator, but you aren't I think.) I tracked this down last night. Since I was also fighting SASL (my old SASL had been connected to a postgres database, the new one wasn't compiled to support that, so I was having to learn a different way to set passwords) I had gotten [EMAIL PROTECTED] to work and be able to login, and apparently if you login with one virtual domain you can't do anything to any other virtual domain, even if you are listed as the admin user. I setup a password for the user cyrus and set it to be the admin user and was able to work with all the different domains. I did run into one other bug that I couldn't figure out. no user was able to modify their INBOX (delete items, etc). I could copy messages to folders, but not delete anything. to get back online (and since this is just my home machine) I ended up setting anyone all acl's on every inbox. it sounds like I really need to upgrade to 2.3.x, I downloaded it, but haven't compiled it yet. David Lang Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: sieve works for one user, but not another?
On Wed, 26 Sep 2007, Mike Eggleston might have said: I have sieve working (except vacation) for me and I'm trying to test the filtering rules (not vacation) on another user. It appears that sieve is not working for that other user. Is there something I've forgotten to turn on? Must I turn on sieve for each user? Fedora Core 5 cyrus-imapd-devel-2.3.1-2.8.fc5 cyrus-sasl-lib-2.1.21-10 cyrus-sasl-2.1.21-10 cyrus-imapd-utils-2.3.1-2.8.fc5 cyrus-sasl-ldap-2.1.21-10 cyrus-imapd-2.3.1-2.8.fc5 cyrus-sasl-devel-2.1.21-10 I may have found the solution. The first user calls deliver directly from fetchmail, the second user has fetchmail calling procmail, then calling deliver. When I removed procmail from the middle, the sieve filters seem to work. I'll check with the user in the morning. Mike Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: upgrading to a different achitecture
On Wed, Sep 26, 2007 at 11:46:08AM -0500, Chris Harms wrote: Hello, We will be migrating our cyrus server from x86 to x86_64 for an interim period and then likely returning to x86 after some time. We will be upgrading from 2.2.x to 2.3.x as well, and I am wondering if there is a way to preserve the per mailbox databases, specifically the seen state? I have run through a test of this process once without luck retaining the information. Is there a way to do this moving to x86_64 and then likewise moving back to x86? You can always dump and restore the seen state using cyr_dbtool, though that's a fair bit of work! Amazing how much isn't hard work once you have a tested script to do it for you though :)[0] There are also a couple of fields (e.g. QUOTA information, MODSEQ) in the cyrus.index file which if you've got values higher than 2^32 in them will change value when you switch back to 32 bit. Bron. [0] and it looks like you've actually tested that your process will work before committing to it, which puts you ahead of 90% of the IT shops out there! Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html