Sieve problem

2003-06-29 Thread Michael Kaufmann
Hi!
I'm trying to get sieve working on my Cyrus IMAPD (2.1.13) but I can't get it 
working the way I want. I get a lot of mails from mailing lists every day and 
I want them to be moved fout of my INBOX into INBOX.ml:blah.blah but only the 
filter rules for postix-users work correctly.

I want to filter for "sender":

if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:xine.user";
}

the mail I want sieve to filter out looks like this:

[snip]
Message-Id: <[EMAIL PROTECTED]>
Sender: [EMAIL PROTECTED]   <== HERE
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
[snap]

another example: I want to filter for "to" or "cc":

if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:amavis.user";
}

the mail looks like this:

[snip]
From: Klavs Klavsen <[EMAIL PROTECTED]>
To: Amavis-user Mailinglist <[EMAIL PROTECTED]> <== HERE!!!
Content-Type: text/plain
[snap]

Why do my rulez not match? I'm frustrated!

thanx
Michael

ps: Here is my complete rule set:

require "fileinto";

/**/
/* Postfix Mailing Listen */<== WORKS
/**/

if header :contains [ "sender" ] [ "[EMAIL PROTECTED]", 
"[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:postfix.users";
}

/*/
/* Amavis Mailing Listen */
/*/

if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:amavis.tech";
}
if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:amavis.user";
}
if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:amavis.announce";
}

/***/
/* Xvid Mailing Listen */
/***/

if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:xvid.users";
}
if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:xvid.announce";
}

/***/
/* Xine Mailing Listen */
/***/

if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:xine.user";
}

/**/
/* Uni Mailing Listen */
/**/

if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:uni.studi-info";
}
if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:uni.ak-hackin";
}

//
/* Transcode Mailing Listen */
//

if header :contains [ "sender" ] [ 
"[EMAIL PROTECTED]@theorie.physik.uni-goettingen.de" ]
{
fileinto "INBOX.ml:transcode.users";
}
if header :contains [ "sender" ] [ 
"[EMAIL PROTECTED]@theorie.physik.uni-goettingen.de" ]
{
fileinto "INBOX.ml:transcode.devel";
}

//
/* Squid Mailing Listen */
//

if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:squid.users";
}

/*/
/* Php Wizard Mailing Listen */
/*/

if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:php.phpwizard";
}

/**/
/* Open Anti Virus Mailing Listen */
/**/

if header :contains [ "to", "cc" ] [ 
"[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:openav.announce";
}
if header :contains [ "to", "cc" ] [ 
"[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:openav.discuss";
}

//
/* NVRec Mailing Listen */
//

if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:nvrec.open";
}

/**/
/* Mobilix Mailing Listen */
/**/

if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:mobilix.laptop";
}

/**/
/* Lyx Mailing Listen */
/**/

if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:lyx.users";
}

/***/
/* Licq Mailing Listen */
/***/

if header :contains [ "to" , "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:licq.users";
}

/**/
/* K3b Mailing Listen */
/**/

if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:k3b.user";
}

/*/
/* Gimp Print Mailing Listen */
/*/

if header :contains [ "to", "cc" ] [ 
"[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:gimp-print.announce";
}

//
/* Enlightenment Mailing Listen */
//

if header :contains [ "to", "cc" ] [ 
"[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:enlighenment.users

Sieve problem

2003-06-29 Thread Michael Kaufmann
[sorry for double posting: first post was accidently in reply to]

Hi!
I'm trying to get sieve working on my Cyrus IMAPD (2.1.13) but I can't get it 
working the way I want. I get a lot of mails from mailing lists every day and 
I want them to be moved fout of my INBOX into INBOX.ml:blah.blah but only the 
filter rules for postix-users work correctly.

I want to filter for "sender":

if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:xine.user";
}

the mail I want sieve to filter out looks like this:

[snip]
Message-Id: <[EMAIL PROTECTED]>
Sender: [EMAIL PROTECTED]   <== HERE
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
[snap]

another example: I want to filter for "to" or "cc":

if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:amavis.user";
}

the mail looks like this:

