Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #207128

Re: Simple Linux to Linux(Debian) email

From Joe <joe@jretrading.com>
Newsgroups linux.debian.user
Subject Re: Simple Linux to Linux(Debian) email
Date 2019-04-08 15:40 +0200
Message-ID <xKCFb-7hB-11@gated-at.bofh.it> (permalink)
References <xKBJ7-6Bs-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 8 Apr 2019 21:33:03 +0900
Mark Fletcher <mark27q1@gmail.com> wrote:


> 
> My image of an ideal solution is a piece of software that can present 
> email to a remote MTA (ie an MTA not on the local machine) for
> delivery, but is not itself an MTA, and certainly has no capability
> to listen for incoming mail.
> 

a) Sendmail. Not the full-featured MTA, but the utility.
https://clients.javapipe.com/knowledgebase/132/How-to-Test-Sendmail-From-Command-Line-on-Linux.html

b) Write it yourself. If you can do simple scripting then you can write
something that talks basic SMTP to a remote SMTP server.

Here's basic unencrypted SMTP:
https://my.esecuredata.com/index.php?/knowledgebase/article/112/test-your-smtp-mail-server-via-telnet

There are many similar sites, some going into more detail including how
to find out the recipient's MX server if you don't know already.
https://www.port25.com/how-to-check-an-smtp-connection-with-a-manual-telnet-session-2/

Other sites explain how to use authenticated SMTP and TLS. If you later
get a fixed IP address and want to run your own mail server, you can
test it for relaying using the telnet technique. Or rely on numerous
websites...

c) Use a standard MTA and tell it not to listen to anything from
outside your network. Use your firewall to not accept SMTP on the WAN
port, and unless you have previously received email directly then the
SMTP port shouldn't be open anyway. 

Use the MTA's configuration to listen only to localhost. Restart it and
check where it's listening with netstat -tpan as root. 

That way you have two mechanisms to prevent access, even if you
misconfigure one of them you should still be OK. After you have the MTA
running and sending email where you want it to go, use ShieldsUp!! on
https://grc.com to check which ports are open to the outside. Select
'All Service Ports' to check TCP/1-1055.

-- 
Joe

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Simple Linux to Linux(Debian) email Mark Fletcher <mark27q1@gmail.com> - 2019-04-08 14:40 +0200
  Re: Simple Linux to Linux(Debian) email Thomas Pircher <thp+debian@p5r.uk> - 2019-04-08 15:20 +0200
    Re: Simple Linux to Linux(Debian) email Mark Fletcher <mark27q1@gmail.com> - 2019-04-08 15:50 +0200
    Re: Simple Linux to Linux(Debian) email Celejar <celejar@gmail.com> - 2019-04-09 01:00 +0200
    RESOLVED: Simple Linux to Linux(Debian) email Mark Fletcher <mark27q1@gmail.com> - 2019-04-11 18:10 +0200
  Re: Simple Linux to Linux(Debian) email Ryan Nowakowski <tubaman@fattuba.com> - 2019-04-08 15:30 +0200
    Re: Simple Linux to Linux(Debian) email Mark Fletcher <mark27q1@gmail.com> - 2019-04-08 15:40 +0200
  Re: Simple Linux to Linux(Debian) email Joe <joe@jretrading.com> - 2019-04-08 15:40 +0200
    Re: Simple Linux to Linux(Debian) email Mark Fletcher <mark27q1@gmail.com> - 2019-04-08 16:40 +0200
  Re: Simple Linux to Linux(Debian) email <tomas@tuxteam.de> - 2019-04-08 17:50 +0200
    Re: Simple Linux to Linux(Debian) email Erik Christiansen <dvalin@internode.on.net> - 2019-04-09 03:50 +0200
  Re: Simple Linux to Linux(Debian) email Jan Claeys <lists@janc.be> - 2019-04-09 02:40 +0200
    Re: Simple Linux to Linux(Debian) email Mark Fletcher <mark27q1@gmail.com> - 2019-04-11 17:50 +0200
      Re: Simple Linux to Linux(Debian) email Greg Wooledge <wooledg@eeg.ccf.org> - 2019-04-11 18:00 +0200
        Re: Simple Linux to Linux(Debian) email Mark Fletcher <mark27q1@gmail.com> - 2019-04-11 18:20 +0200
      Re: Simple Linux to Linux(Debian) email Greg Wooledge <wooledg@eeg.ccf.org> - 2019-04-11 18:10 +0200
        Re: Simple Linux to Linux(Debian) email mick crane <mick.crane@gmail.com> - 2019-04-11 18:20 +0200
          Re: Simple Linux to Linux(Debian) email mick crane <mick.crane@gmail.com> - 2019-04-12 10:00 +0200
            Re: Simple Linux to Linux(Debian) email Dan Purgert <dan@djph.net> - 2019-04-12 12:10 +0200
              Re: Simple Linux to Linux(Debian) email mick crane <mick.crane@gmail.com> - 2019-04-12 12:30 +0200
                Re: Simple Linux to Linux(Debian) email Dan Purgert <dan@djph.net> - 2019-04-12 13:10 +0200
                Re: Simple Linux to Linux(Debian) email Dan Ritter <dsr@randomstring.org> - 2019-04-12 14:00 +0200
                Re: Simple Linux to Linux(Debian) email Gene Heskett <gheskett@shentel.net> - 2019-04-12 14:40 +0200
                Re: Simple Linux to Linux(Debian) email mick crane <mick.crane@gmail.com> - 2019-04-12 15:30 +0200
                Re: Simple Linux to Linux(Debian) email Dan Purgert <dan@djph.net> - 2019-04-12 17:00 +0200
                Re: Simple Linux to Linux(Debian) email Celejar <celejar@gmail.com> - 2019-04-12 23:20 +0200
                Re: Simple Linux to Linux(Debian) email mick crane <mick.crane@gmail.com> - 2019-04-13 00:20 +0200
      Re: Simple Linux to Linux(Debian) email mick crane <mick.crane@gmail.com> - 2019-04-11 18:10 +0200
      Re: Simple Linux to Linux(Debian) email Dan Ritter <dsr@randomstring.org> - 2019-04-11 18:20 +0200
      Re: Simple Linux to Linux(Debian) email Jan Claeys <lists@janc.be> - 2019-04-11 19:10 +0200

csiph-web