[ Francis Vidal writes: ]
> remember i asked before why wrapper shrinks in size? i traced it to this:
> 1. majordomo runs as majordom.list
> 2. wrapper is owned by root.list (chmod is -rwsr-xr-x)
> when i change the owner of wrapper from the default (root.list) to
> something like root.bin and change it to -rwsr-x--- mj won't run
> wrapper and it just shrinks in size -- disabling it.
It's the other way 'round -- wrapper runs Mj and your MTA runs wrapper.
Mj runs as majordom.list because wrapper changes to that uid.gid before
exec'ing it. When you turn off world execute permissions, your MTA can't
execute wrapper because the MTA isn't running as root.bin (or root.list
for that matter).
As for it shrinking in size, I'd suspect the missing '|' in the alias
causing the MTA to overwrite wrapper with the message it was trying to
deliver instead of running wrapper and piping the message to it.