Re: [exim] readsocket

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Dan_Mitton
CC: exim-users
題目: Re: [exim] readsocket
On Tue, 16 Jan 2007, Dan_Mitton@??? wrote:

> Is there a way to determine which error 'readsocket' is getting??


There should be an error message for the failure of the expansion in
which you use readsocket. The message contains the error information.
For example:

$ exim -be
> ${readsocket{/non/exist}{abcd}}

Failed: failed to connect to socket /non/exist: No such file or directory

How the error is recorded depends on the circumstances in which you are
using readsocket. So you'll have to tell us some more details about when
you are not seeing the error information.


-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book