Solaris sendmail issue


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris sendmail issue
# 1  
Old 11-04-2008
Solaris sendmail issue

I am trying to send mail from a Solaris 10 machine to myself. The mail will be receive by a mail server.

The problem is sendmail doesn't report any errors and there is nothing in mailq output. In the logs the stat=queued. I do not receive the mail in my mailbox.

I could telnet to the mailserver and the mailserver responds to x.x.2.11 which is tied to hostname-bge3 in /etc/hosts. But my hostname is hostname without the bge and bind to x.x.1.2(virtual ip).

Setting in /etc/hosts is
------------------------
x.x.1.2 hostname
x.x.2.11 hostname-bge3

When telnet to mailserver 25, it responds to HELO >> Hello [x.x.2.11]

Could anyone help me to explain why I cannot receive mail
# 2  
Old 11-04-2008
What and when was the recent changes made to your system? Previously was your sendmail working fine all the while?
# 3  
Old 11-05-2008
No change

Incredible, someone responded Smilie!

No changes was done. I am trying to run a cron job which will mail me the output. Unfortunately, I haven't receive any mail. Consequently, the mail will end up undelivered by sendmail. This could be seen when I log into the machine, it says "You have mail".

Below are excerpts from syslog(edited)
Nov 4 10:02:20 hostname sendmail[4805]: [ID 801593 mail.info] mA4A10Gm004805: from=root, size=2467, class=0, nrcpts=2, msgid=<200811041001.mA4A10Gm004805@hostname>, relay=root@localhost
Nov 4 10:02:20 hostname sendmail[4805]: [ID 801593 mail.info] mA4A10Gm004805: to=xxxxxx, delay=00:01:20, mailer=esmtp, pri=62467, dsn=4.4.3, stat=queued
Nov 4 10:02:20 hostname sendmail[4805]: [ID 801593 mail.info] mA4A10Gm004805: to=xxxxxx, delay=00:01:20, mailer=esmtp, pri=62467, dsn=4.4.3, stat=queued
Nov 4 14:12:27 hostname sendmail[5009]: [ID 801593 mail.info] mA4A10Gm004805: mA4EB7I2005009: sender notify: Warning: could not send message for past 4 hours
....
Nov 4 14:28:00 hostname sendmail[16683]: [ID 801593 mail.info] mA4L00M0016683: to=oracle, ctladdr=oracle (101/100), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30448, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (mA4L00f1016690 Message accepted for delivery)

Please help!
# 4  
Old 11-05-2008
Somewhat looks like DNS config conflict. Are you able to perform a nslookup to your domain/ip and get the right response?
# 5  
Old 11-05-2008
More info

I did a
#sendmail -Ac -v -q

and received this response

Running /var/spool/clientmqueue/mA55486v005844 (sequence 1 of 2)
u.com.my: Name server timeout
xxx@x.com.my... Transient parse error -- message queued for future delivery
Running /var/spool/clientmqueue/mA4A10Gm004805 (sequence 2 of 2)
u.com.my: Name server timeout
xxx@x.com.my... Transient parse error -- message queued for future delivery
u.com.my: Name server timeout
xxx@x.com.my... Transient parse error -- message queued for future delivery

There is no DNS server configured.
root@xxxx $ nslookup mailserver
;; connection timed out; no servers could be reached
# 6  
Old 11-05-2008
That's the problem... you can see that something is not right here.. :/
# 7  
Old 11-05-2008
Solved

Finally, it's solved! Smilie

I edited /etc/nsswitch.conf and commented dns from the entry

# You must also set up the /etc/resolv.conf file for DNS name
# server lookup. See resolv.conf(4).
hosts: files #dns

However, could you tell me what issues might arise in future with the above setup?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Sendmail issue

One of the applications sends mail to the users on daily basis. It sends mail within (internal users) the firewall (e.g., username@companyname.com) and not sending mail outside (external users) the firewall (e.g., username@yyyy.com). When we contacted the admin people they informed us to register... (5 Replies)
Discussion started by: abuibi
5 Replies

2. Emergency UNIX and Linux Support

Sendmail issue on NGZ (Solaris)

Hi All, I have Solaris-10 box with 11 sparse root zone. After a upgrade activity and reverted back due to some issues, sendmail is not working on any of the Non Global Zone (NGZ), while it works fine on Global zone root@trans01-zd01:/root# mailx -v my_email_id@xxxx.com Subject: ZD01 . EOT... (4 Replies)
Discussion started by: solaris_1977
4 Replies

3. Solaris

sendmail issue on solaris 9

We changed relay agent in sendmail.cf and submit.cf files, and restarted the send mail services from init.d, able to see the sendmail processes. But unable to send an email. Relay agent is telnetable with port 25. Please help us with the issue (2 Replies)
Discussion started by: sudhakar110
2 Replies

4. Red Hat

Sendmail issue

Hi Every One, one of our server configuration on sendmail config we are using SMAR_HOST ### define(`SMART_HOST', 'mail.xxx.com') and /etc/sysconfig/sednmail DAEMON is setted to NO so let me know why sendmail is not working for this server any this else u need please do let me know (0 Replies)
Discussion started by: venikathir
0 Replies

5. AIX

Sendmail issue

My aix boxes have the port 25 listening and I want to bock that. But before that I want to check the recent logs of the sendmail activity and any open sockets using the port. Please advise. (1 Reply)
Discussion started by: ranasarkar
1 Replies

6. Red Hat

Sendmail Issue.

Hi Gurus, I have been tampering around with sendmail for the past one week and seem to make little progress. Given below is an abstract of the issue. I have a Fedora 12 server(A VM on vitual Box bridged with a Windows XP host) which has to act as a SMTP server and have accordingly put up the... (8 Replies)
Discussion started by: Hari_Ganesh
8 Replies

7. Solaris

Sendmail issue

Hi all, we are using solaris 10. we need to increase every users mail boxes size as all users mail boxes got filled..Please help..its urgent.. Thanks in advance.. (1 Reply)
Discussion started by: bpsunadm
1 Replies

8. Solaris

Sendmail Issue

Hi, Guru i had configure in my two server to send out the email. One of the server able to send in the reasonable timing. but another not, it delay almost one day or two days but mostly not send at all. below is the syslog when i try to send out the mail. GOOD Server Dec 28 11:29:39... (5 Replies)
Discussion started by: SmartAntz
5 Replies

9. UNIX for Dummies Questions & Answers

Issue with sendmail

Hi Team, I have a script written to sendmail along with attachment in html format. The code is export MAILFROM="abc@abc.com" export MAILTO="abc@abc.com" export CONTENT="./GRP_SPI_ERR.html" export SUBJECT="TEST EMAIL: TESTING HTML" { print - "From: $MAILFROM" print - "To: ${MAILTO}"... (3 Replies)
Discussion started by: Vinaykumar1
3 Replies

10. Solaris

sendmail issue

Hi, yesterday I had issues, sendmail was not responding quickly while sending email and users did not receive any email, This happened with sendmail on solaris 10 and also with sendmail on a linux box. Found it is something to do with DNS blacklists, following lists did not work for me,... (2 Replies)
Discussion started by: upengan78
2 Replies
Login or Register to Ask a Question