From owner-freebsd-questions@FreeBSD.ORG Fri Jul 23 09:12:56 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 5980D1065678 for ; Fri, 23 Jul 2010 09:12:56 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 06F7A8FC0C for ; Fri, 23 Jul 2010 09:12:55 +0000 (UTC) Received: by qwk3 with SMTP id 3so41370qwk.13 for ; Fri, 23 Jul 2010 02:12:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=24YWv30HjMnlIlXspHme6Y0y1a16TBg2NTnLWat0leg=; b=d78Jt0uG20nyFEX8cjKqw5T9atyeFx0MZ2FUw3rwC1yrQzLdVASG+0FOYEEi3vHDv3 +egr7M9t6OpPeDHqbMwfx8Yb1vjAV6YmepKW0uw+FnTafqTBBnsTdTCLtYMNXvg3llQ8 lH0vSdXEo9m7uZLlpj8pp99QOuHHixtB6a6PI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=kq/3Ayt3PARqW4lDLSgXIDIYUstwS9r1NXMDpRroCGrREScrwHOcotKkmBzNuNngRY yfmYv/BjOlqozSN7uMbtWfUFUflwAvqVCyqGwG4MgI/Gv82aBFcSTdLzSyWbTh9Xg0Hx QypE90IwysPtDpcSomI0I2DfLZLPGupnUt9JA= Received: by 10.224.10.70 with SMTP id o6mr2241599qao.72.1279876375214; Fri, 23 Jul 2010 02:12:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.183.211 with HTTP; Fri, 23 Jul 2010 02:12:35 -0700 (PDT) In-Reply-To: <20100722132854.07cbf915@scorpio> References: <20100720092644.28643f19aryeh.friedman%gmail.com@flosoft.no-ip.biz> <20100722112643.GA1570@ei.bzerk.org> <20100722095253.38994437@scorpio> <20100722132854.07cbf915@scorpio> From: Odhiambo Washington Date: Fri, 23 Jul 2010 12:12:35 +0300 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Fri, 23 Jul 2010 09:12:56 -0000 On Thu, Jul 22, 2010 at 8:28 PM, Jerry wrote: > On Thu, 22 Jul 2010 17:28:00 +0300 > Odhiambo Washington articulated: > > > On Thu, Jul 22, 2010 at 4:52 PM, Jerry > wrote: > > > > > On Thu, 22 Jul 2010 13:32:36 +0100 > > > krad articulated: > > > > > > > > > > yep I know exim is sendmail cli compatible, but the output from > sendmail > > > is > > > > not the same on exim (interactive prompt). You can probably get > similar > > > > output from sendmail, but with most things sendmail it is archaic and > > > > obfuscated. > > > > > > With Postfix installed, using "sendmail -bv" works quite well. > > > > > > > With Postfix installed and configured or just installed? I just > installed. > > > > [wash@mail ~]$ ls -al /usr/local/sbin/sendmail > > -rwxr-xr-x 1 root wheel 202361 Jul 22 17:23 /usr/local/sbin/sendmail > > [wash@mail ~]$ /usr/local/sbin/sendmail -bv odhiambo@gmail.com > > postdrop: warning: unable to look up public/pickup: No such file or > > directory > > Mail Delivery Status Report will be mailed to . > > > > [wash@mail ~]$ /usr/local/sbin/sendmail -d -bv odhiambo@gmail.com > > sendmail: illegal option -- d > > sendmail: illegal option -- d > > sendmail: fatal: usage: sendmail [options] > > > > [wash@mail ~]$ exim -bt odhiambo@gmail.com > > odhiambo@gmail.com > > router = dnslookup, transport = remote_smtp > > host gmail-smtp-in.l.google.com [209.85.227.27] MX=5 > > host alt1.gmail-smtp-in.l.google.com [74.125.39.27] MX=10 > > host alt2.gmail-smtp-in.l.google.com [74.125.53.27] MX=20 > > host alt3.gmail-smtp-in.l.google.com [74.125.95.27] MX=30 > > host alt4.gmail-smtp-in.l.google.com [74.125.65.27] MX=40 > > > > I cannot post the output that comes with -d here, it's so much that > trying > > to feed the trawl will get it chocked:-) > > > > > > > For starters, you are using the wrong sendmail. You need to use the > Postfix 'sendmail' version. > > $ which sendmail > /usr/sbin/sendmail > > I have Postfix installed and running. Sorry, I thought that was obvious. > > Typing: "man sendmail" should show this at the top of the page: > > "NAME sendmail - Postfix to Sendmail compatibility interface" > > If not, then something is configured incorrectly. By the way, in order > to run Postfix, you have to completely shutdown the base system's > 'sendmail' > > cat /etc/rc.conf > > # Shutdown sendmail > sendmail_enable="NO" > sendmail_msp_queue_enable="NO" > sendmail_outbound_enable="NO" > sendmail_submit_enable="NO" > > #Start Postfix > postfix_enable="YES" > > Looks like you are trying to coax me into running Postfix! I am an Exim-er by blood :-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube