Re: lmtp versus deliver

From: Ken Murchison (no email)
Date: Fri Nov 05 2004 - 15:00:34 EST


Philip Chambers wrote:

> This is cyrus-imap.2.2.8 with exim-4.41:
>
> I had been using lmtp to do normal deliveries but deliver to deliver to specific
> folders (as for spam being diverted to a spam-folder.
>
> I noticed in my exim logs that at busy times I was getting a few failures from the
> deliver program (logged as error code 75 or 65 by exim). Can someone tell me what
> these two codes mean?
>
> On reflection I thought that I might be able to use lmtp to deliver to specific
> folders instead by using "" as the address. I tried this
> and it worked. An advantage of this is the benefit of multiple deliveries in one go.
>
> However, I have now found a difference which it would be nice to remove:
>
> Using deliver to deliver to "user.folder", if the folder does not exist, it delivers
> to the user's inbox. Using lmpt, if the folder does not exist, it rejects the
> message.
>
> Is it possible to get lmtp to deliver to the inbox if the specified folder does not
> exist?

Either I'm confused or you're using the incorrect syntax. To deliver to
a user-specific folder via LMTP, the address should be
user+. If the folder doesn't exist (or doesn't allow
posting by the [un]authenticated user, then the message *will* go to the
  user's INBOX.

-- 
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
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD