Re: who puts mails into mutt's mail folder?

2013-01-26 Thread Alan McConnell
On Sat, Jan 26, 2013 at 11:36:25AM -0600, David Champion wrote:
 * On 25 Jan 2013, s. keeling wrote: 
  Incoming from horseriver:
   On Fri, Jan 25, 2013 at 02:17:27PM -0500, Patrick Shanahan wrote:
* horseriver horseriv...@gmail.com [01-25-13 13:24]:
   Would mutt call default mail delivery agent when startup?

mutt reads mail
mda delivers mail
mta transfers mail

fetchmail gets mail, is a mda
  
  Why are you not reading the suggested documentation?  Patrick's advice
  is spot on.  All of your questions so far are easily answered by the
  suggested docs.
 
 I hope this will be my only meta-post on this thread, but I think there
 are two critical flaws with the hard-nosed RTFM response:
Boy, do I agree!  Some of the responses here are over the
top.

 1. synthesizing the information among multiple sources of documentation
 can be difficult.  I have no reason to think that horseriver hasn't
 read the docs; only that he doesn't possess the big picture (yet).
 I conjecture also that English is not the Sieur de Horseriver's
 mother tongue.  Another reason for patience and kindness; as
 if these qualities ever needed justification.

 Oftentimes this integration of facts into understanding is best provided
 by other people, and a support mailing list is a good place to ask for
 that.
And is often found.  This E-list is, in my experience an
exception.


 Pointy-clicky, really?  People may become annoying, but one can remain
 polite instead of imputing attributes which you find mockable.
 Again, Mr Champion is spot-on.

Best wishes, especially to the very patient horseriver,

Alan

-- 
Alan McConnell :  http://globaltap.com/~alan/
Imagination is the one weapon in the war against reality.
Try to get all of your posthumous medals in advance.


Re: who puts mails into mutt's mail folder?

2013-01-25 Thread David Champion
Here's the typical pattern:

MUA - [MSA] - MTA - [.. more MTAs] - LDA - [Mailbox Store] - MUA

Things in [brackets] may not be used, or may take altered forms in a
specific configuration.

Definitions:
MUA - Mail User Agent. Examples: mutt, thunderbird, webmail

MSA - Mail Submission Agent.  This function could be built into the MUA,
or built into an MTA, or it might be a separate queuing system.  Most
MTAs expose a submission interface that may or may not offer separate
features from their MTA interface.  Examples: SMTP service, pipe to
/usr/lib/sendmail, pipe to msmtp, etc.

MTA - Mail Transport Agent.  The primary role of an MTA is to exchange
mail around the internet.  An MTA may be colocated with a user agent
or a delivery facility such as IMAP, but it might not.  Sometimes mail
moves through many MTAs on its way to a destination, but this is less
common than it used to me.  Most mail today encounters two MTAs: one
that is colocated with the sender's submission agent, and one that
triggers local delivery for the recipient.

