- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- limit in mailx
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
09-07-2006 07:34 PM
09-07-2006 07:34 PM
mailx -s "SUBJECT" "USER1@1.com,user2@2.com"
I want ot know if there is any limit on the number of users to which mail can be sent using this method?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2006 09:06 PM
09-07-2006 09:06 PM
Re: limit in mailx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2006 09:11 PM
09-07-2006 09:11 PM
Solutionplease see man mailx
" Recipient addresses specified on the command line must total less than
1024 characters in length. You may declare an alias or group (see
COMMANDS below) to specify a recipient address or list of addresses of
up to 8191 characters, and use that alias or group name (though each
address in the list must still be less than 1024 characters). If you
wish to specify a list of recipient addresses of greater length than
this, have your system administrator declare an alias or group in the
system alias file /etc/mail/aliases and use that alias name instead.
"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2006 09:28 PM
09-07-2006 09:28 PM
Re: limit in mailx
if you create aliases, the number of users can be "infinite"
see /etc/mail/aliases
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2006 10:12 PM
09-07-2006 10:12 PM
Re: limit in mailx
2) I gues I need to opt for second option in which the length of line should not be more than 1024
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2006 10:25 PM
09-07-2006 10:25 PM
Re: limit in mailx
You can surely handle this programatically.
good luck!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2006 10:28 PM
09-07-2006 10:28 PM
Re: limit in mailx
you don't have to use the /etc/aliases file.
If you read the man pages you can use the alias command.
So you specify your alias in ~/.mailrc and can then use this to mail.
~/.mailrc
alias testalias a@a.com .....
echo "test message " | mailx -s"test message" testalias
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 11:37 PM
09-11-2006 11:37 PM
Re: limit in mailx
could you please update this thread.
Has your question been answered? If so, please award points and close, identifying the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 01:38 AM
09-12-2006 01:38 AM