From: Ron Bickers (no email)
Date: Sat Jan 10 2004 - 16:26:58 EST
On 01/10/2004 2:21 PM, Ron Bickers wrote:
>>Getting rid of the From_ line is a matter of "tail +2".
> Nice. I'll give that a shot.
For the archives (or for comment):
I now have mailbox_command = /usr/local/libexec/postqmail-local and
postqmail-local looks like this (minus some mailer wrapping):
#!/bin/sh
export PATH=$PATH:/usr/local/bin:/var/qmail/bin
tail +2 | seekablepipe qmail-local -- \
"$USER" "$HOME" "$LOCAL" "${EXTENSION:+-}" "$EXTENSION"
"$DOMAIN""$SENDER" ./Maildir/
e=$?
(($e == 111)) && exit 75
(($e == 100)) && exit 77
exit $e
No more need for a qmail-local transport or sudo, and as I discovered with
my prior solution, 'aliases' weren't resolve when used in my 'virtual'
table, but they work fine this way.
I *really* like Postfix's "reject unknown local users" feature, BTW. It
will block thousands of messages per day that qmail would otherwise have had
to handle and bounce.
Thanks!
-- Ron Bickers Logic Etc, Inc.
|
|
|