- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mal command ...contetnts format in the email
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
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
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
тАО01-25-2006 09:48 AM
тАО01-25-2006 09:48 AM
how can i separate lines in the contents of each mail i send, i mean if i put:
$mail_alert contents:
Patito
Gatito
Librito
Lapicito
mailsito
botellita
mailx -s "Alert" $mail_ < $HOME/$scripts/$mail_alert
the mail arrive with next format:
Patito Gatito Librito Lapicito mailsito botellita
how do i must to do for the mail arrive like next:
Patito
Gatito
Librito
Lapicito
mailsito
botellita
Thanks,Manuales.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2006 10:22 AM
тАО01-25-2006 10:22 AM
Solution1. edit the aliases file in /etc/mail and add an entry like the following:
mailusers::include:/home/xxxx/mailusers.
2. create mailusers file and add names.
3. Run newaliases command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2006 03:44 PM
тАО01-25-2006 03:44 PM
Re: mal command ...contetnts format in the email
Run ux2dos utility and send it using mailx...something like:
# echo $mail_alert | ux2dos | mailx -s "Alert" $mail_
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2006 03:59 PM
тАО01-25-2006 03:59 PM
Re: mal command ...contetnts format in the email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2006 01:45 AM
тАО01-26-2006 01:45 AM
Re: mal command ...contetnts format in the email
If you just input redirect the file - it should work:
# cat /home/gwild/alert
Patito
Gatito
Librito
Lapicito
mailsito
botellita
mailx -s "Alert" gwild@mydomain.com
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2006 09:06 PM
тАО01-26-2006 09:06 PM
Re: mal command ...contetnts format in the email
mailx -s "Alert" $mail_ <
Gatito
Librito
Lapicito
mailsito
botellita
END_OF_DATA
HTH,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2006 09:12 PM
тАО01-26-2006 09:12 PM
Re: mal command ...contetnts format in the email
Hoe does it look??