- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mailx to to Dl
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
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
тАО07-13-2004 08:31 AM
тАО07-13-2004 08:31 AM
Is there any way that I can mailx to a distribution list without having a $HOME/.mailrc file?
We have a distribution list in Outlook for our group say group@something.com.
I am trting to do echo "Something"|mailx -s "Subject" group@something.com
it doesnt work
Any ideas?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 08:47 AM
тАО07-13-2004 08:47 AM
Re: mailx to to Dl
What is the error?
What do your mail admins say about mail rejections (i.e. reverse lookup).
Regards,
dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 08:48 AM
тАО07-13-2004 08:48 AM
Re: mailx to to Dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 08:51 AM
тАО07-13-2004 08:51 AM
Re: mailx to to Dl
Are there errors in any of your log files?
Is there no return mail message to the sender?
Again, insure your failure is not due to reverse lookup which is so common today with all the spam people receive.
Regards,
dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 08:53 AM
тАО07-13-2004 08:53 AM
Re: mailx to to Dl
# mailq
What is being logged to /var/adm/syslog/mail.log ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 09:51 AM
тАО07-13-2004 09:51 AM
Re: mailx to to Dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 09:55 AM
тАО07-13-2004 09:55 AM
Re: mailx to to Dl
also if i type it through Command line it works it doesnt work thru the script?
Any reason???????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 10:22 AM
тАО07-13-2004 10:22 AM
Re: mailx to to Dl
Regards,
dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 10:27 AM
тАО07-13-2004 10:27 AM
Re: mailx to to Dl
#/usr/bin/ksh
ls -la>a.txt
echo "Something"| mailx -s "Subject" group@something.com
On the command line it is
echo "Something"| mailx -s "Subject" group@something.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 10:30 AM
тАО07-13-2004 10:30 AM
Re: mailx to to Dl
#/usr/bin/ksh -x
ls -la>a.txt
echo "Something"| mailx -s "Subject" group@something.com
Nohup the script as is and look for a message in the nohup.out.
If this does not reveal anything, use the -x as above and nohup to a clean nohup.out.
One of the two methods has to reveal something.
Regards,
dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 10:31 AM
тАО07-13-2004 10:31 AM
Re: mailx to to Dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 10:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 11:49 AM
тАО07-13-2004 11:49 AM
Re: mailx to to Dl
We have seen this same type of problem with an environment of the user starting a script via a scheduler.
1. Path to command not set.
2. Permissions of the user in the scheduler.
I put my money on Patrick's answer.
Thanks for adding the piece "scheduler" to you information.
Regards,
dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2004 03:40 PM
тАО07-13-2004 03:40 PM
Re: mailx to to Dl
see this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=610438