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


Groups > linux.debian.user > #227335

Re: Mail transfer agent (debian-user-digest Digest V2020 #932)

From Reco <recoverym4n@enotuniq.net>
Newsgroups linux.debian.user
Subject Re: Mail transfer agent (debian-user-digest Digest V2020 #932)
Date 2020-09-25 14:00 +0200
Message-ID <ASUym-7WK-5@gated-at.bofh.it> (permalink)
References <ASN3Q-3q2-9@gated-at.bofh.it> <ASN3Q-3q2-7@gated-at.bofh.it> <ASOCB-4uO-3@gated-at.bofh.it> <AST9g-7ft-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	Hi.

On Fri, Sep 25, 2020 at 01:26:54PM +0300, Andrei POPESCU wrote:
> Not necessarily, just very common. However, suddenlink seems to require 
> the full e-mail address as well.
> 
> https://help.suddenlink.com/knowledge/microsoft-outlook-set-your-suddenlink-email
>  
> > I don't think suddenlink.net accepts mail; smtp.suddenlink.net does.
> > 
> > I omit the port number 587 as it's the default.
> 
> Can't find any mention of this in neomuttrc(5), care to provide a 
> source?

There won't be any, because in both mutt and neomutt tcp:25 is the
default for smtp.
Specifically, smtp_fill_account() at smtp.c shows this:

  if (!account->port)
  {
    if (account->flags & MUTT_ACCT_SSL)
      account->port = SMTPS_PORT;
    else
    {
      static unsigned short SmtpPort = 0;
      if (!SmtpPort)
      {
        struct servent *service = getservbyname("smtp", "tcp");
        if (service)
          SmtpPort = ntohs(service->s_port);
        else
          SmtpPort = SMTP_PORT;
        mutt_debug(3, "Using default SMTP port %d\n", SmtpPort);
      }
      account->port = SmtpPort;
    }
  }

And getservbyname(3) will return port 25 for smtp, because it's the port
designated for smtp in /etc/services.
Of course, they *could* use "submission" (which is tcp:587) at that code
instead of "smtp", but they did not.

Reco

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


Thread

Re: debian-user-digest Digest V2020 #932 "mike.junk.46@att.net" <mike.junk.46@att.net> - 2020-09-25 06:00 +0200
  Re: Mail transfer agent (debian-user-digest Digest V2020 #932) David Wright <deblis@lionunicorn.co.uk> - 2020-09-25 07:40 +0200
    Re: Mail transfer agent (debian-user-digest Digest V2020 #932) Andrei POPESCU <andreimpopescu@gmail.com> - 2020-09-25 12:30 +0200
      Re: Mail transfer agent (debian-user-digest Digest V2020 #932) Reco <recoverym4n@enotuniq.net> - 2020-09-25 14:00 +0200
      Re: Mail transfer agent (debian-user-digest Digest V2020 #932) David Wright <deblis@lionunicorn.co.uk> - 2020-09-26 04:50 +0200
        Re: Mail transfer agent (debian-user-digest Digest V2020 #932) Andrei POPESCU <andreimpopescu@gmail.com> - 2020-09-26 10:00 +0200
          Re: Mail transfer agent (debian-user-digest Digest V2020 #932) David Wright <deblis@lionunicorn.co.uk> - 2020-10-01 06:30 +0200
            Re: Mail transfer agent (debian-user-digest Digest V2020 #932) Brian <ad44@cityscape.co.uk> - 2020-10-01 21:20 +0200

csiph-web