[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another glitch with latest beta

> Another thing with .48-970423: pipe works `strange' in the mailbox transport.
> I have an entry in /etc/zmailer/db/aliases:
> mailping: "|exec /usr/local/bin/mailping"
> and it used to work, but now the script *is* executed, but the message
> is not removed from the queue and the following is in the syslog:
> Apr 24 18:39:12 chronos mailbox[15922]: S.nLr/p68048: to="|exec
> /usr/local/bin/mailping", delay=00:00:27, xdelay=00:00:00, mailer=local,
> stat=deferred message write to ""|exec /usr/local/bin/mailping"" failed: Error
> 0

	I am not exactly sure there was a problem, but nevertheless
	I have recoded parts of the mailbox diagnostics routines
	due to these reports.

	The "nobodypipe" alias works now ok at Linux, but constantly
	fails at HP-UX by reporting an error on the FILE* stream.
	That is, the  ferror(fp)  yields non-zero for pipe-writes.
	There the fp has been created with statement:
		fp = fdopen(writefd, "w");

	Hmm... Fails on Solaris 2.5.1 too.  Same report !?

> Eugene

	/Matti Aarnio <mea@nic.funet.fi>