Yikes... this isn't good news.  The funny thing is that we had this
working just fine with the old IMAP server (1.5.24) using deliver with
Sendmail 8.12.0.  Here is the cyrus section that we were using:

Mcyrus,     P=/usr/cyrus/bin/deliver, F=lsDFMnPqwA5@:|/,
            S=EnvFromL, R=EnvToL/HdrToL,
            U=cyrus:mail, T=DNS/RFC822/X-Unix,
            A=deliver -e -m $h -- $u

Mcyrusbb,   P=/usr/cyrus/bin/deliver, F=lsDFMnPu,
            S=EnvFromL, R=EnvToL/HdrToL,
            U=cyrus:mail, T=DNS/RFC822/X-Unix,
            A=deliver -e -m $u

Notice the w flag listed in the first definition.  Not only did plussed
folders work for delivery (something I know was working when we went to
Sendmail 8.12.0 the previous day, since over half my mail gets delivered
to plussed folders), but forward files worked properly as well.

So, there must be some way to fix this... I am going to forward this to
the sendmail folks to see if they can help us as well.

Scott

--On Thursday, August 23, 2001 11:07 PM -0400 Lawrence Greenfield 
<[EMAIL PROTECTED]> wrote:

> The 'w' flag for the mailer says to make sure that all users it
> accepts mail for are in /etc/passwd.
>
> You'll probably need to remove it.
>
> Fortunately or unfortunately, this will also disable ~/.forward file
> processing.  Since we don't use .forward file processing, it will be
> hard for me to immediately tell you how to make both work.
>
> Larry
>
>    Date: Thu, 23 Aug 2001 20:05:19 -0400
>    From: Scott Adkins <[EMAIL PROTECTED]>
>    cc: Cyrus-Bugs <[EMAIL PROTECTED]>
>
>    --==========1923943158==========
>    Content-Type: text/plain; charset=us-ascii; format=flowed
>    Content-Transfer-Encoding: 7bit
>    Content-Disposition: inline
>
>    --On Thursday, August 23, 2001 7:25 PM -0400 Lawrence Greenfield
>    <[EMAIL PROTECTED]> wrote:
>
>    >    Date: Thu, 23 Aug 2001 19:20:47 -0400
>    >    From: Scott Adkins <[EMAIL PROTECTED]>
>    >    cc: Lawrence Greenfield <[EMAIL PROTECTED]>,
>    >       Cyrus-Bugs <[EMAIL PROTECTED]>
>    >
>    >    Okay, we upgraded to IMAP 2.0.16 with Sendmail 8.12.0.  Everything
>    > seems    to be working except for delivery of email to subfolders.
> What    > is    happening instead is the emails are getting dumped to the
> user's    > INBOX.    The ACLs are correct, and everything was working
> previously    > before the    upgrade (using sendmail 8.12.0 and
> deliver).  Anyone have    > ideas on what    is happening here?
>    >
>    > You have to make sure that Sendmail isn't stripping off the plus sign
>    > from the delivery.
>    >
>    > Try adding
>    >
>    > FEATURE(`preserve_local_plus_detail')
>    >
>    > to your Sendmail 8.12 mc file.
>    >
>    > Larry
>    >
>
>    Okay, we just did that and we are still having problems.  Mail can be
>    delivered to the INBOX just fine, but a "user+mbox@address" causes a
>    user unknown error and bounces the message back.
>
>    Can you tell us exactly what your sendmail configuration is?
>
>    This is what our cyrus section is in sendmail.cf:
>
>    Mcyrus,         P=[IPC], F=lsDFMnqAw@/:|SmXz, E=\r\n,
>                  S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix,
>                  U=cyrus:mail, A=FILE /var/imap/socket/lmtp
>
>    Also, attached is the actual MC file we are using to create our
>    sendmail.cf file.  Any help is greatly appreciated!  We are in a lurch
>    with a partial upgrade and a slightly broken email delivery system :-(
>
>
>    Scott
>
> --==========1923943158==========
>    Content-Type: text/plain; charset=us-ascii; name="cyrusv2_ou2.txt"
>    Content-Transfer-Encoding: 7bit
>    Content-Disposition: attachment; filename="cyrusv2_ou2.txt"; size=1387
>
>    # divert(-1)
>    #
>    #  (C) Copyright 2000 by Carnegie Mellon University
>    #
>    #  This sample mc file is for a site that uses the Cyrus IMAP server
>    #  exclusively for local mail. This requires Sendmail 8.10 or later.
>    #
>    # $Id: cyrusv2.mc,v 1.3 2000/09/09 04:02:11 leg Exp $
>
>    divert(0)dnl
>    VERSIONID(`cyrus v2 sample configuartion')
>
>    OSTYPE(osf1)
>    define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')
>    define(`confTO_IDENT',`0')
>
>    define(`confQUEUE_LA',`25')dnl
>    define(`confREFUSE_LA',`30')dnl
>    define(`confCONNECTION_RATE_THROTTLE',`10')dnl
>    define(`confMAX_DAEMON_CHILDREN',`200')dnl
>    define(`confMAX_MESSAGE_SIZE',`17000000')dnl
>    define(`confTO_QUEUERETURN',`2d')dnl
>
>    dnl setting cyrus as the trusted user will make it easier to pass
>    dnl Sendmail's safefile checks.  however, it means that someone with
>    dnl the "cyrus" password could easily become root.
>    dnl define(`confTRUSTED_USER', `cyrus')
>
>    define(`confLOCAL_MAILER', `cyrus')
>
>    FEATURE(`nocanonify')
>    FEATURE(`always_add_domain')
>    FEATURE(smrsh)dnl
>    FEATURE(use_cw_file)dnl
>    FEATURE(access_db)dnl
>    FEATURE(blacklist_recipients)dnl
>    FEATURE(`preserve_local_plus_detail')dnl
>    MAILER(`local')
>    MAILER(`smtp')
>
>    MAILER_DEFINITIONS
>    Mcyrus,    P=[IPC], F=lsDFMnqAw@/:|SmXz, E=\r\n,
>                       S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix,
>                       U=cyrus:mail, A=FILE /var/imap/socket/lmtp
>
>    LOCAL_RULE_0
>    Rbb + $+ < @ $=w . >       $#cyrus $: + $1
>
>
>    --==========1923943158==========--
>
>


--
 +-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-+
      Scott W. Adkins                http://www.cns.ohiou.edu/~sadkins/
   UNIX Systems Engineer                  mailto:[EMAIL PROTECTED]
        ICQ 7626282                 Work (740)593-9478 Fax (740)593-1944
 +-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-+
     CNS, HDL Center, Suite 301, Ohio University, Athens, OH 45701-2979

Reply via email to