RE: cyrus/postix malformed response error

2001-06-30 Thread Tarjei Huse



Looks 
like the cyrus server is compiled with the wrong userid and group prefernces. 
Here's tha one I use for my system:
export 
CPPFLAGS="-I/usr/include/et -I/usr/include/openssl -I/usr/include/db3 
-I/usr/include/security"export LDFLAGS="-lpam 
-L/lib/security"CC="gcc"./configure \--prefix=/usr 
\--with-prefix=/usr/cyrus \--exec-prefix=/usr/cyrus 
\--sysconfdir=/etc \--with-openssl=/usr \--with-cyrus-user=cyrus 
\--with-cyrus-group=mail \--with-auth=unix \--with-perl=/usr 
\--without-krb \--enable-netscapehack \--with-dbdir=/usr 
\
tarjei
 

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Goldcoast 
  POP3 serverSent: Friday, June 29, 2001 11:01 PMTo: 
  [EMAIL PROTECTED]Subject: cyrus/postix malformed response 
  error
  Hello I'm receiving the following error in our 
  /var/log/messages file.
  We are running Cyrus and postfix as our mail 
  server and delivery system on RH 7.1
  Also Netscape 
  clients cannot retrieve their mail or it doesn't allow them to 
  login?
  any suggestion welcome!.
  The error log shows as follows.
   
  Jun 29 14:45:56 mail 
  postfix/qmgr[936]: F3411DF2: from=<>, size=2129, nrcpt=1 (queue 
  active)Jun 29 14:45:56 mail postfix/qmgr[936]: A7D2DDFB: 
  from=<[EMAIL PROTECTED]>, size=678, nrcpt=1 (queue active)Jun 29 
  14:45:56 mail postfix/qmgr[936]: 6808998C: from=<>, size=2129, nrcpt=1 
  (queue active)Jun 29 14:45:56 mail postfix/pipe[21898]: fatal: request to 
  use mail system owner group id 12Jun 29 14:45:56 mail postfix/pipe[21899]: 
  fatal: request to use mail system owner group id 12Jun 29 14:45:57 mail 
  postfix/local[21895]: warning: end of input while receiving string data from 
  service private/cyrusJun 29 14:45:57 mail postfix/local[21895]: warning: 
  private/cyrus: malformed responseJun 29 14:45:57 mail postfix/master[926]: 
  warning: process /usr/libexec/postfix/pipe pid 21898 exit status 1Jun 29 
  14:45:57 mail postfix/master[926]: warning: /usr/libexec/postfix/pipe: bad 
  command startup -- throttlingJun 29 14:45:57 mail postfix/master[926]: 
  warning: process /usr/libexec/postfix/pipe pid 21899 exit status 1Jun 29 
  14:45:57 mail postfix/local[21896]: warning: end of input while receiving 
  string data from service private/cyrusJun 29 14:45:57 mail 
  postfix/local[21896]: warning: private/cyrus: malformed responseJun 29 
  14:46:57 mail postfix/pipe[21900]: fatal: request to use mail system owner 
  group id 12Jun 29 14:46:58 mail postfix/master[926]: warning: process 
  /usr/libexec/postfix/pipe pid 21900 exit status 1Jun 29 14:46:58 mail 
  postfix/master[926]: warning: /usr/libexec/postfix/pipe: bad command startup 
  -- throttlingJun 29 14:46:58 mail postfix/local[21895]: warning: end of 
  input while receiving string data from service private/cyrusJun 29 
  14:46:58 mail postfix/local[21895]: warning: private/cyrus: malformed 
  response
   
  thank you in 
advance.


pop3/imapd

2001-06-30 Thread J.D. Bronson

Is there a way to get the following:

I want to allow pwcheck for pop3, but restrict plaintext passwords for imapd.

Possible?






-- 
J.D. Bronson
Aurora Health Care
Information Systems
Milwaukee Wisconsin USA
Main Office: 414.978.8282




user+folder delivery confusion

2001-06-30 Thread William K. Hardeman

Hello all,

I've been batting my head against a wall on this one, and need some help, 
please. I've read all I can find in the archives on how to get mails 
delivered to a user's sub-folders and to shared mailboxes, and I just can't 
get it to work right.

