> In a message on Mon, 25 Mar 1996 00:25:22 GMT, wrote :
>M> My smail configuration can't seem to figure out any local addresses
>M> other than "root". Keeps giving an "unknown user" error in the
>M> logfile. I've gone over and over the smail man page, to no
>M> avail. What does smail look at to figure out who is and isn't
>M> a local user? I assumed the passwd file, but maybe not?
>M>
>M> Meanwhile, the old "deliver" program works fine.
>M>
>M> Help!
>M>
>M>
>M>
>Smail's builtin local transport method does not seem to work. I put the following in my /etc/smail/transports file:
>local: from,return_path,driver=pipe;pipe_as_sender,
> cmd="/usr/bin/deliver $user"
>And now local mail gets delivered properly.
Hmm - I've been using smail for years without any problem.
That's what my 'transports' file says in regards to local mail:
-----------------------------snip----------------------------
# local - deliver mail to local users
#
# Tell smail to append directly to user mailbox files in the /usr/mail
# directory.
local: driver = appendfile, # append message to a file
return_path, # include a Return-Path: field
local, # use local forms for delivery
from, # supply a From_ envelope line
unix_from_hack; # insert > before From in body
file = /usr/spool/mail/${lc:user}, # use this location for Linux
group = mail, # group to own file for System V
mode = 0660, # under System V, group mail can access
suffix = "\n", # append an extra newline
append_as_user,
------------------------------snip----------------------------
Michael
--
**************************************************************************
* "Real computer scientists don't program in assembler. They don't write *
* in anything less portable than a number two pencil." *