Russell Nelson <[EMAIL PROTECTED]> writes:
> Russ Allbery writes:
>> Russell Nelson <[EMAIL PROTECTED]> writes:
>>> Here's your program (call it deliver-to-.qmail):
>>> #!/bin/sh
>>> exec qmail-local "$USER" "$HOME" "$LOCAL" "" "nodeliver" "$HOST"
>>> "$SENDER" "$1"
>> That requires a user and a home directory, and doesn't work if a
>> .qmail-default file exists with other delivery instructions.
> Did you *try* it? :)
windlord:~> cat > .qmailnodeliver
|cat > MESSAGE
windlord:~> cat > IN
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: Testing
testing.
windlord:~> qmail-local "eagle" "/home/eagle" "eagle" "" "nodeliver"
"windlord.stanford.edu" "[EMAIL PROTECTED]" "./Mail/incoming/" < IN
did 0+0+1
windlord:~> cat MESSAGE
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: Testing
testing.
windlord:~> ls ./Mail/incoming/new/
windlord:~>
> Or did you just assume that this Russ has mush for brains?
Never! :) I did just look at the man page the first time, though. It
works if you can safely assume that there won't be that particular .qmailX
file, though, which may make it Good Enough.
--
Russ Allbery ([EMAIL PROTECTED]) <URL:http://www.eyrie.org/~eagle/>