Help with setting up a mail server

Odhiambo Washington odhiambo at gmail.com
Fri Jul 23 09:12:56 UTC 2010


On Thu, Jul 22, 2010 at 8:28 PM, Jerry <freebsd.user at seibercom.net> wrote:

> On Thu, 22 Jul 2010 17:28:00 +0300
> Odhiambo Washington <odhiambo at gmail.com> articulated:
>
> > On Thu, Jul 22, 2010 at 4:52 PM, Jerry <freebsd.user at seibercom.net>
> wrote:
> >
> > > On Thu, 22 Jul 2010 13:32:36 +0100
> > > krad <kraduk at 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 at mail ~]$ ls -al /usr/local/sbin/sendmail
> > -rwxr-xr-x  1 root  wheel  202361 Jul 22 17:23 /usr/local/sbin/sendmail
> > [wash at mail ~]$ /usr/local/sbin/sendmail -bv odhiambo at 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 at mail ~]$ /usr/local/sbin/sendmail -d -bv odhiambo at gmail.com
> > sendmail: illegal option -- d
> > sendmail: illegal option -- d
> > sendmail: fatal: usage: sendmail [options]
> >
> > [wash at mail ~]$ exim -bt odhiambo at gmail.com
> > odhiambo at 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


More information about the freebsd-questions mailing list