Hello, I'm new to this forum. I usually post in Solaris forums. Please be kind to a newbie
I installed Solaris 9 OS on a V480. I want to be able to send messages via mailx for alerts and notices.
I tried to send a test message but it fails:
mailx -s 'blah blah' name@domain.com </tmp/mail.log
Every time I try to send a message I get these logs in /var/adm/messages:
Jul 1 09:25:24 hostname sendmail[25274]: [ID 801593 mail.info] k61EPO76025274: from=root, size=98, class=0, nrcpts=1, msgid=<200607011425.k61EPO76025274@hostname.testdomain.com>, relay=root@localhost
Jul 1 09:25:24 hostname sendmail[25274]: [ID 801593 mail.info] k61EPO76025274: to=name@testdomain.com, delay=00:00:00, mailer=relay, pri=30098, dsn=4.4.3, stat=queued
Queued messages are in populated /var/spool/clientmqueue.
I'm not sure if I should be able to telnet to port 25 to this server since messages are only going out and not in. For sh_ts and giggles I tried anyway and it failed.
I already configured sendmail.cf using m4. I also specified my entries in /etc/mail/relay-domains, local-host-names, aliases, trusted-users. I'm not sure what else to do. Please help/advise.
I installed Solaris 9 OS on a V480. I want to be able to send messages via mailx for alerts and notices.
I tried to send a test message but it fails:
mailx -s 'blah blah' name@domain.com </tmp/mail.log
Every time I try to send a message I get these logs in /var/adm/messages:
Jul 1 09:25:24 hostname sendmail[25274]: [ID 801593 mail.info] k61EPO76025274: from=root, size=98, class=0, nrcpts=1, msgid=<200607011425.k61EPO76025274@hostname.testdomain.com>, relay=root@localhost
Jul 1 09:25:24 hostname sendmail[25274]: [ID 801593 mail.info] k61EPO76025274: to=name@testdomain.com, delay=00:00:00, mailer=relay, pri=30098, dsn=4.4.3, stat=queued
Queued messages are in populated /var/spool/clientmqueue.
I'm not sure if I should be able to telnet to port 25 to this server since messages are only going out and not in. For sh_ts and giggles I tried anyway and it failed.
I already configured sendmail.cf using m4. I also specified my entries in /etc/mail/relay-domains, local-host-names, aliases, trusted-users. I'm not sure what else to do. Please help/advise.