I've tried several of the suggestions I've seen in the mailing list (those 
that I sorta understood what I should do, anyway) and they cause something 
else to break, causing sendmail panics in my logs.

My current mc file looks like so (in the relevant portions):

MAILER(`local')dnl
MAILER(`smtp')dnl

MAILER_DEFINITIONS
Mcyrus, P=[IPC], F=lsDFMnqA@/:|SmXz, E=\r\n,
S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix,
A=FILE /var/imap/socket/lmtp

LOCAL_RULE_0
Rbb + $+ < @ $=w . >$#cyrus $: + $1

LOCAL_RULESETS
# if there's a plus part, we want to directly deliver it
SLocal_localaddr
R$+ + $*$#cyrus $@ $: $1 + $2


Can someone please tell me what I should do to enable the 
[EMAIL PROTECTED] scheme? I have a couple of users (myself included) that 
need/want this to work.

Thanks,
Will


William K. Hardeman
[EMAIL PROTECTED]
http://www.wkh.org

Always listen to experts. They'll tell you what can't be done and why. Then
do it.
--Robert A. Heinlein



user+folder delivery confusion (fwd)

2001-06-30 Thread William K. Hardeman

I guess it might help if I told you I'm running 
cyrus-imapd-2.0.14-NAMESPACE-r3 and sendmail-8.11.4, huh? :-)

Will

-- Forwarded Message --
Date: Saturday, 30 June, 2001 11:20 -0400
From: "William K. Hardeman" <[EMAIL PROTECTED]>
To: Cyrus-Imap Mailing List <[EMAIL PROTECTED]>
Subject: user+folder delivery confusion

Hello all,

I've been batting my head against a wall on this one, and need some help,
please. I've read all I can find in the archives on how to get mails
delivered to a user's sub-folders and to shared mailboxes, and I just can't
get it to work right.

I've tried several of the suggestions I've seen in the mailing list (those
that I sorta understood what I should do, anyway) and they cause something
else to break, causing sendmail panics in my logs.

My current mc file looks like so (in the relevant portions):

