12-20-2011
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
HTML Code:
root@trans01-zd01:/root# mailx -v my_email_id@xxxx.com
Subject: ZD01
.
EOT
root@tswebd01-zd01:/root# my_email_id@xxxx.com... Connecting to [127.0.0.1] via relay...
my_email_id@xxxx.com... Deferred: Connection refused by [127.0.0.1]
root@trans01-zd01:/root# netstat -an | grep 25
10.63.48.2.53854 10.63.72.25.514 Connected
10.63.48.2.22 8.26.81.252.14371 62944 0 64240 0 ESTABLISHED
10.63.48.2.22 8.26.81.252.51426 65115 0 64240 0 ESTABLISHED
10.63.48.2.22 8.26.81.252.17347 63400 0 64240 0 ESTABLISHED
10.63.48.2.22 8.26.81.252.44003 65115 0 64240 0 ESTABLISHED
10.63.48.2.22 8.26.81.252.18302 64240 0 64240 0 ESTABLISHED
10.63.48.2.22 8.26.81.252.44061 65099 0 64240 0 ESTABLISHED
10.63.48.25.80 *.* 0 0 131072 0 LISTEN
10.63.48.25.443 *.* 0 0 131072 0 LISTEN
10.63.48.2.22 8.26.81.252.25642 64399 0 64240 0 ESTABLISHED
10.63.48.2.22 8.26.81.252.32698 65175 0 64240 0 ESTABLISHED
root@trans01-zd01:/root# telnet 127.0.0.1 25
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
root@trans01-zd01:/root#
root@trans01-zd01:/root# mconnect
connecting to host localhost (127.0.0.1), port 25
connect: Connection refused
Please help.
Last edited by solaris_1977; 12-20-2011 at 11:09 AM..
10 More Discussions You Might Find Interesting
1. Linux
Hi gurus!
I need help to make sendmail to accept unknown user mail. That is if the user does not exist sendmail keep on processing the mail and store it in a some mailbox ...
Thanks for any idea! (5 Replies)
Discussion started by: andryk
5 Replies
2. Solaris
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... (7 Replies)
Discussion started by: sundar63
7 Replies
3. Solaris
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
4. UNIX for Dummies Questions & Answers
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
5. Solaris
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
6. AIX
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
7. Red Hat
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
8. Solaris
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
9. Emergency UNIX and Linux Support
Hi,
I'm using sendmail version 8.13.8-8.1.el5_7. I'm pretty new to it. The servera are running RHEL 5.8. My question basically is that I would want to know is there a way to change the from address. I would be able to change it using the return address in mailx command. However I would like to... (3 Replies)
Discussion started by: maverick_here
3 Replies
10. Red Hat
Dear All ,
I have some problem in Sendmail , where it was sending mails perfectly fine with the Ip address of the client machine.
But suddenly there was an issue , the SMTP takes the IP of the bond1 interface.
So the IP could not get validated in the relay server.
So how should i send... (1 Reply)
Discussion started by: jegaraman
1 Replies
LEARN ABOUT OPENSOLARIS
sendmail
sendmail(4) File Formats sendmail(4)
NAME
sendmail, sendmail.cf, submit.cf - sendmail configuration files
SYNOPSIS
/etc/mail/sendmail.cf
/etc/mail/submit.cf
DESCRIPTION
The sendmail.cf and submit.cf files are the configuration files for sendmail(1M). Starting with version 8.12 of sendmail, which was shipped
with version 9 of the Solaris operating system, two configuration files are used for submission and transmission of mail, instead of only
sendmail.cf, as before. These are:
sendmail.cf Remains the principal sendmail configuration file. Used for the Mail Transmission Agent (MTA).
submit.cf Used for the Mail Submission Program (MSP). The MSP is used to submit mail messages. Unlike the MTA, it does not run as an
SMTP daemon.
The MSP does not require root privileges, thus the two-file model provides better security than the pre-sendmail 8.12 model, in which the
MSP ran as a daemon and required root privileges.
In the default sendmail configuration, sendmail uses submit.cf, as indicated in ps(1) output. In ps output, you will observe two sendmail
invocations, such as the ones below:
/usr/lib/sendmail -Ac -q15m
/usr/lib/sendmail -bd -q15m
The first indicates the use of submit.cf, with the client queue (/var/spool/clientmqueue) being checked--and, if needed, flushed--every 15
minutes. The second invocation runs sendmail as a daemon, waiting for incoming SMTP connections.
As shipped, sendmail.cf and, in particular, submit.cf, are appropriate for most environments. Where a knowledgeable system administrator
needs to make a change, he should use the following procedures.
For sendmail.cf:
1. Change directories to the directory that contains the source files for the configuration files.
# cd /etc/mail/cf/cf
2. Create a copy of the sendmail file for your system.
# cp sendmail.mc `hostname`.mc
3. Edit `hostname`.mc. Make changes suitable for your system and environment.
4. Run make to generate the configuration file.
# /usr/bin/make `hostname`.cf
5. Copy the newly generated file to its correct location.
# cp `hostname`.cf /etc/mail/sendmail.cf
6. Restart the sendmail service.
# svcadm restart sendmail
You must restart sendmail for sendmail.cf file changes to take effect, as indicated in step 6. Steps 4 - 6 can be automated. See Automated
Rebuilding of Configuration Files below.
For submit.cf:
1. Change directories to the directory that contains the source files for the configuration files.
# cd /etc/mail/cf/cf
2. Create a copy of the submit file for your system.
# cp submit.mc submit-`hostname`.mc
3. Edit submit-`hostname`.mc. Make changes suitable for your system and environment.
4. Run make to generate the configuration file.
# /usr/bin/make submit-`hostname`.cf
5. Copy the newly generated file to its correct location.
# cp submit-`hostname`.cf /etc/mail/submit.cf
You do not need to restart sendmail for changes to submit.cf to take effect. Steps 4 and 5 can be automated. See Automated Rebuilding of
Configuration Files below.
Enabling Access to Remote Clients
The sendmail(1M) man page describes how the config/local_only property can be set to true or false to disallow or allow, respectively,
access to remote clients for unmodified systems.
Setting values for the following properties for the service instance svc:/network/smtp:sendmail results in automated (re)building of con-
figuration files:
path_to_sendmail_mc
path_to_submit_mc
The values for these properties should be strings which represent the path name of the .mc files referred to in steps 2 and 3 of both pro-
cedures above. Recommended values are:
/etc/mail/cf/cf/`hostname`.mc
/etc/mail/cf/cf/submit-`hostname`.mc
Each property, if set, results in the corresponding .mc file being used to (re)build the matching .cf file when the service is started.
These properties persist across upgrades and patches. To prevent a patch or upgrade from clobbering your .cf file, or renaming it to
.cf.old, you can set the desired properties instead.
FILES
/etc/mail/cf/README Describes sendmail configuration files.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsndmr |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
SEE ALSO
make(1S), ps(1), sendmail(1M), svcadm(1M), attributes(5)
System Administration Guide: Network Services
SunOS 5.11 8 May 2008 sendmail(4)