On Thu, 22 Jul 2010 17:28:00 +0300 Odhiambo Washington <odhia...@gmail.com> articulated:
> On Thu, Jul 22, 2010 at 4:52 PM, Jerry <freebsd.u...@seibercom.net> wrote: > > > On Thu, 22 Jul 2010 13:32:36 +0100 > > krad <kra...@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. > > [w...@mail ~]$ ls -al /usr/local/sbin/sendmail > -rwxr-xr-x 1 root wheel 202361 Jul 22 17:23 /usr/local/sbin/sendmail > [w...@mail ~]$ /usr/local/sbin/sendmail -bv odhia...@gmail.com > postdrop: warning: unable to look up public/pickup: No such file or > directory > Mail Delivery Status Report will be mailed to <wash>. > > [w...@mail ~]$ /usr/local/sbin/sendmail -d -bv odhia...@gmail.com > sendmail: illegal option -- d > sendmail: illegal option -- d > sendmail: fatal: usage: sendmail [options] > > [w...@mail ~]$ exim -bt odhia...@gmail.com > odhia...@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.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"