[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: why I don't want CCs



Hi!

On Mon Jul 21, 2003 at 12:08:29PM -0400, Bijan Soleymani wrote:
> > And you could ignore to use mutt if you don't want to mess with a MTA.
> > BTW, ever tried to run eximconfig with option 2? You can setup a
> > smarthost using mailserver within 9.3 seconds (if you are fast ;-).
> 
> But that means:
> a) I would have to give up using mutt, as opposed to MTA bigots,
> ignoring built-in SMTP.

He, if you want a reliable smtp implementation use a mta. If you want
both you could start complaining at mutt-dev@mutt.org.

> b) I do, but I don't want to rerun that each time I switch SMTP
> smarthosts. And having multiple smarthosts that way doesn't seem to be
> possible.

The exim3 FAQ says:

Q0326: What I'd like to do is have alternative smarthosts, where the one
to be used is determined by which ISP I'm connected to.

A0326: The simplest way to do this is to use a lookup in a domainlist
router. For example:

smarthost:
  driver = domainlist
  transport = remote_smtp
  route_list = * ${lookup{smart}lsearch{/etc/smarthost}{$value}} byname

where you arrange for the name (or IP address) of the relevant smart
host to be placed in /etc/smarthost when you connect, in the form

smart: smart.host.name.or.ip

By keeping the data out of the main configuration file, you avoid having
to HUP the daemon when it changes.

> I don't claim to speak for everyone else. There's a question in the mutt
> FAQ that says, something like how do I use mutt to send messages through
> SMTP like Pine. And the answer is you can't that's wrong, you're a bad
> person :) ok so I exagerate a bit.

http://www.fefe.de/muttfaq/faq.html#SMTP says:

How can I make Mutt use a SMTP server to send email, like Pine or
[insert favourite Windows-based email client here]?

answer from Mikko Hänninen

You can't. Mutt is a MUA (Mail User Agent), not a MTA (Mail Transport
Agent). Other email programs include MTA functionality but the Mutt way
is to use the proper tool for each task, instead of making a giant
program that does everything. In short, it's not Mutt's job to get the
mail to a remote SMTP server.

If your system does not have a properly configured MTA such as sendmail
for Mutt to use, and you only need one to send all emails to a remote
SMTP server for further delivery, then you can get sSMTP from
ftp://metalab.unc.edu/pub/Linux/system/mail/mta/ and install that. sSMTP
is easy to set up but very minimalistic, so you might want to check out
nullmailer at http://www.em.ca/~bruceg/nullmailer/ instead. nullmailer
can queue mails when the smarthost is down and then send them when it's
up again.

Other MTAs and alternatives to sendmail are also listed in the Other
Programs section on the Mutt Links page at
http://www.mutt.org/links.html.

So long
Thomas

-- 
 .''`.  Obviously we do not want to leave zombies around. - W. R. Stevens
: :'  : Thomas Krennwallner <djmaecki at ull dot at>
`. `'`  1024D/67A1DA7B 9484 D99D 2E1E 4E02 5446  DAD9 FF58 4E59 67A1 DA7B
  `-    http://bigfish.ull.at/~djmaecki/

Attachment: pgp6YruH8hRMN.pgp
Description: PGP signature


Reply to: