mailers

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



From: Nick Urbanik <nicku@iohk.com>
Subject: Re: How convert netscape folders to pine folders
Date: Wed, 10 Mar 1999 21:17:37 +0800


Keith Wyatt wrote:

> > I thought the same as you that netscape folders were in unix format but
> > they do not.

I use both Netscape and Pine to read the same 80+x
mailboxes.  To do this is not hard:

   * inbox-path=/home/nicku/mail/Inbox
   * [nicku@nicksbox nicku]$ ls -l mail
     lrwxrwxrwx   1 nicku    nicku           6 Oct 20 21:45 mail -> nsmail
     [nicku@nicksbox nicku]$
   * Write  a simple perl program to create a list of Pine folders: see
     attachment
   * insert output of this program to the line incoming-folders=
   * [nicku@nicksbox nsmail]$ ls -l sent-mail
     lrwxrwxrwx   1 nicku    nicku           4 Oct 20 21:44 sent-mail -> Sent
   * Now both Pine and Netscape (I use 4.5) can read + send mail.

I put the mail into the 80-odd mail boxes with procmail+fetchmail.

*****================>Only problem:<==================******
 Netscape has a simple database file .mailFolderName.summary for each folder
that contains info about all mail messages, but I can't see how procmail should
update those files. 
***********Anyone know how?************




--------------41320DA61D3CF24A431C388B
filename="make-pine-folders~"

#!/usr/bin/perl
    eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
        if $running_under_some_shell;

# use strict;

require "find.pl";

# Traverse desired filesystems


&find('/home/nicku/nsmail');

@folders = sort dictionary @folders;

while ( @folders )
{
    print shift @folders;
}

exit;

sub dictionary
{
    lc( $a ) cmp lc( $b );
}

sub wanted {
    my $base = $name;
#    my ($dev,$ino,$mode,$nlink,$uid,$gid);
    $base =~ s!^.*/([^/]+)$!$1!;
    #return if ( $base =~ /^\./ );
    # print "$base\t";
    if ( (($dev,$ino,$mode,$nlink,$uid,$gid) = lstat($_)) &&
    -f _ && $base !~ /^\./ )
    {
        return if $base =~
            /^(sent-mail|saved-messages|procmail.log|Inbox)/;
        return if $name =~ /Work.sbd|Trash.sbd/;
        $name =~ s!/nsmail/!/mail/!;
        print STDERR "Space in folder name $name\n" && return if $base =~ / /;
        # print("\t$base $name,\n");
        unshift @folders, "\t$base $name,\n";
    }
}

===============

Subject: Re: Question... about email progs
From: "Anthony E. Greene" <agreene@pobox.com>
Date: Wed, 31 Mar 1999 10:54:58 +0200


At 22:08 1999-03-30 -0600, Whitewolf wrote:
>I would like to find a good email gui prog. I use Eudora now and have to
>use it's filtering
>because of heavy mail traffic. Is there anything out there that will
>duplicate the folders
>and filtering that eudora does for X or Linux in general?

XFMail. You can copy all your folders and mailboxes into ~/Mail (for
compatibility with elm) or ~/mail (for compatibility with pine -- my
recommendation) and XFMail will handle them. The default is ~/Mail, so
you'll have to change it after you start the program. You may have to
rename your 'trash' mailbox too. XFMail uses that name for a directory
containing one file per deleted message. To import your Eudora address
book, get all the addresses into a one-per-line format like this:

"Full Name" <email@add.ress>
	or
email@add.ress (Full Name)

and put the result into ~/.xfmail/.xfbook. XFMAil should interpret this as
it's own previous format and import it correctly. RPMs for XFMail and the
required xforms libraries are available at Red Hat contrib mirror sites.

Netscape is another possibility, although I find it slow and buggy. I also
do not like it's implementation of nested folders.

Balsa and looks good but I have not used it recently so I can't make a
recommendation. You'll need GNOME to run it, and I'm not ready to make that
leap yet.

KMail looks good too, but the version that was included with KDE 1.0 was
very buggy and not ready for prime time. The version that ships with KDE
1.1 may be better.

Then there's always pine, which is character-based, but very efficient and
useful. I use it often. Version 4.10 will let you set your "From:" address
which finally makes it useful for those of use that use dialup access.

There are others, but for a Eudora user, these are probably your most
likely choices.

For filtering, I use procmail. It's use of regular expressions makes it
more powerful than any mail client I've seen, and you can change mail
clients without having to rebuild your filters. 

I recommend fetchmail for retrieving mail, for similar reasons. You can
configure multiple accounts and run the retrieval as part of a cron job
that dials your ISP and does whatever other tasks at the same time (like
setting your system clock). Again, you can change mail clients and only
have to setup access to your local mail spool. That's trivial for most
Linux/UNIX mail client software.
===

Subject: OT: very daring Web Mail project
From: Jeff Graves <jeff@image-src.com>
Date: Mon, 20 Dec 1999 11:38:48 -0500


Okay, i'm feeling brave today so here goes. This problem
spawned from not being able to get vmware or wine working:

Problem:
1) I need to read email in linux and windows and mac and....
2) Employees want to read their new mail at home but would
like it to remain on the server so they can still read it at 
work.

