On 1/18/06 Riccardo Perotti wrote:

>Hi all:
>
>I have a typical mail cgi script written in perl and can't figure out
>why I don`t get an error when the message is not sent.
> ...
>The problem is that it does not die even though the message is not
>sent.
>
>I've tried checking $? (child error) but nothing (it is '0').
>
>I have read the sendmail and postfix man pages to no avail.
> ...
>What is it that I'm missing? Is there another way of checking for
>sendmail's success from your script?

I'm not sure what the problem is, but when my mail scripts don't work, I
find the undeliverable messages in ~/mbox. Might be some hints there.

HTH

- Bruce

__bruce__van_allen__santa_cruz__ca__

Reply via email to