From owner-freebsd-questions@FreeBSD.ORG Wed Jul 21 18:35:50 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 19A8F106567B for ; Wed, 21 Jul 2010 18:35:50 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 94D458FC13 for ; Wed, 21 Jul 2010 18:35:49 +0000 (UTC) Received: by fxm13 with SMTP id 13so4219010fxm.13 for ; Wed, 21 Jul 2010 11:35:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=c2cra8P5kzhGwWUP09eqD5P3iHJ7ujYemEqtBwFU428=; b=Nc4FNNM25KJ2ftFc5JCGA6O+xzlmD7d6H2patmOaOT50Xi36IoELpGVccDConBhL5P 7BJn3ymPwQzZpnRS1ZOmtHUO9yHrRLnyZ/CI/EZYgktr/U9DyikxaT/vKdh27aaEevZW QYV1Samdz4QgM45c5+AMNAGpcBM79nKzG5MjI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=bBSWAV3iiasvZEWEOQ+oKaszn1ZXup9Ye3QbYH/rfTTAPrDDlqKnF6y4SX8CX+0ZPn eZC7pAueWsUbOm+tKyh+vwEC5yif6FxUFORsxCjqtQ5nSBFfZDiSn7E19z+PKLlo3000 eWBPhW/UEQm0M4c0PK4ZDXu10jKGJ8eyF3SuA= MIME-Version: 1.0 Received: by 10.239.158.71 with SMTP id t7mr60897hbc.61.1279737348165; Wed, 21 Jul 2010 11:35:48 -0700 (PDT) Received: by 10.239.160.201 with HTTP; Wed, 21 Jul 2010 11:35:48 -0700 (PDT) In-Reply-To: References: <20100720092644.28643f19aryeh.friedman%gmail.com@flosoft.no-ip.biz> Date: Wed, 21 Jul 2010 19:35:48 +0100 Message-ID: From: krad To: Cristiano Deana Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "Aryeh M. Friedman" , FreeBSD-Questions Subject: Re: Help with setting up a mail server 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: Wed, 21 Jul 2010 18:35:50 -0000 On 21 July 2010 16:24, Cristiano Deana wrote: > On Tue, Jul 20, 2010 at 3:26 PM, 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. > > steps: > > a) check if your dns are correct: > # dig yourdomain.com mx > (eg:) > mail.yourdomain.com > # telnet mail.yourdomain.com 25 > > does it reply or not? > > a) reply > check if your mta is cofigured correctly: > telnet mail.yourdomain.com 25 # write: > ehlo gmail.com > mail from: aryeh.friedman@gmail.com > rcpt to: example_user@yourdomain.com > data > Subject: Test > . > > does it reply with a > 2XX code? with a 4XX code? 5XX code? > > b) doesn't reply > does mail.yourdomain.com resolve to your mailserver's IP? > is your daemon runnig? > > p.s > if you give us more REAL information (domain, ip, etc) we can hel you more. > > > > -- > Cris, member of G.U.F.I > Italian FreeBSD User Group > http://www.gufi.org/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > while we are on the topic of debugging I would recomend exim as an MTA. I manage a few large enterprise mail systems with 10M + active accounts. A lot of them are legacy systems that we gained through acquisitions. I generally have to support them until we can get the accounts migrated onto the main platform. They are a mixture of exim, postfix, qmail, and sendmail, and quite often are in a poor state when we first get our hands on them. I have to say when you are getting mail routing issues exim is by the far the easiest to debug mainly due to the -bt option. When you combine it with the debug flag it produced a very detailed output on the mail routing. I have never found such a feature in all the other MTA's above. The configs are also very readable unlike sendmail.