mailx/sendmail configuration/set up problem


 
Thread Tools Search this Thread
Operating Systems Solaris mailx/sendmail configuration/set up problem
# 1  
Old 02-17-2011
mailx/sendmail configuration/set up problem

Hello Good People of Linux World!!!

Background: Recent Networking Graduate, thrown in line of fire.

For the past couple of days I have been searching online for answers and haven't gotten anywhere regarding Mailx, Sendmail functionality on SunOS 5.9.

My dilemma:
Mailx / sendmail are not sending emails (not inside or outside our network).

Machine:
Code:
SunOS tmusid01 5.9 Generic_118559-11 i86pc i386 i86pc

Tried:
Code:
 echo "3PM" | mailx -s "Subject3PM" murtuza@live.ca

and it doesn't show any errors or such at that time.
But then, I get this email after a while

Code:
================================================================
From MAILER-DAEMON Thu Feb 17 15:16:31 2011
Date: Thu, 17 Feb 2011 14:49:45 -0500 (EST)
From: Mail Delivery Subsystem <MAILER-DAEMON@tmusid01.timelessmind.com>
To: root@tmusid01.timelessmind.com
MIME-Version: 1.0
Subject: Warning: could not send message for past 4 hours
Auto-Submitted: auto-generated (warning-timeout)

This is a MIME-encapsulated message

--p1HJmjF0000450.1297972185/tmusid01.timelessmind.com

    **********************************************
    **      THIS IS A WARNING MESSAGE ONLY      **
    **  YOU DO NOT NEED TO RESEND YOUR MESSAGE  **
    **********************************************

The original message was received at Thu, 17 Feb 2011 10:44:27 -0500 (EST)
from root@localhost

   ----- Transcript of session follows -----
451 live.ca: Name server timeout
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old

--p1HJmjF0000450.1297972185/tmusid01.timelessmind.com
Content-Type: message/delivery-status

Reporting-MTA: dns; tmusid01.timelessmind.com
Arrival-Date: Thu, 17 Feb 2011 10:44:27 -0500 (EST)

Final-Recipient: RFC822; murtuza@live.ca
Action: delayed
Status: 4.4.3
Last-Attempt-Date: Thu, 17 Feb 2011 14:49:45 -0500 (EST)
Will-Retry-Until: Tue, 22 Feb 2011 10:44:27 -0500 (EST)

--p1HJmjF0000450.1297972185/tmusid01.timelessmind.com
Content-Type: message/rfc822

Return-Path: <root>
Received: (from root@localhost)
        by tmusid01.timelessmind.com (8.12.10+Sun/8.12.10/Submit) id p1HFiRdn000809;
        Thu, 17 Feb 2011 10:44:27 -0500 (EST)
Date: Thu, 17 Feb 2011 10:44:27 -0500 (EST)
From: Super-User <root>
Message-Id: <201102171544.p1HFiRdn000809@tmusid01.timelessmind.com>
To:, murtuza@live.ca
Subject: Subject3PM

3PM

--p1HJmjF0000450.1297972185/tmusid01.timelessmind.com--
================================================================

What does this mean?
What configuration/log files should I be looking into?
What can be done to fix this problem?


I look forward from hearing and learning from you experienced campaigners.

Cheers,
Kazmi
# 2  
Old 02-17-2011
I take it this is a sendmail client, sending to some sort of mail server (sendmail, exhange or otherwise). Did you make sure your sendmail.cf is setup to send to the correct server?
This User Gave Thanks to aychbee45 For This Post:
# 3  
Old 02-17-2011
I think this machine is acting as both the client and server in our instance as there aren't any other machines set up as "mail servers".

I could be wrong though, is there a way to find out?

Any specific configurations to set this machine as
1)client?
2)server?

What necessary changes should I be making in the sendmail.cf file?
I have looked in it and its about 1300+ lines, and had no idea what to do in it.

More help will be much appreciated.
Thanks,
Kazmi
# 4  
Old 02-17-2011
What does your maillog say? It may be in /var/log/maillog
This User Gave Thanks to aychbee45 For This Post:
# 5  
Old 02-17-2011
/var/log/maillog does not exist on this machine Smilie

I was trying to look for it earlier as well but did not find it.
There is a bunch of syslog, syslog.1syslog.2....syslog.7 files

Could it be logging mail instances to another location?
# 6  
Old 02-17-2011
Look for sendmail logs in /var/log/ or /var/adm
Code:
cd /var/log
grep sendmail *
cd /var/adm
grep sendmail *

# 7  
Old 02-17-2011
the following is from /var/log
Code:
cd /var/log
grep sendmail *

there are a lot more of these enteries in /var/log/syslog.8MK location I just copied the latest one.
 ==============================================================================================================
syslog.8MK:Feb 17 10:48:43 tmusid01 sendmail[820]: [ID 801593 mail.info] p1HFmhKc000820: from=root, size=4565, class=0, nrcpts=1, msgid=<201102171543.p1HFh8An000803@tmusid01.timelessmind.com>, relay=root@localhost
syslog.8MK:Feb 17 10:48:43 tmusid01 sendmail[821]: [ID 801593 mail.notice] p1HFmhK3000821: <box@tmusid01.timelessmind.com>... User unknown
syslog.8MK:Feb 17 10:48:43 tmusid01 sendmail[820]: [ID 801593 mail.info] p1HFmhKc000820: to=box, ctladdr=root (0/1), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=34565, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
syslog.8MK:Feb 17 10:48:43 tmusid01 sendmail[821]: [ID 801593 mail.info] p1HFmhK3000821: from=<root@tmusid01.timelessmind.com>, size=4565, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
syslog.8MK:Feb 17 10:48:43 tmusid01 sendmail[820]: [ID 801593 mail.info] p1HFmhKc000820: p1HFmhKd000820: DSN: User unknown
syslog.8MK:Feb 17 10:48:43 tmusid01 sendmail[821]: [ID 801593 mail.info] p1HFmhK5000821: from=<>, size=6429, class=0, nrcpts=1, msgid=<201102171548.p1HFmhKd000820@tmusid01.timelessmind.com>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
syslog.8MK:Feb 17 10:48:43 tmusid01 sendmail[820]: [ID 801593 mail.info] p1HFmhKd000820: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=35589, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p1HFmhK5000821 Message accepted for delivery)
syslog.8MK:Feb 17 10:48:43 tmusid01 sendmail[822]: [ID 801593 mail.info] p1HFmhK5000821: to=<root@tmusid01.timelessmind.com>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=36659, relay=local, dsn=2.0.0, stat=Sent
syslog.8MK:Feb 17 10:49:43 tmusid01 sendmail[826]: [ID 801593 mail.info] p1HFnh5E000826: from=root, size=0, class=0, nrcpts=1, msg#

---------- Post updated at 04:37 PM ---------- Previous update was at 04:35 PM ----------

the following is from /var/adm
cd /var/adm
grep sendmail *
=========================================================
messages:Feb  1 02:00:40 tmusid01 sendmail[506]: [ID 801593 mail.crit] p1170dUe000506: SYSERR(cvsroot): Out of disk space for temp file
messages:Feb  2 01:59:56 tmusid01 sendmail[1476]: [ID 801593 mail.crit] p126xuaD001476: SYSERR(root): Out of disk space for temp file
messages:Feb  2 05:39:29 tmusid01 sendmail[1630]: [ID 801593 mail.crit] p12AdTaD001630: SYSERR(root): Out of disk space for temp file
messages:Feb  3 07:11:27 tmusid01 sendmail[2630]: [ID 801593 mail.crit] p13CBQ8n002630: SYSERR(cvsroot): Out of disk space for temp file
messages:Feb  4 05:16:16 tmusid01 sendmail[3577]: [ID 801593 mail.crit] p14AGGPC003577: SYSERR(cvsroot): collect: Cannot write ./dfp14AGGPC003577 (sm_io_flush||sm_io_error, uid=113, gid=25)
messages:Feb  5 04:25:35 tmusid01 sendmail[4549]: [ID 801593 mail.crit] p159PZRE004549: SYSERR(cvsroot): Out of disk space for temp file

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris mailx Configuration

Hi, I need to send an output from Solaris to my email address. For example df -h to be sent out from the Solaris. I was wondering how to configure the mailx and smtp configuration to be setup. Has anyone setup before? Thanks. :confused::confused::confused: (0 Replies)
Discussion started by: freshmeat
0 Replies

2. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies

3. UNIX for Dummies Questions & Answers

One set of executables but multiple set of configuration

i don't know where to put this question hence it is here. Presently, i have X unix machines which each of them running a set of executables with various unique configurations. i would like to have run multiple set of machines the same set of executeables but each running different... (0 Replies)
Discussion started by: lchunleo
0 Replies

4. UNIX for Dummies Questions & Answers

how to sendmail using mailx in linux

how to sendmail to other computer in the same computer lab using mailx? (8 Replies)
Discussion started by: help me
8 Replies

5. Solaris

Configure mailx or sendmail

hi, I would like to configure mailx or sendmail to send out some mails to some users. I tried searching online for the configuration but it was kinda confusing. I thought that posting here might get someone to work with me step by step I tried sending out mail but i did not receive in my... (4 Replies)
Discussion started by: cghcgh
4 Replies

6. UNIX for Dummies Questions & Answers

How to set HIGH importance to a mail sent through mailx or sendmail command

I have written a script for sending automated email, reporting the running status of a cron scheduled work. Now, the issue is, my Project Manager wants, the mail should be received with HIGH IMPORTANCE. How can I do that, kindly anybody explain. Thank you so much. (3 Replies)
Discussion started by: mitte_dino
3 Replies

7. UNIX for Dummies Questions & Answers

Sendmail? Mailx? SMTP?

We require e-mails to come from one of our Solaris 10 boxes ASAP and have found that when using such things as Sendmail and Mailx all the mail goes to a Q that only fires every 15 minutes. We have tried everything we could think of to adjust this to force the Q to go every 1 minute but so far no... (3 Replies)
Discussion started by: LRoberts
3 Replies

8. UNIX for Dummies Questions & Answers

Postfix Problem under mailx/sendmail command

Update: Problem solved with this command: /opt/soc/bin/postfix-setup ================================ Hi, I am trying the following mailx command: sadm@edwardwi-z:/etc$ mailx ewijaya@gmail.com Subject: test foo . . EOT But it gives the following error ... (0 Replies)
Discussion started by: monkfan
0 Replies

9. Solaris

mailx configuration help

Hi, I am just after installing solaris 9 on a test box, an ultra 10.. I want to configure mail.. Is mailx the standard mail program on solaris 9? If so - how do I check the current config settings for this and alter them if necessary? Tks (3 Replies)
Discussion started by: frustrated1
3 Replies

10. UNIX for Dummies Questions & Answers

mailx configuration

I would like to configure mailx on Solaris 8 in order to have the sender address shown at the receiver side in the form: 'user@host.domain' The sender address is currently displayed as 'user@host' Thanks in advance (2 Replies)
Discussion started by: ciccio
2 Replies
Login or Register to Ask a Question