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

   --
    +-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-+
         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
   --==========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 the
   dnl "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==========--


Reply via email to