Date: Fri, 23 Jul 2010 12:12:35 +0300 From: Odhiambo Washington <odhiambo@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: Help with setting up a mail server Message-ID: <AANLkTikmjQ4Q=GvGqo9AGGGAGHvGU2qjqrjpTBOgWz5=@mail.gmail.com> In-Reply-To: <20100722132854.07cbf915@scorpio> References: <20100720092644.28643f19aryeh.friedman%gmail.com@flosoft.no-ip.biz> <AANLkTin-tBrCKAHqs37p3OhafNDNuiajdkTx5XcmTNZ0@mail.gmail.com> <AANLkTinhQQ_Wt9yhz_I2spTbqQlkrf0g1Vp_iZe1Z86d@mail.gmail.com> <20100722112643.GA1570@ei.bzerk.org> <AANLkTilfN-6v428g9pxwwp68STJmfFOi_KXiTD4uNHX5@mail.gmail.com> <20100722095253.38994437@scorpio> <AANLkTimvpkpOZn2xijjULjvTPLekUG6RTYrTLgp7ADIJ@mail.gmail.com> <20100722132854.07cbf915@scorpio>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 22, 2010 at 8:28 PM, Jerry <freebsd.user@seibercom.net> wrote: > On Thu, 22 Jul 2010 17:28:00 +0300 > Odhiambo Washington <odhiambo@gmail.com> articulated: > > > On Thu, Jul 22, 2010 at 4:52 PM, Jerry <freebsd.user@seibercom.net> > wrote: > > > > > On Thu, 22 Jul 2010 13:32:36 +0100 > > > krad <kraduk@googlemail.com> 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>. > > > > [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikmjQ4Q=GvGqo9AGGGAGHvGU2qjqrjpTBOgWz5=>