4 messages in net.sourceforge.lists.courier-maildrop[maildropl] Re: errors when running m...
FromSent OnAttachments
Patrick LiechtyMay 14, 2004 9:48 am 
Sam VarshavchikMay 14, 2004 7:06 pm 
Jeremy KitchenMay 14, 2004 7:13 pm 
Patrick LiechtyMay 18, 2004 9:07 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Re: errors when running maildropActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:May 14, 2004 7:06:42 pm
List:net.sourceforge.lists.courier-maildrop

Patrick Liechty writes:

Hello,

I put this command in my qmail virtual domain user's directory .qmail file:

| /usr/local/bin/maildrop mailfilter

I have a file called mailfilter in that same directory. I get this error in /var/log/mail:

May 14 01:38:26 cssimsp0 qmail: [ID 748625 mail.info] 1084513106.354759 delivery 11: deferral: ld.so.1:_/usr/local/bin/maildrop:_fatal:_libstdc++.so.5:_open_failed:_No_suc h_file_or_directory/Killed/

I have the lib directory that contains these libraries in LD_LIBRARY_PATH in /etc/profile. I can run maildrop under other users and it works. It doesn't get these errors.

Any ideas?

qmail, when it invokes maildrop, does not have the LD_LIBRARY_PATH variable in its environment. You have it in your command line shell, but it's not in qmail's environment.