Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2014 16:09:41 +0300
From:      Vladislav Prodan <universite@ukr.net>
To:        net@freebsd.org
Cc:        gshapiro@freebsd.org
Subject:   sendmail+tls+sasl2-8.14.9 =?UTF-8?b?0L3QsCAxMC3QutC1IGRvbuKAmXQ=?= send mail during dual stack
Message-ID:  <1403874003.599493508.q8rrp3n5@frv35.fwdcdn.com>

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

Hello!

My sendmail+tls+sasl2-8.14.9 can’t send mail to ipv4 only post hosts, and sends to gmail (dualstack – ipv4 and ipv6) through ipv4!

   ----- Transcript of session follows -----
553 5.3.5 mxs.mail.ru. config error: mail loops back to me (MX problem?)
554 5.3.5 Local configuration error
553 5.3.5 mxs.ukr.net. config error: mail loops back to me (MX problem?)
554 5.3.5 Local configuration error

Before update on FreeBSD 10.0, was installed sendmail+tls+sasl2-8.14.4_2, without any problem.

sendmail+tls+sasl2-8.14.9 :

# sockstat | grep sendmail
smmsp    sendmail   26131 4  dgram  -> /var/run/log
root     sendmail   26125 4  dgram  -> /var/run/logpriv
root     sendmail   26125 5  tcp4   *:25                  *:*
root     sendmail   26125 6  tcp6   *:25                  *:*
root     sendmail   26125 7  tcp4   *:587                 *:*
root     sendmail   26125 8  tcp6   *:587                 *:*

# echo '$=m' | sendmail -bt -d0.4
Version 8.14.9
 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
                NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PICKY_HELO_CHECK
                PIPELINING SASLv2 SCANF SOCKETMAP STARTTLS TCPWRAPPERS USERDB
                XDEBUG
Canonical name: otrada.od.ua
 UUCP nodename: mary-teresa.otrada.od.ua
        a.k.a.: mary-teresa.otrada.od.ua
        a.k.a.: [IPv6:2001:470:28:140::5]

============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = otrada
  (canonical domain name) $j = otrada.od.ua
         (subdomain name) $m = od.ua
              (node name) $k = mary-teresa.otrada.od.ua
========================================================

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> od.ua
>

#egrep -v '^dnl|^$|^#' mary-teresa.otrada.od.ua.mc
divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.34 2007/04/23
22:23:54 gshapiro Exp $')
OSTYPE(freebsd6)
DOMAIN(generic)
INPUT_MAIL_FILTER(`greylist',
`S=local:/var/milter-greylist/milter-greylist.sock, F=T, T=R:30s')
INPUT_MAIL_FILTER(`spamassassin',
`S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m')
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,
F=, T=S:4m;R:4m')
define(`confMILTER_LOG_LEVEL',`16')
define(`confMILTER_MACROS_HELO', confMILTER_MACROS_HELO``, {verify}'')dnl
define(`confMILTER_MACROS_ENVRCPT',`r, v, Z')dnl
define(`confMILTER_MACROS_CONNECT', `j, {if_addr}')
define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')
define(`confMILTER_MACROS_ENVRCPT', confMILTER_MACROS_ENVRCPT``, {greylist}'')
define(`confINPUT_MAIL_FILTERS', `greylist,spamassassin,clmilter')
define(`confSMTP_LOGIN_MSG', `exchange.srv.local Microsoft MAIL
Service, Version: 6.0.3790.1830 ready')dnl
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confDEF_AUTH_INFO', `/etc/mail/auth-info')dnl
FEATURE(`delay_checks')
FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
define(`confCR_FILE', `/etc/mail/relay-domains')dnl
define(`STATUS_FILE',               `/etc/mail/statistics')dnl
define(`confHOST_STATUS_DIRECTORY', `/etc/mail/host_status')dnl
define(`confCW_FILE', `-o /etc/mail/local-host-names')
define(`confMAX_MESSAGE_SIZE',`25000000')
DAEMON_OPTIONS(`Name=IPv4, Family=inet')
DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')
FEATURE(`no_default_msa')dnl
DAEMON_OPTIONS(`Port=587, Name=MSA-IPv4, M=Ea, Family=inet')
DAEMON_OPTIONS(`Port=587, Name=MSA-IPv6, M=Ea, Family=inet6')
define(`confDONT_PROBE_INTERFACES')
define(`confBIND_OPTS', `WorkAroundBrokenAAAA')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
MAILER(local)
MAILER(smtp)

# egrep -v '^dnl|^$|^#' mary-teresa.otrada.od.ua.submit.mc
divert(-1)
divert(0)dnl
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.7.2.2 2010/01/31 19:04:52 gshapiro Exp $')
define(`confCF_VERSION', `Submit')dnl
define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
define(`confTIME_ZONE', `USE_TZ')dnl
define(`confDONT_INIT_GROUPS', `True')dnl
define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl
FEATURE(`msp', `[127.0.0.1]')dnl

#cat local-host-names
mary-teresa.otrada.od.ua
otrada.od.ua
mx.otrada.od.ua
localhost
otrada.local

# host localhost
localhost.otrada.od.ua has address 127.0.0.1

# cat /etc/hosts
::1                     localhost localhost.my.domain
127.0.0.1               localhost localhost.my.domain

# telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 exchange.srv.local ESMTP Microsoft MAIL Service, Version: 6.0.3790.1830 ready
^]
telnet>

Working version sendmail - sendmail+tls+sasl2-8.14.4_2 :


FreeBSD 10.0-STABLE #0: Fri Apr 25 12:30:14 EEST 2014
sendmail+tls+sasl2-8.14.4_2 Reliable, highly configurable mail transfer agent with util

#  echo '$=m' | sendmail -bt -d0.4
Version 8.14.4
 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
                NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PICKY_HELO_CHECK
                PIPELINING SASLv2 SCANF SOCKETMAP STARTTLS TCPWRAPPERS USERDB
                XDEBUG
Canonical name: otrada.od.ua
 UUCP nodename: mary-teresa.otrada.od.ua
        a.k.a.: mary-teresa.otrada.od.ua
        a.k.a.: [IPv6:2001:470:28:140::5]
        a.k.a.: [89.209.81.54]

============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = otrada
  (canonical domain name) $j = otrada.od.ua
         (subdomain name) $m = od.ua
              (node name) $k = mary-teresa.otrada.od.ua
========================================================

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> od.ua
>

--
 Vladislav V. Prodan
 System & Network Administrator
 support.od.ua



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