Strange mail appeared in one of mailboxes

2006-04-03 Thread Olaf Fraczyk
Hi,

In one of mailboxes I got strange mail with no subject,no sender, no
body. Anybody knows what could be the source of this message?

The full message below:

Return-Path: [EMAIL PROTECTED]
Received: from murder ([unix socket])
 by venus.local.navi.pl (Cyrus v2.2.6-Invoca-RPM-2.2.6-2.FC3.6)
with LMT Fri, 31 Mar 2006 14:00:35 +0200
X-Sieve: CMU Sieve 2.2
Message-ID: [EMAIL PROTECTED]
Date: Fri, 31 Mar 2006 14:00:35 +0200



All I have in logs:
Mar 31 14:00:15 venus master[13216]: about to exec /usr/lib/cyrus-
imapd/lmtpd
Mar 31 14:00:15 venus lmtpunix[13216]: executed
Mar 31 14:00:15 venus lmtpunix[13066]: duplicate_check:
[EMAIL PROTECTED]   user.olaf.spam   0
Mar 31 14:00:15 venus lmtpunix[13066]: mystore: starting txn 2147496051
Mar 31 14:00:15 venus lmtpunix[13066]: mystore: committing txn
2147496051
Mar 31 14:00:15 venus lmtpunix[13066]: mystore: starting txn 2147496052
Mar 31 14:00:15 venus lmtpunix[13066]: mystore: committing txn
2147496052
Mar 31 14:00:15 venus lmtpunix[13066]: duplicate_mark:
[EMAIL PROTECTED]   [EMAIL PROTECTED]   1143806415
0
Mar 31 14:00:15 venus sendmail[13214]: k2VC05Ot013191:
to=[EMAIL PROTECTED], delay=00:00:00, xdelay=00:00:00, mailer=cyrus,
pri=230864, dsn=2.0.0, stat=Sent
Mar 31 14:00:34 venus sendmail[13217]: k2VC0TiU013217:
from=[EMAIL PROTECTED], size=303828, class=0, nrcpts=1,
msgid=[EMAIL PROTECTED] 31 14:00:35 venus lmtpunix
[13216]: accepted connection
Mar 31 14:00:35 venus lmtpunix[13216]: lmtp connection preauth'd as
postman
Mar 31 14:00:41 venus sendmail[13223]: k2VC0flK013223:
from=[EMAIL PROTECTED], size=2353, class=0, nrcpts=1,
msgid=[EMAIL PROTECTED],
Mar 31 14:00:41 venus lmtpunix[13066]: accepted connection
Mar 31 14:00:41 venus lmtpunix[13066]: lmtp connection preauth'd as
postman
Mar 31 14:00:41 venus master[13227]: about to exec /usr/lib/cyrus-
imapd/lmtpd
Mar 31 14:00:41 venus lmtpunix[13227]: executed
Mar 31 14:00:44 venus lmtpunix[13066]: duplicate_check:
[EMAIL PROTECTED]  user.olaf.spam   0
Mar 31 14:00:44 venus lmtpunix[13066]: mystore: starting txn 2147496054
Mar 31 14:00:44 venus lmtpunix[13066]: mystore: committing txn
2147496054
Mar 31 14:00:44 venus lmtpunix[13066]: duplicate_mark:
[EMAIL PROTECTED]  user.olaf.spam   1143806444
35828
Mar 31 14:00:44 venus lmtpunix[13066]: mystore: starting txn 2147496055
Mar 31 14:00:44 venus lmtpunix[13066]: mystore: committing txn
2147496055
Mar 31 14:00:44 venus lmtpunix[13066]: duplicate_mark:
[EMAIL PROTECTED]  [EMAIL PROTECTED]   1143806444
0
Mar 31 14:00:44 venus sendmail[13225]: k2VC0flK013223:
to=[EMAIL PROTECTED], delay=00:00:03, xdelay=00:00:03, mailer=cyrus,
pri=122353, dsn=2.0.0, stat=Sent
Mar 31 14:01:32 venus master[4412]: process 12521 exited, status 0
Mar 31 14:01:44 venus master[4412]: process 13066 exited, status 0
Mar 31 14:05:35 venus lmtpunix[13216]: duplicate_check: cmu-
[EMAIL PROTECTED] user.piotr   0
Mar 31 14:05:36 venus lmtpunix[13216]: mystore: starting txn 2147496056
Mar 31 14:05:36 venus lmtpunix[13216]: mystore: committing txn
2147496056
Mar 31 14:05:36 venus lmtpunix[13216]: duplicate_mark: cmu-
[EMAIL PROTECTED] user.piotr
1143806735 13748
Mar 31 14:05:36 venus lmtpunix[13216]: mystore: starting txn 2147496057
Mar 31 14:05:36 venus lmtpunix[13216]: mystore: committing txn
2147496057
Mar 31 14:05:36 venus lmtpunix[13216]: duplicate_mark: cmu-
[EMAIL PROTECTED] [EMAIL PROTECTED]
1143806736 0
Mar 31 14:06:27 venus imap[13067]: accepted connection
Mar 31 14:06:27 venus master[13235]: about to exec /usr/lib/cyrus-
imapd/imapd
Mar 31 14:06:27 venus imap[13235]: executed
Mar 31 14:06:27 venus imap[13067]: login: mercury.local.navi.pl
[192.168.1.11] olek plaintext User logged in
Mar 31 14:06:27 venus imap[13067]: seen_db: user olek
opened /var/lib/imap/user/o/olek.seen
Mar 31 14:06:36 venus master[4412]: process 13216 exited, status 0

