From owner-freebsd-questions@FreeBSD.ORG Sat Feb 25 23:55:18 2012 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 4524A106566B for ; Sat, 25 Feb 2012 23:55:18 +0000 (UTC) (envelope-from chris_bender@cellularatsea.com) Received: from wireless.icgws.com (wireless.icgws.com [198.211.94.23]) by mx1.freebsd.org (Postfix) with ESMTP id 0BC9E8FC1B for ; Sat, 25 Feb 2012 23:55:17 +0000 (UTC) Received: by wireless.icgws.com (Postfix, from userid 1003) id 58AC7180D4E; Sat, 25 Feb 2012 18:53:52 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on wireless.icgws.com X-Spam-Level: X-Spam-Status: No, score=-2.9 required=3.5 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.1 Received: from wmstp.corp.cellularatsea.com (unknown [10.200.250.42]) by wireless.icgws.com (Postfix) with SMTP id EA0BD180D14; Sat, 25 Feb 2012 18:53:48 -0500 (EST) Received: from wmstp.corp.wms.cellularatsea.com (localhost [127.0.0.1]) by wmstp.corp.cellularatsea.com (Postfix) with SMTP id 7AF71B18947; Sat, 25 Feb 2012 18:54:45 -0500 (EST) Received: from wmsexg01.corp.cellularatsea.com ([10.200.104.15] helo=wmsexg01.corp.cellularatsea.com) by wmstp.corp.wms.cellularatsea.com with SMTP (ASSP 1.9.1.1); 25 Feb 2012 18:54:45 -0500 X-Ninja-PIM: Scanned by Ninja X-MimeOLE: Produced By Microsoft Exchange V6.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable x-vipre-scanned: 07505018002D4607505165 Content-class: urn:content-classes:message Date: Sat, 25 Feb 2012 18:54:43 -0500 Message-ID: Thread-Topic: Email issues, relay failure, perhaps Jails is causing it. Thread-Index: Acz0GLnxUeXmQ3tvTFuT4bQM7AITFw== From: "Bender, Chris" To: "Bernt Hansson" X-Assp-Whitelisted: Yes () X-Assp-Envelope-From: chris_bender@cellularatsea.com X-Assp-Intended-For: bah@bananmonarki.se X-Assp-Passing: 10.200.104.15 in acceptAllMail X-Assp-ID: wmstp.corp.wms.cellularatsea.com (33021-48477) X-Assp-Version: 1.9.1.1(1.0.00) Cc: freebsd-questions@freebsd.org, Jon Radel Subject: RE: Email issues, relay failure, perhaps Jails is causing it. 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: Sat, 25 Feb 2012 23:55:18 -0000 Hi Brent Yes the system we are calling X, is jailed by another system.=20 Here is the jailer system: zs1# netstat -aptcp | grep smtp tcp4 0 0 tools2.smtp 10.156.31.20.45081 SYN_RCVD tcp4 0 0 tools2.smtp *.* LISTEN tcp4 0 0 rt3.smtp *.* LISTEN tcp4 0 0 npims.smtp *.* LISTEN tcp4 0 0 wiki.smtp *.* LISTEN tcp4 0 0 localhost.smtp *.* LISTEN I see smtp running on several systems it has jailed including system X. I see above a smtp conversation between system X and 10.156.31.20. But that is never delivered from what I have seen. I am not sure about the queues Or how to see in postfix what exactly is happening? I think a lot of this stopped working after we rebooted the jailer system. Jails really should have no affect on This it is a virtual machine essentially, at least that is my thoughts. What happen to your thought that snmp needs to run as a non mailer system? Thanks regards -----Original Message----- From: Bernt Hansson [mailto:bah@bananmonarki.se]=20 Sent: Saturday, February 25, 2012 6:11 PM To: Bender, Chris Cc: freebsd-questions@freebsd.org; Jon Radel Subject: Re: Email issues, relay failure 2012-02-25 23:29, Bender, Chris skrev: > Hi Brent, > Thanks for that, I am still digesting it. > > tools2# uname -a > FreeBSD tools2 8.2-RELEASE-p2 FreeBSD 8.2-RELEASE-p2 # > > So I put a 0 in the first two octets of the ip address below, but =20 > that IP address is A. > I am not sure what that means. I was horsing around and tried to start > sendmail On X then I tried to send an email from A. I have no idea=20 > what all that means. > > Here is netstat results: > netstat: kvm not available: /dev/mem: No such file or directory > tcp4 0 0 tools2.smtp 0.0.81.10.33679 SYN_RCVD > tcp4 0 0 tools2.smtp *.* LISTEN Ok. I'm stabbing in the dark here, but didn't you say that X was a jail system? Is every postfix process in a jail? I have never used a jailed system. So my WILD guess it's a something with jail, or jail setup. > What is non $mail_owner privileges or how to determine that? > > tools2# postconf -d | grep mail_version mail_version =3D 2.7.0=20 > milter_macro_v =3D $mail_name $mail_version > > I am still not sure about the non mail owner issue yet, but I would=20 > think because this has run in the past that it wouldn't have changed. > And how do I run smtp as a non mail user when I am root? > > Hopfully we are getting somewhere.....