Sponsored Content
Operating Systems Solaris Can mailx use a specified interface? Post 302099940 by sparcguy on Thursday 14th of December 2006 10:23:48 PM
Old 12-14-2006
or use the telnet port 25 command to test.

on the problem server try to telnet mailhost 25

like so

root@webby # telnet mailhost 25
Trying 172.42.203.252...
Connected to aquarius.
Escape character is '^]'.
220 aquarius.mydomain.com ESMTP Sendmail 8.8.8+Sun/8.8.8; Fri, 15 Dec 2006 11:10
:28

mail from: sparcguy@mydomain.com <<------------------------ you type anything@anything.com is fine
250 sparcguy@mydomain.com... Sender ok
rcpt to: sparcguy@mydomain.com <<<------------------------ you must type a real email address
250 sparcguy@mydomain.com... Recipient ok
data <<< --------------------------------------------------- you type this
354 Enter mail, end with "." on a line by itself
test test <<< --------------------------------------------------------- you type these
. <<< -------------------------------------------------------- you type this
250 LAA29397 Message accepted for delivery
quit <<< -------------------------------------------------- you type this
221 aquarius.mydomain.com closing connection
Connection closed by foreign host.
root@webby #
250 LAA29397 Message accepted for delivery

if you cannot see this part

Connected to aquarius.
Escape character is '^]'.
220 aquarius.mydomain.com ESMTP Sendmail 8.8.8+Sun/8.8.8; Fri, 15 Dec 2006 11:10
:28


or you see dark blank screen, means either network routing problem, if you get immediate "connect close" after issuing telnet mailhost 25 it probably means remote mailhost smtp port 25 is blocked by maybe a firewall in between, or smtp services like sendmail on remote server not started.

Last edited by sparcguy; 12-14-2006 at 11:29 PM..
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
MHMAIL(1)                                                            [nmh-1.5]                                                           MHMAIL(1)

NAME
mhmail - send or read mail SYNOPSIS
mhmail [addrs ...] [-body text] [-cc addrs ...] [-from addr] [-subject subject] [-version] [-help] DESCRIPTION
mhmail is intended as a replacement for the standard Berkeley mail program (mail or mailx), which is compatible with nmh. This program is intended for the use of programs such as cron, which expect to send mail automatically to various users. It is also used by various nmh commands to mail various error notifications. Although mhmail can be used interactively, it is recommended that comp and send be used instead to send messages. When invoked without arguments, it simply invokes inc to incorporate new messages from the user's maildrop. When one or more users is specified, a message is read from the standard input and spooled to a temporary file. mhmail then invokes post with the name of the tempo- rary file as its argument to deliver the message to the specified user. The -subject subject switch can be used to specify the "Subject:" field of the message. By default, mhmail will read the message to be sent from the standard input. You can specify the text of the message at the command line with the -body text switch. If the standard input has zero length, mhmail will not send the message. You can use the switch -body "" to force an empty message. Normally, addresses appearing as arguments are put in the "To:" field. If the -cc switch is used, all addresses following it are placed in the "cc:" field. By using -from addr, you can specify the "From:" header of the draft. Naturally, post will fill-in the "Sender:" header correctly. FILES
/usr/bin/mh/inc Program to incorporate maildrop into folder /usr/lib/mh/post Program to deliver a message /tmp/mhmail* Temporary copy of message SEE ALSO
inc(1), post(8) DEFAULTS
None CONTEXT
If inc is invoked, then inc's context changes occur. MH.6.8 11 June 2012 MHMAIL(1)
All times are GMT -4. The time now is 06:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy