From owner-freebsd-questions@FreeBSD.ORG Thu Jul 22 17:28:59 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 0C1B81065670 for ; Thu, 22 Jul 2010 17:28:59 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id A459D8FC19 for ; Thu, 22 Jul 2010 17:28:58 +0000 (UTC) Received: by vws7 with SMTP id 7so478901vws.13 for ; Thu, 22 Jul 2010 10:28:57 -0700 (PDT) Received: by 10.220.122.95 with SMTP id k31mr876546vcr.153.1279819737450; Thu, 22 Jul 2010 10:28:57 -0700 (PDT) Received: from scorpio.seibercom.net (c-67-189-160-65.hsd1.ny.comcast.net [67.189.160.65]) by mx.google.com with ESMTPS id b8sm2321613vci.45.2010.07.22.10.28.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 22 Jul 2010 10:28:56 -0700 (PDT) Received: from scorpio (zeus [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: FreeBSD.user@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 535AEE54826 for ; Thu, 22 Jul 2010 13:28:55 -0400 (EDT) Date: Thu, 22 Jul 2010 13:28:54 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100722132854.07cbf915@scorpio> In-Reply-To: References: <20100720092644.28643f19aryeh.friedman%gmail.com@flosoft.no-ip.biz> <20100722112643.GA1570@ei.bzerk.org> <20100722095253.38994437@scorpio> Organization: seibercom.net X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEX3/uPVnZf2/v9ejGkqHB74++H///+cHCT3m6cgqYvfAAACbElEQVQ4jWXTQW/bIBQAYJLJuRMn8TVCss9zTdrrXJ6bHe1Ej/bossF9EpJ3nbapf3sP8JxOQ4qV8OU9HvjBROWcYNlKHtxlQ1/huBaOBiMwQtgHhbokMLIT76Acps5hvy61+6WsjkCZzNEW0+fcQ7Nl5uoPCegjjjhN5/MEABd89k9hXkQoX6cwPIDKCt8tYG5wpmdrxAyuolTPqpiVoEpVCWvl6e00RAD4JBJQnO4lvv0O4Cnd3WUGevYNFohxFYAy7jCCtW39LaQK8BgDAgiHVinVJlCiFKlcqgEHfwb1EuG+DwFGMO3oCIuJIEYoa8KJECBB+UBldgm0MQmEGz7GQr8XYRPKzYNO1zZ8mgdAu4BG5Ke/4KFboM8458UScViAAvYD93OAsu+Bc3zxCU7ZAjT74+dQv9K7oO0d1wuscop48Pc50O5bcVwgGzh/mXzaizJuAWERh8k3eaxKmxu4kV1p2XOEg3i3c8M+EKR93P0D1KATpC55vMHaGqFf5f/AwhlrhHgg8DTezopt6I3o3Qx4q4q6YaPxK8RxcClXeFGhTTS++QR6TS/oBs7l4WhzuNMubZG6hIBkF4qqZVdWczIqSrjKVF/i4o26IP2oElBGFy5CXKSnf6UWDTC6zKSqoAvzsakjjBvdzLKnmxdhY8eRsX7VSCUBdgD1hVJpx6y2OOS1DNDILYmqdWUJ+oHvd0rRvAqX5kpxQMR6yxHzPV6VlPFyWE7LKc36keNQI64gLP8Ybgtmg+zYuBl4fuI8VqW2RqDGE8Uzu7GxGa803whDdxx3bSZbRhfQUSxvmnpLZWpRFqHz7v8AvsBe0S1zv9UAAAAASUVORK5CYII= Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jul 2010 17:28:59 -0000 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" -- Jerry ✌ FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________