Given a stock RH8 with the sendmail service turned on and the following
changes should allow local mail delivery as you describe.
If you are using tcpwrappers (/etc/hosts.{allow,deny}) hosts.allow must
contain a line like
ALL: 127.0.0.1
or
ALL: localhost.localdomain
in addition make sure /etc/mail/local-host-names contains
localhost
localhost.domain
myhost.mydomain.com
....
and finally make sure /etc/hosts contains
127.0.0.1 localhost.localdomain localhost
and not localhost.com
You can test using telnet to talk directly to the SMTP port 25 and
seeing where the "converstation"with sendmail breaks down. The .... in
the following would, of course be replaced with a bunch of SMTP verbage
which should be reasonably helpful.
# telnet localhost 25
220 ....
MAIL FROM: root@localhost
.... OK
RCPT TO: root@localhost
.... OK
DATA
test
--
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list