Re: 2.2 stable release

2003-01-13 Thread Neal Rigney
FWIW, I've been using 2.2 in production since October with absolutely no
issues.  However, I haven't synced with the CVS tree for my production
stuff since November, so I can't comment on the NNTP stuff.  Also, I was
unable to get Murder to work, but I'm pretty certain that was pilot
error.


On Sat, 2003-01-11 at 09:55, [EMAIL PROTECTED] wrote:
> >IIRC, Rob is targeting sometime in February.  I've been real busy with
> >my regular job, so I haven't had much time to tie up the remaining
> >virtdomain and NNTP loose ends (mostly documentation and utilities), but
> >I hope to have it done whenever Rob (and possibly Jen with the Sieve
> >bytecode stuff) are ready.
> 
> >FWIW, I've been running the 2.2 code (virtdomains: no) since I started
> >working on it (6 months ago) without any problems.
> 
> Thanks for your prompt answer, that's good news if it will be released
> sometime in February... We are looking forward for it as we would like to
> use the virtualdomain feature in a produtive environement.
> 
> Regards
> Marc
> 
-- 
Neal Rigney <[EMAIL PROTECTED]>




Re: Sieve works but vacation / reply messages do not.

2002-12-11 Thread Neal Rigney
You need to set the sendmail path in imapd.conf, as cyrus looks for it
in a different place:
sendmail: /usr/sbin/sendmail



On Tue, 2002-12-10 at 20:38, John Straiton wrote:
> Greetings!
> 
> Setup: FreeBSD 4.7-STABLE -> Postfix 1.1.11,1 /Cyrus 2.1.9
> 
> I think I'm really close on this one but don't know where to go next...I
> have working rules as far as "move to this folder" and "discard
> silently" and such go.. But vacation messaging isn't working as it
> should. Here's what happens...
> 
> I set up a rule that says if my email "[EMAIL PROTECTED]" sends a message
> to my other address, [EMAIL PROTECTED] then reply with a vacation
> message.. I send a message to the [EMAIL PROTECTED] address and jks2
> gets it, but jks never gets the reply. Here's what's in my syslogs:
> 
> 
> Dec 10 19:38:57 courier postfix/qmgr[10185]: 0229C55853:
> from=<[EMAIL PROTECTED]>, size=12000, nrcpt=1 (queue active)
> Dec 10 19:38:57 courier postfix/pipe[12416]: 0229C55853:
> to=<[EMAIL PROTECTED]>, relay=cyrus, delay=0, status=sent
> (mx1.clickcom.com)
> 
> Mx1 is the real hostname. Clickcom addresses are all in the virtual
> users table. I would guess my problem is that it's replying to the
> translated email address instead of back to the original sending
> address. Or maybe it's cause the pipe isn't working, but I don't see any
> error messages regarding that..   
> 
> Thoughts, ideas of where I should look next??
> 
> John Straiton
> [EMAIL PROTECTED]
> Clickcom, Inc
> 704-365-9970x101 
-- 
Neal Rigney <[EMAIL PROTECTED]>




Re: pop3d unstable

2002-10-29 Thread Neal Rigney
I've normally seen this when you've got a stale pop3d running.  I've
also seen this with corrupt databases, but that would cause imapd to
fail also.

Try shutting down master and see what's still running.  I'd bet there
will still be a pop3d.

On Tue, 2002-10-29 at 09:23, Felix Cuello wrote:
> Hello,
> 
>i'm using cyrus-2.1.9 and sasl 2.1.9, and pop3d sometimes doesn't respond.
> That means, when I do this:
> 
> [root@sinclair tmp]# telnet localhost 110
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 
> pop3d does't respond...
> 
> but
> 
> [root@sinclair tmp]# telnet localhost 143
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> * OK sinclair Cyrus IMAP4 v2.1.9 server ready
> 
> quickly show me OK.
> 
> ---
> 
> This problem only occurs into my production server, in fact in my desktop computer
> all works fine... with exactly the same configuration and packages
> 
> Do you know where can I start?
> 
> Thanks a lot,
> 
> Sorry for my poor english,
> 
> Felix
> ___ http://www.palermo.edu ___




Re: 2.2 and FreeBSD

2002-10-23 Thread Neal Rigney

I had noticed this as well, and should have mentioned it in my previous
mail.

