From owner-freebsd-net@FreeBSD.ORG Fri Jun 27 13:28:35 2014 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 99FA2443 for ; Fri, 27 Jun 2014 13:28:35 +0000 (UTC) Received: from frv190.fwdcdn.com (frv190.fwdcdn.com [212.42.77.190]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5506D2EA8 for ; Fri, 27 Jun 2014 13:28:34 +0000 (UTC) Received: from [10.10.1.23] (helo=frv199.fwdcdn.com) by frv190.fwdcdn.com with esmtp ID 1X0Vub-0008TQ-9R for net@freebsd.org; Fri, 27 Jun 2014 16:09:53 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Cc:To:Subject:From:Date; bh=zdVcWWdRuDmcRtZP2d0wbM0N8itvJxp+dfGBwoj5TrA=; b=mFit97smbp3iGvaAAsLy+Ox7IdeSov5umU2cOYKzBj64mR52Fyu9BmxbyGX8WsNpTNq+hfrlpcXAeO3wmr1si6z6pMKCGnLCwAzmG+GvFuRcYG0tmrFPaOwcdW+ZZ4jvgkb8j04k1hJSXjrMg2coGEax1HgRkg8B/kS5+MoYTOU=; Received: from [10.10.10.35] (helo=frv35.fwdcdn.com) by frv199.fwdcdn.com with smtp ID 1X0VuQ-0008Jr-7z for net@freebsd.org; Fri, 27 Jun 2014 16:09:42 +0300 Date: Fri, 27 Jun 2014 16:09:41 +0300 From: Vladislav Prodan Subject: sendmail+tls+sasl2-8.14.9 =?UTF-8?b?0L3QsCAxMC3QutC1IGRvbuKAmXQ=?= send mail during dual stack To: net@freebsd.org X-Mailer: mail.ukr.net 5.0 Message-Id: <1403874003.599493508.q8rrp3n5@frv35.fwdcdn.com> MIME-Version: 1.0 Received: from universite@ukr.net by frv35.fwdcdn.com; Fri, 27 Jun 2014 16:09:41 +0300 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: binary Content-Disposition: inline Cc: gshapiro@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2014 13:28:35 -0000 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
> 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 /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
> od.ua > -- Vladislav V. Prodan System & Network Administrator support.od.ua