To use 'procmail' as local mail agent I use the following
script as "/bin/lmail". Make sure you setuid "procmail"
(chmod u+s procmail).

I believe "smail" invoke lmail with two arguments;
sender and destination (second argument). You may want to
replace $1 with $2.

------ cut here ------
#!/bin/sh
# formail | procmail -d "$1"
procmail -d "$1"