I can no longer repeat the problem, so I'm thinking I actually had a bad
build of gcc somehow (the boxes I compile on track -stable very
regularly, so I've seen some bad commits on occasion), as I can no
longer repeat the problem.

On Tue, 2002-10-22 at 21:32, Sean Chittenden wrote:
> > Is anybody running imapd-2.2 on FreeBSD 4.6-STABLE or higher?  I'm
> > having a confusing problem running master.  It closes FDs 0-2, opens
> > them to /dev/null, and then tries to reserver FDs 3 and 4.  No problem
> > there normally, but FreeBSD is returning FDs higher then 3 and 4.  7 and
> > 8 usually.
> > 
> > Any clues?
> 
> This was done to ensure security.  Doing this prevents a suite of
> attacks from setuid programs, iirc.  Check google for more info, but
> this was something that was committed in mid to early september,
> again, iirc.  -sc
> 
> -- 
> Sean Chittenden





Re: cyrusdb_flat.c and junk pointer free

2002-09-23 Thread Neal Rigney

Ah, I see.  I missed it in the diff on cvsweb.

Thanks


On Mon, 2002-09-23 at 12:44, Henrique de Moraes Holschuh wrote:
> Recently fixed in CVS...
> 
> -- 
>   "One disk to rule them all, One disk to find them. One disk to bring
>   them all and in the darkness grind them. In the Land of Redmond
>   where the shadows lie." -- The Silicon Valley Tarot
>   Henrique Holschuh





cyrusdb_flat.c and junk pointer free

2002-09-23 Thread Neal Rigney

If a user does an LSUB and configdir doesn't have their directory,
FreeBSD punts "Junk pointer, too high to make sense" to the imap socket,
causing every IMAP client I can test to fail.  The problem is that
db->fname is not initialized in myopen.  I haven't checked any other db
backends for the same issue.

Here's a patch:



Index: cyrusdb_flat.c
===
RCS file:
/vol/cvsroot/Systems/services/mail/imap/cyrus-imap-current/lib/cyrusdb_flat.c,v
retrieving revision 1.1.1.2
diff -c -r1.1.1.2 cyrusdb_flat.c
*** cyrusdb_flat.c  15 Aug 2002 22:24:55 -  1.1.1.2
--- cyrusdb_flat.c  23 Sep 2002 17:15:16 -
***
*** 188,193 
--- 188,194 
  
  assert(fname && ret);
  
+ db->fname = NULL;
  db->fd = open(fname, O_RDWR | O_CREAT, 0666);
  if (db->fd == -1) {
syslog(LOG_ERR, "IOERROR: opening %s: %m", fname);






Re: 2.2 and FreeBSD

2002-09-19 Thread Neal Rigney

Oddly enough, it has now stopped exhibiting the behaviour,
so...ummm...nevermind.  I'll chalk it up to operator error, and test it
again later.

On Wed, 2002-09-18 at 20:26, Ken Murchison wrote:
> Quoting Neal Rigney <[EMAIL PROTECTED]>:
> 
> > 
> > Is anybody running imapd-2.2 on FreeBSD 4.6-STABLE or higher?  I'm
> > having a confusing problem running master.  It closes FDs 0-2, opens
> > them to /dev/null, and then tries to reserver FDs 3 and 4.  No problem
> > there normally, but FreeBSD is returning FDs higher then 3 and 4.  7 and
> > 8 usually.
> > 
> > Any clues?
> 
> None.  Nothing in the process handling code, either master or service.c, has 
> changed in 2.2 AFAICR.
> 
> Do you see the same problems with 2.1.9 on this box?
> 
> -- 
> Kenneth Murchison Oceana Matrix Ltd.
> Software Engineer 21 Princeton Place
> 716-662-8973 x26  Orchard Park, NY 14127
> --PGP Public Key--http://www.oceana.com/~ken/ksm.pgp





2.2 and FreeBSD

2002-09-18 Thread Neal Rigney


Is anybody running imapd-2.2 on FreeBSD 4.6-STABLE or higher?  I'm
having a confusing problem running master.  It closes FDs 0-2, opens
them to /dev/null, and then tries to reserver FDs 3 and 4.  No problem
there normally, but FreeBSD is returning FDs higher then 3 and 4.  7 and
8 usually.

Any clues?

Thanks
-Neal