Hi
I have a sun solaris server (OS 5.8) which sends mail via an exchange 2003 server. The Sun server is allowed to relay. However when our alerting message are sent the from address is servername@domain.local As a result some external spam guards block the message as it isnt a valid domain.
I need to alter the from address to be servername@capita.com
The script that sends the alerts at present has the line:
mailx -s "subject_name" recipient_address < file_attachment
Can anyone help or tell me a better way to send email alerts with a valid from address. Go easy on me Unix is not my thing.
Cheers,
Llev
I have a sun solaris server (OS 5.8) which sends mail via an exchange 2003 server. The Sun server is allowed to relay. However when our alerting message are sent the from address is servername@domain.local As a result some external spam guards block the message as it isnt a valid domain.
I need to alter the from address to be servername@capita.com
The script that sends the alerts at present has the line:
mailx -s "subject_name" recipient_address < file_attachment
Can anyone help or tell me a better way to send email alerts with a valid from address. Go easy on me Unix is not my thing.
Cheers,
Llev