From owner-freebsd-questions Fri Oct 12 8:23:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from 636281.com (adsl-64-168-10-20.dsl.scrm01.pacbell.net [64.168.10.20]) by hub.freebsd.org (Postfix) with ESMTP id 6B13E37B403 for ; Fri, 12 Oct 2001 08:23:28 -0700 (PDT) Received: from tml (13.636281.com [64.168.10.19]) by 636281.com (Postfix) with ESMTP id 91AF72439B; Fri, 12 Oct 2001 08:14:57 -0700 (PDT) From: "Dominic" To: "'Drew Tomlinson'" Cc: Subject: RE: Postfix Refusing Mail - Bad Network Config? Date: Fri, 12 Oct 2001 08:22:04 -0700 Message-ID: <002c01c15331$a5d8b430$130aa840@tml> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <002101c1531f$f5274e50$0301a8c0@bigdaddy> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Did u disable sendmail in rc.conf, b4 make install postfix? U also need qpopper for pop-mail. www.postfix.org show some good info. In how to config the main.cf for postfix You start or stop postfix with : postfix start, postfix stop , you can learn more from those man/info file After that you probally will have relay problem, then go www.postfix.org FAQ page. It show you how to fix that. Dominic > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of > Drew Tomlinson > Sent: Friday, October 12, 2001 6:15 AM > To: questions@freebsd.org > Subject: Postfix Refusing Mail - Bad Network Config? > > > I'm at a loss as to where to look next. I'm running Postfix on my > mail server and it accepts mail from everywhere (AFAIK) except my > firewall. Both the mail server and firewall are running 4.4 FBSD. > The firewall is using the default Sendmail. Postfix was built from > ports about two weeks ago (I can't seem to locate the command to show > the version). > > While I was building the firewall, my network was configured as such: > > ISP > | > | IP is DHCP > | > ADSL Modem/Router (provides DNS & NAT) > | > |192.168.1.1 > | > ----------------- > | | > Firewall Server > 192.168.1.2 192.168.1.4 > > On the firewall, I setup an alias to forward all root mail to my > account on the mail server. In this config, mail was passed > correctly. Once the firewall was configured, I plugged in it's second > network card and now my network layout is like this: > > ISP > | > | IP is DHCP > | > ADSL Modem/Router (still provides DNS & NAT) > |192.168.10.1 > | > |192.168.10.2 > Firewall > | > |192.168.1.2 > | > Server 192.168.1.4 > > But now mail is "refused" from the firewall as shown in this command: > > blacksheep# echo testing | sendmail -v > Recipient names must be specified > blacksheep# echo testing | sendmail -v drew@mykitchentable.net > drew@mykitchentable.net... Connecting to blacklamb.mykitchentable.net. > via esmtp > > And this entry in the firewall mail log: > > Oct 12 05:51:15 blacksheep sendmail[5877]: f9CCpEF05877: > to=drew@mykitchentable.net, ctladdr=tomlinson_dr (1000/0), > delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30008, > relay=blacklamb.mykitchentable.net. [207.173.226.116], > dsn=4.0.0,stat=Deferred: Connection refused by > blacklamb.mykitchentable.net. > > However, blacklamb.mykitchentable.net is reachable from the firewall: > > blacksheep# ping blacklamb.mykitchentable.net > PING blacklamb (192.168.1.4): 56 data bytes > 64 bytes from 192.168.1.4: icmp_seq=0 ttl=64 time=1.335 ms > > Yet another interesting piece is that there are no corresponding > entries in the mail log on the mail server. Thus I wonder where the > firewall is actually attempting to send my mail? What can I do next > to track down this problem? I may have missed something pretty basic > as all of this is new to me. So please feel free to point out that > which may be obvious to most. > > Thanks for any assistance, > > Drew > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message