Re: [Exim] Re: pipe transport

Pàgina inicial
Delete this message
Reply to this message
Autor: Torsten Curdt
Data:  
A: Derrick 'dman' Hudson, exim-users
Assumpte: Re: [Exim] Re: pipe transport
> | 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.


Do you thing a bash script could do that? Or do I need to code it by myself?

Thanks
--
Torsten