Russell Nelson: > Joerg Lenneis writes: >> We do something similar which is to set $MAIL="~/Mailbox-$USER" in the >> appropriate startup files. But we do delivery into Maildirs and the >> command elm is a shell script that converts the Maildir into >> "~/Mailbox-$USER" and then invokes the real elm. Come to think about >> it, it should be trivial to come up with a suitable qmail-start >> invocation that delivers into "~/Mailbox-$USER" right away. Actually, >> (I have not tried this invocation) something like >> >> qmail-start './Mailbox-$USER' splogger >> >> should do the trick, shouldn't it? $USER is set by qmail-local. > No. It's the shell that does variable substitution. Only | > deliveries are handed to the shell. Arguably for security reasons > qmail should have its own variable substitution system. Ah. So that is why all of the variable substitutions are documented in qmail-command.8 and not in qmail-local.8. > You can do what you want like this: > |qmail-local "$USER" "$HOME" "$LOCAL" "" "nodeliver" "$HOST" "$SENDER" >"./Mailbox-$USER" Nice workaround and very qmailish. [...] -- Joerg Lenneis email: [EMAIL PROTECTED]
