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