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


Groups > linux.debian.user > #211448

Re: sending mail via a script

From Dave Sherohman <dave@sherohman.org>
Newsgroups linux.debian.user
Subject Re: sending mail via a script
Date 2019-07-17 10:40 +0200
Message-ID <ykNDI-2Xd-5@gated-at.bofh.it> (permalink)
References (2 earlier) <yjR6G-EL-13@gated-at.bofh.it> <yk5Ml-1cw-3@gated-at.bofh.it> <yk6p4-1FC-15@gated-at.bofh.it> <ykpUJ-5ry-7@gated-at.bofh.it> <ykDuF-57O-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jul 16, 2019 at 10:39:57PM +0100, mick crane wrote:
>  well when I became aware of all this stuff, I thought this is great,
> everybody can connect and do what they like, if of course following
> protocols.
> But you can't do that can you ? you have to connect through a service
> provider.

Certain ISPs (primarily those focusing on home customers, and especially
those providing dynamic IP addresses) will block outbound connections to
port 25 (smtp) by their clients.  If your connection comes from such a
provider, then, yes, you do have to pass your mail through their mail
server, because their firewalls will prevent you from directly
connecting to any other mail servers.

But if you're not in such a situation, then you absolutely can run your
own mail server, although there are hoops you need to jump through to
avoid being mistaken for a spammer.  Having a static IP in a
non-blacklisted subnet and properly-configured DNS pointing back to that
IP address are, in my experience, the primary factors.  I don't think
I've ever needed to do more than that for my own personal mail server,
which I've been running since the summer of 2000, and it's been
connected on at least 4-5 different ISPs over that time, including both
residential and commercial providers.

If you want to send mail claiming to originate from other servers, then
*that's* where it gets tricky and cumbersome, because you need to
properly handle SPF and DKIM restrictions, which you may not have any
direct control over.  I occasionally have to deal with this at work, and
it's never a pleasant experience.

-- 
Dave Sherohman

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


Thread

sending amil via a script Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2019-07-14 18:00 +0200
  Re: sending amil via a script Carl Fink <carlf@panix.com> - 2019-07-14 18:10 +0200
  Re: sending mail  via a script Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2019-07-14 18:20 +0200
    Re: sending mail  via a script Dan Ritter <dsr@randomstring.org> - 2019-07-14 20:10 +0200
      Re: sending mail  via a script Reco <recoverym4n@enotuniq.net> - 2019-07-15 11:50 +0200
        Re: sending mail  via a script Dan Ritter <dsr@randomstring.org> - 2019-07-15 12:30 +0200
          Re: sending mail  via a script Reco <recoverym4n@enotuniq.net> - 2019-07-15 12:30 +0200
            Re: sending mail  via a script <tomas@tuxteam.de> - 2019-07-15 12:40 +0200
          Re: sending mail  via a script <tomas@tuxteam.de> - 2019-07-15 12:40 +0200
            Re: sending mail  via a script Dan Ritter <dsr@randomstring.org> - 2019-07-15 15:10 +0200
              Re: sending mail  via a script Joe <joe@jretrading.com> - 2019-07-15 15:40 +0200
          Re: sending mail  via a script Andrei POPESCU <andreimpopescu@gmail.com> - 2019-07-16 09:20 +0200
            Re: sending mail  via a script mick crane <mick.crane@gmail.com> - 2019-07-16 23:50 +0200
              Re: sending mail  via a script Dan Ritter <dsr@randomstring.org> - 2019-07-17 00:00 +0200
                Re: sending mail  via a script <tomas@tuxteam.de> - 2019-07-17 09:00 +0200
              Re: sending mail  via a script Joe <joe@jretrading.com> - 2019-07-17 09:40 +0200
              Re: sending mail  via a script Dave Sherohman <dave@sherohman.org> - 2019-07-17 10:40 +0200
                Re: sending mail  via a script <tomas@tuxteam.de> - 2019-07-17 11:00 +0200
                Re: sending mail  via a script Joe <joe@jretrading.com> - 2019-07-17 11:10 +0200
                Re: sending mail  via a script Jonathan Dowland <jon+debian-user@dow.land> - 2019-07-17 11:30 +0200
                Re: sending mail  via a script Joe <joe@jretrading.com> - 2019-07-17 13:00 +0200
                Re: sending mail  via a script Jonathan Dowland <jon+debian-user@dow.land> - 2019-07-17 16:00 +0200
              Re: sending mail  via a script Andy Smith <andy@strugglers.net> - 2019-07-17 17:40 +0200
                Re: sending mail  via a script mick crane <mick.crane@gmail.com> - 2019-07-17 23:00 +0200
                Re: sending mail  via a script Joe <joe@jretrading.com> - 2019-07-17 23:00 +0200
                Re: sending mail  via a script Dan Ritter <dsr@randomstring.org> - 2019-07-17 23:10 +0200
                Re: sending mail  via a script Joe <joe@jretrading.com> - 2019-07-18 09:30 +0200
                Re: sending mail  via a script Curt <curty@free.fr> - 2019-07-18 10:30 +0200
                Re: sending mail  via a script David Wright <deblis@lionunicorn.co.uk> - 2019-07-18 14:50 +0200
                Re: sending mail via a script Lee <ler762@gmail.com> - 2019-07-18 18:20 +0200
                Re: sending mail  via a script Andy Smith <andy@strugglers.net> - 2019-07-18 19:50 +0200
    Re: sending mail  via a script Andy Smith <andy@strugglers.net> - 2019-07-15 12:40 +0200
      Re: sending mail  via a script Joe <joe@jretrading.com> - 2019-07-15 12:50 +0200
  Re: sending amil via a script Brian <ad44@cityscape.co.uk> - 2019-07-14 19:30 +0200
  Re: sending amil via a script Lotek <lotek07@gmail.com> - 2019-07-15 04:10 +0200

csiph-web