LDA - Local Delivery Agent.  An LDA is responsible for handling the
disposition of the mail at a destination.  An MTA determines that it is
a final destination (based on arbitrarily complex rules, but often just
a hostname list for which it's responsible).  Then it hands the mail
to an LDA and awaits the LDA's assertion that delivery was performed.
Procmail can be used as an LDA, but there are others.  An LDA might
delivery to a spool file where an MUA can retrieve it, or it might
deposit the mail into a message store such as an IMAP server.

Mailbox Store.  Not all recipients use this, of course, but many do.

To answer your question finally: An MUA (such as mutt) never
interacts directly with an LDA.  It either retrieves messages from a
mutually-agreed location (e.g. /var/mail/username) or it contacts a
message store (e.g. an IMAP server).


* On 25 Jan 2013, horseriver wrote: 
 hi:
 
   Would mutt call default mail delivery agent when startup?
 
 thanks!

-- 
David Champion • d...@bikeshed.us


Re: who puts mails into mutt's mail folder?

2013-01-25 Thread Patrick Shanahan
* horseriver horseriv...@gmail.com [01-25-13 13:24]:
   Would mutt call default mail delivery agent when startup?

1st, please start new threads when you change subject/topic.

mutt reads mail
mda delivers mail
mta transfers mail

fetchmail gets mail, is a mda

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  HOG # US1244711
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org   openSUSE Community Member
Registered Linux User #207535@ http://linuxcounter.net


Re: who puts mails into mutt's mail folder?

2013-01-25 Thread horseriver
On Fri, Jan 25, 2013 at 02:17:27PM -0500, Patrick Shanahan wrote:
 * horseriver horseriv...@gmail.com [01-25-13 13:24]:
Would mutt call default mail delivery agent when startup?
 
 mutt reads mail
 mda delivers mail
 mta transfers mail
 
 fetchmail gets mail, is a mda

  Thanks!

 1.  Is fetchmail alwayes running at deamon mode ,fectching mail by timer ? or 
it is called by mutt when mutt startup?

 2.  What is the use of mail command ? It seems to be a mda too.So I do not how 
to distinguish between mail and fetchmail.
 If I want to use fetchmail ,need I remove the mail mda?

  
 
 -- 
 (paka)Patrick Shanahan   Plainfield, Indiana, USA  HOG # US1244711
 http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
 http://en.opensuse.org   openSUSE Community Member
 Registered Linux User #207535@ http://linuxcounter.net


Re: who puts mails into mutt's mail folder?

2013-01-25 Thread Patrick Shanahan
* horseriver horseriv...@gmail.com [01-26-13 00:09]:
 On Fri, Jan 25, 2013 at 02:17:27PM -0500, Patrick Shanahan wrote:
  * horseriver horseriv...@gmail.com [01-25-13 13:24]:
 Would mutt call default mail delivery agent when startup?
  
  mutt reads mail
  mda delivers mail
  mta transfers mail
  
  fetchmail gets mail, is a mda
 
   Thanks!
 
  1.  Is fetchmail alwayes running at deamon mode ,fectching mail by
  timer ?  or it is called by mutt when mutt startup?

it is as *you* configure it, 
  man fetchmail
 
  2.  What is the use of mail command ? It seems to be a mda too.So I do
  not how to distinguish between mail and fetchmail.  If I want to
  use fetchmail ,need I remove the mail mda?

/usr/bin/mail, is *not* an mda.  
  man mail

You *really* need to look at the applications' documentation.
 
  -- 
  (paka)Patrick Shanahan   Plainfield, Indiana, USA  HOG # US1244711
  http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
  http://en.opensuse.org   openSUSE Community Member
  Registered Linux User #207535@ http://linuxcounter.net

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  HOG # US1244711
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org   openSUSE Community Member
Registered Linux User #207535@ http://linuxcounter.net


Re: who puts mails into mutt's mail folder?

2013-01-25 Thread s. keeling
Incoming from horseriver:
 On Fri, Jan 25, 2013 at 02:17:27PM -0500, Patrick Shanahan wrote:
  * horseriver horseriv...@gmail.com [01-25-13 13:24]:
 Would mutt call default mail delivery agent when startup?
  
  mutt reads mail
  mda delivers mail
  mta transfers mail
  
  fetchmail gets mail, is a mda

Why are you not reading the suggested documentation?  Patrick's advice
is spot on.  All of your questions so far are easily answered by the
suggested docs.

  1.  Is fetchmail alwayes running at deamon mode ,fectching mail by
  timer ? or it is called by mutt when mutt startup?

fetchmail can be run as a daemon or can be invoked by users.  Which is
best for you?  Read the docs!

  2.  What is the use of mail command ? It seems to be a mda too.So I

No, mail is an MUA just like mutt.  Now, you're becoming annoying.  At
a terminal, do this:

   xman -notopbox -bothshown 

That's a pointy-clicky interface to the manpages.  Now PLEASE read
some documentation!

Grr.  Thank you.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*) :(){ :|: };:
- -