- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Regarding sendmail error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2009 08:21 AM
тАО12-06-2009 08:21 AM
When I am trying to send mails from my HP-UX client server through mailx command then it is giving me below mentioned error. Can anyone help me on this ?
# echo kandy|mailx -s "PS" kpoonia@its.jnj.com
sh: its.jnj.com: not found.
I checked all seetings for sendmail and everything looks good.
Thanks & regards,
Kavita
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2009 08:53 AM
тАО12-06-2009 08:53 AM
SolutionPlease run this command:
stty -a
Check the output. Does it say "kill = @" somewhere on the second line or so?
If yes, then this is not a sendmail-specific error. For some reason, HP-UX has failed to detect your terminal type correctly.
If the terminal type detection fails, HP-UX falls back to very very old default values.
"kill = @" means that the "@" character is interpreted to mean "ignore everything written to the command line so far and start over".
The quick work-around is to assign the kill character to something else. For example:
stty kill ^U
would set the kill character to Control-U, making "@" just a regular character.
The real fix would be finding out why the terminal type was not detected correctly automatically, and fixing it. This depends on how you're connecting to the HP-UX system and what kind of terminal/emulator you're using.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2009 09:08 AM
тАО12-06-2009 09:08 AM
Re: Regarding sendmail error
Thanks for your reply. I ran the command suggested by you as mentioned below where kill = ^U and not "kill = @" as mentioned by you and after that I am able to send in the mails but you mentioned that kill is set to @ which is not regular character and running stty kill ^U will make it regular but here it was set to ^U, somewhere I got confused with this but anyhow it did work for me.
# stty -a
speed 9600 baud; line = 0;
rows = 57; columns = 158
min = 1; time = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^U
eof = ^D; eol = ^@; eol2
stop = ^S; start = ^Q; susp
werase
parenb -parodd cs7 -cstopb hupcl -cread -clocal -loblk -crts
-ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
ixon -ixany ixoff -imaxbel -rtsxoff -ctsxon -ienqak
isig icanon -iexten -xcase echo echoe echok -echonl -noflsh
-echoctl -echoprt -echoke -flusho -pendin
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop tab3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2009 12:19 PM
тАО12-06-2009 12:19 PM
Re: Regarding sendmail error
The problem only related with its.jnj.com domain OR you got the error any domain like google.com ?
And ,did you try this;
echo test | sendmail -f you kpoonia@its.jnj.com.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2009 06:39 PM
тАО12-06-2009 06:39 PM
Re: Regarding sendmail error
As MK said, this has nothing to do with mailx/sendmail, especially with that sh error.
You can see that by the "stty -a" or looking at the shell history and see that only chars after the "@" were there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2009 10:26 PM
тАО12-06-2009 10:26 PM
Re: Regarding sendmail error
I got it, thanks.