From owner-freebsd-questions@FreeBSD.ORG Tue Jul 20 14:16:45 2010 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 62A741065673 for ; Tue, 20 Jul 2010 14:16:45 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 3FA0C8FC1B for ; Tue, 20 Jul 2010 14:16:45 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1ObDcc-00091s-Nz; Tue, 20 Jul 2010 10:16:44 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id AB40242B87EE; Tue, 20 Jul 2010 10:16:38 -0400 (EDT) Message-ID: <4C45AFC4.7020304@FreeBSD.org> Date: Tue, 20 Jul 2010 10:16:36 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "Aryeh M. Friedman" References: <20100720092644.28643f19aryeh.friedman%gmail.com@flosoft.no-ip.biz> In-Reply-To: <20100720092644.28643f19aryeh.friedman%gmail.com@flosoft.no-ip.biz> X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.3 (/) Cc: freebsd-questions@freebsd.org Subject: Re: Help with setting up a mail server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2010 14:16:45 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Aryeh M. Friedman wrote: > I am a consultant and was retained by my client to setup qmail or exim > on a VPS running 8.0-STABLE (i386). After setting up the DNS (A record > and MX record) we have been unable to send or receive mail. The client > has/had a working script for installing qmail on 7.1-STABLE but it > seems to not work on 8.0-STABLE. They are using the same VPS provider > who this 7.1-STABLE install script worked under. I have tried > everything I can think of to make it work including asking obvious > questions on -questions@. > > I informed the client that the task is likely beyond me capabilities > but I would help recruit someone who would be able to do it at a > reasonable fee paid to them (I am acting as a no cost middle man on > this [I am helping the client for free since I was unable to get it > done]). > > Please send any ideas and/or offers to do the job Hi Aryeh, Here are some things that I do to troubleshoot problems like this: - - Check if there are any firewalls (client-side or server-side) that block the ports, tcp 25/587 and tcp 110/143 in this case. If you're using POP3 or IMAP over SSL, check tcp 993 and tcp 995, too. - - Check if the listening ports are ready to accept connections with the command "netstat -an | grep LISTEN". Do you see the ports you expect? - - Dumb question - are the mail server processes running? - - Assuming the processes are running and the ports are listening, what happens when you telnet to them from within the machine, e.g.: telnet localhost 25 telnet localhost 110 telnet localhost 143 - - Can you ping the mail server hostname? - - Use "dig" to do lookups on your A and MX records. Did you bump the DNS serial number and reload the DNS server after you added the records? - - If that works, now try telnetting to the same ports from an outside network using the DNS hostnames, e.g.: telnet my.mail.server.com 25 ... - - Please send me your hostname privately, if you like, and I can check DNS and ports from here. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFMRa/E0sRouByUApARAsZwAJwIB6hXWwi2x2Wys94WyjHUJfF4fgCglmiR RYfOIA1ePOLwXcWj1xRrdFk= =j2tU -----END PGP SIGNATURE-----