Local SMTP relay?
-
@pete-s said in Local SMTP relay?:
Postfix?
This is how I do it.
In addition to the local stuff, using the local IP, I install ZeroTier on the VM and the hosted things, then have them use that IP to hit the relay also. Not everything, but it is useful.
-
@jaredbusch said in Local SMTP relay?:
@pete-s said in Local SMTP relay?:
Postfix?
This is how I do it.
In addition to the local stuff, using the local IP, I install ZeroTier on the VM and the hosted things, then have them use that IP to hit the relay also. Not everything, but it is useful.
Thanks!
In my mind I imagine the SMTP relay as being a transparent delivery guy to the "real" email server. But I'm not sure if that is how it works... I've also seen the mentioning of a SMTP proxy.
What I'm trying to figure out is - does the relay mean anything for DKIM/SPF/DMARC?
-
@pete-s said in Local SMTP relay?:
@jaredbusch said in Local SMTP relay?:
@pete-s said in Local SMTP relay?:
Postfix?
This is how I do it.
In addition to the local stuff, using the local IP, I install ZeroTier on the VM and the hosted things, then have them use that IP to hit the relay also. Not everything, but it is useful.
Thanks!
In my mind I imagine the SMTP relay as being a transparent delivery guy to the "real" email server. But I'm not sure if that is how it works... I've also seen the mentioning of a SMTP proxy.
What I'm trying to figure out is - does the relay mean anything for DKIM/SPF/DMARC?
Not if the relay is internal and sending only to your email server. That stuff all hits once it leaves your email server.
-
@pete-s said in Local SMTP relay?:
Postfix? It will run on linux of course.
Definitely. Postfix is the "go to" product here.
-
We do this for companies regularly. So for example, we run a Postfix relay that takes multiple printer feeds and authenticates them and relays them on to Office 365 or Google for final delivery. All the hard part is done by those other email providers.
-
@scottalanmiller said in Local SMTP relay?:
We do this for companies regularly. So for example, we run a Postfix relay that takes multiple printer feeds and authenticates them and relays them on to Office 365 or Google for final delivery. All the hard part is done by those other email providers.
That was a great example. Do you have any pointers on how to configure postfix for this?
My intention was BTW to relay to zoho for delivery. Their new Transmail service actually.
-
@jaredbusch said in Local SMTP relay?:
@pete-s said in Local SMTP relay?:
@jaredbusch said in Local SMTP relay?:
@pete-s said in Local SMTP relay?:
Postfix?
This is how I do it.
In addition to the local stuff, using the local IP, I install ZeroTier on the VM and the hosted things, then have them use that IP to hit the relay also. Not everything, but it is useful.
Thanks!
In my mind I imagine the SMTP relay as being a transparent delivery guy to the "real" email server. But I'm not sure if that is how it works... I've also seen the mentioning of a SMTP proxy.
What I'm trying to figure out is - does the relay mean anything for DKIM/SPF/DMARC?
Not if the relay is internal and sending only to your email server. That stuff all hits once it leaves your email server.
Relay would be internal on the LAN but not internal as "on the same server" as the sender.
-
Any particular reason for the relay? Why not just setup an smtp server?
-
@jasgot said in Local SMTP relay?:
Any particular reason for the relay? Why not just setup an smtp server?
Because then you only have to worry about DKIM/SPF/DMARC for me one server. The relay takes all emails sent locally and gets them to your external sending host. Then that host handles DKIM/SPF/DMARC when sending to the outside world.
-
@pete-s said in Local SMTP relay?:
Do you have any pointers on how to configure postfix for this?
Lots of guides when googling "postfix smtp relay"
Here is one:
https://www.lisenet.com/2018/configure-postfix-to-relay-mail-to-an-external-smtp-server-on-centos-7/ -
@voip_n00b said in Local SMTP relay?:
@pete-s said in Local SMTP relay?:
Do you have any pointers on how to configure postfix for this?
Lots of guides when googling "postfix smtp relay"
Here is one:
https://www.lisenet.com/2018/configure-postfix-to-relay-mail-to-an-external-smtp-server-on-centos-7/Thanks! It looks simple enough and I hope it is.
When I looked at the postfix documention it seems like it's a lot more complicated than that.
-
@pete-s said in Local SMTP relay?:
@voip_n00b said in Local SMTP relay?:
@pete-s said in Local SMTP relay?:
Do you have any pointers on how to configure postfix for this?
Lots of guides when googling "postfix smtp relay"
Here is one:
https://www.lisenet.com/2018/configure-postfix-to-relay-mail-to-an-external-smtp-server-on-centos-7/Thanks! It looks simple enough and I hope it is.
When I looked at the postfix documention it seems like it's a lot more complicated than that.
is CentOS still where people want to be for things like this?
-
@dashrender said in Local SMTP relay?:
@pete-s said in Local SMTP relay?:
@voip_n00b said in Local SMTP relay?:
@pete-s said in Local SMTP relay?:
Do you have any pointers on how to configure postfix for this?
Lots of guides when googling "postfix smtp relay"
Here is one:
https://www.lisenet.com/2018/configure-postfix-to-relay-mail-to-an-external-smtp-server-on-centos-7/Thanks! It looks simple enough and I hope it is.
When I looked at the postfix documention it seems like it's a lot more complicated than that.
is CentOS still where people want to be for things like this?
because Aaron....
-
@jaredbusch I'm 100% Ubuntu - just grab the first link that came up.
-
@dashrender said in Local SMTP relay?:
@pete-s said in Local SMTP relay?:
@voip_n00b said in Local SMTP relay?:
@pete-s said in Local SMTP relay?:
Do you have any pointers on how to configure postfix for this?
Lots of guides when googling "postfix smtp relay"
Here is one:
https://www.lisenet.com/2018/configure-postfix-to-relay-mail-to-an-external-smtp-server-on-centos-7/Thanks! It looks simple enough and I hope it is.
When I looked at the postfix documention it seems like it's a lot more complicated than that.
is CentOS still where people want to be for things like this?
I use Ubuntu or Fedora.
-
@dashrender said in Local SMTP relay?:
@pete-s said in Local SMTP relay?:
@voip_n00b said in Local SMTP relay?:
@pete-s said in Local SMTP relay?:
Do you have any pointers on how to configure postfix for this?
Lots of guides when googling "postfix smtp relay"
Here is one:
https://www.lisenet.com/2018/configure-postfix-to-relay-mail-to-an-external-smtp-server-on-centos-7/Thanks! It looks simple enough and I hope it is.
When I looked at the postfix documention it seems like it's a lot more complicated than that.
is CentOS still where people want to be for things like this?
Not generally and never CentOS 7.