Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Queued messages using mailx/sendmail on solaris 9 1

Status
Not open for further replies.

ponetguy2

MIS
Aug 28, 2002
442
US
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.
 
FYI:
# mailx -v -s 'test mail' name@testdomain.com </tmp/mail.log
# testdomain.com: Name server timeout
name@testdomain.com... Transient parse error -- message queued for future delivery
name@testdomain.com... queued

DNS issues?


"Not all operating systems suck, it's just that some operating systems suck worst than others"


 
I'm not sure how to interpret the queued message below, but it does not look good. Right?

# more qfk61FZHoN027318
V6
T1151768117
K1151768117
N1
P30084
Mhost map: lookup (testdomain): deferred
Fbs
$_root@localhost
${daemon_flags}c u
Sroot
Aroot@hostname.testdomain.com
rRFC822; name@testmail.com
RPFD:name@testdomain.com
H?P?Return-Path: <g>
H??Received: (from root@localhost)
by hostname.testdomain.com (8.12.10+Sun/8.12.2/Submit) id k61FZHoN027318
for name@testdomain.com; Sat, 1 Jul 2006 10:35:17 -0500 (CDT)
H?D?Date: Sat, 1 Jul 2006 10:35:17 -0500 (CDT)
H?F?From: Super-User <root>
H?x?Full-Name: Super-User
H?M?Message-Id: <200607011535.k61FZHoN027318@hostname.testdomain.com>
H??To: name@testdomain.com
H??Subject: blah blah blah
H??Content-Length: 0
.


"Not all operating systems suck, it's just that some operating systems suck worst than others"


 
good news, i fixed the problem. i'm not sure how i fixed it, but i did. i added our external dns namserver in /etc/resolv.conf. i also made some changes in local-host-names, relay-domains. i should have been writing notes when i fixed it. oh well.

oh, sendmail does not need to run in order to send messages via mailx.

"Not all operating systems suck, it's just that some operating systems suck worst than others"


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top