Regards,

Olaf

-- 
Olaf Frączyk [EMAIL PROTECTED]





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


Allow plaintext and TLS

2006-04-03 Thread Nikola Milutinovic
Hi all.

It looks like I've hit a minor bug in Cyrus. It has to do with allowplaintext
option.

I have set this option to no. When I setup my client (Thunderbird) to use TLS
and PLAIN, it says Server refused... blah, blah. When I set it to use SSL and
PLAIN, I can login.

From this I can only conclude that the server is not advertising AUTH=PLAIN if
the connection is over TLS, while it is advertizing it over SSL. I'd say this
is a bug, since TLS does/should provide SSF=256.

If I understand correctly, SSL is a SSL wrapper over the connection and it gets
established BEFORE IMAP connection is established. TLS, on the other hand, is
initiated within an established IMAP connection. I'd say TLS code is forgetting
to raise SSF to 256, upon successful establishing of encrypted communication.

Nix.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: Strange mail appeared in one of mailboxes

2006-04-03 Thread Scott Bronson
On Mon, 2006-04-03 at 11:07 +0200, Olaf Fraczyk wrote:
 Hi,
 
 In one of mailboxes I got strange mail with no subject,no sender, no
 body. Anybody knows what could be the source of this message?

I saw this a few times when I was setting up a custom deliver script.
When I accidentally printed the message to stdout instead of the deliver
process's filehandle, I would get empty messages.

Basically, my script had perfect protocol interaction, it just didn't
supply any data.  In other words, I had rfc821 working perfectly but no
rfc822.

FWIW,  - Scott


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


Re: hot backups

2006-04-03 Thread John Madden
On Friday 31 March 2006 21:06, Warren Turkal wrote:
 1. SIGSTOP all process with the pgrp of cyrmaster
 2. ctl_cyrusdb -c
  - optionally ctl_mboxlist -d here

Are the STOP and cyrusdb -c really necessary here?  I believe the docs state 
that only minor inconsistencies would occur with LVM snapshots alone?

John




-- 
John Madden
Sr. UNIX Systems Engineer
Ivy Tech Community College of Indiana
[EMAIL PROTECTED]

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


Re: postfix+cyrus errors

2006-04-03 Thread John Madden
On Sunday 02 April 2006 09:48, Andreas Winkelmann wrote:
 And, btw, deliver is not the preferred way from Postfix to Cyrus-Imapd. Why
 don't you use lmtp directly?

