Re: migrating from thunderbird to mutt?

2004-12-25 Thread Matthias Buelow
Joshua Lokken wrote:
Message filtering, for example I have all the different freebsd mailing
lists automatically put into different folders, and junk mail sorting?
No.  You have to setup procmail (or a similar program) to do that for you.
Wrong.  Mutt'll do it just fine.
Just wondering; have you ever used or seen Mutt?
Of course. I've used it since elm came out of fashion, about 8 years ago 
or so, until about 1-2 years ago, when I switched to Mozilla because I'm 
dealing with a multitude of mail folders on multiple imap servers today.

How would this filtering work inside mutt? Apparently, it's something 
non-obvious. I've never seen anything like that while using mutt, and 
always used procmail "back then".

mkb.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: migrating from thunderbird to mutt?

2004-12-21 Thread Joshua Tinnin
On Monday 20 December 2004 07:15 am, Matthias Buelow 
<[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > esmtp will contact the appropriate SMTP server on your behalf
> > and will use the correct credentials to connect (if required).
>
> What happens if sending fails (for whatever temporary reason)?  Will
> esmtp queue the mail, like a real MTA would?  The issue is
> problematic with all those "minimalistic" pseudo-MTAs because mutt
> thinks it's delivering to a real sendmail, and hence doesn't handle
> failure gracefully (at least not afair).  Mozilla otoh, initiating
> the smtp connection by itself, will let you retry, or save it to a
> Drafts folder. With mutt, your mail is probably gone.

I just wanted to follow up on this. What actually happens in this case 
is that the email is saved in the postponed folder (if it's defined). 
It can be recalled and re-sent fairly simply, much like the behavior in 
most MUAs - Mutt will even prompt you to send it if you forget. I found 
out after testing Mutt with esmtp and a non-working network connection, 
which I thought was working at the time.

- jt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: migrating from thunderbird to mutt?

2004-12-21 Thread Joshua Tinnin
On Tuesday 21 December 2004 03:04 am, Giorgos Keramidas 
<[EMAIL PROTECTED]> wrote:
> On 2004-12-20 09:32, Joshua Tinnin <[EMAIL PROTECTED]> wrote:
> > On Monday 20 December 2004 08:41 am, Giorgos Keramidas wrote:
> > > So, why do people fear real MTAs so much and try to do their work
> > > with "light, fast, broken, almost-there MTAs"?
> >
> > As for me, it's because my box is in a LAN with a router using a
> > dynamic IP, so I can't get a fully-qualified domain name.
>
> You can always install a local DNS server that allows 'internal'
> machines to use their own domain (only visible to internal hosts) but
> forwards all other requests to your ISPs name servers.
>
> > This also causes some minor issues with fbsd, but not so much that
> > I can't work with it. As for using Sendmail as the MTA just so Mutt
> > can pass off email to an SMTP server, I've tried configuring it for
> > weeks now, and I'm still not there.
>
> You have to solve the DNS problems first.  Sendmail, like all MTAs
> I've seen, depends on a working DNS setup.

Yes, I began to realize this somewhere along the line. However, I've 
managed to get Mutt working with esmtp for now, although Sendmail is 
still the MTA for the system internally. This is not an ideal solution 
for me, as I mentioned I want to learn how to do this the right way. 
But just at the moment I'm not quite ready to tackle DNS (which I'm 
sure is "easy" for those who know it, but which is almost as confusing 
as MTAs for those of us who don't). I already have a machine in my LAN 
set up to use for it when the time comes, so it will happen soon 
enough.

> > I may end up using esmtp if it can save some headaches, although I
> > purposely tried to get Sendmail to work so that I could do it the
> > "right" way. Well, I still want to learn, but it's one of the most
> > confusing and frustrating experiences I've ever had dealing with
> > software, and I'm not alone in this.
>
> This list is frequented by many knowledgeable people who can help you
> with setting up Sendmail on FreeBSD.  You may be pointed at README
> files like `/usr/share/sendmail/cf/README' from time to time, but it
> never hurts to ask :-)

That's very true, and I appreciate this, but at the same time, at this 
moment I'm going to wait on configuring local DNS. I've managed to 
learn quite a bit about FreeBSD since I started using it that sounded 
completely confusing at first, but at the moment I'm dealing with 
starting back to college after many years and finding a new job, among 
other things, so it's not my first priority. But I'll be sure to bring 
it up when that moment comes, which shouldn't be too long. Oh, just you 
wait ... ;)

> > *That's* why people fear "real" MTAs so much, because mail transfer
> > protocols and software at the low level is very complicated and
> > extremely finicky in ways that aren't documented clearly.
>
> I see.  You do have a point there :/

Yes, for instance, it took me a long time to figure out what's up with 
"dnl." I've read through quite a bit at the Sendmail site itself, and, 
while their documentation is quite thorough, it's also obviously 
written for developers, moreso than most *nix docs. This is 
understandable, but there is a steep learning curve for those of us who 
aren't. Even the handbook recommends installing ssmtp for situations 
like mine 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/outgoing-only.html 
but I want to learn all the tools. Anyway, again I appreciate it, and 
soon enough I'll take you ... or the list ... up on that offer.

- jt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: migrating from thunderbird to mutt?

2004-12-21 Thread Louis LeBlanc
On 12/21/04 08:13 AM, Joshua Lokken sat at the `puter and typed:
> On Mon, 20 Dec 2004 02:13:57 +0100, Matthias Buelow <[EMAIL PROTECTED]> wrote:
> > Nikolas Britton wrote:
> > > Can mutt handle um like 5+ email address and have them all separated and
> > > be able to send from diffrent email accounts?
> > 
> > No.
> 
> Yes.
>  
> > > How does it handle hyperlinks, if I select something will it open up in
> > > firefox or whatever?
> > 
> > No.
> 
> Yes.
>  
> > > Message filtering, for example I have all the different freebsd mailing
> > > lists automatically put into different folders, and junk mail sorting?
> > 
> > No.  You have to setup procmail (or a similar program) to do that for you.
> 
> Wrong.  Mutt'll do it just fine.


I have to agree with Joshua here.  He's right on all counts, but I've
always preferred to have an external application do my filtering, so I
do use procmail.  That way, mail gets sorted upon arrival instead of
when I check my mail.  Probably more a matter of preference on that
point, but you CAN use mutt.

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Bachelor:
  A guy who is footloose and fiancee-free.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: migrating from thunderbird to mutt?

2004-12-21 Thread Joshua Lokken
On Mon, 20 Dec 2004 02:13:57 +0100, Matthias Buelow <[EMAIL PROTECTED]> wrote:
> Nikolas Britton wrote:
> > Can mutt handle um like 5+ email address and have them all separated and
> > be able to send from diffrent email accounts?
> 
> No.

Yes.
 
> > How does it handle hyperlinks, if I select something will it open up in
> > firefox or whatever?
> 
> No.

Yes.
 
> > Message filtering, for example I have all the different freebsd mailing
> > lists automatically put into different folders, and junk mail sorting?
> 
> No.  You have to setup procmail (or a similar program) to do that for you.

Wrong.  Mutt'll do it just fine.

Just wondering; have you ever used or seen Mutt?


-- 
Joshua Lokken
Open Source Advocate
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: migrating from thunderbird to mutt?

2004-12-21 Thread Giorgos Keramidas
On 2004-12-20 09:32, Joshua Tinnin <[EMAIL PROTECTED]> wrote:
> On Monday 20 December 2004 08:41 am, Giorgos Keramidas wrote:
> > So, why do people fear real MTAs so much and try to do their work
> > with "light, fast, broken, almost-there MTAs"?
>
> As for me, it's because my box is in a LAN with a router using a dynamic
> IP, so I can't get a fully-qualified domain name.

You can always install a local DNS server that allows 'internal'
machines to use their own domain (only visible to internal hosts) but
forwards all other requests to your ISPs name servers.

> This also causes some minor issues with fbsd, but not so much that I
> can't work with it. As for using Sendmail as the MTA just so Mutt can
> pass off email to an SMTP server, I've tried configuring it for weeks
> now, and I'm still not there.

You have to solve the DNS problems first.  Sendmail, like all MTAs I've
seen, depends on a working DNS setup.

> I may end up using esmtp if it can save some headaches, although I
> purposely tried to get Sendmail to work so that I could do it the
> "right" way. Well, I still want to learn, but it's one of the most
> confusing and frustrating experiences I've ever had dealing with
> software, and I'm not alone in this.

This list is frequented by many knowledgeable people who can help you
with setting up Sendmail on FreeBSD.  You may be pointed at README files
like `/usr/share/sendmail/cf/README' from time to time, but it never
hurts to ask :-)

> *That's* why people fear "real" MTAs so much, because mail transfer
> protocols and software at the low level is very complicated and
> extremely finicky in ways that aren't documented clearly.

I see.  You do have a point there :/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: migrating from thunderbird to mutt?

2004-12-20 Thread Giorgos Keramidas
On 2004-12-18 21:48, Nikolas Britton <[EMAIL PROTECTED]> wrote:
>
> How do I get my old email (from thunderbird, mbox?) into mutt?

I don't know what format thunderbird uses for storing email folders.
If it's a plain, flat text file, in UNIX mbox format, you should be able
to import the messages to Mutt by simply copying the folders from
thunderbird's folder to ~/Mail.

> Can mutt handle um like 5+ email address and have them all separated
> and be able to send from diffrent email accounts?

Yep.  You can configure Mutt to automatically pick the "right" sender
address depending on any number of criteria.  Eg. to set the from
address to something different when you reply to email sent to your
business address, you can use something like:

% reply-hook '~t .'my_hdr From: [EMAIL PROTECTED] (Giorgos 
Keramidas)
% send-hook  '~t .'my_hdr From: [EMAIL PROTECTED] (Giorgos 
Keramidas)
% reply-hook '~t company\.com' my_hdr From: [EMAIL PROTECTED] (George Keramidas)
% send-hook  '~t company\.com' my_hdr From: [EMAIL PROTECTED] (George Keramidas)

This will use [EMAIL PROTECTED] by default, except for messages
posted to one of the company.com addresses (in which case the second,
more specific match will be used).

Any number of reply-hook and send-hook patterns can be used to tweak the
email address used by Mutt.

If the hooks you have don't work 100% right, you can even edit the
headers of the message *before* posting it, by hitting 'E' (edit-headers)
instead of 'e' (edit) while preparing the message.

> If I remember right mutt is just a mail reader, so how do I get mail
> to and sent from mutt?

The following programs are used in my email setup:

SendmailAs a mail transfer agent; the program that gets
requests for posting mail and makes sure their
addresses are rewritten if necessary, that all
messages are forwarded to the proper mail
gateway (ISP, corporate, etc).

fetchmail   This pulls messages from various POP3 or IMAP
servers, and stuffs them in the local Sendmail
queue for delivery to user mailboxes on my
workstation.

procmailFiltering of messages delivered by the local
Sendmail MTA is done by procmail.  A set of
filter 'recipes', as they are called in the
procmail language, in my ~/.procmailrc file
makes sure that email is delivered to the proper
mail folder under ~/Mail/.  I keep separate
folders for each list I am subscribed and update
this file every time I subscribe to a new list
or unsubscribe from one.

muttMail reading, sending and replying.  The setup
of mutt uses /usr/sbin/sendmail to post all
outgoing messages through the local Sendmail
installation.

The incoming and outgoing email paths are similar to tha diagrams below:

1. INCOMING EMAIL
=

%   ++  ++
%   | POP3   |  | IMAP   |
%   | server |  | server |
%   ++  ++
%||
%+-+  |
%  |  |++
%+-|--|--+ ||
%| |  |  | +---+|
%| |  +->  | localhost ||
%|  fetchmail  | | | smtp  |  Sendmail  |
%| +>  | port  ||
%|   | +---+|
%+---+ ||
%  +-|--|--|---|+
%   ++  |  |   |
%   |   +---+  |   |
%   |   |   +--+   |
%   |   |   |  |
%   v   v   v  v
%+--+
%|  ++  ++  ++  ++  |
%|  procmail| filter |  | filter |  | filter |  | filter |  |
%|  | recipe |  | recipe |  | recipe |  | recipe |  |
%|  ++  ++  ++  ++  |
%+--|---|---|--|+
%   |   |   |  |
%   v   v   v  v
%   ++  ++  ++  ++
%   | mail   |  | mail   |  

Re: migrating from thunderbird to mutt?

2004-12-20 Thread Nathan Kinkade
On Sat, Dec 18, 2004 at 09:48:44PM -0600, Nikolas Britton wrote:
> Need some advice here...
> 
> I would like to change my mail client from thunderbird to a text based 
> client so I can email from anywhere using just ssh (don't like "web 
> based" clients, too slow). I would like to try mutt being that it's a 
> very popular text client but I have many questions about it. so can 
> someone at least point me in the right direction(s) (faqs, docs, 
> how-to's, anything)...

First, it should be noted that mutt can be configured to do just about
anything that you want.  Is it highly configurable and extendable.  You
can almost count on the fact that if something can be done in another
MUA, then it can probably be done it mutt as well.  Some patience and
an Intenet connection should get the job done.

Perhaps you should consider starting at mutt.org.  Read the manual.

> How do I get my old email (from thunderbird, mbox?) into mutt?

Mutt can use both mbox and maildir format.  If you feel like switching
to maildir, which I recommend, there are some scripts floating around
the next that will convert mbox mailboxes to maildir.  I did this in the
past, but don't remember which script I used - just do some smart
websearches.

> Can mutt handle um like 5+ email address and have them all separated and 
> be able to send from diffrent email accounts?

> If I remember right mutt is just a mail reader, so how do I get mail to 
> and sent from mutt?

Mutt is an MUA (Mail User Agent).  You can both read and create mail in
mutt.  However, mutt is NOT an MTA (Mail Transfer Agent), meaning mutt
will have to hand off the message to an MTA, which in turn handles the
actual delivery.  Most people probably configure a local MTA to handle
delivery of messages.

> How does it handle hyperlinks, if I select something will it open up in 
> firefox or whatever?

Mutt will use the system mime types configurations defined in
~/.mailcap.  This won't allow you to "click" anything in the mail body,
but it allows you to view HTML attachments using your browser.  However,
assuming your using mutt in a xterminal windows (or similar), how
difficult is it to just copy the address into your browsers address box?

> Message filtering, for example I have all the different freebsd mailing 
> lists automatically put into different folders, and junk mail sorting?

Most people use something like procmail for mail filtering, but I'm not
sure if mutt has the ability to do some sort of basic
filtering/sorting.  A websearch for "mutt procmail" will probably return
more pages than you can read talking about how to use mutt & procmail.

> Speell check?

Mutt can use the text based spell checker called "ispell".  Just install
ispell from the ports and when you are about to send your message press
'i' and it will launch ispell on the message.

> How do I set the thing up, config file help?

Try a websearch for "example mutt configuration", or something similar.
There are probably thousands of example mutt configs posted on the web.
In the past I have noticed that a lot of people like to post their mutt
config online for others to use.


pgps5PWUgewhO.pgp
Description: PGP signature


Re: migrating from thunderbird to mutt?

2004-12-20 Thread Joshua Tinnin
On Monday 20 December 2004 08:41 am, Giorgos Keramidas 
<[EMAIL PROTECTED]> wrote:
> % Moved from freebsd-questions to freebsd-chat,
> % since this is not really a question.
>
> On 2004-12-20 17:25, [EMAIL PROTECTED] wrote:
> >On Mon, Dec 20, 2004 at 04:15:18PM +0100, Matthias Buelow wrote:
> >>[EMAIL PROTECTED] wrote:
> >>> esmtp will contact the appropriate SMTP server on your behalf and
> >>> will use the correct credentials to connect (if required).
> >>
> >> What happens if sending fails (for whatever temporary reason)? 
> >> Will esmtp queue the mail, like a real MTA would?  The issue is
> >> problematic with all those "minimalistic" pseudo-MTAs because mutt
> >> thinks it's delivering to a real sendmail, and hence doesn't
> >> handle failure gracefully (at least not afair).  Mozilla otoh,
> >> initiating the smtp connection by itself, will let you retry, or
> >> save it to a Drafts folder. With mutt, your mail is probably gone.
> >
> > Indeed. That's really a problem. I wished mutt would include
> > libESMTP as a compile/configure option, and thus queue unsent mails
> > in a dedicated mailbox. I don't think that it would be very
> > difficult to merge libESMTP into mutt anyway. It's a mystery why it
> > didn't happen yet :)
>
> Err, I may sound a bit silly now, but why would people use a "limited
> sort of MTA", which may lose their messages instead of setting up a
> real MTA and use its queueing, forwarding and delivery features?
>
> I've heard of two major replies to a question like this:
>
>   1. It's difficult to install an MTA.
>   2. It's difficult to set up an MTA.
>
> The first point is moot, given the fact that FreeBSD comes with an
> MTA preinstalled.  The second may be valid for Sendmail, but I've
> seen so many knowledgeable people answer questions about Sendmail
> here and at comp.mail.sendmail that this shouldn't be true either.
>
> Even if someone hates the guts of Sendmail, there is always Postfix,
> whose minimal configuration can be just a 2-line file:
>
>   % cat /etc/postfix/main.cf
>   myhostname = bee
>   mydomain = serverhive.com
>
> So, why do people fear real MTAs so much and try to do their work
> with "light, fast, broken, almost-there MTAs"?

As for me, it's because my box is in a LAN with a router using a dynamic 
IP, so I can't get a fully-qualified domain name. This also causes some 
minor issues with fbsd, but not so much that I can't work with it. As 
for using Sendmail as the MTA just so Mutt can pass off email to an 
SMTP server, I've tried configuring it for weeks now, and I'm still not 
there. I may end up using esmtp if it can save some headaches, although 
I purposely tried to get Sendmail to work so that I could do it the 
"right" way. Well, I still want to learn, but it's one of the most 
confusing and frustrating experiences I've ever had dealing with 
software, and I'm not alone in this. *That's* why people fear "real" 
MTAs so much, because mail transfer protocols and software at the low 
level is very complicated and extremely finicky in ways that aren't 
documented clearly.

- jt
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: migrating from thunderbird to mutt?

2004-12-20 Thread Giorgos Keramidas
% Moved from freebsd-questions to freebsd-chat,
% since this is not really a question.

On 2004-12-20 17:25, [EMAIL PROTECTED] wrote:
>On Mon, Dec 20, 2004 at 04:15:18PM +0100, Matthias Buelow wrote:
>>[EMAIL PROTECTED] wrote:
>>> esmtp will contact the appropriate SMTP server on your behalf and
>>> will use the correct credentials to connect (if required).
>>
>> What happens if sending fails (for whatever temporary reason)?  Will
>> esmtp queue the mail, like a real MTA would?  The issue is problematic
>> with all those "minimalistic" pseudo-MTAs because mutt thinks it's
>> delivering to a real sendmail, and hence doesn't handle failure
>> gracefully (at least not afair).  Mozilla otoh, initiating the smtp
>> connection by itself, will let you retry, or save it to a Drafts folder.
>>  With mutt, your mail is probably gone.
>
> Indeed. That's really a problem. I wished mutt would include libESMTP
> as a compile/configure option, and thus queue unsent mails in a dedicated
> mailbox. I don't think that it would be very difficult to merge libESMTP
> into mutt anyway. It's a mystery why it didn't happen yet :)

Err, I may sound a bit silly now, but why would people use a "limited
sort of MTA", which may lose their messages instead of setting up a real
MTA and use its queueing, forwarding and delivery features?

I've heard of two major replies to a question like this:

  1. It's difficult to install an MTA.
  2. It's difficult to set up an MTA.

The first point is moot, given the fact that FreeBSD comes with an MTA
preinstalled.  The second may be valid for Sendmail, but I've seen so
many knowledgeable people answer questions about Sendmail here and at
comp.mail.sendmail that this shouldn't be true either.

Even if someone hates the guts of Sendmail, there is always Postfix,
whose minimal configuration can be just a 2-line file:

% cat /etc/postfix/main.cf
myhostname = bee
mydomain = serverhive.com

So, why do people fear real MTAs so much and try to do their work with
"light, fast, broken, almost-there MTAs"?

- Giorgos

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: migrating from thunderbird to mutt?

2004-12-20 Thread cpghost
On Mon, Dec 20, 2004 at 04:15:18PM +0100, Matthias Buelow wrote:
> [EMAIL PROTECTED] wrote:
> 
> >esmtp will contact the appropriate SMTP server on your behalf
> >and will use the correct credentials to connect (if required).
> 
> What happens if sending fails (for whatever temporary reason)?  Will 
> esmtp queue the mail, like a real MTA would?  The issue is problematic 
> with all those "minimalistic" pseudo-MTAs because mutt thinks it's 
> delivering to a real sendmail, and hence doesn't handle failure 
> gracefully (at least not afair).  Mozilla otoh, initiating the smtp 
> connection by itself, will let you retry, or save it to a Drafts folder. 
>  With mutt, your mail is probably gone.

Indeed. That's really a problem. I wished mutt would include libESMTP
as a compile/configure option, and thus queue unsent mails in a dedicated
mailbox. I don't think that it would be very difficult to merge libESMTP
into mutt anyway. It's a mystery why it didn't happen yet :)

> -- 
>   Matthias Buelow; [EMAIL PROTECTED],informatik.uni-wuerzburg}.de

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: migrating from thunderbird to mutt?

2004-12-20 Thread Matthias Buelow
[EMAIL PROTECTED] wrote:
esmtp will contact the appropriate SMTP server on your behalf
and will use the correct credentials to connect (if required).
What happens if sending fails (for whatever temporary reason)?  Will 
esmtp queue the mail, like a real MTA would?  The issue is problematic 
with all those "minimalistic" pseudo-MTAs because mutt thinks it's 
delivering to a real sendmail, and hence doesn't handle failure 
gracefully (at least not afair).  Mozilla otoh, initiating the smtp 
connection by itself, will let you retry, or save it to a Drafts folder. 
 With mutt, your mail is probably gone.

--
  Matthias Buelow; [EMAIL PROTECTED],informatik.uni-wuerzburg}.de
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: migrating from thunderbird to mutt?

2004-12-20 Thread Louis LeBlanc
On 12/20/04 03:21 PM, [EMAIL PROTECTED] sat at the `puter and typed:
> On Mon, Dec 20, 2004 at 02:13:57AM +0100, Matthias Buelow wrote:
> > Nikolas Britton wrote:
> > >Can mutt handle um like 5+ email address and have them all separated and 
> > >be able to send from diffrent email accounts?
> > 
> > No.
> > 
> > >If I remember right mutt is just a mail reader, so how do I get mail to 
> > >and sent from mutt?
> > 
> > By setting up your MTA (sendmail, postfix, qmail).  Alternatively, you 
> > can use mutt with pop3 or imap4 but its support for these protocols is 
> > primitive at best.  And then you'd still have to configure sendmail for 
> > outgoing mail.
> 
> You can also install /usr/ports/mail/esmtp and use this to send
> mails via an smtp server of your choice.
> 
> Setting this up with mutt is pretty easy:
> 
> 1. in your ~/.muttrc, add:
> 
> set sendmail="/usr/local/bin/esmtp"
> set envelope_from="yes"
> 
> Now mutt will use esmtp (instead of sendmail) to deliver outgoing mails.
> 
> 2. in your ~/.esmtprc configure your identities:
> 
> identity = [EMAIL PROTECTED]
> hostname = "stmp.somewhere.com:25"
> username = ""
> password = ""
> 
> identity = [EMAIL PROTECTED]
> hostname = "1.2.3.4:25"
> username = "[EMAIL PROTECTED]"
> password = "somepassword"
> 
> identiy = [EMAIL PROTECTED]
> hostname = "127.0.0.1:25"
> username = ""
> password = ""
> 
> esmtp will contact the appropriate SMTP server on your behalf
> and will use the correct credentials to connect (if required).
> 
> 3. Now fire up mutt, and compose an E-mail with 'm'.
> After you've finished typing your mail, change the sending
> address (From header) with 'ESC f' to match one of your
> identities. For example, using [EMAIL PROTECTED]
> will direct esmtp to send mail via the server 1.2.3.4 using
> the specified credentials. Then send the message with 'y'

ssmtp is also very good if you're not receiving email.  All it does is
get your mail out to the SMTP server of your choice.  I use it at work
to great satisfaction.  Otherwise, any SMTP server/client app
(sendmail, postfix, esmtp, etc.) is pretty easy to set up.


BTW Nikolas, sorry for responding to you directly, I meant to go back
to the list.  As mentioned, I had just gotten back from a couple cold
ones, and must have hit the wrong key.  In hindsight, I was probably a
little more enthusiastic that I needed to be :)


And to the poster that suggested Pine would be better for multiple
email addresses, I don't know about that.  My mutt config switches
personality depending on the imap folder I'm in.  I even have
additional headers for some that aren't added for others.

When I'm in my freebsd folder, I'm freebsd-at-keyslapper.org; when I'm
in my ssl folder, I'm ssl-at-keyslapper.org, and in my work folder
(pulled down via fetchmail) I'm leblanc-at-.com.  I have at
least 7 right now, and have had as many as 10 at one time.  Limited
only by the number of aliases you want to manage.  I often roll them
in and out of service as my needs dictate, and the mutt configured
identity is always there.

I've even heard of people using a different gpg signature key for each
'identity'.

Like I said, the mutt mailing list is very helpful.

HTH

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Tact, n.:
  The unsaid part of what you're thinking.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: migrating from thunderbird to mutt?

2004-12-20 Thread cpghost
On Mon, Dec 20, 2004 at 02:13:57AM +0100, Matthias Buelow wrote:
> Nikolas Britton wrote:
> >Can mutt handle um like 5+ email address and have them all separated and 
> >be able to send from diffrent email accounts?
> 
> No.
> 
> >If I remember right mutt is just a mail reader, so how do I get mail to 
> >and sent from mutt?
> 
> By setting up your MTA (sendmail, postfix, qmail).  Alternatively, you 
> can use mutt with pop3 or imap4 but its support for these protocols is 
> primitive at best.  And then you'd still have to configure sendmail for 
> outgoing mail.

You can also install /usr/ports/mail/esmtp and use this to send
mails via an smtp server of your choice.

Setting this up with mutt is pretty easy:

1. in your ~/.muttrc, add:

set sendmail="/usr/local/bin/esmtp"
set envelope_from="yes"

Now mutt will use esmtp (instead of sendmail) to deliver outgoing mails.

2. in your ~/.esmtprc configure your identities:

identity = [EMAIL PROTECTED]
hostname = "stmp.somewhere.com:25"
username = ""
password = ""

identity = [EMAIL PROTECTED]
hostname = "1.2.3.4:25"
username = "[EMAIL PROTECTED]"
password = "somepassword"

identiy = [EMAIL PROTECTED]
hostname = "127.0.0.1:25"
username = ""
password = ""

esmtp will contact the appropriate SMTP server on your behalf
and will use the correct credentials to connect (if required).

3. Now fire up mutt, and compose an E-mail with 'm'.
After you've finished typing your mail, change the sending
address (From header) with 'ESC f' to match one of your
identities. For example, using [EMAIL PROTECTED]
will direct esmtp to send mail via the server 1.2.3.4 using
the specified credentials. Then send the message with 'y'

4. The other way around is also possible. You can access multiple
IMAP mailboxes from within mutt like this:

type 'c' to change (open) to a new mailbox. Enter the IMAP URL of
your mailbox like this:

imap://[EMAIL PROTECTED]@imapserver.somewhere.com/

(defaults to INBOX)

imap://[EMAIL PROTECTED]@imap.example.com/INBOX.Spambox

Cheers,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: migrating from thunderbird to mutt?

2004-12-20 Thread RW
On Sunday 19 December 2004 03:48, Nikolas Britton wrote:

> Can mutt handle um like 5+ email address and have them all separated and
> be able to send from diffrent email accounts?
>
> If I remember right mutt is just a mail reader, so how do I get mail to
> and sent from mutt?
>
> How does it handle hyperlinks, if I select something will it open up in
> firefox or whatever?
>
> Message filtering, for example I have all the different freebsd mailing
> lists automatically put into different folders, and junk mail sorting?
>
> Speell check?

You might be better-off with Pine.

It's "roles" give it the best multiple address support I've seen on any 
client. It supports smtp as well as local MTAs and it has built-in 
spell-checking, message filtering etc.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: migrating from thunderbird to mutt?

2004-12-19 Thread Matthias Buelow
Nikolas Britton wrote:
How do I get my old email (from thunderbird, mbox?) into mutt?
TB keeps its local folders in mbox files at 
~/.thunderbird/xyz.default/Mail/Local\ Folders.  Just copy them over, or 
read them via mutt directly (and store the messages where you want them, 
typically ~/Mail).

Can mutt handle um like 5+ email address and have them all separated and 
be able to send from diffrent email accounts?
No.
If I remember right mutt is just a mail reader, so how do I get mail to 
and sent from mutt?
By setting up your MTA (sendmail, postfix, qmail).  Alternatively, you 
can use mutt with pop3 or imap4 but its support for these protocols is 
primitive at best.  And then you'd still have to configure sendmail for 
outgoing mail.

How does it handle hyperlinks, if I select something will it open up in 
firefox or whatever?
No.
Message filtering, for example I have all the different freebsd mailing 
lists automatically put into different folders, and junk mail sorting?
No.  You have to setup procmail (or a similar program) to do that for you.
Speell check?
No.  You have to setup your editor for running ispell or similar.
--
  Matthias Buelow; [EMAIL PROTECTED],informatik.uni-wuerzburg}.de
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: migrating from thunderbird to mutt?

2004-12-19 Thread Peter Schuller
> How do I get my old email (from thunderbird, mbox?) into mutt?

mutt supports mbox/maildir/etc, so if youre using that you should be able
to just point mutt to your  mail. But then I dunno - perhaps thunderbird
uses its own format?

I got sick and tired of this issue years ago and now I read all my mail via
IMAP, so that I know I am never *ever* dependent on one specific client.

> Can mutt handle um like 5+ email address and have them all separated and 
> be able to send from diffrent email accounts?

I dont know if mutt in and of itself supports that; when I need multiple
"personalities" i tend to use different startup scripts for mutt that change
the settings in question.

Though you can surely create keyboard macros that change identities by
changing relevant parameters.

> If I remember right mutt is just a mail reader, so how do I get mail to 
> and sent from mutt?

Correct. If youre using IMAP, you're done. If you're using pop, I think I
remember reading mutt had some sort of support for POP. But in general,
'fetchmail' is probably what you want for downloading mail from remote
mailboxes and having it delivered locally using whatever mail delivery
mechanism exists on your system.

mutt sends mail using the standard sendmail method; so having any properly
configured MUA on the client should do (Postfix, qmail, etc...).

> How does it handle hyperlinks, if I select something will it open up in 
> firefox or whatever?

That sounds more like a terminal issue.

> Message filtering, for example I have all the different freebsd mailing 
> lists automatically put into different folders, and junk mail sorting?

Use "maildrop" or "procmail" for that (procmail is probably more widely used
because its the traditional tool; maildrop I prefer personally because of its
nicer syntax). maildrop/procmail is plugged into the normal delivery mechanisms,
independent of mutt. use mutt to read the already filtered email.

> Speell check?

Dunno; but i doubt it if you are talking about on-the-fly spell checking as
you write.

> How do I set the thing up, config file help?

www.mutt.org, and/or read through the example muttrc that comes with the
freebsd port.

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller <[EMAIL PROTECTED]>'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


migrating from thunderbird to mutt?

2004-12-18 Thread Nikolas Britton
Need some advice here...
I would like to change my mail client from thunderbird to a text based 
client so I can email from anywhere using just ssh (don't like "web 
based" clients, too slow). I would like to try mutt being that it's a 
very popular text client but I have many questions about it. so can 
someone at least point me in the right direction(s) (faqs, docs, 
how-to's, anything)...

How do I get my old email (from thunderbird, mbox?) into mutt?
Can mutt handle um like 5+ email address and have them all separated and 
be able to send from diffrent email accounts?

If I remember right mutt is just a mail reader, so how do I get mail to 
and sent from mutt?

How does it handle hyperlinks, if I select something will it open up in 
firefox or whatever?

Message filtering, for example I have all the different freebsd mailing 
lists automatically put into different folders, and junk mail sorting?

Speell check?
How do I set the thing up, config file help?
I have more questions, I just can't think of them at the moment.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"