Timeline for Sending automated emails (Ubuntu 20.04)
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 18, 2021 at 0:43 | comment | added | AndreyIto | @roaima msmtp was a great idea, but after some tests unfortunately also insists on a valid email address to send from. omitting the user field results in a server message: 501 5.1.7 Invalid address error, even with auth switched off (could be that auth just disables the need for a password?) | |
| Feb 17, 2021 at 22:50 | comment | added | Chris Davies | Oh ok. I misunderstood that. If I was running these servers I would probably allow you to deliver to a local (corporate) account but not off-site. Reading man msmtp it looks like it's simply a case of not enabling authentication, and omitting the user/pass parameters. | |
| Feb 17, 2021 at 22:39 | comment | added | AndreyIto | Thanks for your msmtp idea, I'll look into that. However, my question was not about relaying through gmail servers using a gmail account, it was about relaying through company servers without a company email (odd, I know). I tried it out with throwaway gmails just for core functionality testing. | |
| Feb 17, 2021 at 9:31 | comment | added | Chris Davies | I believe that msmtp replaced ssmtp but either should work for you. You will need authentication to use Gmail as a relay to an external-to-Gmail address. Please don't take this as rudeness by saying "Just Google", but this search will help you identify some possible solutions for your situation | |
| Feb 17, 2021 at 9:24 | comment | added | AndreyIto | Already asked for that, we're trying directly sending from mail server first. I'm not sure why they're reluctant to generate [email protected] emails; might be some security issue itself in and of itself. | |
| Feb 17, 2021 at 7:37 | comment | added | Chris Davies | Why don't you ask for an application username/password to authenticate to the corporate mail server? If you start sending emails via Gmail, (a) this could be blocked without warning, (b) you've potentially got personal information leakage in contravention of local data protection laws | |
| Feb 17, 2021 at 5:58 | history | asked | AndreyIto | CC BY-SA 4.0 |