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.