On Fri 21 Feb 2020 at 11:22:58 -0600, Tom Browder wrote: > On Fri, Feb 21, 2020 at 09:36 Brian <[email protected]> wrote: > > > On Fri 21 Feb 2020 at 05:09:47 -0600, Tom Browder wrote: > > > ... > | > I need to settle on names to define as the "mailname" for each the two > > > > servers I will designate for the DNS MX records for all my mail-enabled > > > domains. The mailnames should be "fully qualified domain names" (FQDNs) > > so > > > ... > > > I wouldn't use any of those with Exim because I am aware of the function > > of /etc/mailname in its sending of mail. What does /etc/mailname do on > > OpenSMTPD? > > > The source of my info is in this link: > > > https://poolp.org/posts/2019-09-14/setting-up-a-mail-server-with-opensmtpd-dovecot-and-rspamd/?utm_source=share&utm_medium=ios_app&utm_name=iossmf
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 [email protected]. Apologies if I have missed the point and this is something you have factored into your planning. -- Brian.

