The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Regarding mailing to a distribution list (DL) using mail/mailx command naren_0101bits Shell Programming and Scripting 1 02-06-2008 09:25 AM
Problem while sending message and attachment with mailx nihar.dutta Shell Programming and Scripting 2 08-09-2007 08:15 AM
mailx: concatenating strings for message body (KSH) rockysfr Shell Programming and Scripting 1 07-29-2007 05:12 AM
mailx error message : mailx: NUL changed to @ BG_JrAdmin UNIX for Dummies Questions & Answers 2 12-01-2005 07:27 AM
email attachment, with a message using mailx edog UNIX for Advanced & Expert Users 4 09-27-2001 10:03 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 12-16-2005
antalexi's Avatar
Registered User
 

Join Date: May 2004
Location: Southern California
Posts: 52
distribution list won't expand in mailx message

Hi,

I have a distribution list called /nisserver/sysadmin/user-alias-files/all_users. The contents of the file have the userid/usernames of the techs in my company.
These userid/usernames in the file do not have the @abc.com appended to them. After I type the newaliases command the results look like this:

nisserver# newaliases
/etc/mail/aliases: 7 aliases, longest 71 bytes, 293 bytes total

Below is the last lines of the /etc/mail/aliases file:

#######################
# Local aliases below #
#######################

sysadm: joe.schmoe@abc.com,frank.n.scents@abc.com
all_users: :include:/nisserver/sysadmin/user-alias-files/all_users

When I try to address an email to this list in Outlook like this:

all_users@abc.com

I get a "undeliverable" message from the system like so:

From: System Administrator
Sent: Friday, December 16, 2005 11:29 AM
To: all_users@abc.com
Subject: Undeliverable:some text

Your message did not reach some or all of the intended recipients.

Subject: some text
Sent: 12/16/2005 11:28 AM

The following recipient(s) could not be reached:

all_users@abc.com on 12/16/2005 11:29 AM
Unable to expand a distribution list to deliver the message to its members. Try again or contact your system administrator.
< abc.com #5.2.4>

My question is: What is the "Unable to expand a distribution list" at the end of the message mean? And more importantly, how do I fix this?

I'm a noob sysadmin, so layman's terms would be greatly appreciated.

OS: Solaris 5.8
Platform: SunBlade 100.
Reply With Quote
Forum Sponsor
  #2  
Old 12-16-2005
Just Ice's Avatar
Lights on, brain off.
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 629
Outlook will not know of the distribution list specified in a specific Unix server like what you specified ... try sending the mail to all_users@hostname.abc.com ...
Reply With Quote
  #3  
Old 12-16-2005
antalexi's Avatar
Registered User
 

Join Date: May 2004
Location: Southern California
Posts: 52
Sorry, I edited the mail message and left out the unix server name. Here is the correct returned message:

When I try to address an email to this list in Outlook like this:

all_users@nisserver.abc.com

I get a "undeliverable" message from the system like so:

From: System Administrator
Sent: Friday, December 16, 2005 11:29 AM
To: all_users@nisserver.abc.com
Subject: Undeliverable:some text

Your message did not reach some or all of the intended recipients.

Subject: some text
Sent: 12/16/2005 11:28 AM

The following recipient(s) could not be reached:

all_users@nisserver.abc.com on 12/16/2005 11:29 AM
Unable to expand a distribution list to deliver the message to its members. Try again or contact your system administrator.
< nisserver.abc.com #5.2.4>
Reply With Quote
  #4  
Old 12-16-2005
Just Ice's Avatar
Lights on, brain off.
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 629
there is a restriction noted in "man newaliases" that specifies aliases to be only about 1000 characters long --- could it be you're hitting this limit?
Reply With Quote
  #5  
Old 12-19-2005
antalexi's Avatar
Registered User
 

Join Date: May 2004
Location: Southern California
Posts: 52
Well, I gave up on the dist list.

Instead I wrote a script that extracted the first field of the passwd file, then sent my all_users message to the contents of the extracted file. Works like a charm.

Thanks for your efforts.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:24 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0