Hi,
I have a sendmail smtp server. The sendmail server is working fine.
But when I type the below command it doesn't work at the console, the receipent doesn't receicve any mail. I would like to know what could be the reason.
ls -l | mail -s "listing"
username@domain.com
The output of /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
10.220.20.x smtp.testing.com testing
The output of /etc/mail/access
# Check the /usr/share/doc/sendmail/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost...
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
10.220.20 RELAY
Please do let me know what should I chnage in my configuration files.
Regards