deliver output?

Patrick Welche prlw1 at newn.cam.ac.uk
Wed Aug 28 06:34:49 EDT 2002


On Fri, Aug 23, 2002 at 04:10:29PM -0400, Ken Murchison wrote:
> 
> 
> Patrick Welche wrote:
> > 
> > On Fri, Aug 23, 2002 at 03:54:01PM -0400, Ken Murchison wrote:
> > >
> > > If you read the installation doc, you'll see that the command should be
> > > "/usr/local/cyrus/bin/deliver -l".  Also make sure that user is "cyrus".
> > 
> > As mentioned later - I tried that to no avail - I  just don't see where they
> > go..
> > 
> > cyrus_delivery:
> >   driver = pipe
> > # return_output
> >   command = "/usr/local/cyrus/bin/deliver -l"
> > # delivery_date_add
> > # envelope_to_add
> > # return_path_add
> >   user = cyrus
> > 
> > Aug 23 20:59:07 gx240 master[425]: about to exec /usr/local/cyrus/bin/lmtpd
> > Aug 23 20:59:07 gx240 lmtpunix[425]: executed
> > Aug 23 20:59:07 gx240 lmtpd[425]: accepted connection
> > Aug 23 20:59:07 gx240 lmtpd[425]: lmtp connection preauth'd as postman
> > 
> > but then where does it go?
> 
> Does Exim report any errors, like non-existent mailbox, etc?  What user
> are you trying to deliver to?  Does a mailbox exist for that user?

And the solution was to change the exim configuration file to:

cyrus_delivery:
  driver = lmtp
  command = "/usr/local/cyrus/bin/deliver -l ${local_part}"
  delivery_date_add
  envelope_to_add
  return_path_add
  user = cyrus


ie., driver = lmtp, not driver = pipe. Pipe makes exim send the actual message
ie., From: ... to deliver -l, which isn't what it expects to receive..


Cheers,

Patrick

Index: install-configure.html
===================================================================
RCS file: /cvs/src/cyrus/doc/install-configure.html,v
retrieving revision 1.25
diff -u -r1.25 install-configure.html
--- install-configure.html	2002/08/13 20:17:50	1.25
+++ install-configure.html	2002/08/28 10:32:48
@@ -374,8 +374,9 @@
 
 <pre>
 local_delivery:
-  driver = pipe
+  driver = lmtp
   command = "/usr/cyrus/bin/deliver -l"
+  batch_max = 20
   user = cyrus
 </pre>
 </li>




More information about the Info-cyrus mailing list