Hi Techies
Bit new to sendmail thingy.
I have a Solaris 10 box. There is a request generated by customer that they want Solaris 10 box to use as relay an external smtp server.
the smtp server is updated in hosts file and it is pingable.
I have updated by "vi" /etc/mail/sendmail.cf
Code:
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM
DJ$w.solar.hws.com
# host/domain names ending with a token in class P are canonical
CP.
# "Smart" relay host (may be null)
DSsolar.hws.com
Restarted the sendmail smf service.
But getting error. Can some one assist.
root@ossXadm1:/etc/mail# /usr/lib/sendmail -v -s "test" nsmith@solar.hws.com < /tmp/mmm
test... Connecting to [127.0.0.1] via relay...
220 ossXadm1.ericssonoss.hawkeyesw.com ESMTP Sendmail 8.14.4+Sun/8.14.4; Fri, 17 May 2013 16:23:27 -0500 (CDT)
>>> EHLO ossXadm1.solar.hws.com
250-ossXadm1.ericssonoss.hawkeyesw.com Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> VERB
250 2.0.0 Verbose mode
>>> MAIL From:<root@ossXadm1.solar.hws.com>
051 ossXadm1.solar.hws.com: Name server timeout
050 <root@ossXadm1.solar.hws.com>... Transient parse error -- message queued for future delivery
051 ossXadm1.solar.hws.com: Name server timeout
051 ossXadm1.solar.hws.com: Name server timeout
250 2.1.0 <root@ossXadm1.solar.hws.com>... Sender ok
>>> RCPT To:<test@ossXadm1.solar.hws.com>
>>> DATA
051 ossXadm1.solar.hws.com: Name server timeout
050 <test@ossXadm1.solar.hws.com>... Transient parse error -- message queued for future delivery
051 ossXadm1.solar.hws.com: Name server timeout
250 2.1.5 <test@ossXadm1.solar.hws.com>... Recipient ok (will queue)
354 Enter mail, end with "." on a line by itself
>>> .
050 <test@ossXadm1.solar.hws.com>... queued
250 2.0.0 r4HLNReM020576 Message accepted for delivery
test... Sent (r4HLNReM020576 Message accepted for delivery)
nsmith@solar.hws.com... Deferred: Name server: solar.hws.com: host name lookup failure
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 ossXadm1.ericssonoss.hawkeyesw.com closing connection
root@ossXadm1:/etc/mail#
telnet solar.hws.com 25Trying 10.80.80.111...Connected to solar.hws.com.Escape character is '^]'.220 mail.hawkeyeswitching.comEHLO250-mail.hws.com Hello [10.20.30.5]250-SIZE 31457280250-AUTH LOGIN CRAM-MD5250 OKmail from:root@localhost 250 OK <root@localhost> Sender okrcpt to:abcd Command timeout, closing transmission channelConnection to solar.hws.com closed by foreign host.root@ossXadm1:/etc/mail# rcpt to:nsmith@interstatecom.com bash: rcpt: command not foundroot@ossXadm1:/etc/mail# telnet solar.hws.com 25Trying 10.80.80.111...Connected to solar.hws.com.Escape character is '^]'.220 mail.hws.comEHLO250-mail.hws.com Hello [10.20.30.5]250-SIZE 31457280250-AUTH LOGIN CRAM-MD5250 OKmail from:root@localhost250 OK <root@localhost> Sender okrcpt to:xxxx@interstatecom.com550 <xxxx@interstatecom.com>No such user herercpt to:xxxx@i35-swt.com550 <xxxx@i35-swt.com>No such user here
Do I need to add any specific user. Any authentication setting is required?
Where is problem can some one guide. I dont want solar.hws.com to get resolved by DNS. but looks like host lookup is failing.
Also It seems that user is not acceppted by smtp server as recpt. Is that mean user is not available. Plz help.
Last edited by khaniqshahid; 05-17-2013 at 07:45 PM..
I'm trying to get my Solaris 7 sendmail server to allow external clients to send to external recipients. I know this has to do with relaying, but I'm not sure how unsafe I have to get to allow this. I simply need for users to login from any domain and be allowed to send mail via SMTP to any... (4 Replies)
All
I am having a bit of a problem with my sendmail smtp server. The environment:
Redhat Linux 8
sendmail-8.12.8-9.80.
The mailserver is used by our application to send mail notifications to users on the system. The application is hosted on 2 different servers (separate domains)... (2 Replies)
Puzzled; I have two Solaris systems, both running Solaris 5.8 and Sendmail version 8.11.7p1. One of the machines will not allow relaying (via anonymous connection to port 25). The other will allow relaying from anywhere to anywhere with impunity.
I can not find any fundemental difference in the... (1 Reply)
I have a sendmail issue
When I try to send a mail message using mailx I get a "connection refused by mail14.messagelabs.com" error.
relay=mail14.messagelabs.com., dsn=4.0.0, stat=Deferred: Connection refused by mail14.messagelabs.com
However, mail14.messagelabs.com doesn't exist. The... (4 Replies)
Hi,
I have a new solaris server which I can't send e-mail from.
I like to bulid a new sendmail.mc and cf, test_sendmail.cf and test_sendmail.mc under /etc/mail/cf/cf/ or I just add the right DSsmtp relay so I can send mail from server.
I chech the svcs and it's running:
root# svcs -a | grep... (1 Reply)
When I try to send mail, sendmail delays a lot. After monitoring syslog, I noticed that sendmail starts with this first message... waits a minute and gives the second message... waits another minute and then sends off the email. How do I correct this in sendmail or completly disable it. I'm sending... (0 Replies)
I have setup sendmail e mail client using SMTP server, while sending the mail through mailx i am getting the below error. kindly help.
WARNING: local host name (bkpsrv) is not qualified; see cf/README: WHO AM I?
vishwanathhcl@gmail.com... Connecting to via relay...
220 xyz.co.in Microsoft... (0 Replies)
Hi,
I notice that my relay on sendmail.cf is just "DS" and no ip. So I guess, it's using the local DNS to relay my mail which sometimes being spammed. I would like to add a new relay ip "DSxxx.xxx.xxx.xxx" on sendmail.cf.
What do I need to edit sendmail.cf? Do I just use vi or m4?
... (4 Replies)
Hi Guys,
I want to setup sendmail using my username and password on my ISP to be able to send out messages.
I'm using Linux. So far, what I've done is modified the sendmail.mc with the following changes:
define(`SMART_HOST',`myispsmtpoutgoingserver')
FEATURE(authinfo)dnl
In my... (0 Replies)
Hi
I have two realtively identical Solaris zones. They both appear to have the same config in relation to sendmail. But, when I send a test email using mailx the first one sends via a mail relay and the other sends via localhost. I need them both to use the relay but can't figure out what is... (0 Replies)