I am having somewhat similar problem with the vacation scipt. If I do telnet localhost 2000, I get Connected to localhost. Escape character is '^]'. "IMPLEMENTATION" "Cyrus timsieved v2.2.6" "SASL" "PLAIN" "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress relational regex" "STARTTLS" OK Now our /etc/imapd.conf has the following: configdirectory: /var/imap partition-default: /var/imap/spool admins: cyrus sasl_pwcheck_method: saslauthd sasl_mech_list: plain altnamespace: yes unixhierarchysep: yes tls_cert_file: /var/imap/server.pem tls_key_file: /var/imap/server.pem virtdomains: userid defaultdomain: cyrus.wmin.ac.uk sendmail: /usr/sbin/sendmail and the permission is as follows: -rw-r--r-- 1 root root 365 2004-08-20 15:52 /etc/imapd.conf
We are running SuSE 8.1 and I understand people had problem with this version. We are using name space as follows: user/johndoe; user/johndoe/Sent Mail etc. Kendrik Vargas inform me that sendmail parameter was required and since then vacation DOES WORK when there is just one hop to the mail, but whenever there is multiple hops it seems to fail.We are running out of ideas. Can anybody help? Sujit -----Original Message----- From: Murray Anderegg [mailto:[EMAIL PROTECTED] Sent: Fri 20/08/2004 17:48 To: [EMAIL PROTECTED] Cc: Subject: Getting vacation to run under cyrus-imapd 2.2.6 and cyrus-imapd 2.2.8 I have built both versions listed above of the cyrus-imapd from Invoca RPMs. I can connect and install sieve scripts and a sieve script that performs a blanket reject of all mail fails, so I know that sieve works at least somewhat... Here is the output when I connect to the sieve port on the machine: "IMPLEMENTATION" "Cyrus timsieved v2.2.8-Invoca-RPM-2.2.8-1" "SASL" "PLAIN" "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress relational regex" "STARTTLS" OK This would appear to indicate that vacation is running on the machine. Here is the sample vacation script that I am trying to run: require "vacation"; vacation :days 1 :subject "This account never responds" "This is a test vacation reply"; Here is the /var/log/maillog entry from the machine running cyrus that shows mail flowing into the machine and just ending up in the inbox: Aug 20 12:38:03 facil5-cs sendmail[2623]: i7KGc3hm002623: from=<[EMAIL PROTECTED]>, size=923, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA, relay=fafnir.cs.unc.edu [152.2.129.90] Aug 20 12:38:03 facil5-cs master[2626]: about to exec /usr/lib/cyrus-imapd/lmtpdAug 20 12:38:03 facil5-cs lmtpunix[2626]: executed Aug 20 12:38:03 facil5-cs lmtpunix[1066]: accepted connection Aug 20 12:38:03 facil5-cs lmtpunix[1066]: lmtp connection preauth'd as postman Aug 20 12:38:03 facil5-cs lmtpunix[1066]: duplicate_check: <[EMAIL PROTECTED]> user.anderegg 0 Aug 20 12:38:03 facil5-cs lmtpunix[1066]: mystore: starting txn 2147483652 Aug 20 12:38:03 facil5-cs lmtpunix[1066]: mystore: committing txn 2147483652 Aug 20 12:38:03 facil5-cs lmtpunix[1066]: duplicate_mark: <[EMAIL PROTECTED]> user.anderegg 1093019883 24 Aug 20 12:38:03 facil5-cs lmtpunix[1066]: mystore: starting txn 2147483653 Aug 20 12:38:03 facil5-cs lmtpunix[1066]: mystore: committing txn 2147483653 Aug 20 12:38:03 facil5-cs lmtpunix[1066]: duplicate_mark: <[EMAIL PROTECTED]> [EMAIL PROTECTED] 1093019883 0 Aug 20 12:38:03 facil5-cs sendmail[2625]: i7KGc3hm002623: to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00, mailer=cyrusv2, pri=30923, relay=localhost, dsn=2.0.0, stat=Sent If I change the active sieve script to the following, then I the maillog that follows the sieve script shows the message coming in and then the rejection going back out: require "reject"; reject "This machine should not accept mail to me"; Here is the maillog: Aug 20 12:45:27 facil5-cs sendmail[2653]: i7KGjRvp002653: from=<[EMAIL PROTECTED]>, size=927, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA, relay=fafnir.cs.unc.edu [152.2.129.90] Aug 20 12:45:27 facil5-cs lmtpunix[2626]: accepted connection Aug 20 12:45:27 facil5-cs lmtpunix[2626]: lmtp connection preauth'd as postman Aug 20 12:45:27 facil5-cs master[2656]: about to exec /usr/lib/cyrus-imapd/lmtpdAug 20 12:45:27 facil5-cs lmtpunix[2656]: executed Aug 20 12:45:27 facil5-cs lmtpunix[2626]: mystore: starting txn 2147483655 Aug 20 12:45:27 facil5-cs lmtpunix[2626]: mystore: committing txn 2147483655 Aug 20 12:45:27 facil5-cs lmtpunix[2626]: duplicate_mark: <[EMAIL PROTECTED]> .anderegg.sieve. 1093020327 0 Aug 20 12:45:27 facil5-cs sendmail[2657]: i7KGjRS5002657: Authentication-Warning: facil5-cs.cs.unc.edu: cyrus set sender to <> using -f Aug 20 12:45:27 facil5-cs sendmail[2657]: i7KGjRS5002657: from=<>, size=2472, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, [EMAIL PROTECTED] Aug 20 12:45:28 facil5-cs sendmail[2659]: i7KGjRUx002659: from=<>, size=2732, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1] Aug 20 12:45:28 facil5-cs sendmail[2657]: i7KGjRS5002657: [EMAIL PROTECTED], delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=32472, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (i7KGjRUx002659 Message accepted for delivery) Aug 20 12:45:28 facil5-cs lmtpunix[2626]: mystore: starting txn 2147483656 Aug 20 12:45:28 facil5-cs lmtpunix[2626]: mystore: committing txn 2147483656 Aug 20 12:45:28 facil5-cs lmtpunix[2626]: duplicate_mark: <[EMAIL PROTECTED]> [EMAIL PROTECTED] 1093020328 0 Aug 20 12:45:28 facil5-cs sendmail[2655]: i7KGjRvp002653: to=<[EMAIL PROTECTED]>, delay=00:00:01, xdelay=00:00:01, mailer=cyrusv2, pri=30927, relay=localhost, dsn=2.0.0, stat=Sent Aug 20 12:45:28 facil5-cs sendmail[2661]: STARTTLS=client, relay=fafnir.cs.unc.edu., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256 Aug 20 12:45:28 facil5-cs sendmail[2661]: i7KGjRUx002659: to=<[EMAIL PROTECTED]>, delay=00:00:01, xdelay=00:00:00, mailer=esmtp, pri=32732, relay=fafnir.cs.unc.edu. [152.2.129.90], dsn=2.0.0, stat=Sent (i7KGjSWu019696 Message accepted for delivery) A second question: How does one reset the time record for a sender in vacation? Does it reset whenever you upload a new script? Thank you, --Murray Anderegg --- 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 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