The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
mailx mike509123 Ubuntu 6 09-30-2008 03:59 AM
mailx Paul Byrne UNIX for Advanced & Expert Users 6 06-23-2008 05:28 AM
mailX anumkoshy Shell Programming and Scripting 4 08-25-2007 01:08 PM
mailx error message : mailx: NUL changed to @ BG_JrAdmin UNIX for Dummies Questions & Answers 2 12-01-2005 10:27 AM
Help with mailx ssmith001 UNIX for Dummies Questions & Answers 1 09-02-2005 07:20 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-13-2004
sm321 sm321 is offline
Registered User
  
 

Join Date: Jun 2004
Posts: 5
mailx to to Dl

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
  #2 (permalink)  
Old 07-16-2004
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Quote:
We have a distribution list in Outlook for our group say group@something.com.
I am trying to do echo "Something"|mailx -s "Subject" group@something.com
it doesnt work
First, what OS and version? Second, what error do you get?

Third, is the box/system/server you are running this command from part of the something.com domain? If so, it may be that when you run the command, it looks runs through the rules (assuming Sendmail) and finds that it is part of that domain, strips it, and then goes looking for 'group'. If it has no clue what 'group' is, then it can do one of two things - it will either send it to where the rules state to send mail it has no clue what to do with OR it will error and send a error message back to the sender. Either way, you should see an email. You may have to either set up the box/system/server you are running the command on to forward any emails it doesn't know what to do with, or set up an alias which sends it to the group of people you want to send to.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:09 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0