[snip]
From: Klavs Klavsen <[EMAIL PROTECTED]>
To: Amavis-user Mailinglist <[EMAIL PROTECTED]> <== 
HERE!!!
Content-Type: text/plain
[snap]

Why do my rulez not match? I'm frustrated!

thanx
Michael

ps: Here is my complete rule set:

require "fileinto";

/**/
/* Postfix Mailing Listen */<== WORKS
/**/

if header :contains [ "sender" ] [ "[EMAIL PROTECTED]", 
"[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:postfix.users";
}

/*/
/* Amavis Mailing Listen */
/*/

if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:amavis.tech";
}
if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:amavis.user";
}
if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:amavis.announce";
}

/***/
/* Xvid Mailing Listen */
/***/

if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:xvid.users";
}
if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:xvid.announce";
}

/***/
/* Xine Mailing Listen */
/***/

if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:xine.user";
}

/**/
/* Uni Mailing Listen */
/**/

if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:uni.studi-info";
}
if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:uni.ak-hackin";
}

//
/* Transcode Mailing Listen */
//

if header :contains [ "sender" ] [ 
"[EMAIL PROTECTED]@theorie.physik.uni-goettingen.de" ]
{
fileinto "INBOX.ml:transcode.users";
}
if header :contains [ "sender" ] [ 
"[EMAIL PROTECTED]@theorie.physik.uni-goettingen.de" ]
{
fileinto "INBOX.ml:transcode.devel";
}

//
/* Squid Mailing Listen */
//

if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:squid.users";
}

/*/
/* Php Wizard Mailing Listen */
/*/

if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:php.phpwizard";
}

/**/
/* Open Anti Virus Mailing Listen */
/**/

if header :contains [ "to", "cc" ] [ 
"[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:openav.announce";
}
if header :contains [ "to", "cc" ] [ 
"[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:openav.discuss";
}

//
/* NVRec Mailing Listen */
//

if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:nvrec.open";
}

/**/
/* Mobilix Mailing Listen */
/**/

if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:mobilix.laptop";
}

/**/
/* Lyx Mailing Listen */
/**/

if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:lyx.users";
}

/***/
/* Licq Mailing Listen */
/***/

if header :contains [ "to" , "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:licq.users";
}

/**/
/* K3b Mailing Listen */
/**/

if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:k3b.user";
}

/*/
/* Gimp Print Mailing Listen */
/*/

if header :contains [ "to", "cc" ] [ 
"[EMAIL PROTECTED]" ]
{
fileinto "INBOX.ml:gimp-print.announce";
}

//
/* Enlightenment Mailing Listen */
//

