Ivan F. Villanueva B. writes:

On Wed, Mar 18, 2009 08:45:56PM -0400, Sam Varshavchik wrote:
Ivan F. Villanueva B. writes:

On Tue, Mar 17, 2009 09:40:57AM -0700, Gordon Messmer wrote:
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)
...
> 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./

Courier's imapd is very strict with memory usage. In etc/courier/imapd, you'll find the IMAP_ULIMITD setting, which currently defaults to 65536

I have doubled it and the memory allocation error has disappeared. Thanks a lot.

But I still have a problem. I can connect to courier remotely and put an email 
on
Maildir/.Outbox without errors. In the logs:
    Mar 18 10:54:37 server imapd-ssl: Connection, ip=[::ffff:xx.xxx.xx.xx]
    Mar 18 10:54:42 server imapd-ssl: LOGIN, user=ivan, 
ip=[::ffff:xx.xxx.xx.xx], port=[64435],
    protocol=IMAP
    Mar 18 10:55:51 server imapd-ssl: LOGOUT, user=ivan, 
ip=[::ffff:xx.xxx.xx.xx], headers=0, body=0,
    rcvd=477, sent=463, time=69, starttls=1

The email is in Maildir/.Outbox but it is not sent :-(

However the email is sent when I do the same locally on the server with an 
email client.
No difference between the two emails on  Maildir/.Outbox

Any ideas?

Look at what /usr/sbin/sendmail is, on your system.

It points to exim4

Courier sends emails when I locally copy an email with my client (mutt) as
    imap://i...@localhost/INBOX.Outbox

But not on a remote client as
    imaps://i...@my_server/INBOX.Outbox

Any ideas why?

Look at the headers of the message you're trying to send. The message gets sent to the addresses listed in To/Cc/Bcc headers, with the sender's address set from the From: header. Perhaps your mail client is generating different sets of headers, which get rejected by exim.

Or, you do not have IMAP running on the imaps SSL port at all.


Attachment: pgpuQwbgqsLRV.pgp
Description: PGP signature

------------------------------------------------------------------------------
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