smail, pine not working

smail, pine not working

Post by Steve Bro » Sat, 15 Oct 1994 11:58:00



I am having trouble getting smail and pine working on this local Linux
machine.
The messages to root go through, all other messages do not work.  I am using
Slackware version 1.1.0.  I have installed the smail and pine packages.

My /usr/lib/smail/config file is

hostname=darkstar
visible_domain=frop.org
more_hostnames=darkstar.frop.org
postmaster=root
smtp_accept_max=10
smtp_banner="$primary_name Linux Smail$version #$compile_num ready at $date"
received_field="Received: \
 ${if def:sender_host \
  {from $sender_host by $primary_name \
  ${if def:sender_proto: with $sender_proto}\
  \n\t(Linux Smail$version #$compile_num) }\
 else{by $primary_name ${if def:sender_proto:with $sender_proto }\
  (Linux Smail$version #$compile_num)\n\t}}\
 id $message_id; $spool_date"

My /usr/lib/smail/directors file is

aliasinclude:
 driver = aliasinclude,  # use this special-case driver
 nobody;    # associate nobody user with addresses
     #  when mild permission violations
     #  are encountered

 copysecure,   # get permissions from alias director
 copyowners,   # get owners from alias director

forwardinclude:
 driver = forwardinclude, # use this special-case driver
 nobody;

 copysecure,   # get perms from forwarding director
 copyowners,   # get owners from forwarding director

aliases:
 driver = aliasfile,  # general-purpose aliasing director
 -nobody,   # all addresses are associated
     # with nobody by default, so setting
     # this is not useful.
 owner = owner-$user;  # problems go to an owner address

 file = /usr/lib/aliases,
 modemask = 002,
 #proto = dbm,   # use dbm(3X) library for access
 proto = lsearch,  # use linear search through text file

dotforward:
 driver = forwardfile,  # general-purpose forwarding director
 owner = Postmaster,  # problems go to the site mail admin
 nobody,
 sender_okay;   # sender never removed from expansion

 file = ~/.forward,  # .forward file in home directories
 checkowner,   # the user can own this file
 owners = root,   # or root can own the file
 modemask = 002,   # it should not be globally writable
 caution = daemon:root,  # don't run things as root or daemon
 # be extra carefull of remotely accessible home directories
 unsecure = "~uucp:~nuucp:/tmp:/usr/tmp"

forwardto:
 driver = forwardfile,
 owner = Postmaster, nobody, sender_okay;

 file = /usr/mail/${lc:user}, # point at user mailbox files
 forwardto,   # enable "Forward to " function
 checkowner,   # the user can own this file
 owners = root,   # or root can own the file
 modemask = 0002,  # under System V, group mail can write
 caution = daemon:root  # don't run things as root or daemon

user: driver = user;   # driver to match usernames

 transport = local  # local transport goes to mailboxes

real_user:
 driver = user;

 transport = local,
 prefix = "real-"  # for example, match real-root

lists: driver = forwardfile,
 caution,   # flag all addresses with caution
 nobody,    # and then associate the nobody user
 owner = owner-$user;  # system V sites may wish to use
     # o-$user, as owner-$user may be
     # too long for a 14-char filename.

 # map the name of the mailing list to lower case
 file = lists/${lc:user}  # lists is under $smail_lib_dir

owners: driver = forwardfile,
 caution,   # flag all addresses with caution
 nobody,    # and then associate the nobody user
 owner = postmaster;  # system V sites may wish to use
     # o-$user, as owner-$user may be
     # too long for a 14-char filename.

 # map the name of the mailing list to lower case
 prefix = "owner-",
 file = lists/owner/${lc:user} # lists is under $smail_lib_dir

request: driver = forwardfile,
 caution,   # flag all addresses with caution
 nobody,    # and then associate the nobody user
 owner = postmaster;  # system V sites may wish to use
     # o-$user, as owner-$user may be
     # too long for a 14-char filename.

 # map the name of the mailing list to lower case
 suffix = "-request",
 file = lists/request/${lc:user} # lists is under $smail_lib_dir

My /usr/lib/smail/routers files is

match-inet-addrs:
        driver=gethostbyaddr,           # match inet domain literal addrs
        transport=smtp;                 # delivery is over smtp/tcp
        fail_if_error,                  # non-inet literals are errors
        check_for_local                 # check for local host

forces:
 driver = pathalias,  # router to search paths file
 method = table;   # transports are in this file
 file = maps/force.path,  # file containing force path info
 proto = bsearch,  # use the sorted path file
 domain = uucp,   # strip trailing .uucp before lookup
 reopen    # close when not being used

match-inet-hosts:
        driver=gethostbyname,  # match hosts on network
        transport=smtp;   # delivery is over smtp/tcp
 domain = frop.org  # strip trailing domain before lookup

domain:
 driver = pathalias,
 method = table;
 file = maps/domain.path,
 proto = bsearch,  # a sorted file
 domain = frop.org,  # strip trailing .frop.org
 reopen    # don't keep the file open

