Red Hat Bugzilla – Bug 42792
sendmail would not forward to a program
Last modified: 2007-04-18 12:33:29 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.
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
(reason: 550 Unsafe for mailing to programs)
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"
No it is not a (file) permission issue. It was chmod 600.
This is most likely RedHat "improving" on sendmail default configuration.
After I replaced sendmail with postfix, vacation works.
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
sendmail has more checks for permission problems and everything works
fine, if I test these things here.
Florian La Roche