From owner-freebsd-net Fri Apr 27 0: 0:44 2001 Delivered-To: freebsd-net@freebsd.org Received: from relay1.macomnet.ru (relay1.macomnet.ru [195.128.64.10]) by hub.freebsd.org (Postfix) with ESMTP id A3E4137B422 for ; Fri, 27 Apr 2001 00:00:35 -0700 (PDT) (envelope-from maxim@macomnet.ru) Received: from news1.macomnet.ru (news1.macomnet.ru [195.128.64.14]) by relay1.macomnet.ru (8.11.3/8.11.3) with ESMTP id f3R72JH8817918; Fri, 27 Apr 2001 11:02:19 +0400 (MSD) Date: Fri, 27 Apr 2001 10:59:12 +0400 (MSD) From: Maxim Konovalov To: Sean Farley Cc: Subject: Re: Sendmail outgoing bind() fails on PPP In-Reply-To: <20010426205613.L28093-100000@thor.farley.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, On Thu, 26 Apr 2001, Sean Farley wrote: > I previously posted this on comp.mail.sendmail and freebsd-questions. > After no answer and some extra testing, I believe this probably belongs > here. > > -------- > > I need some help debugging a problem I am having with setting up Sendmail. > Previously, I have been using Exim, but I have decided to try my hand with > a different MTA. :) > > Here is the error I just cannot seem to get around (with indenting): > > Apr 21 16:10:14 gw sendmail[1985]: starting daemon (8.11.2): > SMTP+queueing@00:30:00 > Apr 21 16:10:15 gw sendmail[1986]: f3LK0XL00702: SYSERR(root): > makeconnection: cannot bind socket [216.140.158.72]: > Invalid argument > Apr 21 16:10:15 gw sendmail[1986]: f3LK0XL00702: to, > delay1:09:42, xdelay0:00:01, maileresmtp, priR80326, > relaymail.blackhat.net. [216.140.158.10], dsn4.0.0, > stat=Deferred: Invalid argument > > My setup consists of FreeBSD-4.2, Sendmail v8.11.2, a multi-home system > with a cable modem, analog modem, and a LAN. > > I only wish it to receive on the LAN (192.168.1.0) and the analog modem > (216.140.158.72). This is easy to change (DAEMON_OPTIONS), but I just > can't get confCLIENT_OPTIONS to work. From looking at sendmail.cf, I can > see that it is being set: > > # SMTP client options > O ClientPortOptions=Family=inet, Addr=216.140.158.72 > > Here are my files, interfaces, and routing tables. I have Exim working > with this, but I would like to get sendmail running. Also, I use IP > Filter to actually route the packets from the cable modem over to the > analog modem, but this is not the problem. > > > sendmail.mc: > divert(-1) > # Lots of comments. :) > divert(0)dnl > VERSIONID(`@(#)freebsd.mc $Revision: 1.4.2.1 $') > OSTYPE(bsd4.4) > DOMAIN(generic) > FEATURE(relay_entire_domain) > FEATURE(`dnsbl') > FEATURE(`always_add_domain') > > define(`confCLIENT_OPTIONS', `Addr=216.140.158.72') > define(`confNO_RCPT_ACTION', `add-to-undisclosed') > define(`confPRIVACY_FLAGS', `authwarnings,novrfy') > define(`confDONT_PROBE_INTERFACES', `true') > MODIFY_MAILER_FLAGS(`LOCAL', `+S') > > dnl Mailers. > MAILER(local) > MAILER(smtp) > > > ifconfig -a: > vx0: flags=8843 mtu 1500 > inet6 fe80::220:afff:fef0:e85d%vx0 prefixlen 64 scopeid 0x1 > inet 66.25.132.129 netmask 0xfffffc00 broadcast 255.255.255.255 > ether 00:20:af:f0:e8:5d > ed0: flags=8843 mtu 1500 > inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 > inet6 fe80::200:c0ff:fec2:cfdd%ed0 prefixlen 64 scopeid 0x2 > inet6 fec0::1:200:c0ff:fec2:cfdd prefixlen 64 > inet6 fec0:0:0:1:: prefixlen 64 anycast > ether 00:00:c0:c2:cf:dd > faith0: flags=8041 mtu 1500 > inet6 fe80::220:afff:fef0:e85d%faith0 prefixlen 64 scopeid 0x3 > gif0: flags=8010 mtu 1280 > gif1: flags=8010 mtu 1280 > gif2: flags=8010 mtu 1280 > gif3: flags=8010 mtu 1280 > lo0: flags=8049 mtu 16384 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > ppp0: flags=8010 mtu 1500 > stf0: flags1 mtu 1280 > tun0: flags=8051 mtu 1500 > inet6 fe80::220:afff:fef0:e85d%tun0 --> :: prefixlen 64 scopeid 0xb > inet 216.140.158.72 --> 216.140.158.15 netmask 0xffffff00 > Opened by PID 139 > Well, I have had the same problem. The solution was in removing IPv6 support. I have not done any futher investigations. HTH - -maxim -- Maxim Konovalov, MAcomnet, Internet-Intranet Dept., system engineer phone: +7 (095) 796-9079, mailto: maxim@macomnet.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message