The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM



Thread: mailx
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-14-2008
Paul Byrne Paul Byrne is offline
Registered User
 

Join Date: May 2008
Posts: 3
mailx

We are using mailx to send email alerts. On occasions, it is updating our Distribution list with the mesage content.

The following is the relevant portion of the script :-
Code:
MAILGROUP=`more $MDS/feeds/alerts/distribution.lst`
export MAILGROUP
echo " " | mailx -s "MDS Alert - Refresh Complete" $MAILGROUP
The following is the distribution.lst :-

<email addresses>
From mis Wed Apr 30 10:20:07 2008
To: ::::::::::::::, <email addresses>
Subject: MDS Alert - Refresh Complete
Content-Length: 2

Note: I have replaced the list of email addresses with <email addresses>

Any ideas why the Distribution List is being updated and how to stop it happening ?

Thanks,
Paul.

Last edited by Yogesh Sawant; 05-14-2008 at 04:09 AM. Reason: added code tags
Reply With Quote
Forum Sponsor