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


Groups > linux.debian.user > #219308

Re: Choice of "mailname" for mail server: suggestions welcome

From Tom Browder <tom.browder@gmail.com>
Newsgroups linux.debian.user
Subject Re: Choice of "mailname" for mail server: suggestions welcome
Date 2020-02-21 20:30 +0100
Message-ID <zCm9P-7IU-1@gated-at.bofh.it> (permalink)
References <zCevE-3b7-5@gated-at.bofh.it> <zCizg-5y0-13@gated-at.bofh.it> <zCkhH-6Cq-1@gated-at.bofh.it> <zCkUq-74H-21@gated-at.bofh.it> <zClx7-7ha-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Feb 21, 2020 at 12:36 PM Tom Browder <tom.browder@gmail.com> wrote:
> On Fri, Feb 21, 2020 at 12:05 PM Brian <ad44@cityscape.co.uk> wrote:
> > Thanks, I will read the page in detail later. Meanwhile, I did a quick
> > search on the page for "mailname" and didn't get anything. Anyway, what
> > I really wanted to know was what function *you* thought /etc/mailname
> > played in OpenSMTPD because it would determine what you chose for it.
> >
> > On Exim it is used to qualify a local part without a domain name. After
> > I installed OpenSMTPD it seems to me that this is also what OpenSMTPD
> > does. In other words, if I had mailname as gmail.com, a mail I send to
> > tombrowder (no domain name) would go to tombrowder@gmail.com.
>
> Brian, you may be right. I cannot find anything in the man pages, but
> it may have been stated during the installation of the Debian package.
> I'll uninstall and reinstall to see if I can capture the
> instructions...

Okay, here are the instructions, just as you said:

The "mail name" is used as the domain name in the email address for
messages that only have a "local part" (such as
  │ <jrandomuser> or <root>). It should be a fully qualified domain
name (FQDN) that you are entitled to use.
  │
  │ For instance, to allow the local host to generate mail with
addresses such as <jrandomuser@example.org>, set the
  │ system mail name to "example.org".

So, I guess I can trust opensmtpd to do the right thing if I set up
its configuration properly. And for the DNS just make every domain
have its own mail server (as long as everything eventually maps the
the correct server IP listening on port 25).

Thanks.

-Tom

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


Thread

Choice of "mailname" for mail server: suggestions welcome Tom Browder <tom.browder@gmail.com> - 2020-02-21 12:20 +0100
  Re: Choice of "mailname" for mail server: suggestions welcome john doe <johndoe65534@mail.com> - 2020-02-21 12:40 +0100
    Re: Choice of "mailname" for mail server: suggestions welcome Tom Browder <tom.browder@gmail.com> - 2020-02-21 13:10 +0100
      Re: Choice of "mailname" for mail server: suggestions welcome Joe <joe@jretrading.com> - 2020-02-21 13:30 +0100
        Re: Choice of "mailname" for mail server: suggestions welcome Tom Browder <tom.browder@gmail.com> - 2020-02-21 13:50 +0100
          Re: Choice of "mailname" for mail server: suggestions welcome Joe <joe@jretrading.com> - 2020-02-21 14:50 +0100
    Re: Choice of "mailname" for mail server: suggestions welcome Henning Follmann <hfollmann@itcfollmann.com> - 2020-02-21 15:40 +0100
      Re: Choice of "mailname" for mail server: suggestions welcome Tom Browder <tom.browder@gmail.com> - 2020-02-21 15:50 +0100
        Re: Choice of "mailname" for mail server: suggestions welcome Henning Follmann <hfollmann@itcfollmann.com> - 2020-02-21 18:10 +0100
          Re: Choice of "mailname" for mail server: suggestions welcome Tom Browder <tom.browder@gmail.com> - 2020-02-21 23:40 +0100
  Re: Choice of "mailname" for mail server: suggestions welcome Jonas Smedegaard <jonas@jones.dk> - 2020-02-21 13:10 +0100
    Re: Choice of "mailname" for mail server: suggestions welcome Tom Browder <tom.browder@gmail.com> - 2020-02-21 13:20 +0100
      Re: Choice of "mailname" for mail server: suggestions welcome Jonas Smedegaard <jonas@jones.dk> - 2020-02-21 13:50 +0100
  Re: Choice of "mailname" for mail server: suggestions welcome Michael Howard <mike@dewberryfields.co.uk> - 2020-02-21 13:20 +0100
    Re: Choice of "mailname" for mail server: suggestions welcome Tom Browder <tom.browder@gmail.com> - 2020-02-21 13:30 +0100
  Re: Choice of "mailname" for mail server: suggestions welcome Brian <ad44@cityscape.co.uk> - 2020-02-21 16:40 +0100
    Re: Choice of "mailname" for mail server: suggestions welcome Tom Browder <tom.browder@gmail.com> - 2020-02-21 18:30 +0100
      Re: Choice of "mailname" for mail server: suggestions welcome Brian <ad44@cityscape.co.uk> - 2020-02-21 19:10 +0100
        Re: Choice of "mailname" for mail server: suggestions welcome Tom Browder <tom.browder@gmail.com> - 2020-02-21 19:50 +0100
          Re: Choice of "mailname" for mail server: suggestions welcome Tom Browder <tom.browder@gmail.com> - 2020-02-21 20:30 +0100
          Re: Choice of "mailname" for mail server: suggestions welcome Brian <ad44@cityscape.co.uk> - 2020-02-21 20:30 +0100
  Re: Choice of "mailname" for mail server: suggestions welcome Tom Browder <tom.browder@gmail.com> - 2020-02-21 23:50 +0100

csiph-web