lmtp versus deliver

Ken Murchison ken at oceana.com
Fri Nov 5 15:00:34 EST 2004


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 "user.folder-name at dom.ain" 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+folder at dom.ain.  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




More information about the Info-cyrus mailing list