post...@ptld.com:
> The problem is dovecot does case-sensitive matching of recipient user to 
> folder name.
> user+foo...@example.com would be sorted into the folder "foobar" by LMTP.
> But user+foo...@example.com would report folder "FOOBAR" not found.
> 

The SMTP/LMTP client already implements some of the "flags" features
of the pipe(8) daemon:

Documented in smtp(8), lmtp(8):
       flags=DORX (optional)

Documented in pipe(8):
       flags=BDFORXhqu.> (optional)
              Optional message processing flags.  By  default,  a  message  is
              copied unchanged.

One of these flags enables case-folding for the envelope recipient
address localpart:
 
              u      Fold the command-line $original_recipient and  $recipient
                     address  localpart  (text to the left of the right-most @
                     character) to lower case.  This is recommended for deliv-
                     ery via UUCP.

For user interface consistency, we should add this flag to the
SMTP/LMTP client, even if the underlying implementation won't share
code with the pipe daemon.

        Wietse

Reply via email to