ports/188578: Sendmail 8.14.8 from ports ignores virtusertable

Paolo Simoncelli simonp at email.it
Sun Apr 13 23:40:02 UTC 2014


>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 at 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 at mydomain.com                      simonp


#sendmail -d0.1 -bv mybox at 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 at 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 at 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 at 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:


More information about the freebsd-ports-bugs mailing list