So, at my workplace, we use the MS Exchange mail. I can access email from anywhere using an IMAP setup, but can only send mail from on-campus using the SMTP servers associated with Exchange. I had experimented with sendmail in the past, but couldn’t get past the fact that it looked like it was from my local computer and not my work address.

I found the link

which talks about email masquerading in the file. Seems to work like a champ!

Thanks to cyberciti and enjoy!

Leave a Reply

Your email address will not be published. Required fields are marked *