HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail requires a "dot"
Operating System - HP-UX
1834809
Members
2315
Online
110070
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
07-14-2006 05:07 AM
07-14-2006 05:07 AM
I have used sendmail before on many servers, and I was always able to just type: mailx -s "Subject" someone@somewhere.com
but now at this new company I find that when I hit enter the command hangs, and to get it to transmit, I have to type a dot i.e. "." and then it sends it and buffers the "EOT" message. Since I use mailx in many scripts, I need it to just send it as before as a one-liner command without having to type in this "." Do I need to request a change to the configuration of mailx (sendmail) here, or is my syntax needing some modification ?
Gil
but now at this new company I find that when I hit enter the command hangs, and to get it to transmit, I have to type a dot i.e. "." and then it sends it and buffers the "EOT" message. Since I use mailx in many scripts, I need it to just send it as before as a one-liner command without having to type in this "." Do I need to request a change to the configuration of mailx (sendmail) here, or is my syntax needing some modification ?
Gil
If I could take one thing with me into the next world it would be my valid login to HP ITRC Forums
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2006 05:10 AM
07-14-2006 05:10 AM
Re: sendmail requires a "dot"
Now I find that if I redirect some file to the email, as in: mailx -s "Fri Jul 14 12:08:41 CDT 2006" gstanden@slu.edu < test2f.sql then it sends it ok.
If I could take one thing with me into the next world it would be my valid login to HP ITRC Forums
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2006 05:15 AM
07-14-2006 05:15 AM
Solution
mailx -s "Subject" someone@somewhere.com
involked like this is waiting for stdin to supply input -- which seems to be exactly your problem.
If this works:
echo "Mickey Mouse" | mailx -s "Disney Character" someone@somewhere.com
then the problem lies with you.
involked like this is waiting for stdin to supply input -- which seems to be exactly your problem.
If this works:
echo "Mickey Mouse" | mailx -s "Disney Character" someone@somewhere.com
then the problem lies with you.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2006 05:15 AM
07-14-2006 05:15 AM
Re: sendmail requires a "dot"
That is correct.
That is how sendmail works now - you need to pass data to it - or interactively - end with a .
For a one liner - just use:
mailx -s "your subject" you@yourdomain.com
Rgds...Geoff
That is how sendmail works now - you need to pass data to it - or interactively - end with a .
For a one liner - just use:
mailx -s "your subject" you@yourdomain.com
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP