Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Profanity is the one language all programmers know best.


computers / comp.mail.sendmail / 8.17.1 freebsd does not see virtusertable

SubjectAuthor
* 8.17.1 freebsd does not see virtusertableTatiana M
`* Re: 8.17.1 freebsd does not see virtusertableClaus Aßmann
 `* Re: 8.17.1 freebsd does not see virtusertableTatiana M
  `- Re: 8.17.1 freebsd does not see virtusertableClaus Aßmann

1
8.17.1 freebsd does not see virtusertable

<1f3fa409-d40c-4621-a702-acc8e16360a9n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=452&group=comp.mail.sendmail#452

  copy link   Newsgroups: comp.mail.sendmail
X-Received: by 2002:ac8:5a84:0:b0:2f1:f687:df63 with SMTP id c4-20020ac85a84000000b002f1f687df63mr18102057qtc.307.1651055833642;
Wed, 27 Apr 2022 03:37:13 -0700 (PDT)
X-Received: by 2002:a05:6902:4e9:b0:645:8122:3c81 with SMTP id
w9-20020a05690204e900b0064581223c81mr26331996ybs.563.1651055833444; Wed, 27
Apr 2022 03:37:13 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.sendmail
Date: Wed, 27 Apr 2022 03:37:13 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=94.188.24.138; posting-account=TgeqVwoAAAA3_mcSmxmkn1rKWOBI0ehb
NNTP-Posting-Host: 94.188.24.138
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1f3fa409-d40c-4621-a702-acc8e16360a9n@googlegroups.com>
Subject: 8.17.1 freebsd does not see virtusertable
From: tatianam...@gmail.com (Tatiana M)
Injection-Date: Wed, 27 Apr 2022 10:37:13 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 28
 by: Tatiana M - Wed, 27 Apr 2022 10:37 UTC

I've had the config since version 10, I'm constantly tweaking and supplementing it, it worked on all previous versions with virtusertable, but it doesn't see it on the new 8.17.1. The string is present in the .mc file,

FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')

but attempts to send mail to the virtual user do not pass. Of the changes from the previous configuration, only the let's encrypt certificate was added to one of the base domains and ssl was enabled.

# local-host-names - include all aliases for your machine here.
localhost
111.com
222.com

virtusertable

#
########## 111.com ###############
qqq@111.com user1
www@111.com www
@111.com error:nouser No such user here
# #
########## 222.com ###############
noner@222.com user2
viewer@222.com user2
@222.com error:nouser No such user here
#

all "make" are made, sendmail restarted. ))

Has anyone encountered with such problem?

Re: 8.17.1 freebsd does not see virtusertable

<t4b8pk$hj3$1@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=453&group=comp.mail.sendmail#453

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.veps.esmtp.org!not-for-mail
From: INVALID_...@esmtp.org (Claus Aßmann)
Newsgroups: comp.mail.sendmail
Subject: Re: 8.17.1 freebsd does not see virtusertable
Date: Wed, 27 Apr 2022 07:18:12 -0400 (EDT)
Organization: MGT Consulting
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <t4b8pk$hj3$1@news.misty.com>
References: <1f3fa409-d40c-4621-a702-acc8e16360a9n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 27 Apr 2022 11:18:12 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="veps.esmtp.org:155.138.203.148";
logging-data="18019"; mail-complaints-to="abuse@misty.com"
Mail-Copies-To: never
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: ca@x2.esmtp.org (Claus Assmann)
 by: Claus Aßmann - Wed, 27 Apr 2022 11:18 UTC

Tatiana M wrote:

> FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')

Do NOT use -o !
You want to use the map, so don't make it optional.
After changing that, make sure you don't get an error about
the map when sendmail is trying to open it.
Also check your VIRTUSER_DOMAIN has the expected content.

BTW:
cf/README:
all subdomains (see relay_hosts_only). The default map
definition is:

hash /etc/mail/virtusertable

Too bad distributions change the defaults...

--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.

Re: 8.17.1 freebsd does not see virtusertable

<5c04cd28-8e0a-4b72-b028-62240dafd89dn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=454&group=comp.mail.sendmail#454

  copy link   Newsgroups: comp.mail.sendmail
X-Received: by 2002:a05:6214:2aab:b0:446:4053:7a2b with SMTP id js11-20020a0562142aab00b0044640537a2bmr19446253qvb.127.1651060443071;
Wed, 27 Apr 2022 04:54:03 -0700 (PDT)
X-Received: by 2002:a05:690c:39f:b0:2f6:8b01:5ab3 with SMTP id
bh31-20020a05690c039f00b002f68b015ab3mr23994704ywb.473.1651060442895; Wed, 27
Apr 2022 04:54:02 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.sendmail
Date: Wed, 27 Apr 2022 04:54:02 -0700 (PDT)
In-Reply-To: <t4b8pk$hj3$1@news.misty.com>
Injection-Info: google-groups.googlegroups.com; posting-host=94.188.24.138; posting-account=TgeqVwoAAAA3_mcSmxmkn1rKWOBI0ehb
NNTP-Posting-Host: 94.188.24.138
References: <1f3fa409-d40c-4621-a702-acc8e16360a9n@googlegroups.com> <t4b8pk$hj3$1@news.misty.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5c04cd28-8e0a-4b72-b028-62240dafd89dn@googlegroups.com>
Subject: Re: 8.17.1 freebsd does not see virtusertable
From: tatianam...@gmail.com (Tatiana M)
Injection-Date: Wed, 27 Apr 2022 11:54:03 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 19
 by: Tatiana M - Wed, 27 Apr 2022 11:54 UTC

среда, 27 апреля 2022 г. в 14:18:14 UTC+3, Claus Aßmann:

Ok, thanks Claus, but some things more:

1 - changes in /etc/mail/Makefile. old:
SENDMAIL?= /usr/sbin/sendmail
MAKEMAP?= /usr/sbin/makemap
new:
SENDMAIL?= /usr/local/sbin/sendmail
MAKEMAP?= /usr/local/sbin/makemap

2 - remove /usr/sbin/makefile and symlink /etc/sbin/sendmail (to mailwrapper) and made symlink /usr/sbin/sendmail -> /usr/local/sbin/sendmail

And yet, these lines are present in the distribution, they already lie in the mail directory by default. The letter O is taken from there:

# more freebsd.mc | grep virtusert
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')

Re: 8.17.1 freebsd does not see virtusertable

<t4c038$drp$1@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=455&group=comp.mail.sendmail#455

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.veps.esmtp.org!not-for-mail
From: INVALID_...@esmtp.org (Claus Aßmann)
Newsgroups: comp.mail.sendmail
Subject: Re: 8.17.1 freebsd does not see virtusertable
Date: Wed, 27 Apr 2022 13:55:52 -0400 (EDT)
Organization: MGT Consulting
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <t4c038$drp$1@news.misty.com>
References: <1f3fa409-d40c-4621-a702-acc8e16360a9n@googlegroups.com> <t4b8pk$hj3$1@news.misty.com> <5c04cd28-8e0a-4b72-b028-62240dafd89dn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 27 Apr 2022 17:55:52 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="veps.esmtp.org:155.138.203.148";
logging-data="14201"; mail-complaints-to="abuse@misty.com"
Mail-Copies-To: never
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: ca@x2.esmtp.org (Claus Assmann)
 by: Claus Aßmann - Wed, 27 Apr 2022 17:55 UTC

Tatiana M wrote:

> # more freebsd.mc | grep virtusert

grep virtusert freebsd.mc
:-)

> FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')

Simply edit that file (save a copy first):
FEATURE(virtusertable)
and re-generate the cf file, then check:

grep virtusert /etc/mail/se*cf

make sure it does NOT use -o.

BTW: someone wrote about some bug in the FreeBSD port of sendmail,
hopefully it doesn't affect generating the cf file. Hence the check!

--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor