[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Two-part question



On Sat, 2004-06-26 at 03:50, Darik Horn wrote:
> Alternatively, you could wrap your local delivery agent with a script 
> like this:
> 
>    #!/bin/ash
>    if [ ! -e "$HOME" ]
>    then
>      # With an appropriate sudo configuration...
>      sudo cp -r /etc/skel "$HOME"
>      maildirmake "$HOME/Maildir"
>    fi
>    exec MyLDA "$@"
>    # eof
> 
> If you use a lightweight shell like ash, then the overhead will be 
> tolerable.  YMMV.

Tried this. It's working except for one thing: the mail isn't actually
delivered. Could it possibly be that mail is being piped on standard
input, but standard input is never making it to procmail via the exec at
the end?

-- 
Stephen Touset <stephen@touset.org>

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: