Re: [exim] Weird HUP failures.

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Tony Finch
日付:  
To: Steve Devine
CC: exim users
題目: Re: [exim] Weird HUP failures.
On Mon, 11 Aug 2008, Steve Devine wrote:

> I think its looking in the sql db for 1006 and gaaking when it does not
> find it. If so then it is my problem to solve.


Sounds like it. I wonder if you'd be better off using an NSS module to do
the SQL lookups? Then you wouldn't have to hack Exim.

> My question for this list is whats the diff between originator_login and
> originator_name ?


originator_login is the username of the user that invoked Exim, and
originator_name is the GECOS field. See exim.c line 4030 onwards.

> Why does it start ok however but will not HUP?


Perhaps because you start it as root, but when you HUP it Exim is running
as courier and re-execs itself with that userid.

> We use the HUP command for log rotation so I would like to continue
> using it.


You don't need to HUP Exim when you rotate the logs because Exim's logging
code detects log rotation and re-opens them automatically.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}