- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mailing in HPUX to large group
Operating System - HP-UX
1752687
Members
5461
Online
108789
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
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
тАО05-13-2007 09:58 PM
тАО05-13-2007 09:58 PM
Mailing in HPUX to large group
Hi,
My problem is i want to mail from unix with attachment to a large group of people.
The problem I am facing is whenver $mail_list is more that 80 chac it's failing.
I am using the following command
cat email_boody|uuencode $file $file|mailx -m -s $subject $maillist
$maillist contains addresses seperated by ; and the no of recepient is almost 50.
Kindly help.
My problem is i want to mail from unix with attachment to a large group of people.
The problem I am facing is whenver $mail_list is more that 80 chac it's failing.
I am using the following command
cat email_boody|uuencode $file $file|mailx -m -s $subject $maillist
$maillist contains addresses seperated by ; and the no of recepient is almost 50.
Kindly help.
- Tags:
- attachments
- mailx
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2007 10:51 PM
тАО05-13-2007 10:51 PM
Re: Mailing in HPUX to large group
Shalom,
Send them out one at a time. That way you won't blow server anti-spam limits.
subject="Maeyem oty?"
file=myfile
while read -r recipient
do
cat email_boody|uuencode $file $file|mailx -m -s $subject $recipient
done < list
Done.
SEP
Send them out one at a time. That way you won't blow server anti-spam limits.
subject="Maeyem oty?"
file=myfile
while read -r recipient
do
cat email_boody|uuencode $file $file|mailx -m -s $subject $recipient
done < list
Done.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2007 11:14 PM
тАО05-13-2007 11:14 PM
Re: Mailing in HPUX to large group
Well i am presently using that only. But since it is an automation process.
But list of people whoever i am mailing should be visible to others.
ANd the problem i am facinc in the limitation of the variable size in unix
But list of people whoever i am mailing should be visible to others.
ANd the problem i am facinc in the limitation of the variable size in unix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2007 11:43 PM
тАО05-13-2007 11:43 PM
Re: Mailing in HPUX to large group
A variable can be as long as 40 Megs, not 80 bytes (in POSIX or ksh). According to the man page for mailx, the address list must be less than 1024 characters. Again, according to the man page, you can create an alias of any length and simply use the alias name as your address. The aliases file is located in /etc/mail. Be sure to run newaliases after you edit this file.
Bill Hassell, sysadmin
Bill Hassell, sysadmin
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP