I am trying to send an email from the RHEL server to anywhere else (within organisation really, not fussed about using the tinternet). I have got it configured and working correctly on 3 servers (I set them up about 9 months ago), I am building 3 new servers, using the same version of RHEL, but I am struggling. I am trying to send it via our smtp server.
This is all I have done so far, can someone explain what else I need to do:
1. installed sendmail ( well it came preinstalled ...)
2. edited /etc/mail/sendmail.cf (I know I shouldn't but i simply edited the following lines
3. Restarted sendmail
The maillog of the server which isn't working shows:
Apr 13 13:35:11 MYHOST sendmail: q3DCZBCG005870: from=root, size=59, class=0, nrcpts=1, msgid=<201204131235.q3DCZBCG005870@localhost.localdoma
Apr 13 13:35:11 MYHOST sendmail: q3DCZBCG005870: firstname.lastname@example.org, delay=00:00:00, mailer=esmtp, pri=30059, dsn=4.4.3, stat=queued
/var/spool/mqueue (1 request)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
q3DCWttQ005782 364512 Fri Apr 13 13:32 root
(host map: lookup (domain.this.that[/email]): deferred)
I am guessing the relay should point to our smtp server?