MAILER(`local')dnl
MAILER(`smtp')dnl

MAILER_DEFINITIONS
Mcyrus, P=[IPC], F=lsDFMnqA@/:|SmXz, E=\r\n,
S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix,
A=FILE /var/imap/socket/lmtp

LOCAL_RULE_0
Rbb + $+ < @ $=w . >$#cyrus $: + $1

LOCAL_RULESETS
# if there's a plus part, we want to directly deliver it
SLocal_localaddr
R$+ + $*$#cyrus $@ $: $1 + $2


Can someone please tell me what I should do to enable the
[EMAIL PROTECTED] scheme? I have a couple of users (myself included) that
need/want this to work.

Thanks,
Will


William K. Hardeman
[EMAIL PROTECTED]
http://www.wkh.org

Always listen to experts. They'll tell you what can't be done and why. Then
do it.
--Robert A. Heinlein

-- End Forwarded Message --




William K. Hardeman
[EMAIL PROTECTED]
http://www.wkh.org

Always listen to experts. They'll tell you what can't be done and why. Then
do it.
--Robert A. Heinlein



No Subject

2001-06-30 Thread Edwin Chiu

Hi,

I'm getting this error for one of my users using the vacation
sieve script... no different than other vacation scripts
in use by other users...

Jun 30 12:15:28 localhost sendmail[10051]: 
  MAA10048: SYSERR(root): mailer cyrus died with signal 13

I dug through the archives and someone mentioned it was a
bug in db-1.85, I'm using Redhat 6.1. And the "file" command
tells me the deliverdb for the user is a:

 Berkeley DB 2.X Hash?Little Endia (Version 5)

I will try rebuilding the deliverdb and see if the problem
persists... 

Edwin

--
Edwin Chiu | Principal Consultant  | tel: (416)260-9625 x247
[EMAIL PROTECTED] | E-wares Inc.  | http://www.e-wares.com



Re: user+folder delivery confusion

2001-06-30 Thread Nick Sayer

Since you're using LMTP to the lmtpd socket, you don't have to do anything 
special at all. Define the "local mailer" in your .mc file as cyrus. It can 
handle both 'user', 'user+subbox' or '+shared_folder' as left-hand-sides 
and deliver all of them correctly. You can even use any of these 3 as the 
right-hand-side of an alias if you wish.

> Hello all,
> 
> I've been batting my head against a wall on this one, and need some
> help,  please. I've read all I can find in the archives on how to get
> mails  delivered to a user's sub-folders and to shared mailboxes, and I
> just can't  get it to work right.
> 
> I've tried several of the suggestions I've seen in the mailing list
> (those  that I sorta understood what I should do, anyway) and they
> cause something  else to break, causing sendmail panics in my logs.
> 
> My current mc file looks like so (in the relevant portions):
> 
> MAILER(`local')dnl
> MAILER(`smtp')dnl
> 
> MAILER_DEFINITIONS
> Mcyrus, P=[IPC], F=lsDFMnqA@/:|SmXz, E=\r\n,
>S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix,
>A=FILE /var/imap/socket/lmtp
> 
> LOCAL_RULE_0
> Rbb + $+ < @ $=w . >$#cyrus $: + $1
> 
> LOCAL_RULESETS
> # if there's a plus part, we want to directly deliver it
> SLocal_localaddr
> R$+ + $*$#cyrus $@ $: $1 + $2
> 
> 
> Can someone please tell me what I should do to enable the 
> [EMAIL PROTECTED] scheme? I have a couple of users (myself included)
> that  need/want this to work.
> 
> Thanks,
> Will
> 
> --
--
> William K. Hardeman
> [EMAIL PROTECTED]
> http://www.wkh.org
> 
> Always listen to experts. They'll tell you what can't be done and why.
> Then do it.
> --Robert A. Heinlein





Re: user+folder delivery confusion

2001-06-30 Thread Ken Murchison



"William K. Hardeman" wrote:
> 
> Hello all,
> 
> I've been batting my head against a wall on this one, and need some help,
> please. I've read all I can find in the archives on how to get mails
> delivered to a user's sub-folders and to shared mailboxes, and I just can't
> get it to work right.
> 
> I've tried several of the suggestions I've seen in the mailing list (those
> that I sorta understood what I should do, anyway) and they cause something
> else to break, causing sendmail panics in my logs.
> 
> My current mc file looks like so (in the relevant portions):
> 
> MAILER(`local')dnl
> MAILER(`smtp')dnl
> 
> MAILER_DEFINITIONS
> Mcyrus, P=[IPC], F=lsDFMnqA@/:|SmXz, E=\r\n,
> S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix,
> A=FILE /var/imap/socket/lmtp
> 
> LOCAL_RULE_0
> Rbb + $+ < @ $=w . >$#cyrus $: + $1
> 
> LOCAL_RULESETS
> # if there's a plus part, we want to directly deliver it
> SLocal_localaddr
> R$+ + $*$#cyrus $@ $: $1 + $2
> 
> Can someone please tell me what I should do to enable the
> [EMAIL PROTECTED] scheme? I have a couple of users (myself included) that
> need/want this to work.


Try removing the LOCAL_RULESETS (they aren't necessary for LMTP),
rebuild sendmail.cf, and restart sendmail.  Then set the ACL on whatever
folders you want to have direct delivery so that 'anyone' has posting
priviledges.  For example, in cyradm:

sam user.foo.bar anyone p
sam shared anyone p


To send mail to each of these folders, the addresses would be
[EMAIL PROTECTED] and [EMAIL PROTECTED] respectively.

Hope this helps,
Ken
-- 
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



Re: pop3/imapd

2001-06-30 Thread Ken Murchison



"J.D. Bronson" wrote:
> 
> Is there a way to get the following:
> 
> I want to allow pwcheck for pop3, but restrict plaintext passwords for imapd.
> 
> Possible?

If I understand what you are trying to do, yse two different config
files for the services.  For instance, the services lines in
/etc/cyrus.conf might look like:

  imap  cmd="imapd" listen="imap"
  pop3  cmd="pop3d -C /etc/pop3d.conf" listen="pop3"


/etc/imapd.conf and /etc/pop3d.conf should be identical, except

/etc/imapd.conf would have:

allowplaintext: no

and /etc/pop3d.conf would have:

allowplaintext: yes


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