if header :contains [ "to", "cc" ] [ 
"[EMA

Re: Sieve problem

2003-06-29 Thread pnelson
I'm no sieve expert but this works on my system:

require ["fileinto"];
if header :contains "Sender" "owner-info-cyrus" {
 fileinto "INBOX.lists.cyrus";
}

Did you include the require line?  Or maybe sieve needs the opening
squigle bracket on the if line.  Did you read the rfc?

On Sun, 2003-06-29 at 04:29, Michael Kaufmann wrote:
> Hi!
> I'm trying to get sieve working on my Cyrus IMAPD (2.1.13) but I can't get it 
> working the way I want. I get a lot of mails from mailing lists every day and 
> I want them to be moved fout of my INBOX into INBOX.ml:blah.blah but only the 
> filter rules for postix-users work correctly.
> 
> I want to filter for "sender":
> 
> if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
> {
> fileinto "INBOX.ml:xine.user";
> }
> 
> the mail I want sieve to filter out looks like this:
> 
> [snip]
> Message-Id: <[EMAIL PROTECTED]>
> Sender: [EMAIL PROTECTED] <== HERE
> Errors-To: [EMAIL PROTECTED]
> X-BeenThere: [EMAIL PROTECTED]
> [snap]
> 
> another example: I want to filter for "to" or "cc":
> 
> if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
> {
> fileinto "INBOX.ml:amavis.user";
> }
> 
> the mail looks like this:
> 
> [snip]
> From: Klavs Klavsen <[EMAIL PROTECTED]>
> To: Amavis-user Mailinglist <[EMAIL PROTECTED]>   <== HERE!!!
> Content-Type: text/plain
> [snap]
> 
> Why do my rulez not match? I'm frustrated!
> 
> thanx
> Michael
> 
> ps: Here is my complete rule set:
> 
> require "fileinto";
> 
> /**/
> /* Postfix Mailing Listen */  <== WORKS
> /**/
> 
> if header :contains [ "sender" ] [ "[EMAIL PROTECTED]", 
> "[EMAIL PROTECTED]" ]
> {
> fileinto "INBOX.ml:postfix.users";
> }
> 
> /*/
> /* Amavis Mailing Listen */
> /*/
> 
> if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
> {
> fileinto "INBOX.ml:amavis.tech";
> }
> if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
> {
> fileinto "INBOX.ml:amavis.user";
> }
> if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
> {
> fileinto "INBOX.ml:amavis.announce";
> }
> 
> /***/
> /* Xvid Mailing Listen */
> /***/
> 
> if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
> {
> fileinto "INBOX.ml:xvid.users";
> }
> if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
> {
> fileinto "INBOX.ml:xvid.announce";
> }
> 
> /***/
> /* Xine Mailing Listen */
> /***/
> 
> if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
> {
> fileinto "INBOX.ml:xine.user";
> }
> 
> /**/
> /* Uni Mailing Listen */
> /**/
> 
> if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
> {
> fileinto "INBOX.ml:uni.studi-info";
> }
> if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
> {
> fileinto "INBOX.ml:uni.ak-hackin";
> }
> 
> //
> /* Transcode Mailing Listen */
> //
> 
> if header :contains [ "sender" ] [ 
> "[EMAIL PROTECTED]@theorie.physik.uni-goettingen.de" ]
> {
> fileinto "INBOX.ml:transcode.users";
> }
> if header :contains [ "sender" ] [ 
> "[EMAIL PROTECTED]@theorie.physik.uni-goettingen.de" ]
> {
> fileinto "INBOX.ml:transcode.devel";
> }
> 
> //
> /* Squid Mailing Listen */
> //
> 
> if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
> {
> fileinto "INBOX.ml:squid.users";
> }
> 
> /*/
> /* Php Wizard Mailing Listen */
> /*/
> 
> if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
> {
> fileinto "INBOX.ml:php.phpwizard";
> }
> 
> /**/
> /* Open Anti Virus Mailing Listen */
> /**/
> 
> if header :contains [ "to", "cc" ] [ 
> "[EMAIL PROTECTED]" ]
> {
> fileinto "INBOX.ml:openav.announce";
> }
> if header :contains [ "to", "cc" ] [ 
> "[EMAIL PROTECTED]" ]
> {
> fileinto "INBOX.ml:openav.discuss";
> }
> 
> //
> /* NVRec Mailing Listen */
> //
> 
> if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
> {
> fileinto "INBOX.ml:nvrec.open";
> }
> 
> /**/
> /* Mobilix Mailing Listen */
> /**/
> 
> if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
> {
> fileinto "INBOX.ml:mobilix.laptop";
> }
> 
> /**/
> /* Lyx Mailing Listen */
> /**/
> 
> if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
> {
> fileinto "INBOX.ml:lyx.users";
> }
> 
> /***/
> /* Licq Mailing Listen */
> /***/
> 
> if header :conta

Re: Sieve problem

2003-06-29 Thread pnelson
Tested the begining squigle bracket on new line and it worked.  One of
the things that I do also is incremental tests.  So I start with one
rule and see if it works, then add another rule... and so on.  Even
though sieveshell parses the script on put, it didn't always point me to
the problem.  

On Sun, 2003-06-29 at 09:16, pnelson wrote:
> I'm no sieve expert but this works on my system:
> 
> require ["fileinto"];
> if header :contains "Sender" "owner-info-cyrus" {
>  fileinto "INBOX.lists.cyrus";
> }
> 
> Did you include the require line?  Or maybe sieve needs the opening
> squigle bracket on the if line.  Did you read the rfc?
> 
> On Sun, 2003-06-29 at 04:29, Michael Kaufmann wrote:
> > Hi!
> > I'm trying to get sieve working on my Cyrus IMAPD (2.1.13) but I can't get it 
> > working the way I want. I get a lot of mails from mailing lists every day and 
> > I want them to be moved fout of my INBOX into INBOX.ml:blah.blah but only the 
> > filter rules for postix-users work correctly.
> > 
> > I want to filter for "sender":
> > 
> > if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
> > {
> > fileinto "INBOX.ml:xine.user";
> > }
> > 
> > the mail I want sieve to filter out looks like this:
> > 
> > [snip]
> > Message-Id: <[EMAIL PROTECTED]>
> > Sender: [EMAIL PROTECTED]   <== HERE
> > Errors-To: [EMAIL PROTECTED]
> > X-BeenThere: [EMAIL PROTECTED]
> > [snap]
> > 
> > another example: I want to filter for "to" or "cc":
> > 
> > if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
> > {
> > fileinto "INBOX.ml:amavis.user";
> > }
> > 
> > the mail looks like this:
> > 
> > [snip]
> > From: Klavs Klavsen <[EMAIL PROTECTED]>
> > To: Amavis-user Mailinglist <[EMAIL PROTECTED]> <== HERE!!!
> > Content-Type: text/plain
> > [snap]
> > 
> > Why do my rulez not match? I'm frustrated!
> > 
> > thanx
> > Michael
> > 
> > ps: Here is my complete rule set:
> > 
> > require "fileinto";
> > 
> > /**/
> > /* Postfix Mailing Listen */<== WORKS
> > /**/
> > 
> > if header :contains [ "sender" ] [ "[EMAIL PROTECTED]", 
> > "[EMAIL PROTECTED]" ]
> > {
> > fileinto "INBOX.ml:postfix.users";
> > }
> > 
> > /*/
> > /* Amavis Mailing Listen */
> > /*/
> > 
> > if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
> > {
> > fileinto "INBOX.ml:amavis.tech";
> > }
> > if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
> > {
> > fileinto "INBOX.ml:amavis.user";
> > }
> > if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
> > {
> > fileinto "INBOX.ml:amavis.announce";
> > }
> > 
> > /***/
> > /* Xvid Mailing Listen */
> > /***/
> > 
> > if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
> > {
> > fileinto "INBOX.ml:xvid.users";
> > }
> > if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
> > {
> > fileinto "INBOX.ml:xvid.announce";
> > }
> > 
> > /***/
> > /* Xine Mailing Listen */
> > /***/
> > 
> > if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
> > {
> > fileinto "INBOX.ml:xine.user";
> > }
> > 
> > /**/
> > /* Uni Mailing Listen */
> > /**/
> > 
> > if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
> > {
> > fileinto "INBOX.ml:uni.studi-info";
> > }
> > if header :contains [ "sender" ] [ "[EMAIL PROTECTED]" ]
> > {
> > fileinto "INBOX.ml:uni.ak-hackin";
> > }
> > 
> > //
> > /* Transcode Mailing Listen */
> > //
> > 
> > if header :contains [ "sender" ] [ 
> > "[EMAIL PROTECTED]@theorie.physik.uni-goettingen.de" ]
> > {
> > fileinto "INBOX.ml:transcode.users";
> > }
> > if header :contains [ "sender" ] [ 
> > "[EMAIL PROTECTED]@theorie.physik.uni-goettingen.de" ]
> > {
> > fileinto "INBOX.ml:transcode.devel";
> > }
> > 
> > //
> > /* Squid Mailing Listen */
> > //
> > 
> > if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
> > {
> > fileinto "INBOX.ml:squid.users";
> > }
> > 
> > /*/
> > /* Php Wizard Mailing Listen */
> > /*/
> > 
> > if header :contains [ "to", "cc" ] [ "[EMAIL PROTECTED]" ]
> > {
> > fileinto "INBOX.ml:php.phpwizard";
> > }
> > 
> > /**/
> > /* Open Anti Virus Mailing Listen */
> > /**/
> > 
> > if header :contains [ "to", "cc" ] [ 
> > "[EMAIL PROTECTED]" ]
> > {
> > fileinto "INBOX.ml:openav.announce";
> > }
> > if header :contains [ "to", "cc" ] [ 
> > "[EMAIL PROTECTED]" ]
> > {
> > fileinto "INBOX.ml:openav.discuss";
> > }
> > 
> > //
> > /* NVRec Mailing Lis

(No Subject)

2003-06-29 Thread RYAN M vAN GINNEKEN
i have turned the permissions to 

-rwxrwxrwx  1 root  wheel 0 Dec 12  2002 opiekeys

and
-rwxrwxrwx  1 cyrus  mail 1 Jun 21 11:49 sasldb2.db

i know this is not smart but i am desperte nothing seems to work
 
Jun 29 13:46:57 v20 imapd[8513]: OTP unavailable because can't read/write key database 
/etc/opiekeys: Permission denied
Jun 29 13:46:57 v20 imapd[8513]: Could not open db
Jun 29 13:46:57 v20 imapd[8513]: Could not open db
Jun 29 13:46:57 v20 imapd[8513]: no secret in database
Jun 29 13:46:57 v20 imapd[8513]: badlogin: v20.computerking.ca[192.168.0.202] 
DIGEST-MD5 [SASL(-13): user not found: no secret in database]
Jun 29 13:47:00 v20 perl: No worthy mechs found


i have turned the permissions to 

-rwxrwxrwx  1 root  wheel 0 Dec 12  2002 opiekeys

and
-rwxrwxrwx  1 cyrus  mail 1 Jun 21 11:49 sasldb2.db

i know this is not smart but i am desperte nothing seems to work

Jun 29 13:48:35 v20 perl: No worthy mechs found
Jun 29 13:49:14 v20 imapd[8524]: Could not open db
Jun 29 13:49:14 v20 imapd[8524]: Could not open db
Jun 29 13:49:14 v20 imapd[8524]: no secret in database
Jun 29 13:49:14 v20 imapd[8524]: badlogin: v20.computerking.ca[192.168.0.202] 
DIGEST-MD5 [SASL(-13): user not found: no secret in database]
Jun 29 13:49:17 v20 perl: No worthy mechs found






Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005


Case sensitive lmtp?

2003-06-29 Thread Bojan Zdrnja
Hi,

I'm delivering e-mail to Cyrus IMAP over lmtp over TCP/IP.

Main SMTP server is postfix with amavisd and sophie for virus scanning and
spam filtering.

Everything works fine, but I noticed that Cyrus IMAP rejects e-mail and
being case sensitive in addresses.

Example:

Jun 30 09:40:14 [EMAIL PROTECTED] postfix/qmgr[15274]: F03FA33E7D:
from=<[EMAIL PROTECTED]>, size=864, nrcpt=1 (queue active)
Jun 30 09:40:14 [EMAIL PROTECTED] postfix/smtp[15333]: 67F0633E62:
to=<[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1], delay=7, status=sent (250
2.6.0 Ok, id=15421-15, from MTA: 250 Ok: queued as F03FA33E7D)

This is postfix sending to amavisd (notice Test151) account.

Jun 30 09:40:14 [EMAIL PROTECTED] postfix/lmtp[15457]: F03FA33E7D:
to=<[EMAIL PROTECTED]>, relay=cyrus_box[192.168.1.1], delay=1, status=bounced
(host cyrus_box[192.168.1.1] said: 550-Mailbox unknown.  Either there is no
mailbox associated with this 550-name or you do not have authorization to
see it. 550 5.1.1 User unknown (in reply to RCPT TO command))

There - cyrus bounced it.

If I send e-mail to [EMAIL PROTECTED], it gets delivered properly.

I have a local recepients table on SMTP box, which says deliver e-mail for
test151 on cyrus_box. Postfix is nice case insensitive.

Any suggestions for this?

Regards,

Bojan



can't login into sieve (webcyradm installation)

2003-06-29 Thread Denny Schierz
hi,

i have a working webcyradm installation. Imap/POP3 ist working great,
but i can't login into sieve(shell).

debian conf # sieveshell --user=linuxmail.4lin.net localhost
connecting to localhost
Please enter your password:
unable to connect to server at /usr/bin/sieveshell line 174, 
line 1

imapd.log

Jun 30 00:22:31 debian master[15992]: about to exec
/usr/cyrus/bin/timsieved
Jun 30 00:22:31 debian sieve[15992]: executed
Jun 30 00:22:31 debian sieve[15992]: accepted connection
Jun 30 00:22:36 debian timsieved[15992]: badlogin:
debian.mainframe.local[192.168.3.1] PLAIN authentication failure
Jun 30 00:22:36 debian timsieved[15992]: Could not shut down
filedescriptor 0: Transport endpoint is not connected
Jun 30 00:22:36 debian timsieved[15992]: Could not shut down
filedescriptor 1: Transport endpoint is not connected
Jun 30 00:22:36 debian timsieved[15992]: Could not shut down
filedescriptor 2: Transport endpoint is not connected
Jun 30 00:22:36 debian master[1303]: process 15992 exited, status 0

debian conf # cat /etc/imapd.conf
postmaster: postmaster
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cyrus
allowanonymouslogin: no
allowplaintext: yes
sasl_mech_list: PLAIN
servername: debian02.dyndns.org
autocreatequota: 1
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
sasl_pwcheck_method: saslauthd
sievedir: /usr/sieve
sendmail: /usr/sbin/sendmail
sieve_maxscriptsize: 32
sieve_maxscripts: 5
unixhierarchysep: yes
tls_ca_file: /var/imap/server.pem
tls_cert_file: /var/imap/server.pem
tls_key_file: /var/imap/server.pem

mysql.log

030630  0:25:51   27689 Connect [EMAIL PROTECTED] as anonymous on
  27689 Quit
  27690 Connect [EMAIL PROTECTED] on mail
  27690 Init DB mail
  27690 Query   select username from accountuser
where username='root' and password=ENCRYPT('mysecret',LEFT(password,2))

it is working over mysql. the pam/sieve is the same like imap/pop3.

why is sieveshell logging in with wrong username? He have to login with
linuxmail.4lin.net not root.

any suggestions?

-- 
cu denny

Gnupg key can be found under pgp.mit.edu, key ID 0x73137598


signature.asc
Description: This is a digitally signed message part


procmail & cyrus-imap

2003-06-29 Thread Michael Jonsson
Hi,

The imap server is working, but when I try to configure
procmail I get this error.

#/var/log/procmail
 /usr/lib/cyrus-imapd/deliver: /usr/lib/cyrus-imapd/deliver: cannot execute
binary file

#/etc/procmailrc
LOGFILE="/var/log/procmail"
DELIVERMAIL="/usr/lib/cyrus-imapd/deliver"
IMAP="$DELIVERMAIL -a $USER -q -m user.$USER"
SPAMIT="$IMAP.SPAM"

I have cyrus-imapd-2.1.13-4 on a redhat 9...

.M



Re: problems with imap and imsp installation

2003-06-29 Thread Christian Schulte
Phil Chambers wrote:

Can't load '/usr/perl5/site_perl/5.005/sun4-solaris/auto/Cyrus/IMAP/IMAP.so' for 
module Cyrus::IMAP: ld.so.1: perl: fatal: relocation error: file 
/usr/perl5/site_perl/5.005/sun4-solaris/auto/Cyrus/IMAP/IMAP.so: symbol 
sasl_client_init: referenced symbol not found at 
/usr/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.
at /usr/perl5/site_perl/5.005/sun4-solaris/Cyrus/IMAP/Admin.pm line 44
BEGIN failed--compilation aborted at 
/usr/perl5/site_perl/5.005/sun4-solaris/Cyrus/IMAP/Admin.pm line 44.
BEGIN failed--compilation aborted at 
/usr/perl5/site_perl/5.005/sun4-solaris/Cyrus/IMAP/Shell.pm line 60.
BEGIN failed--compilation aborted.
As far as I can make out, this is a dynamic library problem, but I have completely 
failed to find a cure for it.

Help with that will be most welcome.
 

You did recompile perl yourself and do not use the perl coming with 
solaris ? Would it work if you would use the solaris perl (makemaker) ?

--Christian