Can mailx use a specified interface?


 
Thread Tools Search this Thread
Operating Systems Solaris Can mailx use a specified interface?
# 8  
Old 12-20-2006
banner test > /tmp/test
ROOT@fcivra: /usr/lib/sendmail -v cdunavent@yahoo.com < /tmp/test
cdunavent@yahoo.com... Connecting to mailhost. via relay...
220 smtpirv.verizon.com ESMTP Sendmail 8.13.3/8.13.3; Wed, 20 Dec 2006 07:01:36 -0600 (CST)
>>> EHLO fcivra.
250-smtpirv.verizon.com Hello [156.145.240.238], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE 50000000
250-DSN
250-DELIVERBY
250 HELP
>>> MAIL From:<root@fcivra> SIZE=184
250 2.1.0 <root@fcivra>... Sender ok
>>> RCPT To:<cdunavent@yahoo.com>
250 2.1.5 <cdunavent@yahoo.com>... Recipient ok
>>> DATA
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 kBKD1aUD019624 Message accepted for delivery
cdunavent@yahoo.com... Sent (2.0.0 kBKD1aUD019624 Message accepted for delivery)
Closing connection to mailhost.
>>> QUIT
221 2.0.0 smtpirv.verizon.com closing connection
# 9  
Old 12-20-2006
from your output it shud be going out as it is showing that it is able to connect to mailhost server.

cdunavent@yahoo.com... Connecting to mailhost. via relay...
220 smtpirv.verizon.com ESMTP Sendmail 8.13.3/8.13.3; Wed, 20 Dec 2006 07:01:36 -0600 (CST)
>>> EHLO fcivra.
250-smtpirv.verizon.com Hello [156.145.240.238], pleased to meet you

hmm ...

ok you do this, logon to the mailhost server(telnet to it) do a tail -f /var/log/syslog

then open another telnet session to the problem server and run the sendmail command again and see if you getting any errors from the syslog on mailhost.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Adding a network interface to a bonded interface

I have a RHEL 5 system with a bonded interface configure using only one network port (eth0). So I have config file for ifcfg-bond0 and ifcfg-eth. I'd like to configure eth5 to be the second SLAVE in the bond. My question is, after I modify ifcfg-eth5, can I add eth5 to the bond0 interface without... (1 Reply)
Discussion started by: westmoreland
1 Replies

2. UNIX for Dummies Questions & Answers

Interface

Hi All, How to check whether a Interface has a single port or dual port.Thanks in advance. (5 Replies)
Discussion started by: rama krishna
5 Replies

3. IP Networking

Need a bridge from an ethernet interface to a serial interface

This is my situation DOS pc serial cable (sl0) Linux Pc eth1 192.168.0.10 <-------------------->192.168.0.2 <------------>192.168.0.1 (router) I connected the linux pc and the dos pc with a SLIP (serial line internet protocol), so they can communicate in the sl0 interface. ... (3 Replies)
Discussion started by: mghis
3 Replies

4. SCO

Change SCO - GUI or Desktop interface to DOS based interface

Hi all I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface? If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies

5. Solaris

Command line Interface or GUI Interface not shown on solaris

Dear all, I am a newbie in solaris and I need your advice. I have a Solaris version 5.9 installed on Sunfire V240. I am able to ssh the machine from putty remotely. My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
Discussion started by: mbouster
2 Replies

6. Shell Programming and Scripting

Mailx: How to send a attachment using mailx command

Hi All, Can anyone please provide the command for sending an mail with attachment using mailx command. Thanks in Advance :) Regards, Siram. (3 Replies)
Discussion started by: Sriram.Vedula53
3 Replies

7. IP Networking

How to down interface without name

Hi, ifconfig -a return: eth0 Link encap:Ethernet HWaddr 00:09:3D:12:9D:5A inet addr:172.19.208.7 Bcast:172.19.208.63 Mask:255.255.255.192 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:211478649 errors:0 dropped:0 overruns:0 frame:0 ... (5 Replies)
Discussion started by: djbuly
5 Replies

8. Solaris

no such interface

Hi Community, I've a problem with an interface of my Sun Workstation: when I try to plumb hme0 interface I see this output: # ifconfig hme0 <ip_address> netmask <mask> plumb #ifconfig: plumb: hme0: no such interface I've the same thing with dhcp service. could you provide any solution... (1 Reply)
Discussion started by: Sunb3
1 Replies

9. UNIX for Dummies Questions & Answers

mailx error message : mailx: NUL changed to @

If I use the "Mail" link instead of the "mail" link to ../mailx I get this error. Mail so-n-so @whatever.com mailx: NUL changed to @ Unknown command: "postmaster" The email still goes through but i get the error. If I use "mail" it goes thru without the error. Any ideas?? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
Login or Register to Ask a Question