ratbag
26-11-2004, 06:44 PM
Ok boys and girls – here is my problem:
I’m using mailx –r to change the sender’s address in my script. This works well, but I need a little bit more functionality.
At the moment the sender’s address (displayed and actual) is admin@server.com.
By ‘displayed’ I mean the ‘address’ that appears in a client (such as Outlook) when the e-mail arrives. By ‘actual’ I mean the address that appears when the user replies to that e-mail.
What I need is for the 'displayed' address to be 'SIS Admin Account', and the 'actual' address to be admin@server.com.
Sort of like ‘Mr Name Surname <someobscureemailaddress@company.com>’
Does anyone know how to do this with mailx?
Are there any other alternatives I can use from a shell script?
I’m using mailx –r to change the sender’s address in my script. This works well, but I need a little bit more functionality.
At the moment the sender’s address (displayed and actual) is admin@server.com.
By ‘displayed’ I mean the ‘address’ that appears in a client (such as Outlook) when the e-mail arrives. By ‘actual’ I mean the address that appears when the user replies to that e-mail.
What I need is for the 'displayed' address to be 'SIS Admin Account', and the 'actual' address to be admin@server.com.
Sort of like ‘Mr Name Surname <someobscureemailaddress@company.com>’
Does anyone know how to do this with mailx?
Are there any other alternatives I can use from a shell script?