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


Groups > linux.debian.user > #211383 > unrolled thread

sending amil via a script

Started byPierre Frenkiel <pierre.frenkiel@gmail.com>
First post2019-07-14 18:00 +0200
Last post2019-07-15 04:10 +0200
Articles 20 on this page of 35 — 16 participants

Back to article view | Back to linux.debian.user


Contents

  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

Page 1 of 2  [1] 2  Next page →


#211383 — sending amil via a script

FromPierre Frenkiel <pierre.frenkiel@gmail.com>
Date2019-07-14 18:00 +0200
Subjectsending amil via a script
Message-ID<yjP4S-7DY-5@gated-at.bofh.it>
hi,
I'm looking for a way to send a mail via a script 
What are the available solutions ?

best regards,
-- 
Pierre Frenkiel

[toc] | [next] | [standalone]


#211385

FromCarl Fink <carlf@panix.com>
Date2019-07-14 18:10 +0200
Message-ID<yjPey-7WY-11@gated-at.bofh.it>
In reply to#211383

[Multipart message — attachments visible in raw view] — view raw

On 7/14/19 11:56 AM, Pierre Frenkiel wrote:
> hi,
> I'm looking for a way to send a mail via a script What are the 
> available solutions ?
>
That question is way too general. Do you mean a shell script? Perhaps 
simplest is:

$ mail -s "Hello World" someone@example.com

-- 
Carl Fink                           nitpicking@nitpicking.com

Read my blog at blog.nitpicking.com.  Reviews!  Observations!

[toc] | [prev] | [next] | [standalone]


#211386 — Re: sending mail via a script

FromPierre Frenkiel <pierre.frenkiel@gmail.com>
Date2019-07-14 18:20 +0200
SubjectRe: sending mail via a script
Message-ID<yjPod-803-5@gated-at.bofh.it>
In reply to#211383
On Sun, 14 Jul 2019, Pierre Frenkiel wrote:

> hi,
> I'm looking for a way to send a mail via a script What are the available 
> solutions ?

  I tried with mail.mailutils, and I get the following error:

    << 550-5.7.1 [2a01:e35:8a7f:9c50:2e4d:54ff:fed0:5806] Our system has detected that
    <<< 550-5.7.1 this message does not meet IPv6 sending guidelines regarding PTR
    <<< 550-5.7.1 records and authentication. Please review
    <<< 550-5.7.1  https://support.google.com/mail/?p=IPv6AuthError for more information
    <<< 550 5.7.1 . z19si9492793wml.107 - gsmtp
    554 5.0.0 Service unavailable

    I didn't find any ueseful information on the given link.

best regards,
-- 
Pierre Frenkiel

[toc] | [prev] | [next] | [standalone]


#211389 — Re: sending mail via a script

FromDan Ritter <dsr@randomstring.org>
Date2019-07-14 20:10 +0200
SubjectRe: sending mail via a script
Message-ID<yjR6G-EL-13@gated-at.bofh.it>
In reply to#211386
Pierre Frenkiel wrote: 
> On Sun, 14 Jul 2019, Pierre Frenkiel wrote:
> 
> > hi,
> > I'm looking for a way to send a mail via a script What are the available
> > solutions ?
> 
>  I tried with mail.mailutils, and I get the following error:
> 
>    << 550-5.7.1 [2a01:e35:8a7f:9c50:2e4d:54ff:fed0:5806] Our system has detected that
>    <<< 550-5.7.1 this message does not meet IPv6 sending guidelines regarding PTR
>    <<< 550-5.7.1 records and authentication. Please review
>    <<< 550-5.7.1  https://support.google.com/mail/?p=IPv6AuthError for more information
>    <<< 550 5.7.1 . z19si9492793wml.107 - gsmtp
>    554 5.0.0 Service unavailable
> 
>    I didn't find any ueseful information on the given link.
> 

That's not a problem sending mail via a script; that's a problem with
Google's view of the reputation of the mail server that you are using.
(Which may be the machine that you are typing on, or might not.)

In other words: you successfully sent mail, but Google rejected
it because they think you are a spammer.

One option is to relay mail through an email server that is
generally considered trustworthy.

Another is to build the reputation of the server you are using,
but it seems likely that you have an IP connection from free.fr,
and they are specifically advertising that you are a user and
should not get a positive reputation.

Mail is tricky these days.

-dsr-

[toc] | [prev] | [next] | [standalone]


#211394 — Re: sending mail via a script

FromReco <recoverym4n@enotuniq.net>
Date2019-07-15 11:50 +0200
SubjectRe: sending mail via a script
Message-ID<yk5Ml-1cw-3@gated-at.bofh.it>
In reply to#211389
	Hi.

On Sun, Jul 14, 2019 at 02:05:04PM -0400, Dan Ritter wrote:
> Pierre Frenkiel wrote: 
> > On Sun, 14 Jul 2019, Pierre Frenkiel wrote:
> > 
> > > hi,
> > > I'm looking for a way to send a mail via a script What are the available
> > > solutions ?
> > 
> >  I tried with mail.mailutils, and I get the following error:
> > 
> >    << 550-5.7.1 [2a01:e35:8a7f:9c50:2e4d:54ff:fed0:5806] Our system has detected that
> >    <<< 550-5.7.1 this message does not meet IPv6 sending guidelines regarding PTR
> >    <<< 550-5.7.1 records and authentication. Please review
> >    <<< 550-5.7.1  https://support.google.com/mail/?p=IPv6AuthError for more information
> >    <<< 550 5.7.1 . z19si9492793wml.107 - gsmtp
> >    554 5.0.0 Service unavailable
> > 
> >    I didn't find any ueseful information on the given link.
> > 
> 
> That's not a problem sending mail via a script; that's a problem with
> Google's view of the reputation of the mail server that you are using.
> (Which may be the machine that you are typing on, or might not.)
> 
> In other words: you successfully sent mail, but Google rejected
> it because they think you are a spammer.

No. Google rejected it because of the reason stated above.
I.e. MTA's IP does not have a valid PTR record. Not required by RFC per
se, but is considered mandatory by some (included Google).


> One option is to relay mail through an email server that is
> generally considered trustworthy.

That'll work.


> Another is to build the reputation of the server you are using,

Won't do any good. Another option is to get that PTR record for
starters.

> Mail is tricky these days.

True. And Google is trying to make it even more tricky.

Reco

[toc] | [prev] | [next] | [standalone]


#211396 — Re: sending mail via a script

FromDan Ritter <dsr@randomstring.org>
Date2019-07-15 12:30 +0200
SubjectRe: sending mail via a script
Message-ID<yk6p4-1FC-15@gated-at.bofh.it>
In reply to#211394
Reco wrote: 
> 	Hi.
> 
> On Sun, Jul 14, 2019 at 02:05:04PM -0400, Dan Ritter wrote:
> > 
> > That's not a problem sending mail via a script; that's a problem with
> > Google's view of the reputation of the mail server that you are using.
> > (Which may be the machine that you are typing on, or might not.)
> > 
> > In other words: you successfully sent mail, but Google rejected
> > it because they think you are a spammer.
> 
> No. Google rejected it because of the reason stated above.
> I.e. MTA's IP does not have a valid PTR record. Not required by RFC per
> se, but is considered mandatory by some (included Google).

Why do you think they have that requirement?

It's entirely because IPs without PTR records are more likely to
be spammers than those who do. Specfically, because it's an
indication that the person running the machine didn't set it up
as a server, or doesn't know what they are doing.

> > Another is to build the reputation of the server you are using,
> 
> Won't do any good. Another option is to get that PTR record for
> starters.

That would be part of building the reputation.

-dsr-

[toc] | [prev] | [next] | [standalone]


#211397 — Re: sending mail via a script

FromReco <recoverym4n@enotuniq.net>
Date2019-07-15 12:30 +0200
SubjectRe: sending mail via a script
Message-ID<yk6p4-1FC-13@gated-at.bofh.it>
In reply to#211396
On Mon, Jul 15, 2019 at 06:21:28AM -0400, Dan Ritter wrote:
> Reco wrote: 
> > 	Hi.
> > 
> > On Sun, Jul 14, 2019 at 02:05:04PM -0400, Dan Ritter wrote:
> > > 
> > > That's not a problem sending mail via a script; that's a problem with
> > > Google's view of the reputation of the mail server that you are using.
> > > (Which may be the machine that you are typing on, or might not.)
> > > 
> > > In other words: you successfully sent mail, but Google rejected
> > > it because they think you are a spammer.
> > 
> > No. Google rejected it because of the reason stated above.
> > I.e. MTA's IP does not have a valid PTR record. Not required by RFC per
> > se, but is considered mandatory by some (included Google).
> 
> Why do you think they have that requirement?

An error message included a link to support.google.com. Along with the other
things it says:

The sending IP must have a PTR record (i.e. a reverse DNS of the sending IP)
and match the IP obtained via the forward DNS resolution of the hostname
specified in the PTR record.


OP's MTA does not have IPv6 PTR at all.

> > > Another is to build the reputation of the server you are using,
> > 
> > Won't do any good. Another option is to get that PTR record for
> > starters.
> 
> That would be part of building the reputation.

I must've misinterpreted your phrase then.

Reco

[toc] | [prev] | [next] | [standalone]


#211398 — Re: sending mail via a script

From<tomas@tuxteam.de>
Date2019-07-15 12:40 +0200
SubjectRe: sending mail via a script
Message-ID<yk6yJ-1IO-7@gated-at.bofh.it>
In reply to#211397

[Multipart message — attachments visible in raw view] — view raw

On Mon, Jul 15, 2019 at 01:28:40PM +0300, Reco wrote:
> On Mon, Jul 15, 2019 at 06:21:28AM -0400, Dan Ritter wrote:

[...]

> > Why do you think they have that requirement?
> 
> An error message included a link to support.google.com. Along with the other
> things it says:

Heh. Great minds think alike :)

Cheers
-- t

[toc] | [prev] | [next] | [standalone]


#211400 — Re: sending mail via a script

From<tomas@tuxteam.de>
Date2019-07-15 12:40 +0200
SubjectRe: sending mail via a script
Message-ID<yk6yK-1IO-17@gated-at.bofh.it>
In reply to#211396

[Multipart message — attachments visible in raw view] — view raw

On Mon, Jul 15, 2019 at 06:21:28AM -0400, Dan Ritter wrote:
> Reco wrote: 
> > 	Hi.
> > 
> > On Sun, Jul 14, 2019 at 02:05:04PM -0400, Dan Ritter wrote:
> > > 
> > > That's not a problem sending mail via a script; that's a problem with
> > > Google's view of the reputation of the mail server that you are using.
> > > (Which may be the machine that you are typing on, or might not.)
> > > 
> > > In other words: you successfully sent mail, but Google rejected
> > > it because they think you are a spammer.
> > 
> > No. Google rejected it because of the reason stated above.
> > I.e. MTA's IP does not have a valid PTR record. Not required by RFC per
> > se, but is considered mandatory by some (included Google).
> 
> Why do you think they have that requirement?

Because their server says so. Quoting from this very thread [1]

  <<< 550-5.7.1 this message does not meet IPv6 sending guidelines regarding PTR
  <<< 550-5.7.1 records and authentication. Please review
  <<< 550-5.7.1  https://support.google.com/mail/?p=IPv6AuthError for more infor

And quoting from that Google link (eek, I clicked a Google link and
feel now... dirty):

    - The sending IP must have a PTR record (i.e. a reverse DNS
      of the sending IP) and match the IP obtained via the forward
      DNS resolution of the hostname specified in the PTR record.
    - The sending domain should pass either a SPF check or DKIM
      check.

So you need a PTR (for reverse name resolution) AND (SPF OR DKIM)
(so yeah, PTR alone ain't enough).

Cheers

[1] Message-ID: <alpine.DEB.2.21.1907141813050.13978@pfr2.frenkiel-hure.net>

-- t

[toc] | [prev] | [next] | [standalone]


#211403 — Re: sending mail via a script

FromDan Ritter <dsr@randomstring.org>
Date2019-07-15 15:10 +0200
SubjectRe: sending mail via a script
Message-ID<yk8TU-3gH-17@gated-at.bofh.it>
In reply to#211400
tomas@tuxteam.de wrote: 
> On Mon, Jul 15, 2019 at 06:21:28AM -0400, Dan Ritter wrote:
> > Reco wrote: 
> > > 	Hi.
> > > 
> > > On Sun, Jul 14, 2019 at 02:05:04PM -0400, Dan Ritter wrote:
> > > > 
> > > > That's not a problem sending mail via a script; that's a problem with
> > > > Google's view of the reputation of the mail server that you are using.
> > > > (Which may be the machine that you are typing on, or might not.)
> > > > 
> > > > In other words: you successfully sent mail, but Google rejected
> > > > it because they think you are a spammer.
> > > 
> > > No. Google rejected it because of the reason stated above.
> > > I.e. MTA's IP does not have a valid PTR record. Not required by RFC per
> > > se, but is considered mandatory by some (included Google).
> > 
> > Why do you think they have that requirement?
> 
> Because their server says so. Quoting from this very thread [1]

This is like answering "why do you think mother married father?"
with "Because the marriage certificate is hanging on the wall."

Did you and Reco both translate the question as a request for 
evidence? I would think that my next statement, which you both
decided to drop from quoting, would correct that.

-dsr-

[toc] | [prev] | [next] | [standalone]


#211405 — Re: sending mail via a script

FromJoe <joe@jretrading.com>
Date2019-07-15 15:40 +0200
SubjectRe: sending mail via a script
Message-ID<yk9mW-3qW-21@gated-at.bofh.it>
In reply to#211403
On Mon, 15 Jul 2019 09:07:05 -0400
Dan Ritter <dsr@randomstring.org> wrote:

> tomas@tuxteam.de wrote: 
> > On Mon, Jul 15, 2019 at 06:21:28AM -0400, Dan Ritter wrote:  
> > > Reco wrote:   
> > > > 	Hi.
> > > > 
> > > > On Sun, Jul 14, 2019 at 02:05:04PM -0400, Dan Ritter wrote:  
> > > > > 
> > > > > That's not a problem sending mail via a script; that's a
> > > > > problem with Google's view of the reputation of the mail
> > > > > server that you are using. (Which may be the machine that you
> > > > > are typing on, or might not.)
> > > > > 
> > > > > In other words: you successfully sent mail, but Google
> > > > > rejected it because they think you are a spammer.  
> > > > 
> > > > No. Google rejected it because of the reason stated above.
> > > > I.e. MTA's IP does not have a valid PTR record. Not required by
> > > > RFC per se, but is considered mandatory by some (included
> > > > Google).  
> > > 
> > > Why do you think they have that requirement?  
> > 
> > Because their server says so. Quoting from this very thread [1]  
> 
> This is like answering "why do you think mother married father?"
> with "Because the marriage certificate is hanging on the wall."
> 
> Did you and Reco both translate the question as a request for 
> evidence? I would think that my next statement, which you both
> decided to drop from quoting, would correct that.
> 

A mail server admin's choice of anti-spam measures can be fairly
arbitrary. My mail server does what it does 'because I say so'. I think
that was the point being made.

PTR records are nowhere near as useful as they used to be. Many
domestic users are given PTR records now, even if they are just some
derivative of the IP address, and many companies using email simply
outsource it. Some email services are run by people who don't know what
they are doing, so some legitimate business email arrives from addresses
without a complementary PTR-A record pair.

-- 
Joe

[toc] | [prev] | [next] | [standalone]


#211422 — Re: sending mail via a script

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2019-07-16 09:20 +0200
SubjectRe: sending mail via a script
Message-ID<ykpUJ-5ry-7@gated-at.bofh.it>
In reply to#211396

[Multipart message — attachments visible in raw view] — view raw

On Lu, 15 iul 19, 06:21:28, Dan Ritter wrote:
> Reco wrote: 
> 
> Why do you think they have that requirement?
> 
> It's entirely because IPs without PTR records are more likely to
> be spammers than those who do. Specfically, because it's an
> indication that the person running the machine didn't set it up
> as a server, or doesn't know what they are doing.

Or is trying to run the server on an IP without a (useful) PTR record, 
e.g. a "personal" ISP account.

This requirement mitigates somewhat the spam problem, at the expense of 
making it much harder/costlier for individuals to run their own mail 
server.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#211429 — Re: sending mail via a script

Frommick crane <mick.crane@gmail.com>
Date2019-07-16 23:50 +0200
SubjectRe: sending mail via a script
Message-ID<ykDuF-57O-15@gated-at.bofh.it>
In reply to#211422
On 2019-07-16 08:18, Andrei POPESCU wrote:
> On Lu, 15 iul 19, 06:21:28, Dan Ritter wrote:
>> Reco wrote:
>> 
>> Why do you think they have that requirement?
>> 
>> It's entirely because IPs without PTR records are more likely to
>> be spammers than those who do. Specfically, because it's an
>> indication that the person running the machine didn't set it up
>> as a server, or doesn't know what they are doing.
> 
> Or is trying to run the server on an IP without a (useful) PTR record,
> e.g. a "personal" ISP account.
> 
> This requirement mitigates somewhat the spam problem, at the expense of
> making it much harder/costlier for individuals to run their own mail
> server.
> 
> Kind regards,
> Andrei



  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.

mick
-- 
Key ID    4BFEBB31

[toc] | [prev] | [next] | [standalone]


#211430 — Re: sending mail via a script

FromDan Ritter <dsr@randomstring.org>
Date2019-07-17 00:00 +0200
SubjectRe: sending mail via a script
Message-ID<ykDEl-5bd-1@gated-at.bofh.it>
In reply to#211429
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.

You can and you can't.

In theory you can.

In practice, the email giants -- GMail, Outlook.com, and a few
others -- demand certain things that make it very difficult to
deliver mail to them if you've just got a home net connection.

Meanwhile, traffic to other domains might go through easily.

-dsr-

[toc] | [prev] | [next] | [standalone]


#211440 — Re: sending mail via a script

From<tomas@tuxteam.de>
Date2019-07-17 09:00 +0200
SubjectRe: sending mail via a script
Message-ID<ykM4X-1UX-39@gated-at.bofh.it>
In reply to#211430

[Multipart message — attachments visible in raw view] — view raw

On Tue, Jul 16, 2019 at 05:54:56PM -0400, Dan Ritter wrote:
> 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.
> 
> You can and you can't.
> 
> In theory you can.
> 
> In practice, the email giants -- GMail, Outlook.com, and a few
> others -- demand certain things that make it very difficult to
> deliver mail to them if you've just got a home net connection.

I, for one, do. I run my own mail server. But yes, you gotta invest
some elbow grease.

Cheers
-- tomás

[toc] | [prev] | [next] | [standalone]


#211442 — Re: sending mail via a script

FromJoe <joe@jretrading.com>
Date2019-07-17 09:40 +0200
SubjectRe: sending mail via a script
Message-ID<ykMHD-2ns-5@gated-at.bofh.it>
In reply to#211429
On Tue, 16 Jul 2019 22:39:57 +0100
mick crane <mick.crane@gmail.com> wrote:

> On 2019-07-16 08:18, Andrei POPESCU wrote:
> > On Lu, 15 iul 19, 06:21:28, Dan Ritter wrote:  
> >> Reco wrote:
> >> 
> >> Why do you think they have that requirement?
> >> 
> >> It's entirely because IPs without PTR records are more likely to
> >> be spammers than those who do. Specfically, because it's an
> >> indication that the person running the machine didn't set it up
> >> as a server, or doesn't know what they are doing.  
> > 
> > Or is trying to run the server on an IP without a (useful) PTR
> > record, e.g. a "personal" ISP account.
> > 
> > This requirement mitigates somewhat the spam problem, at the
> > expense of making it much harder/costlier for individuals to run
> > their own mail server.
> > 
> > Kind regards,
> > Andrei  
> 
> 
> 
>   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.

You can in the UK. You need to use an ISP who will provide a fixed IP
address (most do, though BT will charge an extra tenner a month for the
privilege) and who takes care to stay off email blacklists. I stayed
with Demon long after it was a competent ISP because I had no trouble
sending email. I've been with Plusnet for nearly two years, and have
had no problems.

But yes, sooner or later, Internet regulation will reach the point
where governments will permit only licensed organisations to send
email, and a licence will not be cheap.

-- 
Joe

[toc] | [prev] | [next] | [standalone]


#211448 — Re: sending mail via a script

FromDave Sherohman <dave@sherohman.org>
Date2019-07-17 10:40 +0200
SubjectRe: sending mail via a script
Message-ID<ykNDI-2Xd-5@gated-at.bofh.it>
In reply to#211429
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

[toc] | [prev] | [next] | [standalone]


#211450 — Re: sending mail via a script

From<tomas@tuxteam.de>
Date2019-07-17 11:00 +0200
SubjectRe: sending mail via a script
Message-ID<ykNX3-34h-3@gated-at.bofh.it>
In reply to#211448

[Multipart message — attachments visible in raw view] — view raw

On Wed, Jul 17, 2019 at 03:38:45AM -0500, Dave Sherohman wrote:
> 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.

I don't mail from my home machines. Instead I've got a virtual host
"out there" (in my case it's a slice of a "real host" I share with
a couple of friends).

But I do know of people who do it from home.

Cheers
-- t

[toc] | [prev] | [next] | [standalone]


#211451 — Re: sending mail via a script

FromJoe <joe@jretrading.com>
Date2019-07-17 11:10 +0200
SubjectRe: sending mail via a script
Message-ID<ykO6K-3nm-19@gated-at.bofh.it>
In reply to#211450
On Wed, 17 Jul 2019 10:51:43 +0200
<tomas@tuxteam.de> wrote:


> 
> I don't mail from my home machines. Instead I've got a virtual host
> "out there" (in my case it's a slice of a "real host" I share with
> a couple of friends).
> 
> But I do know of people who do it from home.
> 

Me for one. Once you have a server running 24/7, there are all sorts of
things you can find for it to do.

I'm considering using something like a Raspberry Pi when the current HP
Microserver dies, but I'm not sure it will be a lot cheaper to run,
given that it will need external hard drives and an external Ethernet
port.

-- 
Joe

[toc] | [prev] | [next] | [standalone]


#211452 — Re: sending mail via a script

FromJonathan Dowland <jon+debian-user@dow.land>
Date2019-07-17 11:30 +0200
SubjectRe: sending mail via a script
Message-ID<ykOq5-3tW-7@gated-at.bofh.it>
In reply to#211451
On Wed, Jul 17, 2019 at 10:01:00AM +0100, Joe wrote:
>I'm considering using something like a Raspberry Pi when the current HP
>Microserver dies, but I'm not sure it will be a lot cheaper to run,
>given that it will need external hard drives and an external Ethernet
>port.

Depending on why you feel you'd need an external Ethernet port, the Pi 4 
might address that issue for you (it's no longer wired over the USB bus)

I'm reminded that I have never properly measured the power consumption 
of my always-on NAS: I built it to be low power and I've connected it 
via a watt-meter but I haven't ever read the manual for how to use the 
meter (or looked at its display).

-- 

Jonathan Dowland
https://jmtd.net
Please do not CC me, I'm subscribed to the list.

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | linux.debian.user


csiph-web