Cyrus 2.4 and vacation problem (smtputf8)
Good morning, I upgraded servers to new Postfix versions, we had some issue with bounced vacation with czech characters. But postfix has smtputf8 support enabled : smtputf8_enable = yes smtputf8_autodetect_classes = sendmail, verify and the issue with emails (vacation) persists. After some checking I've found that thereis not postfix that bounce the message - it is cyrus'es LMTP, listenning on TCP/24: Sep 13 08:08:12 postman11 postfix/cleanup[2916]: 59F2A280DB7: message-id= Sep 13 08:08:12 postman11 postfix/qmgr[2885]: 59F2A280DB7: from=<>, size=658, nrcpt=1 (queue active) Sep 13 08:08:12 postman11 postfix/lmtp[2918]: 55497280DB5: to=, orig_to=, relay=postman.domain.cz[1.2.3.101]:24, delay=0.04, delays=0/0/0/0.04, dsn=2.1.5, status=sent (250 2.1.5 Ok SESSIONID=) Sep 13 08:08:12 postman11 postfix/qmgr[2885]: 55497280DB5: removed Sep 13 08:08:12 postman11 postfix/lmtp[2918]: 59F2A280DB7: to=, orig_to=, relay=postman.domain.cz[1.2.3.101]:24, delay=0.11, delays=0/0/0.1/0, dsn=5.6.7, status=bounced (SMTPUTF8 is required, but was not offered by host postman.domain.cz[1.2.3.101]) Sep 13 08:08:12 postman11 postfix/qmgr[2885]: 59F2A280DB7: removed So do I need to set something in cyrus config ? What did I missed ? Thanks and best regards J.Karliak -- Ma domena pouziva zabezpeceni a kontrolu SPF (www.openspf.org) a DomainKeys/DKIM (s ADSP) a implementaci DMARC. Pokud mate problemy s dorucenim emailu, zacnete pouzivat metody overeni puvody emailu zminene vyse. Dekuji. My domain use SPF (www.openspf.org) and DomainKeys/DKIM (with ADSP) policy and implementation of the DMARC. If you've problem with sending emails to me, start using email origin methods mentioned above. Thank you. Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
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: 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 vacation problem
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
Re: Sieve vacation problem
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
Sieve: vacation problem
Hi all; I've got a problem with my Cyrus+Postfix installation. I set up on Debian Sarge Postfix, Cyrus21, Squirrelmail and AvelSieve without any problem. I use a pam authentication with a flat passwd-like file which works pretty well. My problem is that I am not able to send any vacation via Sieve scripts at all although mail redirection and mail notification work perfectly ! Mail is delivered normally but the vacation rule seems to be ignored... I change sender mail adress, subject and message body on each test to avoid delivery suppression. I tried with a rules made with avelsieve: # This script has been automatically generated by avelsieve # (Sieve Mail Filters Plugin for Squirrelmail) #AVELSIEVE_VERSIONYTo0OntzOjU6Im1ham9yIjtpOjE7czo1OiJtaW5vciI7aTowO3M6NzoicmVsZWFzZSI7aToxO3M6Njoic3RyaW5nIjtzOjU6IjEuMC4xIjt9 #AVELSIEVE_CREATED1118832483 #AVELSIEVE_MODIFIED1118850933 require [fileinto,reject,vacation,imapflags,relational,comparator-i;ascii-numeric,regex,notify]; if #START_SIEVE_RULEYTo4OntzOjQ6InR5cGUiO3M6MToiMiI7czo2OiJoZWFkZXIiO2E6MTp7aTowO3M6NzoiU3ViamVjdCI7fXM6OToibWF0Y2h0eXBlIjthOjE6e2k6MDtzOjg6ImNvbnRhaW5zIjt9czoxMToiaGVhZGVybWF0Y2giO2E6MTp7aTowO3M6ODoidmFjYXRpb24iO31zOjY6ImFjdGlvbiI7czoxOiI2IjtzOjEzOiJ2YWNfYWRkcmVzc2VzIjtzOjE3OiJwYXRyaWNrQGFsY292ZS5mciI7czo4OiJ2YWNfZGF5cyI7czoxOiI3IjtzOjExOiJ2YWNfbWVzc2FnZSI7czoxMjoiZW4gdmFjYW5jZXMhIjt9END_SIEVE_RULE header :contains Subject vacation { vacation :days 7 :addresses [[EMAIL PROTECTED]] text: en vacances!^M .^M ; } And with a simpler rule: require [vacation]; vacation :days 7 :addresses [[EMAIL PROTECTED]] en vacances!; and it does not work. If I replace it with: require [reject]; reject en vacances!; it works perfectly well. Here is the packages used: [EMAIL PROTECTED]:~/work/cyrus$ dpkg -l | grep cyrus21 ii cyrus21-admin 2.1.18-1 Cyrus mail system (administrationtool) ii cyrus21-client 2.1.18-1 Cyrus mail system (test clients) ii cyrus21-common 2.1.18-1 Cyrus mail system (common files) ii cyrus21-imapd 2.1.18-1 Cyrus mail system (IMAP support) ii cyrus21-pop3d 2.1.18-1 Cyrus mail system (POP3 support) and the imapd.conf file: [EMAIL PROTECTED]:~/work/cyrus$ egrep -v '^#' /etc/imapd.conf | egrep -v '^$' configdirectory: /var/lib/cyrus defaultpartition: default partition-default: /var/spool/cyrus/mail partition-news: /var/spool/cyrus/news newsspool: /var/spool/news altnamespace: no unixhierarchysep: no lmtp_downcase_rcpt: yes admins: cyradm allowanonymouslogin: no popminpoll: 1 autocreatequota: 0 umask: 077 sendmail: /usr/sbin/sendmail sieveusehomedir: false sievedir: /var/spool/sieve sievenotifier: mailto hashimapspool: true allowplaintext: yes sasl_mech_list: PLAIN sasl_pwcheck_method: saslauthd auxprop sasl_auxprop_plugin: sasldb sasl_auto_transition: no tls_cert_file: /etc/ssl/certs/cyrus-global.pem tls_key_file: /etc/ssl/private/cyrus-global.key tls_ca_path: /etc/ssl/certs tls_session_timeout: 1440 tls_cipher_list: TLSv1:SSLv3:SSLv2:!NULL:!EXPORT:!DES:!LOW:@STRENGTH lmtpsocket: /var/run/cyrus/socket/lmtp idlesocket: /var/run/cyrus/socket/idle notifysocket: /var/run/cyrus/socket/notify Does somebody have an idea about this difference between vacation and reject ? Christophe. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
cyrus + sieve + sendmail + vacation problem
All, I have been able to get cyrus21 and sieve and sendmail working with rejects and fowards to a diffrent email account with out a problem. I also can have sieve filter email and move it to diffrent folders on my account, but for some reason when I try to do the vacation setting I never get the auto reply I am not sure where the problem lies. I looked in my imap.conf file and the path to sendmail is listed correctly, besides if it wasn't I don't think the foward filter would work. Below is my vacation script vacation :days 7 :text This is an automated reply; I am away and will not be able to reply to you immediately.I will get back to you as soon as I return.; I get no syntax errors in the log but I do see this Aug 16 07:28:36 Mithra cyrus/lmtpd[1848]: accepted connection Aug 16 07:28:36 Mithra cyrus/lmtpd[1848]: lmtp connection preauth'd as postman Aug 16 07:28:36 Mithra cyrus/lmtpd[1848]: duplicate_check: 0@ ØåQ\234^N 6i·á^S%) quenten 1061596708 Aug 16 07:28:36 Mithra cyrus/lmtpd[1848]: duplicate_check: 20030816113517.11341 [EMAIL PROTECTED] user.quenten 0 Aug 16 07:28:36 Mithra cyrus/lmtpd[1848]: mystore: starting txn 2147483696 Aug 16 07:28:36 Mithra cyrus/lmtpd[1848]: mystore: committing txn 2147483696 Aug 16 07:28:36 Mithra cyrus/lmtpd[1848]: duplicate_mark: 20030816113517.11341. [EMAIL PROTECTED] user.quenten 1061033316 Aug 16 07:28:36 Mithra cyrus/lmtpd[1848]: mystore: starting txn 2147483697 Aug 16 07:28:36 Mithra cyrus/lmtpd[1848]: mystore: committing txn 2147483697 Aug 16 07:28:36 Mithra cyrus/lmtpd[1848]: duplicate_mark: 20030816113517.11341. [EMAIL PROTECTED] .quenten+.sieve. 1061033316 Aug 16 07:28:36 Mithra sm-mta[1846]: h7GBSaAb001844: to=[EMAIL PROTECTED] .com, delay=00:00:00, xdelay=00:00:00, mailer=cyrus, pri=120361, dsn=2.0.0, sta t=Sent It looks like it trys to use sieve as you can see .sieve in the log but it looks like it is sees the message twice? I never get a return message with this filter and I am not sure why any idea? __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
RE : Vacation problem
Here's the problem: $ telnet mail.intellinetinc.com smtp Trying 139.142.54.37... Connected to h139-142-54-37.gtcust.grouptelecom.net. Escape character is '^]'. 220 intellinetinc.com ESMTP Sendmail 8.12.4/8.12.4; Thu, 23 Jan 2003 01:28:23 -0700 (MST) ehlo joe 250-intellinetinc.com Hello franconia.calvaedi.com [213.39.1.226], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-EXPN 250-VERB 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-DELIVERBY 250 HELP mail from: 550 5.7.1 ... Command rejected That's bad. See rfc1123, section 5.2.9, or http://www.rfc-ignorant.org/policy-dsn.php Not a cyrus bug, a sendmail configuration bug.
Vacation problem
Hello, I have Cyrus IMAP + Sendmail installed in my imapd.conf ia have duplicatesuppression: yes sieveusehomedir: false sievedir: /var/imap/sieve sendmail: /usr/sbin/sendmail postmaster: postmaster sieve_maxscriptsize: 32 sieve_maxscripts: 50 And everything works fine, except for vacation message sending back to sender. This is the part of my maillog: Jan 22 14:54:34 synodon sm-mta[10247]: h0MLsXHp010247: from=[EMAIL PROTECTED], size=882, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=MTA, relay=[198.161.98.157] Jan 22 14:54:46 synodon sm-mta[10255]: h0MLsXHp010247: to=[EMAIL PROTECTED], delay=00:00:12, xdelay=00:00:00, mailer=cyrusv2, pri=30872, relay=localhost, dsn=2.0.0, stat=Sent Jan 22 14:55:42 synodon sm-mta[10261]: h0MLtgHp010261: from=dmitry@montana- education.ab.ca, size=954, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=MTA, relay=[198.161.98.159] Jan 22 14:55:46 synodon sendmail[10271]: h0MLtkqQ010271: Authentication- Warning: synodon.com: cyrus set sender to using -f Jan 22 14:55:46 synodon sendmail[10271]: h0MLtkqQ010271: from=, size=312, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], relay=cyrus@localhost Jan 22 14:55:47 synodon sm-mta[10272]: STARTTLS=server, relay=localhost [127.0.0.1], version=TLSv1/SSLv3, verify=NO, cipher=EDH-RSA-DES-CBC3-SHA, bits=168/168 Jan 22 14:55:47 synodon sendmail[10271]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=EDH-RSA-DES-CBC3-SHA, bits=168/168 Jan 22 14:55:47 synodon sm-mta[10272]: h0MLtkHq010272: from=, size=548, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1] Jan 22 14:55:50 synodon sendmail[10271]: h0MLtkqQ010271: to=dmitry@montana- education.ab.ca, delay=00:00:04, xdelay=00:00:04, mailer=relay, pri=30307, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (h0MLtkHq010272 Me ssage accepted for delivery) Jan 22 14:55:50 synodon sm-mta[10269]: h0MLtgHp010261: to=[EMAIL PROTECTED], delay=00:00:08, xdelay=00:00:0 4, mailer=cyrusv2, pri=30944, relay=localhost, dsn=2.0.0, stat=Sent Jan 22 14:55:50 synodon sm-mta[10280]: h0MLtkHq010272: to=dmitry@montana- education.ab.ca, delay=00:00:03, xdelay=00:00:00, mailer=esmtp, pri=30543, relay=mail.montana-education.ab.ca. [198.161.98.159], dsn=5.0.0, stat= Service unavailable Jan 22 14:55:50 synodon sm-mta[10280]: h0MLtkHq010272: h0MLtoHp010280: postmaster notify: Service unavailable Jan 22 14:55:50 synodon sm-mta[10280]: h0MLtoHp010280: [EMAIL PROTECTED], delay=00:00:00, xdelay=00: 00:00, mailer=esmtp, pri=31757, relay=mail.intellinetinc.com. [139.142.54.37], dsn=5.0.0, stat=Service unavailable Jan 22 14:55:50 synodon sm-mta[10280]: h0MLtoHp010280: h0MLtoHq010280: return to sender: Service unavailable Jan 22 14:55:50 synodon sm-mta[10280]: h0MLtoHq010280: [EMAIL PROTECTED], delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=32781, relay=mail.intellinetinc.com., dsn=5.0.0, stat=Service unavailable Jan 22 14:55:50 synodon sm-mta[10280]: h0MLtoHp010280: Losing ./qfh0MLtoHp010280: savemail panic Jan 22 14:55:50 synodon sm-mta[10280]: h0MLtoHp010280: SYSERR(root): savemail: cannot save rejected email anywhere So, the sender never gets the vacation message. I'm wondering why cyrus setting sender to , not to [EMAIL PROTECTED], or even postmaster as I made configuration in my imapd.conf? May be I missed something? What could be done to fix that problem? Thanks, Dmitry
Re: Vacation problem
[EMAIL PROTECTED] wrote: I'm wondering why cyrus setting sender to , not to [EMAIL PROTECTED], or even postmaster as I made configuration in my imapd.conf? May be I missed something? You don't want an auto-generated message generating a bounce message, since that could lead to an infinite loop. Thus, just like mailer-daemon messages in the MTA, a vacation message should have the envelope from set to . -- John A. Tamplin Unix System Administrator Emory University, School of Public Health +1 404/727-9931
Re: Vacation problem
Quoting John Alton Tamplin [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: I'm wondering why cyrus setting sender to , not to [EMAIL PROTECTED], or even postmaster as I made configuration in my imapd.conf? May be I missed something? You don't want an auto-generated message generating a bounce message, since that could lead to an infinite loop. Thus, just like mailer-daemon messages in the MTA, a vacation message should have the envelope from set to . So what is you suggestion? How do I fix this problem? Why the mail server doesn't accept the message if the envelope from set right?
Re: Vacation problem
[EMAIL PROTECTED] wrote: So what is you suggestion? How do I fix this problem? Why the mail server doesn't accept the message if the envelope from set right? It is hard to tell from the logs since you are using 4 different email addresses, but it looks like sieve tried to send mail from (which sendmail accepted, but gave an authentication warning since cyrus isn't listed as a trusted user in your sendmail.cf file) to [EMAIL PROTECTED] That gets sent, apparently to the same MTA, which then has a problem talking to the relay mail.montana-education.ab.ca. It then tries to send it to [EMAIL PROTECTED] (presumably an alias from postmaster), and again has a problem talking to mail.intellinetinc.com and panics since it has nowhere to send the bounce message. So, it looks like Cyrus is fine but your MTA is misconfigured. -- John A. Tamplin Unix System Administrator Emory University, School of Public Health +1 404/727-9931
Re: Vacation problem
Quoting John Alton Tamplin [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: So what is you suggestion? How do I fix this problem? Why the mail server doesn't accept the message if the envelope from set right? It is hard to tell from the logs since you are using 4 different email addresses, but it looks like sieve tried to send mail from (which sendmail accepted, but gave an authentication warning since cyrus isn't listed as a trusted user in your sendmail.cf file) to [EMAIL PROTECTED] That gets sent, apparently to the same MTA, which then has a problem talking to the relay mail.montana-education.ab.ca. It then tries to send it to [EMAIL PROTECTED] (presumably an alias from postmaster), and again has a problem talking to mail.intellinetinc.com and panics since it has nowhere to send the bounce message. So, it looks like Cyrus is fine but your MTA is misconfigured. I did some code change in lmtpd.c in function send_response (line 872): I changed smbuf[3] = ; to smbuf[3] = [EMAIL PROTECTED]; And it worked fine. Assuming that, I think the problem is in MTA (Sendmail in my case) configuration. BUT I didn't configured my sendmail to refuse empty Return-Path: I suspect Sendmail is configured to do that by default. And I'm sure there are thousands MTAs doing the same thing (let's say to reject spam messages using empty Return-Path) I'm not sure whose problem is that, cyrus or MTA but by defaulf installation (and wothout some code change in lmtpd.c) it simply does'n work! Dmitry