Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 1999 16:48:00 +0000
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Mark Ovens <marko@uk.radan.com>
Cc:        freebsd-questions <questions@FreeBSD.ORG>
Subject:   Re: Help with sending a PR
Message-ID:  <19990208164800.A13705@scientia.demon.co.uk>
In-Reply-To: <36BE1A19.E21D508D@uk.radan.com>
References:  <36BC8418.F90E22AA@uk.radan.com> <xzp3e4jl5ay.fsf@flood.ping.uio.no> <36BCFCE6.2A48575A@uk.radan.com> <19990207151411.A86778@freebie.lemis.com> <36BE1A19.E21D508D@uk.radan.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Mark Ovens wrote:

> Now all I've got to do is figure out how to make sendmail send my mail
> (you'll notice from the header that I sent this message with Netscape).
> I've looked at the manpage, the handbook, FAQ, and The Book but they
> haven't really helped, they seem more to do with receiving mail. Is
> there a good guide to setting up sendmail to _send_ mail using a dial-up
> connection? Something like the mutt manual
> (/usr/local/share/doc/mutt/manual.html)?

Here's the .mc file I have..

divert(0)
VERSIONID(`')
OSTYPE(bsd4.4)
FEATURE(nouucp)
FEATURE(nocanonify)
FEATURE(accept_unresolvable_domains)
DOMAIN(scientia.demon.co.uk)
define(`SMTP_MAILER_FLAGS', `e')
define(`ESMTP_MAILER_FLAGS', `e')
define(`confCON_EXPENSIVE', `True')
define(`confMAX_DAEMON_CHILDREN', 50)
MAILER(local)
MAILER(smtp)

The primary thing here is that is marks the SMTP and ESMTP mailers as
expensive, and confCON_EXPENSIVE stops it trying to deliver to those
straight away. When you do go online, use `sendmail -q'. I don't know
how well that would work, since I use Exim, though in a couple of tests
it seemed to work about right.

I personally prefer Exim to sendmail, and you may find it worth a look
(/usr/ports/mail/exim). If you decide to use that you'll find the
exim-users list (information at www.exim.org) very helpful in general.

> One last thing. I still haven't learned all the keystrokes in mutt yet
> and sometimes use the wrong one, e.g. ``f'' to move to the next page (as
> in vi). However as this means ``forward'' I get a ``To: '' prompt. How
> do I cancel it? ESC and Ctrl-D don't work, Ctrl-C does but asks ``Exit
> mutt?'' with ``y'' as the default answer. What is the correct key to
> cancel a command?

If you get a ``To:'' prompt like that, pressing return without entering
anything will cancel it. That probably works in other places.

-- 
Ben Smithurst
ben@scientia.demon.co.uk

send a blank message to ben+pgp@scientia.demon.co.uk for PGP key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990208164800.A13705>