- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mail script
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
Forums
Discussions
Discussions
Discussions
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
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-12-2001 06:36 AM
12-12-2001 06:36 AM
Mail script
#! /bin/sh
mailperson='SMTP:man@node.com'
echo "Test" | mail $mailperson
I am getting the following error.
Status: 5.1.3
Remote-MTA: DNS; ussmtp
Diagnostic-Code: SMTP; 553 5.1.8
sender address man@node.xxx.com does not exist
Last-Attempt-Date: Wed, 12 Dec 2001 09:35:16 -0500 (EST)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 06:39 AM
12-12-2001 06:39 AM
Re: Mail script
The mail is addressed to a wrong domain. Try sending it to a local qualified domain or if you have an acoount in hotmail or yahoo.mail try sending it to proper e-mail id. If you've already tried it then you need to check your sendmail.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 06:39 AM
12-12-2001 06:39 AM
Re: Mail script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 06:45 AM
12-12-2001 06:45 AM
Re: Mail script
#sendmail -v user@somedomain.com
type your text here
.
user@somedomain.com... Connecting to mail.relay.com via esmtp...
220 mail.relay.com ESMTP Sendmail EDS Secure; Wed, 12 Dec 2001 09:43:53 -0500 (EST)
>>> EHLO host.somedomain.com
250-mail.relay.com
Hello [204.104.63.16], pleased to meet you
250-ENHANCEDSTATUSCODES
250-EXPN
250-VERB
250-8BITMIME
250-SIZE 8000000
250-DSN
250-ONEX
250-ETRN
250-XUSR
250 HELP
>>> MAIL From:
250 2.1.0
>>> RCPT To:
250 2.1.5
>>> DATA
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 fBCEhr700474 Message accepted for delivery
user@xxxx.xxxxx.xxxx.com... Sent (2.0.0 fBCEhr700474 Message accepted for delivery)
Closing connection to mail.relay.com .
>>> QUIT
221 2.0.0 mail.relay.com
closing connection
Hope this helps.
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 07:52 AM
12-12-2001 07:52 AM
Re: Mail script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 08:12 AM
12-12-2001 08:12 AM
Re: Mail script
# nslookup -type=MX (you will get the > prompt)
> mindspring.com (you will get all the mailer for that domain)
mindspring.com preference = 5, mail exchanger = mx07.mindspring.com
>exit
# mailx user@mx07.mindspring.com
That way you are sending directly to the mailer. If that does not work, find the ip of the mailer and mail to it.
#mailx user@[10.10.10.10]
GL,
C