Re: Getting vacation to run under cyrus-imapd 2.2.6 and cyrus-imapd 2.2.8

2004-08-23 Thread Carsten Hoeger
On Fri, Aug 20, Sujit Choudhury wrote:

 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?

Please note that cyrus-sieve does only autoreply, if the ENVELOPE-FROM address
is different to the final recipient!

If you are automatically FORWARDING messages, the envelope from address is
normaly changed to the users account, which is forwarding the mail (e.g. when
using .forward) and in this case, sieve will NOT respond!

-- 
With best regards,

Carsten Hoeger


pgpDM7Rwu5IYT.pgp
Description: PGP signature


RE: Getting vacation to run under cyrus-imapd 2.2.6 and cyrus-imapd 2.2.8

2004-08-23 Thread Sujit Choudhury
I am bit confused here.  We don't have any local users and hence no
.forward file for postfix to look at.

=
This is the header of a mail that works:

Return-Path: [EMAIL PROTECTED]
Received: from chico.wmin.ac.uk ([unix socket])
 by chico (Cyrus v2.2.6) with LMTPA;
 Fri, 20 Aug 2004 14:12:45 +0100
X-Sieve: CMU Sieve 2.2
Received: from ncs-maila.intranet.wmin.ac.uk (ncs-mail2.wmin.ac.uk
[161.74.160.106])
by chico.wmin.ac.uk (Postfix) with ESMTP id A429BA0F
for [EMAIL PROTECTED]; Fri, 20 Aug 2004 14:12:45 +0100
(BST)
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Subject: testing
x-mimeole: Produced By Microsoft Exchange V6.0.6249.0
Date: Fri, 20 Aug 2004 14:13:15 +0100
Message-ID:
[EMAIL PROTECTED]
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: testing
Thread-Index: AcSGt5icbIjCkIuBTAGiDMcgLrMmnQ==
From: Sujit Choudhury [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

This is the reply I got from vacation filter - showing it worked (in one
case):

Microsoft Mail Internet Headers Version 2.0
Received: from ncs-maila.intranet.wmin.ac.uk ([161.74.160.177]) by
NCS-MAILB.intranet.wmin.ac.uk with Microsoft SMTPSVC(5.0.2195.6713);
 Fri, 20 Aug 2004 14:13:17 +0100
Received: from garuda.wmin.ac.uk ([161.74.160.7]) by
ncs-maila.intranet.wmin.ac.uk with Microsoft SMTPSVC(5.0.2195.6713);
 Fri, 20 Aug 2004 14:13:17 +0100
Received: from chico.wmin.ac.uk ([161.74.160.77])
by garuda.wmin.ac.uk with esmtp (Exim 4.12)
id 1By9Dn-0001qo-00
for [EMAIL PROTECTED]; Fri, 20 Aug 2004 14:14:19
+0100
Received: by chico.wmin.ac.uk (Postfix, from userid 80)
id BB6C7B72; Fri, 20 Aug 2004 14:12:45 +0100 (BST)
Message-ID: [EMAIL PROTECTED]
Date: Fri, 20 Aug 2004 14:12:45 +0100
X-Sieve: CMU Sieve 2.2
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Testing
In-Reply-To:
[EMAIL PROTECTED]
Auto-Submitted: auto-replied (vacation)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/)
*1By9Dn-0001qo-00*4jiKCZsHI92*
Return-Path: 
X-OriginalArrivalTime: 20 Aug 2004 13:13:17.0206 (UTC)
FILETIME=[74ED4360:01C486B7]


This is another message from another user that does not work:


Return-Path: [EMAIL PROTECTED]
Received: from chico.wmin.ac.uk ([unix socket])
 by chico (Cyrus v2.2.6) with LMTPA;
 Fri, 20 Aug 2004 14:25:32 +0100
X-Sieve: CMU Sieve 2.2
Received: from garuda.wmin.ac.uk (garuda.wmin.ac.uk [161.74.160.7])
by chico.wmin.ac.uk (Postfix) with ESMTP id DA853A0F
for [EMAIL PROTECTED]; Fri, 20 Aug 2004 14:25:32 +0100
(BST)
Received: from cougar.wmin.ac.uk ([161.74.160.93])
by garuda.wmin.ac.uk with esmtp (Exim 4.12)
id 1By9Q9-0002Yr-00
for [EMAIL PROTECTED]; Fri, 20 Aug 2004 14:27:05 +0100
Received: from panda.irs.wmin.ac.uk ([161.74.75.56] helo=panda)
by cougar.wmin.ac.uk with smtp (Exim 4.12)
id 1By9Q7-0005Oi-00
for [EMAIL PROTECTED]; Fri, 20 Aug 2004 14:27:03 +0100
Date: Fri, 20 Aug 2004 14:12:02 +0100 (BST)
From: M.Choy [EMAIL PROTECTED]
Reply-To: M.Choy [EMAIL PROTECTED]
Subject: test message
To: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: tAAjXRD4yTOj3D1IK13snQ==
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.6_06 SunOS 5.8 sun4u sparc 
Message-Id: [EMAIL PROTECTED]
X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/)
*1By9Q9-0002Yr-00*v4nMt2dKhgI*



=

In our postfix configuration, we smarthost to main mail gateway, i.e.
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = chico.wmin.ac.uk
#inet_interfaces = 127.0.0.1
inet_interfaces = all
masquerade_domains =
mydestination = $myhostname, localhost.$mydomain, $myhostname.$mydomain,
cyrus.$
mydomain
mynetworks = 161.74.0.0/16, 10.0.0.0/8
myorigin = wmin.ac.uk
defer_transports =
disable_dns_lookups = no
relayhost = wmin.ac.uk
content_filter =
mailbox_command =
mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =


I shall appreciate some help on this.

Many thanks

Sujit

-Original Message-
From: Carsten Hoeger [mailto:[EMAIL PROTECTED] 
Sent: 23 August 2004 09:14
To: [EMAIL PROTECTED]
Subject: Re: Getting vacation to run under cyrus-imapd 2.2.6 
and cyrus-imapd 2.2.8


On Fri, Aug 20, Sujit Choudhury wrote:

 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 

strange authentication behaviour with sasldb2 / auxprop

2004-08-23 Thread Peter Markom
Hi, it's me again  ;-):-(
I try to authenticate cyrus-imap via sasl-auxprop and /etc/sasldb2.
problem is:
user: [EMAIL PROTECTED]  -  authentication works fine
user: [EMAIL PROTECTED]  		- authentication fails (badlogin: user not 
found)

I do not understand why this happens nor what I have to do to change it 
(all I care about is to authenticate [EMAIL PROTECTED]).

Hostname = master.markom.at (which is also what the IP-adress resolves 
to).
Default-Domain is koordinaten.at.

master:~ # sasldblistusers2
[EMAIL PROTECTED]: userPassword
[EMAIL PROTECTED]: userPassword
master:~ # cat /etc/imapd.conf
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
sievedir: /var/lib/sieve
admins: cyrus
allowanonymouslogin: no
autocreatequota: 10
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
sasl_pwcheck_method: auxprop
sasl_mech_list: login plain
allowplaintext: no
allowapop: no
lmtp_overquota_perm_failure: no
virtdomains: userid
defaultdomain: koordinaten.at
tls_cert_file: /var/lib/imap/server.pem
tls_key_file: /var/lib/imap/server.pem
/var/spool/imap looks like this:
/var/spool/imap/
--- user --- nospam   (= [EMAIL PROTECTED])
--- stage.
--- domain --- master.koordinaten.at --- user --- nospam 
([EMAIL PROTECTED])

As always, any hints are greatly appreciated.
bye
Peter
---
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


crypt

2004-08-23 Thread szii
I've been brawling with this for a while now, maybe someone
on here has an idea.

In /etc/imapd.h

sasl_password_format:   crypt

This does not work if the datastore actualy has a crypt()'d
password.

Note, above, that it's set to crypt but if I use
plaintext in the datastore it -will- work.

cyrus-datastoreresult
-
plain-plainworks
crypt-plainworks (shouldn't!)
crypt-cryptfails (shouldn't!)

Setting to plaintext works against this datastore.
pureftpd with crypt works against this datastore.
courier-imap with crypt works against this datastore.
Hand tests with crypt work against this datastore.

Cyrus for some reason is NOT decoding the crypt
correctly (rather, it's not even TRYING.  If it were
incorrect then crypt-plain would not work, above.)

Anyone have ideas?  

TIA.

-Mike
---
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