world:
 driver = pathalias,
 method = table;
 file = maps/world,  # dbm database containing path info
 proto = dbm,   # use dbm
 domain = uucp,   # strip trailing .uucp before lookup
 reopen    # close when not in used

uuname:
 driver = pathalias,
 method = table;
 file = maps/uuname.path,
 proto = bsearch, reopen,

smart_host:
 driver=smarthost,  # special-case driver
 transport=smtp;   # by default deliver over SMTP

My /usr/lib/smail/transports file is

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,  
 suffix = "\n",   # append an extra newline
 append_as_user,

pipe: driver = pipe,   # pipe message to another program
 return_path, local, from, unix_from_hack;

 cmd = "/bin/sh -c $user", # send address to the Bourne Shell
 parent_env,   # environment info from parent addr
 pipe_as_user,   # use user-id associated with address
 umask = 0022,   # umask for child process
 -log_output,   # do not log stdout/stderr
 ignore_status,   # exit status may be bogus, ignore it
 ignore_write_errors,  # ignore broken pipes

file: driver = appendfile,
 return_path, local, from, unix_from_hack;

 file = $user,   # file is taken from address
 append_as_user,   # use user-id associated with address
 expand_user,   # expand ~ and $ within address
 suffix = "\n",
 mode = 0644

uux: driver = pipe,
 uucp,    # use UUCP-style addressing forms
 from,    # supply a From_ envelope line
 max_addrs = 5,   # at most 5 addresses per invocation
 max_chars = 200;  # at most 200 chars of addresses

 # the -r flag prevents immediate delivery, parentheses around the
 # $user variable prevent special interpretation by uux.
 cmd = "/usr/bin/uux - -r -g$grade $host!rmail $((${strip:user})$)",
 umask = 0022,
 pipe_as_sender

uux_one_addr:
 driver = pipe,
 uucp,    # use UUCP-style addressing forms
 from;    # supply a From_ envelope line

 # the -r flag prevents immediate delivery
 cmd = "/usr/bin/uux - -r -g$grade $host!rmail (${strip:user})",
 umask = 0022, pipe_as_sender

demand: driver = pipe,
 uucp, from, max_addrs = 5, max_chars = 200;

 # with no -r flag, try to contact remote site immediately
 cmd = "/usr/bin/uux - -g$grade $host!rmail $(($user)$)",
 umask = 0022, pipe_as_sender

uusmtp: driver = pipe,
 bsmtp,    # send batched SMTP commands
 -max_addrs,   # there is no limit on the number or
 -max_chars;   #   total size of recipient addresses.

 # supply -r to prevent immedate delivery, the recipient addresses
 # are stored in the data sent to the standard input of rsmtp.
 cmd = "/usr/bin/uux - -r -g$grade $host!rsmtp",
 umask = 0022, pipe_as_sender

demand_uusmtp:
 driver = pipe,
 bsmtp, -max_addrs, -max_chars;

 # with no -r flag, try to contact remote site immediately
 cmd = "/usr/bin/uux - -g$grade $host!rsmtp",
 umask = 0022, pipe_as_sender

smtp: driver = smtp,
 -max_addrs,
 -max_chars

The output of the "# smail -bv Steve"

Steve ... not deliverable: unknown user

Where Steve is a local user on this system.

Can somebody explain to me what I have to do to get the mail running on this
system?

Thanks in advance for any help given.

Cheers

Steven Grant Brown
... RAM DISK is NOT an installation procedure!
___ Blue Wave/QWK v2.12
--
FidoNet:  Steve Brown 3:633/363
Internet: Steve.Br...@f363.n633.z3.fidonet.org

 
 
 

1. Pine 3.95 and pine.conf/pine.conf.fixed

Hello all,

Just a quick question for today.  I recently installed q-mail on my
system to replace sendmail.  One of the things required by this install
is moving the mail folders to the users directories.  System is FreeBSD
2.1.5-Release, Pine is version 3.95.

I would like to set up Pine to default to a file (Mailbox) in the user's
home directory.  I know I need to set inbox-path=Mailbox but for some
reason Pine seems to ignore it's system wide configuration file.  If you
specify the system wide file, it works fine.

I've got pine.conf in /usr/local/lib/ as specified as the default
location for the global config file in the man pages....  Where'd I go
wrong?

Thanks for any pointers!!

-Dave

PS: An e-mailed reply in addition to a follow up post is greatly
appreciated as my news feed isn't all that great ;)

--
~|~|_  _   |  _  _ _|   _  |`  /~`|_  _  _  _
 | | |(/_  |_(_)| (_|  (_)~|~  \_,| |(_((_)_\
Ever been to the Realm of Chaos? Check it out!!

2. Fwd: cvs commit: ports/java/linux-sun-jdk14 Makefile

3. smail not working - help!

4. A new embedded linux+Compact Window+Compact browser+VOD+TV

5. e-mail delivery not working (smail)

6. ISDN cards info [Q]

7. smail+uucp=Not-working

8. A process killing script

9. HELP smail is not working

10. smail works one way,not t

11. PINE does not work...

12. pine not working after upgrade

13. Sendmail, smail, and pine