Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


davidcole

6099 posts

Uber Geek
+1 received by user: 1465

Trusted

#136590 2-Dec-2013 19:40
Send private message

I've got SSMTP on a linux server for sending outgoing mail via gmail.

But I've got a couple of useless windows programs (UPS) that are expecting a port 25 SMTP server to post to.  One of them is currently working with xtra, the other I can't get to go.

So I thought if I ran a local smtp server on my linux, to then forward to the external email addresses for my UPS management.

Can someone let me know a simple SMTP server that I could do this with?  The SMTP server does not  need external access.  If I can't forward, then I script a log reader to email the received email if I have to.

But if someone knows how to get the forwarding working that would help also.

I'm not adverse changing mail product, but simple is best.  the only thing this machine currently emails is when package updates etc are ready and the state of the odd job.





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


Create new topic
Ragnor
8279 posts

Uber Geek
+1 received by user: 585

Trusted

  #944478 3-Dec-2013 04:47
Send private message

I think SSMTP can be configured to do what you want, otherwise heaps of options on linux: sendmail exim, postfix, nullmailer, msmtp, esmtp.

Should be able to fine lots of tutorials online showing how to configure a MTA on a linux.





davidcole

6099 posts

Uber Geek
+1 received by user: 1465

Trusted

  #944493 3-Dec-2013 07:11
Send private message

As far as I can tell SSMTP is just a sender of mail.

It doesn't seem to become an SMTP server. Hence my question, ie what package that is relatively simple for an SMTP server.




Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


chevrolux
4962 posts

Uber Geek
+1 received by user: 2638
Inactive user


  #944512 3-Dec-2013 08:10
Send private message

What distro are you using? Most of them will install Sendmail by default.

Sendmail and Postfix are probably the most common. For local relaying they will both work with out of box configs. Postfix would be my choice.



davidcole

6099 posts

Uber Geek
+1 received by user: 1465

Trusted

  #944520 3-Dec-2013 08:45
Send private message

Ahh did it. Postfix wasn't so scary.

So now my little linux machine receives email from the two windows servers and forwards them to me via gmail.

Doesn't seem to relay to any other addresses, but at least I'm now off the xtra email servers for smtp.




Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.