Hello,

This is mainly for archive purposes in case anyone else has the same 
problems I did and thinks to search the archives first.

I have spent quite a few hours trying to figure out why my sieve vacation 
scripts were not working with postfix.  I upgraded my Berkeley DB 
libraries from 3.1.17 to 3.2.9.  I straced all manner of processes.  And I 
finally found out the problem.  The relevant error log that showed 
up was:

421 4.3.0 lmtpd: couldn't exec

There's a little bit of code in both imap/lmtpd.c and imap/lmtpdproxy.c
that is very sendmail-centric.  In particular, line 426 of the 2.1pre CVS
states:

#define DEFAULT_SENDMAIL ("/usr/lib/sendmail")

Thats all well and good if you're using sendmail but my postfix install, 
while symlinking /usr/sbin/sendmail to postfix didn't symlink 
/usr/lib/sendmail to postfix.  Hence, sendmail was never getting executed 
and the vacation reply was never being generated.  I didn't find this 
information listed anywhere in any of the sieve documentation or any of 
the Cyrus IMAP documention.

As soon as I made the symlink, and sent a message, I got a response, 
although I'm not sure if the message I received back had the proper 
headers.  One header read:

>From SIZE Wed, 10 Oct 2001 11:57:19 -0700

Seems odd to me - maybe thats a figment of the fact that postfix doesn't 
quite emulate sendmail 100%.  I can't believe that I'm the first person to 
encounter this problem but if I am, then hopefully this little email will 
help others resolve it more quickly.

Kevin

-- 
Kevin M. Myer
Systems Administrator
Lancaster-Lebanon Intermediate Unit 13
(717)-560-6140


Reply via email to