Hi all
I'm trying to setup a disk space check scripts at one of the server(host1) in private zone, which will send email to me(eg:
a@abc.com) through smtp server(eg: 10.58.216.5) in DMZ.
I have been trying to test sending mail with command line, but it was never been successful.
I have already setup smart host at sendmail.mc and already m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf and restarted the sendmail service.
whenever I send the test mail from command line, it always been queued.
Jun 4 11:57:13 p106pu02 sendmail[20640]: l543vDIY020640: from=root, size=40, class=0, nrcpts=1, msgid=<200706040357.l543vDIY020640@host1.xyz.com>, relay=root@localhost
Jun 4 11:57:13 p106pu02 sendmail[20640]: l543vDIY020640: to=a@abc.com, delay=00:00:00, mailer=esmtp, pri=30040, dsn=4.4.3, stat=queued
I have no DNS in private zone. DNS is only at DMZ.
I can try connecting port 25 of SMTP server from private zone by telneting 10.58.216.58 22, it is listening.
Pls guide me how can I achieve sending mail.
Thanks in deed.