Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!midway!gargoyle!chinet!les From: les@chinet.chi.il.us (Leslie Mikesell) Newsgroups: comp.mail.sendmail Subject: Re: smail3.1 - errors needing resolution Message-ID: <1991Jan14.042322.12537@chinet.chi.il.us> Date: 14 Jan 91 04:23:22 GMT References: <1991Jan6.180609.2201@nshore.uucp> Distribution: na Organization: Chinet - Public Access UNIX Lines: 47 In article <1991Jan6.180609.2201@nshore.uucp> nshore!steve@ncoast.org (Stephen J. Walick) writes: >01/06/91 00:04:52: /usr/lib/smail/transports: unix_from_hack: unknown attribute >01/06/91 00:30:44: /usr/lib/smail/transports: shadow: unknown attribute >01/06/91 00:32:03: /usr/lib/smail/transports: log_output: unknown attribute >Question(s): > 1) Not believing that the < ~/config > file should be needed, why > will the "attributes": unix_from_hack, log_output, shadow ... > not be recognized in the < ~/transports > file? They have to be in the right place. > 2) Is the file < ~/config > required to have the "stock" attri- > butes recognized? No - and your log entries indicated (correctly) that those transport attributes aren't recognized there at all. >Sample entry from < ~/transports > file: >---------------------------------------- ># @(#)/usr/lib/smail/transports 8.4 1/12/88 25:03:17 > ># perform local deliver by appending to user mailbox files >local: > # generic transport attributes: > driver=appendfile, > local, # local form for header and envelope > from, # supply a From_ envelope line > -log_output, # don't log the shell-command output (SEE NOTE) > return_path; # supply a Return-Path: field > > # driver-specific attributes: > file=/usr/spool/mail/${lc:user}, # BSD/V7 (& SCO-Xen) mailbox directory > check_user, # user cannot contain `/' character > mode=0600, # only allow access by the recipient > shadow=return_receipt, # check for return-receipt > unix_from_hack, # put > in front of From's in text > suffix="\n" # mailboxes require one extra newline The ";" separates the "generic" attributes from the "driver-specific" attributes in a definition. The problem here is that the unix_from_hack and shadow attributes are generic for transports and should be given before the ";". Anything after the ";" should be an attibute specific to the appendfile driver. The manual pages specify the which attibutes are generic as well as the specific ones that apply to each driver. Les Mikesell les@chinet.chi.il.us