From owner-freebsd-questions@FreeBSD.ORG Thu Oct 18 19:23:30 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5D9B16A418 for ; Thu, 18 Oct 2007 19:23:30 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 2D2CD13C474 for ; Thu, 18 Oct 2007 19:23:30 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.13.8) with ESMTP id l9IJNJ43069818; Thu, 18 Oct 2007 14:23:19 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20071018142100.024efdd8@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Thu, 18 Oct 2007 14:23:02 -0500 To: dwinner@dwinner.net From: Derek Ragona In-Reply-To: <4717AF68.6010407@dwinner.net> References: <4716799B.5010502@dwinner.net> <6.0.0.22.2.20071017164928.0246f280@mail.computinginnovations.com> <4716977A.3080106@dwinner.net> <6.0.0.22.2.20071017185837.02498f88@mail.computinginnovations.com> <4717A59F.2080502@dwinner.net> <6.0.0.22.2.20071018133004.0238ca10@mail.computinginnovations.com> <4717AF68.6010407@dwinner.net> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: sendmail problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2007 19:23:30 -0000 At 02:09 PM 10/18/2007, Duane Winner wrote: >Derek Ragona wrote: > > At 01:27 PM 10/18/2007, Duane Winner wrote: > >> Derek Ragona wrote: > >> > At 06:15 PM 10/17/2007, Duane Winner wrote: > >> >> Derek Ragona wrote: > >> >> > At 04:07 PM 10/17/2007, Duane Winner wrote: > >> >> >> Hello, > >> >> >> > >> >> >> I need help to resolve a problem with my sendmail server. > >> >> >> > >> >> >> In my /var/log/maillog, I've been seeing: > >> >> >> > >> >> >> sm-mta[1753]: l9H4EoAn001753: outbound-mail-10.bluehost.com > >> >> >> [69.89.17.210] did not issue MAIL/EXPN/VRFY/ETRN during > >> connection to > >> >> >> IPv4 > >> >> >> > >> >> >> I use this server to manage mailman lists, so I knew something was > >> >> wrong > >> >> >> when I started notice that my own list posts (using a bluehost.com > >> >> >> account) were not showing up. > >> >> >> So I looked in the logs and noticed the above. > >> >> >> > >> >> >> At first I thought it might be bluehost.com acting up again, > >> but then > >> >> >> tried to send mail from a gmail.com account. Same thing: > >> >> >> > >> >> >> sm-mta[1785]: l9H4OdFq001785: py-out-1112.google.com > >> [64.233.166.176] > >> >> >> did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4 > >> >> >> > >> >> >> > >> >> >> It accepts fine from my company's external email server (different > >> >> >> domain, different network), and also accepts from my att.net email > >> >> >> account, and many others who post to my lists. > >> >> >> > >> >> >> I'm not sure where to even begin looking. Any help appreciated! > >> >> >> > >> >> >> -DW > >> >> > > >> >> > Are you running only IPv4? or are you running IPv6? Or both? > >> >> > >> >> IPv4 only. When I restart sendmail, I get the following output, > >> which if > >> >> I'm interpreting correctly, means that sendmail isn't going to try to > >> >> use IPv6 when it's running: > >> >> > >> >> Oct 17 19:13:23 mymailserver sm-mta[33703]: starting daemon (8.13.6): > >> >> SMTP+queueing@00:30:00 > >> >> Oct 17 19:13:23 mymailserver sm-mta[33703]: NOQUEUE: SYSERR(root): > >> >> opendaemonsocket: daemon IPv6: can't create server SMTP socket: > >> Protocol > >> >> not supported > >> >> Oct 17 19:13:23 mymailserver sm-mta[33703]: NOQUEUE: SYSERR(root): > >> >> opendaemonsocket: daemon IPv6: optional socket disabled > >> >> Oct 17 19:13:23 mymailserver sm-msp-queue[33707]: starting daemon > >> >> (8.13.6): queueing@00:30:00 > >> > > >> > It looks like you are trying to run sendmail on IPv6. You can turn on > >> > or off support for IPv6 in the DaemonPortOptions in your *.cf files in > >> > /etc/mail. I would check those and also check your IP stack > >> > configuration doing: > >> > ifconfig -a > >> > >> Still broken; I disabled IPv6 in my cf's, and sendmail doesn't even try > >> to listen on IPv6 now when I restart it. > >> I don't think it did anyway before, it was just trying to but I don't > >> have IPv6 in my stack since I disable it in the kernel config, so it > >> just ignored ipv6 after startup. > >> > >> I think something else is going on. The weird thing is that it's just > >> certain mail hosts that it's rejecting. > > > > Check the DNS forward and reverse of the rejected hosts. It may be a > > DNS issue. > > > > -Derek > > >Can't find much wrong with DNS: > >FYI: I had dnsbl enabled (which worked fine for the past couple years on >this server), but disabled that too, and still no luck. > >dig -x 69.89.18.10 > >; <<>> DiG 9.3.2 <<>> -x 69.89.18.10 >;; global options: printcmd >;; Got answer: >;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48077 >;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 2 > >;; QUESTION SECTION: >;10.18.89.69.in-addr.arpa. IN PTR > >;; ANSWER SECTION: >10.18.89.69.in-addr.arpa. 86279 IN PTR >outbound-mail-41.bluehost.com. > >;; AUTHORITY SECTION: >18.89.69.in-addr.arpa. 86279 IN NS ns3.bluehost.com. >18.89.69.in-addr.arpa. 86279 IN NS ns1.bluehost.com. >18.89.69.in-addr.arpa. 86279 IN NS ns2.bluehost.com. > >;; ADDITIONAL SECTION: >ns1.bluehost.com. 171739 IN A 74.220.195.31 >ns2.bluehost.com. 171739 IN A 69.89.16.4 > >;; Query time: 0 msec >;; SERVER: 10.20.237.8#53(10.20.237.8) >;; WHEN: Thu Oct 18 15:05:42 2007 >;; MSG SIZE rcvd: 171 > > > >dig -x 64.233.166.177 > >; <<>> DiG 9.3.2 <<>> -x 64.233.166.177 >;; global options: printcmd >;; Got answer: >;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30043 >;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4 > >;; QUESTION SECTION: >;177.166.233.64.in-addr.arpa. IN PTR > >;; ANSWER SECTION: >177.166.233.64.in-addr.arpa. 85685 IN PTR py-out-1112.google.com. > >;; AUTHORITY SECTION: >166.233.64.in-addr.arpa. 85304 IN NS ns1.google.com. >166.233.64.in-addr.arpa. 85304 IN NS ns2.google.com. >166.233.64.in-addr.arpa. 85304 IN NS ns3.google.com. >166.233.64.in-addr.arpa. 85304 IN NS ns4.google.com. > >;; ADDITIONAL SECTION: >ns1.google.com. 171704 IN A 216.239.32.10 >ns2.google.com. 171704 IN A 216.239.34.10 >ns3.google.com. 171704 IN A 216.239.36.10 >ns4.google.com. 171704 IN A 216.239.38.10 > >;; Query time: 0 msec >;; SERVER: 10.20.237.8#53(10.20.237.8) >;; WHEN: Thu Oct 18 15:07:09 2007 >;; MSG SIZE rcvd: 217 > I would try up-ing the logging for sendmail and see what the logs show with one of these rejects. I usually add: -O LogLevel=80 to my sendmail commands in rc.conf. You will get bigger logs and lots of stuff there, but it should show what is failing better. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.