From owner-freebsd-questions@FreeBSD.ORG Mon Jun 12 14:50:51 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A66116A41F for ; Mon, 12 Jun 2006 14:50:51 +0000 (UTC) (envelope-from insane@siol.com) Received: from mta1.siol.net (mta1.siol.net [193.189.160.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5286F43D46 for ; Mon, 12 Jun 2006 14:50:49 +0000 (GMT) (envelope-from insane@siol.com) Received: from edge2.siol.net ([10.10.10.211]) by mta1.siol.net with ESMTP id <20060612145048.LSCZ4387.mta1.siol.net@edge2.siol.net> for ; Mon, 12 Jun 2006 16:50:48 +0200 Received: from francibook ([193.95.199.197]) by edge2.siol.net with ESMTP id <20060612145047.EGFC4459.edge2.siol.net@francibook> for ; Mon, 12 Jun 2006 16:50:47 +0200 From: "insane" To: Date: Mon, 12 Jun 2006 16:50:38 +0200 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcaOL5G3YxSA5nyFSFmKeKC3FRVMjA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Message-Id: <20060612145047.EGFC4459.edge2.siol.net@francibook> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: qmail and hostnames 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: Mon, 12 Jun 2006 14:50:51 -0000 Hello. I have one problem: I dont know how to correctly configure qmail's hostnames, about primary domain for mail server (uclmd.net). I have router, whos got internal (192.168.99.1) and external/ global (193.93.193.193) IP. On that router i have port 25 forwarded to the main server with qmail (192.168.99.99/bsd.rxvkt.net). The domain (uclmd.net) is pointed to 193.93.193.193 like this: 1. mail. rxvkt.net A 193.93.193.193, 2. rxvkt.net MX 10:mail.rxvkt.net, 3. rxvkt.net A 193.93.193.193. (I think that this is correct, but im not sure.) So i dont how to configure qmail around setting host with './config', becouse when i do './config' it shows me this: Your hostname is bsd.rxvkt.net. hard error Sorry, I couldn't find your host's canonical name in DNS. You will have to set up control/me yourself. (i expected this problem, because server is behind NAT.) So, i tried './config-fast rxvkt.net', and it shows me this: Your fully qualified host name is rxvkt.net. Putting dealer.si into control/me... Putting dealer.si into control/defaultdomain... Putting dealer.si into control/plusdomain... Putting dealer.si into control/locals... Putting dealer.si into control/rcpthosts... Now qmail will refuse to accept SMTP messages except to rxvkt.net. Make sure to change rcpthosts if you add hosts to locals or virtualdomains! The point is, that qmail doesnt want to deliver any mail and i think that problem is maybe here. Thank you for answer, Have a nice day roy