Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!usenet.ins.cwru.edu!ncoast!nshore!steve From: steve@nshore.uucp (Stephen J. Walick) Newsgroups: comp.mail.sendmail Subject: smail3.1 - errors needing resolution Message-ID: <1991Jan6.180609.2201@nshore.uucp> Date: 6 Jan 91 18:06:09 GMT Reply-To: nshore!steve@ncoast.org (Stephen J. Walick) Distribution: na Organization: Nshore Hacking and Salvage Lines: 74 X-Location: Eastlake, Ohio 44095-2347 Environment: i386 running SCO-Xenix 2.3.3 Mailer(s): 'Elm2.3.10' and 'smail3.1.18.1 #18.32' Problem(s): Inability to use < ~/config > and < ~/transports > effectively. History: I have had < smail3.1 > executing satisfactorily for nearly a year until, with the beginning of the new year, I found it necessary to be- gin using the < ~/transports > file. Sent "test" mail (i.e., tried), but various errors were generated for reasons that I could not recog- nize. Recompiled the sources, using three different versions (genera- tions) of C-compilers (some were buggie) and recompiled successfully; same errors generated with the < ~/transports > file; recompiled again, with the errors generated. Have even tried to define "attributes" in the < ~/config > file (post compiling), with no help. Error History: [message id's removed - fequency of errors also minimized] -------------- 01/02/91 19:39:26: /usr/lib/smail/transports: unix_from_hack: unknown attribute 01/02/91 19:47:33: /usr/lib/smail/transports: log_output: unknown attribute 01/02/91 19:54:01: /usr/lib/smail/transports: shadow: unknown attribute 01/06/91 00:04:52: /usr/lib/smail/transports: unix_from_hack: unknown attribute 01/06/91 00:08:22: /usr/lib/smail/config: unknown attribute: unix_from_hack 01/06/91 00:30:02: /usr/lib/smail/config: unknown attribute: shadow 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? 2) Is the file < ~/config > required to have the "stock" attri- butes recognized? 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 [ NOTE: the line "-log_output" doesn't belong with local, but inserted for sake of this discussion. ] Though not necessary previously, use of the < ~/transports > file has become necessary to re-declare certain < ~/transports > parameters. Yes, all the attributes are properly declared in the source file < ~/src/transport.c >, but seem to be ignored. MANY THANKS to anyone who cares to either post as follow-up and/or sends an 'Email' reply. Regards.... Steve Walick -- Stephen J. Walick, Asst Sysop of the < XBBS > program at NCoast.ORG {uunet|backbone}!ncoast.org!nshore!steve nshore!steve@ncoast.org