Bug 42792 - sendmail would not forward to a program
sendmail would not forward to a program
Product: Red Hat Linux
Classification: Retired
Component: sendmail (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Florian La Roche
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-05-30 00:33 EDT by Dmitri A. Sergatskov
Modified: 2007-04-18 12:33 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-07-15 00:07:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Dmitri A. Sergatskov 2001-05-30 00:33:56 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-2 i586)

Description of problem:
Sendmail would not forward to a program. As a result the vacation program
(from powertools 7.1) would not work as well. 

How reproducible:

Steps to Reproduce:
1.Instal vacation on somehost
2.initiate vacation program as someuser
3.send e-mail to the someuser@somehost

Actual Results:     ----- The following addresses had permanent fatal
errors -----
"|vacation someuser"
    (reason: 550 Unsafe for mailing to programs)

Additional info:
Comment 1 Tethys 2001-06-25 18:22:22 EDT
This is just a permissions issue. Sendmail will refuse to forward to
programs if your .forward is group or world writable. This is because
it lets anyone with write access to your .forward file run any program
as you (a *huge* security risk). To fix, just "chmod go-w $HOME/.forward"
Comment 2 Dmitri A. Sergatskov 2001-06-25 19:06:36 EDT
No it is not a (file) permission issue. It was chmod 600. 
This is most likely RedHat "improving" on sendmail default configuration.
Comment 3 Dmitri A. Sergatskov 2001-06-30 18:27:32 EDT
After I replaced sendmail with postfix, vacation works.
Comment 4 Stephen Walton 2001-07-15 00:07:06 EDT
I hereby confirm dima's bug report and that his workaround (replace sendmail 
with postfix) works.  RH 7.1, clean install.  "chmod 0600 ~/.forward" does not 

Comment 5 Florian La Roche 2001-08-06 06:28:53 EDT
sendmail has more checks for permission problems and everything works
fine, if I test these things here.

Florian La Roche

Note You need to log in before you can comment on or make changes to this bug.