I for one had to switch because postfix+lmtpd resulted in messages being 
scattered into the wrong mailboxes.  postfix+deliver doesn't do this 
(although it causes other problems).  

John




-- 
John Madden
Sr. UNIX Systems Engineer
Ivy Tech Community College of Indiana
[EMAIL PROTECTED]

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


IMAPd does not start [auf Viren überprüft]

2006-04-03 Thread Hans Moser

Hi!

I installed IMAPd 2.2.12 from source (on AIX 5.3). Everything seems to 
be fine, but the server doesn't start at all. When I start master, I'm 
back at the command prompt immediatly. The same with master -D.
There is no process running. (Even with -C /path/to/where/no/file/is it 
says nothing)

How can I get more (any!) information what's wrong?


Hans


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


Re: Allow plaintext and TLS

2006-04-03 Thread Patrick H Radtke

On Mon, 3 Apr 2006, Nikola Milutinovic wrote:


Hi all.

It looks like I've hit a minor bug in Cyrus. It has to do with allowplaintext
option.

I have set this option to no. When I setup my client (Thunderbird) to use TLS
and PLAIN, it says Server refused... blah, blah. When I set it to use SSL and
PLAIN, I can login.


From this I can only conclude that the server is not advertising AUTH=PLAIN if

the connection is over TLS, while it is advertizing it over SSL. I'd say this
is a bug, since TLS does/should provide SSF=256.

If I understand correctly, SSL is a SSL wrapper over the connection and it gets
established BEFORE IMAP connection is established. TLS, on the other hand, is
initiated within an established IMAP connection. I'd say TLS code is forgetting
to raise SSF to 256, upon successful establishing of encrypted communication.

Nix.




It works for us.

Have you tried imtest?


imtest -m PLAIN -t   hostname

This should do a CAPABILITY call, AUTH=PLAIN won't be advertised, and then 
it should to a STARTTLS and then another CAPABILITY call and AUTH=PLAIN 
will now be advertised since the connection is secure.



-Partick

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


Re: Allow plaintext and TLS

2006-04-03 Thread Richard Wohlstadter

Nikola Milutinovic wrote:

I have set this option to no. When I setup my client (Thunderbird) to use TLS
and PLAIN, it says Server refused... blah, blah. When I set it to use SSL and
PLAIN, I can login.


  
We use Thunderbird 1.5 and it does not work(bug) with regards to TLS and 
connecting to Cyrus so we currently use SSL as well.  I just tested the 
latest build of Thunderbird (Version 3 Alpha 1) and the TLS to cyrus 
works fine.  Looks like you need to wait for the next stable release of 
Thunderbird or use the alpha.


Rich Wohlstadter
Washington University of St. Louis

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


Re: IMAPd does not start [auf Viren überprüft ]

2006-04-03 Thread Hans Moser

Hans Moser schrieb:

I installed IMAPd 2.2.12 from source (on AIX 5.3). Everything seems to 
be fine, but the server doesn't start at all. When I start master, I'm 
back at the command prompt immediatly. The same with master -D.
There is no process running. (Even with -C /path/to/where/no/file/is it 
says nothing)

How can I get more (any!) information what's wrong?

I had to restart syslogd, then IMAPd logged und I saw the pid file
problem. So I solved this.

So BTW: A --prefix has no effect on files' pathes. Other than OpenLDAP
or Postfix Cyrus IMAPd searches for /etc/cyrus.conf, /etc/cyrus.conf and
/var/run/cyrus-master.pid instead of prefix/etc/cyrus.conf,
prefix/etc/imapd.conf and prefix/var/run/cyrus-master.pid. Why is that?
Is there no other way to configure this than using the commandline
options -C -M -p?

Hans




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


Re: fetchnews.c: invalid operands to binary

2006-04-03 Thread Ken Murchison

Antoine Jacoutot wrote:

Hi...

I'm trying to compile the 2.2.13 version of cyrus-imapd under OpenBSD.
I've never had issues with earlier versions, but now, there seems to be 
some changes in imap/fetchnews.c and I get the following error:


cc -c -I.. -I./../lib -I/usr/include -I./../sieve 
-I/usr/local/include/db4 -I/usr/local/include -I/usr/include 
-I/usr/include -I/usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fPIC  
fetchnews.c

fetchnews.c: In function `main':
fetchnews.c:436: error: invalid operands to binary -
*** Error code 1

 If I change le line #436 from
stamp -= timezone;
to
stamp = timezone;

then it compiles fine. BUT, I'm not a developper and I have no idea how 
this change is good/dangerous... or not ???


This is definitely not what you want to do.  I don't know why OpenBSD 
has a problem with this.  It compiles fine on Linux and Solaris.  You 
could try changing #436 to:


stamp -= (time_t) timezone;



and/or try adding the following around line #66:

extern long timezone;


Let me know if one or both of these changes solve the problem.

--
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University

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


RE: fetchnews.c: invalid operands to binary

2006-04-03 Thread Raymond Sundland
I'm so C expert, but shouldn't it be =-?  As in ... stamp =- timezone?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ken Murchison
Sent: Monday, April 03, 2006 1:38 PM
To: Antoine Jacoutot
Cc: info-cyrus@lists.andrew.cmu.edu
Subject: Re: fetchnews.c: invalid operands to binary

Antoine Jacoutot wrote:
 Hi...
 
 I'm trying to compile the 2.2.13 version of cyrus-imapd under OpenBSD.
 I've never had issues with earlier versions, but now, there seems to be 
 some changes in imap/fetchnews.c and I get the following error:
 
 cc -c -I.. -I./../lib -I/usr/include -I./../sieve 
 -I/usr/local/include/db4 -I/usr/local/include -I/usr/include 
 -I/usr/include -I/usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fPIC  
 fetchnews.c
 fetchnews.c: In function `main':
 fetchnews.c:436: error: invalid operands to binary -
 *** Error code 1
 
  If I change le line #436 from
 stamp -= timezone;
 to
 stamp = timezone;
 
 then it compiles fine. BUT, I'm not a developper and I have no idea how 
 this change is good/dangerous... or not ???

This is definitely not what you want to do.  I don't know why OpenBSD 
has a problem with this.  It compiles fine on Linux and Solaris.  You 
could try changing #436 to:

stamp -= (time_t) timezone;



and/or try adding the following around line #66:

extern long timezone;


Let me know if one or both of these changes solve the problem.

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University

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


migrating from cyrus-2.0.16

2006-04-03 Thread Jeremy Ford








I finished building a new mail server with cyrus-imapd-2.2.12+mysql+postfix+web-cyradm
etc... I installed the FQUN patch to web-cyradm and all seems to be working
well. The problem is I need to migrate about 50 domains and 1000 mailboxes from
the old cyrus-imapd-2.0.16 server (LDAP). I was wondering if there were any
command line tools or programs that would make this a little easier. Since
the older mail server didnt use FQUN I know each mail box will have to be
re-created with [EMAIL PROTECTED], and each
domain setup in the database. My main worry is getting everyones imap folders
and mails migrated _safely_ 



Any advice would be appreciated,

thanks

Jeremy







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

Re: IMAPd does not start [auf Viren ■e rpr■t]

2006-04-03 Thread OBATA Akio
On Tue, 04 Apr 2006 11:17:33, Hans Moser wrote:
 So BTW: A --prefix has no effect on files' pathes. Other than OpenLDAP
 or Postfix Cyrus IMAPd searches for /etc/cyrus.conf, /etc/cyrus.conf and
 /var/run/cyrus-master.pid instead of prefix/etc/cyrus.conf,
 prefix/etc/imapd.conf and prefix/var/run/cyrus-master.pid. Why is that?
 Is there no other way to configure this than using the commandline
 options -C -M -p?

--sysconfdir=/prefix/etc --with-statedir=/prefix/var

--
OBATA Akio
[EMAIL PROTECTED]


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