Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Apr 2014 23:30:05 GMT
From:      Paolo Simoncelli <simonp@email.it>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/188578: Sendmail 8.14.8 from ports ignores virtusertable
Message-ID:  <201404132330.s3DNU5tw061218@cgiserv.freebsd.org>
Resent-Message-ID: <201404132340.s3DNe1FL069444@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188578
>Category:       ports
>Synopsis:       Sendmail 8.14.8 from ports ignores virtusertable
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 13 23:40:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Paolo Simoncelli
>Release:        FreeBSD 9.2-RELEASE GENERIC  amd64
>Organization:
>Environment:
FreeBSD mailer.mydomain.com 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013     root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
After installing sendmail from ports
(either /usr/ports/mail/sendmail-sasl or /usr/ports/mail/sendmail)
without touching the default configuration
sendmail does not deliver mail to local mailboxes
while still delivering to local users

>How-To-Repeat:
=======================================================================
BEFORE: (upon a fresh system installation)

#cat /etc/mail/virtusertable

#
# --- Virtusertable 2014-04-13 22:26:07 -----------------
#

mybox@mydomain.com                      simonp


#sendmail -d0.1 -bv mybox@mydomain.com
Version 8.14.7
 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
                NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SCANF
                STARTTLS TCPWRAPPERS USERDB XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = mailer
  (canonical domain name) $j = mailer.mydomain.com
         (subdomain name) $m = mydomain.com
              (node name) $k = mailer.mydomain.com
========================================================

mybox@mydomain.com... deliverable: mailer local, user simonp

=======================================================================
AFTER:
#cd usr/ports/mail/sendmail-sasl  (or cd /usr/ports/mail/sendmail-sasl)
#make
#make install
  edit /etc/mail/mailer.conf to point to /usr/local/sbin/sendmail
                              instead of /usr/libexec/sendmail/sendmail
#cd /etc/mail 
#rm *.db
#touch access aliases virtusertable ermes.altapuglia.it.mc
#make
#make install
#make restart


# sendmail -d0.1 -bv mybox@mydomain.com
Version 8.14.8
 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
                NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PICKY_HELO_CHECK
                PIPELINING SCANF TCPWRAPPERS USERDB XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = mailer
  (canonical domain name) $j = mailer.mydomain.com
         (subdomain name) $m = mydomain.com
              (node name) $k = mailer.mydomain.com
========================================================

mybox@mydomain.com... User unknown

# sendmail -d0.1 -bv simonp
Version 8.14.8
 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
                NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PICKY_HELO_CHECK
                PIPELINING SCANF TCPWRAPPERS USERDB XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = mailer
  (canonical domain name) $j = mailer.mydomain.com
         (subdomain name) $m = mydomain.com
              (node name) $k = mailer.mydomain.com
========================================================

simonp... deliverable: mailer local, user simonp





>Fix:

if you do not need sendmail-sasl
revert to Version 8.14.7

(just edit /etc/mail/mailer.conf to point back to /usr/libexec/sendmail/sendmail)

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404132330.s3DNU5tw061218>