Wanting simple sendmail capabilities
I've been using exim4 on my linode for years now to receive mail and bounce it to another email address, via something akin to:
where I have a directory in /etc/aliases-domains for each of my virtual domains, and those files cause mail to be sent off to another location (gmail accounts…..)
On the gmail end, I've been using gmail to 'send mail as'
All worked well until recently, when google changed their policy about this
and now mail messages sent from gmail look something like:
I don't want people seeing my gmail address.
SO.. all that to say… I'm wanting to set up a very simple SMTP server on my linode that I can use via gmail to 'send mail as' a user at one of the virtual domains that I'm hosting on my linode.
What's the easiest way to get this done? I don't want to complicate it more than necessary. Gmail lets me specify the SMTP server, username, and password. I'm OK with that. I have very few users on my linode, but if I had to I could add a user for each account I want to send mail as. I will need the server to be smart enough to realize that it needs to authentically send the mail as users from several different domains hosted on the linode.
And, I have a few scripts running on the linode itself that will need to send mail as
What say ye, mail experts? How can I accomplish this as easily as possible. No mail receiving needed, beyond gmail initially authenticating and pushing the original mail out.