sendmail client in solaris 10 ( relay)


 
Thread Tools Search this Thread
Operating Systems Solaris sendmail client in solaris 10 ( relay)
# 1  
Old 04-12-2010
sendmail client in solaris 10 ( relay)

I have setup sendmail e mail client using SMTP server, while sending the mail through mailx i am getting the below error. kindly help.


Code:
WARNING: local host name (bkpsrv) is not qualified; see cf/README: WHO AM I?
vishwanathhcl@gmail.com... Connecting to [172.16.96.2] via relay...
220 xyz.co.in Microsoft ESMTP MAIL Service, Version: 5.0.2195.6713 ready at  Mon, 12 Apr 2010 12:06:55 +0530
>>> EHLO bkpsrv
250-xyz.co.in Hello [172.16.98.43]
250-TURN
250-ATRN
250-SIZE 9314304
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-X-EXPS GSSAPI NTLM LOGIN
250-X-EXPS=LOGIN
250-AUTH GSSAPI NTLM LOGIN
250-AUTH=LOGIN
250-X-LINK2STATE
250-XEXCH50
250 OK
>>> MAIL From:<root@bkpsrv> SIZE=142
250 2.1.0 root@bkpsrv....Sender OK
>>> RCPT To:<vishwanathhcl@gmail.com>
>>> DATA
550 5.7.1 Unable to relay for vishwanathhcl@gmail.com
554 5.5.2 No valid recipients
>>> RSET
250 2.0.0 Resetting
>>> RSET
250 2.0.0 Resetting
root... Using cached ESMTP connection to [172.16.96.2] via relay...
>>> MAIL From:<> SIZE=1166
250 2.1.0 <>....Sender OK
>>> RCPT To:<root@bkpsrv>
>>> DATA
550 5.7.1 Unable to relay for root@bkpsrv
554 5.5.2 No valid recipients
>>> RSET
250 2.0.0 Resetting
>>> RSET
250 2.0.0 Resetting
postmaster... Using cached ESMTP connection to [172.16.96.2] via relay...
>>> MAIL From:<> SIZE=2190
250 2.1.0 <>....Sender OK
>>> RCPT To:<postmaster@bkpsrv>
>>> DATA
550 5.7.1 Unable to relay for postmaster@bkpsrv
h554 5.5.2 No valid recipients
>>> RSET
250 2.0.0 Resetting
Closing connection to [172.16.96.2]
>>> QUIT
Apr 12 11:51:08 bkpsrv sendmail[16780]: [ID 801593 mail.alert] o3C6L7u1016780: Losing ./qfo3C6L7u1016780: savemail panic
221 2.0.0 xyz.co.in Service closing transmission channel


my sendmail.mc file

Code:
divert(0)dnl
VERSIONID(`@(#)sendmail.mc      1.11 (Sun) 06/21/04')
OSTYPE(`solaris8')dnl
DOMAIN(`solaris-generic')dnl
#define(`confFALLBACK_SMARTHOST', `mailhost$?m.$m$.')dnl
dnl MAILER(`local')dnl
dnl MAILER(`smtp')dnl
LOCAL_CONFIG
ESASL_PATH=/usr/local/lib/sasl
define(`SMART_HOST',`xyz.co.in')dnl
dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN NTLM SPA')dnl
dnl FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl
dnl define(`confAUTH_OPTIONS', `A')dnl
dnl TRUST_AUTH_MECH(`EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN NTLM')dnl
TRUST_AUTH_MECH(`NTLM GSSAPI DIGEST-MD5')dnl
define(`confAUTH_MECHANISMS', `NTLM GSSAPI DIGEST-MD5')dnl
define(`confDEF_AUTH_INFO', `/etc/mail/auth/auth-info')dnl
APPENDDEF(`confENVDEF', `-DSASL')
APPENDDEF(`conf_sendmail_LIBS', `-lsasl')



---------- Post updated 04-12-10 at 03:29 AM ---------- Previous update was 04-11-10 at 10:47 PM ----------

Can somebody help with this issue.....

Last edited by vishwanathhcl; 04-12-2010 at 08:30 AM.. Reason: code tags, please...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Sendmail relay failing

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 # ...... (0 Replies)
Discussion started by: khaniqshahid
0 Replies

2. Solaris

Sendmail refuses to send via relay

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)
Discussion started by: gregb
0 Replies

3. Red Hat

How to setup Sendmail as SMTP Relay?

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)
Discussion started by: adshocker
0 Replies

4. Red Hat

add relay to sendmail.cf

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)
Discussion started by: itik
4 Replies

5. Solaris

Sendmail error delaying relay

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)
Discussion started by: adelsin
0 Replies

6. UNIX for Dummies Questions & Answers

sendmail, change the DSsmtp-relay

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)
Discussion started by: mehrdad68
1 Replies

7. Solaris

Sendmail relay problem

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)
Discussion started by: soliberus
4 Replies

8. Solaris

Sendmail Config - Open Relay

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)
Discussion started by: fosteria
1 Replies

9. UNIX for Dummies Questions & Answers

Sendmail open relay

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)
Discussion started by: skotapal
2 Replies

10. Cybersecurity

Sendmail Relay

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)
Discussion started by: Solaris
4 Replies
Login or Register to Ask a Question