Sponsored Content
Operating Systems Solaris Configure mailx in Solaris 10 Post 302965008 by sureshsun on Friday 22nd of January 2016 04:55:52 AM
Old 01-22-2016
Hi

Thanks for reply. I condifured sendmail with exchange server IP but mail is not getting delivered. Please find below error

Code:
bash-3.2# echo "testmail" | mailx -vvv -s "fromsolaris" abc@xyz.com
You have new mail in /var/mail/root
bash-3.2# abc@xyz.com... Connecting to [127.0.0.1] via relay...
220 hostname.xcv.zsd.AFF ESMTP Sendmail 8.14.5+Sun/8.14.5; Fri, 22 Jan 2016 14:57:54 +0530 (IST)
>>> EHLO hostname.xcv.zsd.AFF
250-hostname.xcv.zsd.AFF 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@hostname.xcv.zsd.AFF> SIZE=84
250 2.1.0 <root@hostname.xcv.zsd.AFF>... Sender ok
>>> RCPT To:<abc@xyz.com>
>>> DATA
250 2.1.5 <abc@xyz.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
050 <abc@xyz.com>... Connecting to 10.10.1.13 via relay...
050 220 mailserverdomainname.com Microsoft ESMTP MAIL Service ready at Fri, 22 Jan 2016 14:57:53 +0530
050 >>> EHLO hostname.xcv.zsd.AFF
050 250-ailserverdomainname.com Hello [10.5.2.14]
050 250-SIZE
050 250-PIPELINING
050 250-DSN
050 250-ENHANCEDSTATUSCODES
050 250-STARTTLS
050 250-X-ANONYMOUSTLS
050 250-AUTH NTLM
050 250-X-EXPS GSSAPI NTLM
050 250-8BITMIME
050 250-BINARYMIME
050 250-CHUNKING
050 250-XEXCH50
050 250-XRDST
050 250 XSHADOW
050 >>> STARTTLS
050 220 2.0.0 SMTP server ready
050 >>> EHLO hostname.xcv.zsd.AFF
050 250-mailserverdomainname.com Hello [10.5.2.14]
050 250-SIZE
050 250-PIPELINING
050 250-DSN
050 250-ENHANCEDSTATUSCODES
050 250-AUTH NTLM LOGIN
050 250-X-EXPS GSSAPI NTLM
050 250-8BITMIME
050 250-BINARYMIME
050 250-CHUNKING
050 250-XEXCH50
050 250-XRDST
050 250 XSHADOW
050 >>> MAIL From:<root@hostname.xcv.zsd.AFF> SIZE=428
050 250 2.1.0 Sender OK
050 >>> RCPT To:<abc@xyz.com>
050 >>> DATA
050 250 2.1.5 Recipient OK
050 354 Start mail input; end with <CRLF>.<CRLF>
050 >>> .
050 550 5.7.1 Anonymous client does not have permissions to send as this sender
050 <root@abc@xyz.com>... Connecting to local...
050 220 hostname LMTP ready
050 >>> LHLO OTTPSR5CWEB03.aiu.aig.AIUMEMSA
050 250-hostname
050 250-8BITMIME
050 250-ENHANCEDSTATUSCODES
050 250 PIPELINING
050 >>> MAIL From:<>
050 250 2.5.0 ok
050 >>> RCPT To:<root>
050 >>> DATA
050 250 2.1.5 ok
050 354 go ahead
050 >>> .
050 250 2.1.5 root OK
050 <root@hostname.xcv.zsd.AFF>... Sent
250 2.0.0 u0M9RsaI028723 Message accepted for delivery
abc@xyz.com... Sent (u0M9RsaI028723 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 hostname.xcv.zsd.AFF closing connection

 

10 More Discussions You Might Find Interesting

1. IP Networking

configure TCP/IP for solaris 8

Hello, I have 4 unix (Solaris 8) stations need to setup on network. what is a easy way and quick to setup TCP/IP so I can bring it online?. Please advise! (3 Replies)
Discussion started by: phapvn
3 Replies

2. Shell Programming and Scripting

How to configure mailx command??

Hi, {SunOS} I have this mailx -s command in my script and when the script is run,it throws me this message The flags you gave are used only when sending mail. Usage:mailx -eiIUdFntBNHvV!~ -T FILE -u USER -h hops -r address -s SUBJECT -f FILE users. Can you help me how i can send an... (9 Replies)
Discussion started by: kumarsaravana_s
9 Replies

3. Cybersecurity

How to configure sendmail in solaris 10

how to configure sendmail in solaris 10 ???? Anyone knows, pls share the documents. (1 Reply)
Discussion started by: vishwanathhcl
1 Replies

4. Solaris

how to configure network in solaris 10?

Hi..i have installed solaris 10 on vmware. I m not able connect to internet. pls help in detail. how to solve the problem. During the installation i have put no DHCP. cofigured manually ( Ip 192.168.1.9) default gateway 192.168.1.1 . (3 Replies)
Discussion started by: johnavery
3 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. Solaris

how to configure IPMP in solaris 9

Hi friends , can anyone provide me the complete steps to configure IPMP in solaris 9 or 10 provided i have two NIC card ? regards jagan (4 Replies)
Discussion started by: jaganblore
4 Replies

7. UNIX for Advanced & Expert Users

Configure a domain in Solaris.

People i have 2 solaris 10 A webserver and a mailserver. What i need to do is to send a mail inside de webserver to the domain company In the webserver When i use mailx -v -s Prueba me@gmail.com This is ok and the mail is send. But when i try to send a mail to someone inside de company ... (4 Replies)
Discussion started by: enkei17
4 Replies

8. Shell Programming and Scripting

configure from address in mailx command

Hi, I need to configure customized from address in mailx command. Can you pls tell me the option for configuring from address. Thanks Latika (9 Replies)
Discussion started by: latika
9 Replies

9. Solaris

Mailx help in Solaris

Hi Team, We are with Solaris 10. And presently we are sending mail using the tool mailx -s. Our requirement is we need to send amil with HIGHPRIORITY. SO is there any way to send the mail as HIGHPRIORITY. If not any alternative way instaead of using mailx. Thanks in advance. Regards Bala (7 Replies)
Discussion started by: balagj709
7 Replies

10. Solaris

How can i configure AIDE on Solaris 10?

Hi Community, how can i configure AIDE on SPARC solaris 10. My AIDE is running and creating databases. But it's not loading any changes. what changes needs to be done in aide.conf file. Thanks & Regards, Ben (0 Replies)
Discussion started by: bentech4u
0 Replies
DMXGetWindowAttributes(3X)												DMXGetWindowAttributes(3X)

NAME
DMXGetWindowAttributes - determine back-end window attributes SYNOPSIS
#include <X11/extensions/dmxext.h> Bool DMXGetWindowAttributes(Display *dpy, Window window, int *screen_count, int available_count, DMXWindowAttributes *attr); DESCRIPTION
When calling DMXGetWindowAttributes(), window specifies the window ID of a window on the Xdmx(1) server and available_count specifies the length of attr. The number of screens for which information is available will be returned in screen_count and information about those screen will be returned in attr. If screen_count is less than available_count, then information for all of the screens will be returned. Otherwise, information for the first available_count screens will be returned. The DMXWindowAttributes structure is: typedef struct { int screen; Window window; XRectangle pos, vis; } DMXWindowAttributes; For each back-end X server that displays a portion of window, this structure contains the physical screen containing that portion, the win- dow ID on the back-end X server of the window containing that portion, the position and dimensions of the window on the back-end (pos, in screen coordinates), and the visible area of the window on the back-end (vis, in window-relative coordinates -- all zeros if the window is not visible on the backend). To obtain more information about the physical screen use the DMXGetScreenAttributes(3X) call. Note that DMX allows multiple back-end windows to overlap in their view of the DMX logical window. Further, a logical window does not have to be completely covered by back-end windows -- there may be gaps. As an example, consider a 500x500 window that spans the top two 1024x768 back-end displays (A and B) of a 2048x1536 DMX display composed of 4 1024x768 back-end displays arranged in a cube: A B C D In this case, the DMXGetWindowAttributes call would return the following information for the 500x500 window: display A: 500x500 window at 1024-250,0 (relative to back end) with 250x500 visible at 0,0 (relative to window origin) display B: 500x500 window at -250,0 (relative to back end) with 250x500 visible at 250,0 (relative to window origin) display C: 500x500 window at 1024-250,-768 with 0x0 visible at 0,0 display D: 500x500 window at -250,-768 with 0x0 visible at 0,0 RETURN VALUE
DMXGetWindowAttributes() returns True unless there is a protocol error. DMXGetWindowAttributes() can generate BadWindow and BadAlloc errors. NOTES
Because this call transports a great deal of information over the wire, please call DMXGetScreenCount(3X) first, and make sure attr is suf- ficiently large. On a particular back-end server, it is possible that the associated window has not yet been mapped because the XMapWindow(3X) call that will eventually map the window had been buffered by Xlib's normal buffering system. To avoid this race condition, please call DMXSync(3X) before communicating directly with the back-end X server. SEE ALSO
DMXGetScreenCount(3X), DMXSync(3X), DMXGetScreenAttributes(3X), DMX(3X), Xdmx(1) X Version 11 libdmx 1.0.2 DMXGetWindowAttributes(3X)
All times are GMT -4. The time now is 05:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy