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

Re: smail doesn't read ~/.forward file



On Sun, Aug 01, 1999 at 08:52:58AM +0200, you wrote:
> Hi,
> I am using smail on my debian slink box with 2.2.10 kernel.
> I set up my ~/.forward file in order to sort my mail through procmail
> ("|/usr/bin/procmail") but it didn't work.
> Trying various .forward files, I figured out that this file is not
> read at all.


You don't need to use a .forward file in this case. Read section 2c of
/usr/doc/procmail/examples/advanced.  You just have to add the following
two lines to your /etc/smail/transports file, replace the existing "local"
entry:

local: return_path, local, from, driver=pipe; user=root,
        cmd="/usr/bin/procmail -d $($user$)"


Gene


Reply to: