Sponsored Content
Full Discussion: mailx error
Top Forums UNIX for Advanced & Expert Users mailx error Post 30782 by Deepa on Monday 28th of October 2002 05:06:48 AM
Old 10-28-2002
mailx error

When I try to send a mail thru mailx command, my mail isnt delivered to the destination.
When I type 'mail' from $HOME directory, I see the following error.

Final-Recipient: RFC822; myname@company.com
Action: failed
Status: 5.1.2
Remote-MTA: DNS; mailhost.corp.company.com
Diagnostic-Code: SMTP; 550 Host unknown


I am using Solaris. I think some configuration for mailx is not done by sys admin. May I know what is that I am missing here, to make it work?
 

10 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. Shell Programming and Scripting

getting mailx error

Hi, I was using SunOS 5.6. I have used the mailx command in below fashion mailx -s"RE: WES 'ftp' alert...no HDR record" ushman@lucent.com Last week only I upgraded the Operating System from SunOS 5.6 to SunOS5.9. But after upgrading the OS I am getting the following error. The flags you... (1 Reply)
Discussion started by: surjyap
1 Replies

3. Solaris

mailx -s is showing an error

Error is like /users/d12381/check.sh: mail_sysadmin@mycompany: not found Plz help me to sort out this issue (6 Replies)
Discussion started by: Renjesh
6 Replies

4. UNIX for Advanced & Expert Users

mailx error message -- "me": not a group

Hi all, When I tried to use mailx like mailx -s "test" someone@somedomain.com < myfile , mailx replies with "me": not a group. Mail did get sent though. So how to deal with this "me": not a group response. I guess it is because some property was not set properly. Because mailx worked well... (0 Replies)
Discussion started by: qiulang
0 Replies

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

6. Shell Programming and Scripting

Error related to mailx function

Hi All, I have used the following syntax for sending email. "mailx -s "process not running" userid@domain.com " I am getting below error. " mailx: not found " Can anoy one please give the reason for this error. I am using REDHAT server. (2 Replies)
Discussion started by: suresh.gunti
2 Replies

7. UNIX for Dummies Questions & Answers

Mailx command in unix shell script, its throwing below error

How to use Mailx command in unix shell script, its throwing below error #!/bin/ksh let x=3 If ; then mailx -s “ $x is greater than 2” example@gmail.com << EOF This is the message body EOF fi its throwing error as syntax error at EOF... (10 Replies)
Discussion started by: only4satish
10 Replies

8. Shell Programming and Scripting

mailx giving error domain of sender do not exists

Hi , mailx is unable to send mail , I am getting the following error Diagnostic-Code: SMTP; 553 5.1.8 <bc00644@dev-app01-wms.domain.fds>... Domain of sender address bc00644@dev-app01-wms.domain.fds does not exist Can anyone tell me what can be the possible fix for this (2 Replies)
Discussion started by: swayam123
2 Replies

9. UNIX for Advanced & Expert Users

Mailx & mail error

I have 3 Solaris Unix 5.10 machine One of them is successfully sending mails using mail commands the 2 others are not , when i try to send using mail or mailx , i get this message within few seconds drop_privileges: setuid(0) succeeded (when it should not) The working and non-working... (1 Reply)
Discussion started by: Khalidms
1 Replies

10. Shell Programming and Scripting

Mailx error code

hi, i am using mailx command and i need to check if the email is send or not. mailx -s "Sub A" -a "ACB SD.txt" abc@ab if ( $? != 0 ) then; echo "fail" else echo "pass" fi Everytime it gives pass only. In the above example since i have not given correct email id. (4 Replies)
Discussion started by: ATWC
4 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 04:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy