Email query
-
best email solution for application to send scheduled reports via email? We have a software that need to send reports every night via email.
-
An SMTP relay will do this. We use the default Windows one (that is deprecated and probably going away soon) but you can also do a postfix one on Linux.
-
@bishnitro said in Email query:
best email solution for application to send scheduled reports via email? We have a software that need to send reports every night via email.
If you are on Linux everything should "just work." Email capability is built right in. You can change what email tools are used, but Postfix is the default these days and what I have long preferred.
-
@scottalanmiller We are using Windows 2012
-
we are using office 365 and it doesn't work on it, so we are looking for alternative. The software resides on windows 2012 server.
-
@bishnitro said in Email query:
@scottalanmiller We are using Windows 2012
Oh, that makes it much harder.
-
@bishnitro said in Email query:
we are using office 365 and it doesn't work on it, so we are looking for alternative. The software resides on windows 2012 server.
Relays to Office 365 work just fine, we do it all the time. It just requires specific settings. Is the software on your Windows server trying to send emails out itself, or is it trying to send out from the Windows email component? (Basically, are we configuring something standard, or something proprietary?)
-
We need to configure proprietary software to send reports.
-
@bishnitro said in Email query:
We need to configure proprietary software to send reports.
Okay, then either the proprietary software needs to support TLS and authentication, or we need a relay. Can you share with us the details of the proprietary configuration? If not, we'll have to assume creating a relay, which Windows no longer officially supports.
So the choices on Windows are using something deprecated, getting a third party component or sending to Linux.
Linux handles all this natively.
-
my software vendor said he needs smtp server, port normally 25, and one email address.
-
@bishnitro said in Email query:
my software vendor said he needs smtp server, port normally 25, and one email address.
That's not enough info. To use Office 365, or ANY email system today, SMTP, port 25 and an email address are the givens, I mean he's being insulting here. The questions are around TLS more than anything, and how he authentications. Does the system accept usernames and password authentication for SMTP? He's literally leaving out ALL of the details. He just mocked you by telling you what email is.
-
Either your vendor is a condescending jerk or their software is garbage. Or both, of course, is a possibility.
Sounds like you have to build a relay to work around his incompetence.
-
@scottalanmiller said in Email query:
@bishnitro said in Email query:
we are using office 365 and it doesn't work on it, so we are looking for alternative. The software resides on windows 2012 server.
Relays to Office 365 work just fine, we do it all the time. It just requires specific settings. Is the software on your Windows server trying to send emails out itself, or is it trying to send out from the Windows email component? (Basically, are we configuring something standard, or something proprietary?)
Actually, Office365 has massive restrictions for relaying mail. If the OP is only trying to send to a few people internally, then it is fine. If the OP is trying to send out a lot of email, then you can run into their throttling and limits.
Either way though the solution is the same. Spin up a CentOS 7 VM and configure Postfix to relay email for you. The only difference is in how you configure it.
-
We will only be sending this internally, but the vendor is looking for email w/out authentication. Looks like their software doesn't have field to input email account/pass and only requires email address, port and smtp server.
-
@JaredBusch said in Email query:
@scottalanmiller said in Email query:
@bishnitro said in Email query:
we are using office 365 and it doesn't work on it, so we are looking for alternative. The software resides on windows 2012 server.
Relays to Office 365 work just fine, we do it all the time. It just requires specific settings. Is the software on your Windows server trying to send emails out itself, or is it trying to send out from the Windows email component? (Basically, are we configuring something standard, or something proprietary?)
Actually, Office365 has massive restrictions for relaying mail. If the OP is only trying to send to a few people internally, then it is fine. If the OP is trying to send out a lot of email, then you can run into their throttling and limits.
Either way though the solution is the same. Spin up a CentOS 7 VM and configure Postfix to relay email for you. The only difference is in how you configure it.
Oh sorry, yes, I was improperly assuming that he was sending internally to his own Office 365 mailboxes.
-
@bishnitro said in Email query:
We will only be sending this internally, but the vendor is looking for email w/out authentication. Looks like their software doesn't have field to input email account/pass and only requires email address, port and smtp server.
Yeah, that's not going to work. I'd ask them why on earth they think that that is appropriate in this day and age. This is not at all acceptable in this era.
So we need to build you a relay.
-
is there a relay that is friendly to non-linux user like me?
-
@bishnitro said in Email query:
is there a relay that is friendly to non-linux user like me?
These are the steps to setup the server.
- Install CentOS 7 with a minimal configuration.
- Do not forget to turn on networking during the GUI install process.
- Note the MAC address and setup a static DHCP reservation in your DHCP server
- Install nano unless you prefer vi. I prefer nano.
yum -y install nano
- Update all packages.
yum -y update
- Reboot for good measure, but really should not be required.
- Edit the Postfix configuration file.
nano /etc/postfix/main.cf
- Follow these instructions for the configuration of Postfix and Office 365
- Install CentOS 7 with a minimal configuration.
-
@bishnitro said in Email query:
we are using office 365 and it doesn't work on it, so we are looking for alternative.
Why doesn't it work?
-
@Carnival-Boy said in Email query:
@bishnitro said in Email query:
we are using office 365 and it doesn't work on it, so we are looking for alternative.
Why doesn't it work?
Their application cannot do authentication.