Okay, the problem I was having was when we upgraded to Cyrus IMAPD 2.0.16
and Sendmail 8.12.0 using LMTP, plussed address (user+folder@address) no
longer worked.  If the 'w' flag was specified for the cyrus mailer in the
sendmail.cf file, messages to plussed addresses would bounce with a user
unknown message.  Removing the 'w' flag would make that work again, but
now .forward files no longer worked.

What we couldn't understand was why it was working before when the same
version of sendmail (8.12.0) was configured to use "deliver" for email
delivery.  The 'w' flag was there for it as well, but email messages were
still being delivered successfully to user's subfolders.

So, we went back to our old sendmail config file that uses "deliver" and
now everything works.  It works because the deliver program that comes with
IMAPD 2.0.16 just turns around and sends it to the LMTP server anyways.
Testing shows that email does indeed go to plussed address successfully and
.forward files still work.

Now, why does it work with the old sendmail configuration?  It turns out
that the old MC config files for sendmail (the ones you use to build the
sendmail.cf file) did some magic with addresses before the 'w' flag got
processed.  Basically, the stuff after the plus was saved away to the $h
macro, and the address was rewritten to not have the plus stuff in it.
When it was time to pass the message off to "deliver" for email delivery,
it would sort of reinsert the $h contents back into the address, which
would make things work in the end.

The final solution for us will have to be rewriting the MC file to use
LMTP (since we want the performance gain of sendmail talking to LMTP
directly) with the old style plussed address processing.

Anyways, that is where we are at.  Thanks to those who helped us with our
problem, and especially thanks to Lawrence who was has been a great help
to us from the very beginning when started down this upgrade path!

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

Reply via email to