Hi,
Not sure the best forum to post my question in addition to the general Unix one so I am starting with the Exchange 2003.
We have an AIX server and a script to generate a text log file. At the end of the script we use the following command to send the file out via internet email address (for sake of example):
mailx -s $SUBJECT -c "user1@ourcompany.org,user2@ourcompany.org,user3@ourcompany.org" `cat $EMAIL_LIST ` < $IQ_STATUS
The $IQ_STATUS is the test file name and $EMAIL_LIST is just another text file containing several email address as distribution list.
Recently, we have begun to experience significant dealy from the time the log file email was supposedly generated to the time when users would receive this email in their Outlook box (we have the Exchange server here). At the same time, there is not other type of email delay noticeble.
I changed the script to send email out to individual user separately and it did help "most" of the time (see below). Meaning for the most part, the same email sent via the distribution list style would arrive much later (30-50 min) then email being sent with only one email address given to mailx.
mailx -s $SUBJECT user1@ourcompany.org < $IQ_STATUS
mailx -s $SUBJECT user2@ourcompany.org < $IQ_STATUS
mailx -s $SUBJECT user3@ourcompany.org < $IQ_STATUS
The server administrator suggested that we add "exchange" to the email address (see below) and that somehow had improved the speed of email received by users, but did not help much when the script sent out email via the distribution list style. The mailx with one user address would tend to arrive immediately.
mailx -s $SUBJECT user3@exchange.ourcompany.org < $IQ_STATUS
Is there anything wrong with the mailx code we have here or there maybe something going on between the AIX server and the exchange server?
Thanks,
Mike
Not sure the best forum to post my question in addition to the general Unix one so I am starting with the Exchange 2003.
We have an AIX server and a script to generate a text log file. At the end of the script we use the following command to send the file out via internet email address (for sake of example):
mailx -s $SUBJECT -c "user1@ourcompany.org,user2@ourcompany.org,user3@ourcompany.org" `cat $EMAIL_LIST ` < $IQ_STATUS
The $IQ_STATUS is the test file name and $EMAIL_LIST is just another text file containing several email address as distribution list.
Recently, we have begun to experience significant dealy from the time the log file email was supposedly generated to the time when users would receive this email in their Outlook box (we have the Exchange server here). At the same time, there is not other type of email delay noticeble.
I changed the script to send email out to individual user separately and it did help "most" of the time (see below). Meaning for the most part, the same email sent via the distribution list style would arrive much later (30-50 min) then email being sent with only one email address given to mailx.
mailx -s $SUBJECT user1@ourcompany.org < $IQ_STATUS
mailx -s $SUBJECT user2@ourcompany.org < $IQ_STATUS
mailx -s $SUBJECT user3@ourcompany.org < $IQ_STATUS
The server administrator suggested that we add "exchange" to the email address (see below) and that somehow had improved the speed of email received by users, but did not help much when the script sent out email via the distribution list style. The mailx with one user address would tend to arrive immediately.
mailx -s $SUBJECT user3@exchange.ourcompany.org < $IQ_STATUS
Is there anything wrong with the mailx code we have here or there maybe something going on between the AIX server and the exchange server?
Thanks,
Mike