Solution:
Web front-end to pop server. I looked at just using pine. But
everyone here is so outlook-ized i want to puke and management
says "Use outlook." I thought about changing to a IMAP. But,
we don't have the space on the server and management says
"We're strapped for cash." Looked into using atdot and horde
IMP on the server. Atdot is WAY too difficult to deal with (plus
i don't know the slightest thing about perl) and IMP is a IMAP
only front-end. I found CWMail from NetWin useful but since
my department can't even order a 18 Gig drive without getting
reammed i don't think they'll go for the $500 product. So, my
solution: write something in java. Why?

- It's the only language i know enough about that i can write
something like this.
- It'll run on any platform as a client.
- Don't need to worry about security leaks cause it is a java 
client
app.

The reason for this email (as you're probably wondering) anyone
want to save me and tell me about this awesome program that will
run on my redhat pop mail server thus saving me hours upon hours
of programming time that i'm not going to get paid for. Or is 
anyone
else a java programmer that wants to help out? I've got a 
sem-decent
smtp client program now, just need to work on the pop part of it. 
anyway, figured i'd throw it out there and see if anyone had any
suggestions. thanks

===

Subject: Re: OT: very daring Web Mail project
From: Michael Johnson <readme@bilbo.bio.purdue.edu>
Date: Mon, 20 Dec 1999 11:50:06 -0500


Another Option:  have their home outlook set to leave messages on server...
delete after x days...

===
Subject: Re: OT: very daring Web Mail project
From: Vidiot <brown@mrvideo.vidiot.com>
Date: Mon, 20 Dec 1999 10:52:40 -0600 (CST)


>Problem:
>1) I need to read email in linux and windows and mac and....
>2) Employees want to read their new mail at home but would
>like it to remain on the server so they can still read it at 
>work.

Use Netscape's e-mail reader and set it to leave the mail on the server.
Problem solved, no extra cost.

===

Subject: Re: OT: very daring Web Mail project
From: "Greg W" <redhat_list@mail.com>
Date: Tue, 21 Dec 1999 03:58:22 +1100

Have you considered OCS ?  it has some small bugs, but will probably do
what you want........

http://www.obsidian.co.za/demo/

You gotta love the bean counters !
(we need 5 new servers, a new database and the warehouse online...by
tommorrow......the budget you spent last year has been allocated for this
24 hour project.......is there a problem ?  ;-)  )

===

Subject: Re: OT: very daring Web Mail project
From: Brian Anderson <bunicula@rcn.com>
Date: Mon, 20 Dec 1999 12:49:40 -0500 (EST)




did you look at MailMan?

http://www.endymion.com/ (or something very similar to that)

it's a perl based pop3 frontend. the code is miserable to try to tweak,
but it can be done...

===

Subject: Re: OT: very daring Web Mail project
From: Robert Burton <rburton@literati.com>
Date: Mon, 20 Dec 99 13:03:27 -0500


Maybe look at Justmail:

http://www.mstay.com/jm10_ab1.html

It is commercial, but maybe they have a freeware version .. 

===

Subject: Re: OT: very daring Web Mail project
From: Alan Mead <adm@ipat.com>
Date: Mon, 20 Dec 1999 13:17:09 -0600


At 01:03 PM 12/20/99 -0500, Robert Burton wrote:
>Maybe look at Justmail:
>
>http://www.mstay.com/jm10_ab1.html
>
>It is commercial, but maybe they have a freeware version .. 
>
>-Bob Burton
>IT Consultant
>Literati Information Technology, LLC

I just tried the demo version.  It doesn't seem to support attachments
(although not all helper apps will be available at home anyway) and it
seemed to lock up once and now it won't delete messages (maybe someone else
is reading them).  It's not clear whether the mail stays on the server and
I think users who get a lot of mail would have trouble managing their mail
because it's hard to delete files.  Finally, unless I'm mistaken, it
downloads all the mail at once (so if I have 40 message and get a new one,
I download 41 messages); I may have misunderstood the non-existent docs.

But a nice idea.  I wonder if it would hang a netscape on Linux...

===



Subject: Re: OT: very daring Web Mail project
From: Gordon Messmer <yinyang@eburg.com>
Date: Mon, 20 Dec 1999 16:11:50 -0800 (PST)


Jeff Graves wrote:
> The reason for this email (as you're probably wondering) anyone
> want to save me and tell me about this awesome program that will
> run on my redhat pop mail server thus saving me hours upon hours
> of programming time that i'm not going to get paid for. Or is
> anyone

I volunteer.  :)

An IMAP server is included with Red Hat, and if you're using pop, you've
probably got it installed.  I've got newer rpms on my ftp server at
ftp://duke.eburg.com/pub/linux/redhat-6.x-mycontrib (version 4.7).  My
IMAP rpm installs in under 1.5M (as does Red Hat's), and mine also
supports Qmail maildirs in addition to all standard mailbox formats.

Remove the # as the beginning of the line in /etc/inetd.conf and
'killall -HUP inetd' to activate imap service on your server.

Having said that, I recommend Qmail (with Maildirs) and Courier IMAP
both of which are free of charge, for both speed and security.  If you
have a spare Linux box, install them, and test them out for yourself. 
Even with small mailboxes, I notice a significant speed increase
accessing mail files using Courier IMAP server as opposed to the
installed UW IMAP server.

===


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

doom@kzsu.stanford.edu