Ivan F. Villanueva B. wrote:
> Hello,
> I'm setting up vserver and have a strange error with courier (.Outbox 
> functionality) and exim4
> providing sendmail. All packages from Debian 5.0 (lenny)
> 
> The error on the logs:
> 
>     Mar 17 09:04:26 cont101 imapd: error sending a message, user=ivan: 
> /usr/sbin/sendmail: error while loading shared libraries: libgpg-error.so.0: 
> failed to map segment from shared object: Cannot allocate memory/Message send 
> FAILED./

The last snippet, /Message send FAILED./, was added by the imap 
daemon, the rest of the error and the failure stays with sendmail.

> Although it seems a memory allocation issue, the vserver doesn't have any 
> resource problem.
> 
> 'sendmail' on the command line works fine, although I don't know exactly 
> which parameters courier
> uses. How to know?
> 
> Any other ideas?

The imap daemon forks, its child forks again, and the last child runs 
the sendmail program, which it knows from its environment variable 
SENDMAIL. Perhaps, you could experiment by setting that variable to a 
script that carries out more tests, e.g. running ldd. It will have the 
message on its input, as if it were sendmail.


HTH































------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to