home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / emacs / help / 4098 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  2.2 KB

  1. Xref: sparky gnu.emacs.help:4098 comp.mail.sendmail:2264
  2. Newsgroups: gnu.emacs.help,comp.mail.sendmail
  3. Path: sparky!uunet!mcsun!sunic!sics.se!eua.ericsson.se!erix.ericsson.se!per
  4. From: per@erix.ericsson.se (Per Hedeland)
  5. Subject: Re: sendmail.el: flags to /usr/lib/sendmail wrong?
  6. Message-ID: <1992Sep12.022152.5665@eua.ericsson.se>
  7. Sender: news@eua.ericsson.se
  8. Nntp-Posting-Host: super.eua.ericsson.se
  9. Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
  10. References: <SCOTT.92Sep11094218@arugula.statsci.com> <SCOTT.92Sep11102408@arugula.statsci.com>
  11. Date: Sat, 12 Sep 1992 02:21:52 GMT
  12. Lines: 32
  13.  
  14. In article <SCOTT.92Sep11102408@arugula.statsci.com> scott@statsci.com (Scott Blachowicz) writes:
  15. > me>     Subject: returned mail for "| /usr/local/bin/filter"
  16. >
  17. > me>     Mail error was: 554 <"| /usr/local/bin/filter">... Cannot mail directly to programs
  18. ...
  19. >Right after I posted that I remembered a possible cause (commenting out the OR
  20. >option line out of Sun's sendmail.cf file). That seems to have fixed the
  21. >problem. After perusing Per Hedeland's list of problems with the OR option, it
  22. >seems that it is a good idea to leave it commented out.
  23.  
  24. Just commenting it out is rarely the right solution, since you then do
  25. not get the forward-all-mail-to-the-server effect that OR is supposed to
  26. have (and mostly does, although with many problems), and this can have
  27. various bad effects, one of which is that a command such as the above
  28. will be executed on the client rather than on the server (assuming the
  29. user's home directory is available on the client, of course).
  30.  
  31. The proper way to handle this, and the one I recommend along with the
  32. list, is to use a sendmail.cf that achieves the forwarding by means of
  33. "normal" rules.
  34.  
  35. Anyway, I can't reproduce your particular problem using OR and the
  36. context you describe (using /bin/cat rather than 'filter' though), and
  37. in fact the error message you give doesn't even seem to be produced by
  38. sendmail, but rather by some other program talking SMTP to sendmail (and
  39. perhaps, incorrectly, having taken upon itself to lookup .forward files
  40. before doing so).
  41.  
  42. --Per Hedeland
  43. per@erix.ericsson.se  or
  44. per%erix.ericsson.se@sunic.sunet.se  or
  45. ...uunet!erix.ericsson.se!per
  46.