[Exim] Re: pipe transport

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Derrick 'dman' Hudson
Date:  
À: exim-users
Sujet: [Exim] Re: pipe transport
--
On Tue, Jul 02, 2002 at 06:34:03PM +0200, Torsten Curdt wrote:

| now what happens: if imap server goes crazy also cyrdeliver segfaults!

|
| Child process of local_delivery transport
| (running command "/usr/sbin/cyrdeliver ${local_part}") was terminated by
| signal 11 (Segmentation fault)

|
| ...now the problem is that all messages are bouncing! I'd prefer to have them
| in the queue so I can bring the imap server back to life and don't loose any
| mails...

|
| I've looked into the manual and found something possible depending on the
| result code - but the child *dies*. Any idea how to accomplish this?


| Any hints?


You could create a wrapper program that returns a suitable exit code
if cyrdeliver segfaults. Then exim wouldn't know that cyrdeliver
segfaulted, only that the delivery temporarily failed.

-D

--

How great is the love the Father has lavished on us,
that we should be called children of God!
        1 John 3:1


http://dman.ddts.net/~dman/

--
[ Content of type application/pgp-signature deleted ]
--