svlug_unix_mailer_setup_for_beginners

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Date: Mon, 09 Apr 2001 22:11:07 -0700
From: CB <todd@mrball.net>
To: World Domination <svlug@svlug.org>
Subject: [svlug] Using mutt

I'm a little confused.  I'm trying to wean myself from
Netscape and move to mutt.  I have mutt configured I think
the way I want it (using the online .muttrc generator).  I
got it using fetchmail (I think it's fetchmail) to get my
incoming mail with POP from my mail server.  I can select
and read all of my current netscape folders.

Now, I need to figure out how to get fetchmail to put it
into the folders.  I'm guessing just from eavesdropping on
y'all that I need to do some configuring with procmail.  So
do I use procmail to filter all the mail from
/var/spool/mail/todd to ~/nsmail/{folder_name}?  Or does
fetchmail do all this on its own?  That's the part I don't
even know where to begin.

I press G to Get mail via pop (internal...plaintext is ok).
What will I have to do to make it filter all the mail?  And
I would like to make all incoming mail which does not get
filtered into any particular folder go to Inbox (is there
any reason it should go anywhere else...I can only
understand /var/spool/mail/todd as the default other than
Inbox).

===

Date: Tue, 10 Apr 2001 12:36:22 -0700
From: Dan Copeland <dcopeland47@onebox.com>
To: CB <todd@mrball.net>
Subject: Re: [svlug] Using mutt

On Mon, Apr 09, 2001 at 10:11:07PM -0700, CB wrote:
> Now, I need to figure out how to get fetchmail to put it into the
> folders.  I'm guessing just from eavesdropping on y'all that I need to
> do some configuring with procmail.  So do I use procmail to filter all
> the mail from /var/spool/mail/todd to ~/nsmail/{folder_name}?  Or does
> fetchmail do all this on its own?  That's the part I don't even know
> where to begin.


  On my system I run sendmail, which is configured to use procmail for
local mail delivery.  Fetchmail runs in daemon mode and just passes
messages off to sendmail.

  Procmail finds the .procmailrc in my home directory which tells it
where to store all the mail.  Actually the .procmailrc just points
to a number of smaller files in a directory for the sake of
organization.

  I really wish I could remember which Howto told me how to set all
this up - if I can find it I'll let you know.

===

Date: Thu, 12 Apr 2001 16:11:57 -0700
From: Seth David Schoen <schoen@loyalty.org>
To: World Domination <svlug@svlug.org>
Subject: Re: [svlug] Using mutt

Dan Copeland writes:

> On Mon, Apr 09, 2001 at 10:11:07PM -0700, CB wrote:
> > Now, I need to figure out how to get fetchmail to put it into the
> > folders.  I'm guessing just from eavesdropping on y'all that I need to
> > do some configuring with procmail.  So do I use procmail to filter all
> > the mail from /var/spool/mail/todd to ~/nsmail/{folder_name}?  Or does
> > fetchmail do all this on its own?  That's the part I don't even know
> > where to begin.
> 
> 
>   On my system I run sendmail, which is configured to use procmail for
> local mail delivery.  Fetchmail runs in daemon mode and just passes
> messages off to sendmail.
> 
>   Procmail finds the .procmailrc in my home directory which tells it
> where to store all the mail.  Actually the .procmailrc just points
> to a number of smaller files in a directory for the sake of
> organization.
> 
>   I really wish I could remember which Howto told me how to set all
> this up - if I can find it I'll let you know.

Run fetchmail with the option

--mda 'procmail -d yourusername'

and then make a ~/.procmailrc according to the procmail documentation
or according to someone else's example.  This causes fetchmail to use
procmail for delivery, rather than going through SMTP.  And procmail
will filter mail according to procmailrc rules if any are given.

===

From: "Robert-Emmanuel Mayssat" <emayssat@cemax.com>
To: "Seth David Schoen" <schoen@loyalty.org>,         "World Domination" <svlug@svlug.org>
Subject: RE: [svlug] Using mutt
Date: Thu, 12 Apr 2001 18:52:45 -0700

fetchmail pop the emails and deliver them to localhost port
25 by default ( sendmail ? ) destination address is
<username>@localhost if sendmail is configured with a mail
HUB ( no local delivery ) then the local email is sent to
the hub and process there. ( and you don't want that unless
.procmailrc is same! ) <username>@localhost should resolve
with MDA = local to kick of procmail ( sendmail -bv
<username>@localhost ) create a .procmailrc to sort / filter
your emails ( and eventually deliver to your mailbox in
/var/spool/mail).

My advice would be to use the LOGFILE option of fetchmail
and procmail to see what is happening with your email.  If
the procmail log file is not created then your email is not
delievered locally ( see MAIL_HUB explaination above )

===


Date: Sun, 22 Apr 2001 00:09:17 -0700
To: svlug@svlug.org
From: erik@jojda.2y.net (Erik Steffl)
Subject: [svlug] mail setup (should I run IMAP server?)

  I confess that I've been using netscape mailer up until now but since
I just got dsl installed (and I couldn't handle debian lists without
kill thread working) I decided to set up the email properly.

  here is what I would like to achieve:

  send email via postfix
  use mutt as primary mail client
  get email directly and via pop3 account(s)

  I almost got it working - postfix sends email (mutt, mail etc work),
fetchmail fetches mail from my pop3 account and postfix also receives
email directly.

  I would like to get as much flexibility as possible, for example I
would like to be able to send email from netscape (without hacks like
muttzilla) and also be able to check email via internet (since I have
dsl 24/7:-)

  would that be achievable using IMAP server - something like setting
up IMAP on my machine, IMAP would get email from postfix and fetchmail
and send email using postfix. There are quite a few email clients that
support IMAP (including mutt and netscape) so that would take care of
being able to use alternative email clients easily.

  are there any disadvantages as compared to 'normal' handling of
email using just MTA and MUA (without IMAP in  between)?

  are there any web interfaces to IMAP servers? Any good ones?


===

Date: Wed, 25 Apr 2001 01:11:17 -0700
To: svlug@svlug.org
Subject: Re: [svlug] postfix: what domain should I use when I have no domain?
From: erik@jojda.2y.net (Erik Steffl)


On Tue, Apr 24, 2001 at 11:28:15PM -0700, Wayne Earl wrote:
> 
> Grrr...ok, I'll bite....
> 
> On Tue, 24 Apr 2001, Erik Steffl wrote:
> >   nothing of what you've posted even touched the subject I was asking
> > about - note that I was not asking about how to set up postfix to
> > deliver email.
> 
> Ummm...isn't that what postfix DOES? MTA = Mail TRANSPORT Agent.
> 
> >
> >   I have very specific question that I haven't seen answered in docs I
> > have read - how should I set the mydomain parameter in my specific
> > situation?
> 
> You DON'T set mydomain. You would have seen this if you had:
> 
> a) looked at main.cf at all before posting
> b) looked at main.cf after receiving my response, to put my response in
> it's proper context.
> 
> >   I mean, you might at least read my question before sending me
> > rtfm... which I guess I'll go back to since I didn't get any answer
> > (maybe soon I will be able to answer this question:-)
> >
> 
> I may be going out on a limb here, but if you had read main.cf and had
> considered the implacations of the comments contained in that file, you
> probabily would not have asked the question in the first place.
> 
> No, you wanted a spoon-fed answer. I spoon feed answers to clients, for a
> significant hourly rate. I try to provide my experience to LUG members on
> this list (and I suspect, a bit of comic relief at times - probably right
> now, in fact).
> 
> > howerever in my case I have nothing to do with computers on the same
> > domain (as I use domain name offered by www.dhs.org service). My
> > question is: should I still use the default (fully qualified name
> > minus first element?)
> >
> >   in other words: in my case the name of my computer is my computer -
> > but name of my domain is completely irrelevant (from the point of view
> > of my computer). yes it is used e.g. to change the incoming email from
> > erik to erik@localhost.2y.net (if mydomain is 2y.net). why is this? or
> > which FM should I be R-ing?
> 
> Since you are unwilling to attempt this yourself, the following is a
> verbatim snippet from my main.cf files on vimes.qconcepts.net, my main
> webserver. vimes runs postfix only for mailman-based email
> lists on my domain, and is NOT the mail server (i.e. the MX record points
> elsewhere) for qconcepts.net.
> 
> As I understand your questions, this is EXACTLY what you want to do for your machine:
> 
> 
> ---BEGIN postfix main.cf snippet---
> 
> # INTERNET HOST AND DOMAIN NAMES
> #
> # The myhostname parameter specifies the internet hostname of this
> # mail system. The default is to use the fully-qualified domain name
> # from gethostname(). $myhostname is used as a default value for many
> # other configuration parameters.
> #
> myhostname = vimes.qconcepts.net
> #myhostname = virtual.domain.name
> 
> # The mydomain parameter specifies the local internet domain name.
> # The default is to use $myhostname minus the first component.
> # $mydomain is used as a default value for many other configuration
> # parameters.
> #
> #mydomain = domain.name
> 
> # SENDING MAIL
> #
> # The myorigin parameter specifies the domain that locally-posted
> # mail appears to come from. The default is to append $myhostname,
> # which is fine for small sites.  If you run a domain with multiple
> # machines, you should (1) change this to $mydomain and (2) set up
> # a domain-wide alias database that aliases each user to
> # user@that.users.mailhost.
> #
> myorigin = $myhostname
> #myorigin = $mydomain
> 
> ---END postfix main.cf snippet
> 
> Note that this matches exactly what I sent in my first email to your
> question:
> 
> > > > > > On Tue, Apr 24, 2001 at 01:50:48PM -0700, Wayne Earl wrote:
> > > > > > > This is what works for me, on both linux and OpenBSD machines (all
> > > > > > > settings are in the file main.cf):
> > > > > > >
> > > > > > > myhostname = fully.qualified.host.name
> > > > > > > myorigin = $myhostname
> > > > > > > mydestination = $myhostname, localhost.$mydomain
> 
> Note also that the comments that answer your question are (OH MY GOD)
> right there in the main.cf file! This would be the FM that had you R'ed,
> this would have been a lot easier for you.
> 
> This would have also made your understanding of my response easier, as
> you would have had some context to place my answers into. I was attempting
> to encourage the reading of the docs with my RTFM comment; doc reading
> being an important skill to aquire (IMAO).
> 

  you're not helpfull and not pleasant. why do you bother answering?
you don't answer my question, just post general help for setting up
postfix... I wasn't asking about that anywhere in my posts, in fact I
mentioned in my first post that postfix IS WORKING, I was asking about
what exactly mydomain is and how is it used and if it's OK to set it
to 2y.net if my hostname is jojda.2y.net (which is a default when I
don't set it up explicitly as you suggest below)... no matter how many
times you post your (or other) configuration it does not answer the above
question... note that main.cf or mail administrator howto does not
discuss this question as well, however the qmail setup has (what seems
to me like a special domain) domain localnetwork, equivalent of what I
thought I might be using in postfix but couldn't find (see the comment
for mydomain in main.cf, there's nothing there but information what
the default is).

  it is of course not your duty to answer my (perhaps silly) questions
but posting irrelevant answers and then suggesting I am lazy idiot is
not nice. well... not everybody's nice. thanks for a reminder...`

	erik

===


the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu