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

Re: pipe prediction wrong... solved, but makes no sense



On Tue, Mar 23, 2004 at 01:18:23PM -0500, Ambrose Li wrote:
> Hi,
> 
> I have traced the "pipe prediction wrong" to the
> following code in aliases.cf:
> 
>    a=$(echo -- "$a" |                              \
>        listaddresses       -E "root"       \
> 			   -e "root"       \
> 			   -c "$user file expansion" | \
>        maprrouter $nattr "$user" "$host" "$plustail" "$domain")
> 
> When I checked to see what "listaddresses" is, I got
> 
>    z# type listaddresses
>    listaddresses not found
>    z#

Ah..  You did upgrade your existing system "in place" ?
Did you run   "$MAILBIN/post-install -MD5"  command ?

That system will not overwrite  $MAILSHARE/cf/  files, if they have
now different checksum, than what the original checksum was -- e.g.
if you had changed the file...



> On a functional ZMailer (2.99.56pre1), however, I get
> 
>    z# type listaddresses
>    listaddresses is a shell builtin
>    z#
> 
> Now, in the ChangeLog I read
> 
>    Disabled former (now unused)  "listaddresses"  function,
>    which does a small part of the job...
> 
> which makes the situation even more mysterious, since apparently
> 2.99.56 shipped a mismatched pair of router and router scripts,
> and should not have been working; it should have been broken all
> along, but somehow it has been working just fine for the past
> few months :-/
> 
> (It actually seems to have been semi-broken, since there were
> > 300 deferred mails in the router directory, but it was never
> so broken that mail delivery completely stopped, until yesterday.)

Perhaps it should.  NOISILY!
Hmm..

> Knowing this new information, I replaced the router binary with
> the one from 2.99.56pre1, and, voila, ZMailer works again. (But
> this whole thing still doesn't make any sense to me...)

It is beginning to make sense to me.
- Actively used scripts are still from 2.99.56pre1
- Binary was new..

-- 
/Matti Aarnio	<mea@nic.funet.fi>
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi