Re: Programs to Receive and filter mail

2007-05-12 Thread Frank Terbeck
Cleverson <[EMAIL PROTECTED]>:
[...]
> If there are alternate programs, I of course accept suggestions.

fdm can do both on its own.


Regards, Frank

-- 
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
  -- RFC 1925


Re: Folder Format for my setup

2007-05-12 Thread Raffi Khatchadourian

I have a question relating to this one. I've recently switched from mbox
to maildir and I've noticed that, while the performance seems better,
the amount of exposed message headers has drastically increased. Any
idea why and how to get it back to the mbox normal amount?

On Wed  9.May'07 at 21:40:23 -0300, Cleverson wrote:

Hi all

I've read about Mbox and Maildir at the Mutt wiki. I'd apreciate more
personal opinions on which format could be better for my case in
particular:

I've just installed Gentoo Linux and now I intend to setup a mail
system with Mutt. My CPU is an AMD Sempron 1500 mhz, 256 RAM. My
filesystem is ReiserFS 3.6.

Usually, I receive about 20 to 60 messages per day, depending on how
active I am at mailing lists.

I'd like to know, for example, wheter there are features that don't
exist or don't work well with one of the two folder formats, if one of
them have theoretically better performance in general, what is the
best format to manage messages (move, copy, save...), either using
Mutt or other programs.

Is it true that Maildir has better performance while loading folders?
And about file corruption consequences for each one?  Many thanks

Cleverson



Re: How to send PGP-encrypted mail non-interactively?

2007-05-12 Thread Michelle Konzack
Am 2007-05-10 16:58:12, schrieb Darrin Chandler:
> For the archives, I've got a method working well, though it's not very
> elegant. Here's what I've got going, in a shell snippet:

Why do you use mutt-monster to send such messages?

> --
> gpg --encrypt --armor --output foo.pgp $RECIPIENT < foo
> echo encrypted stuff attached | mutt -s Subject -a foo.pgp $RECIPIENT
> --


8<-
sendmail -t <
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="1234567890"
Content-Disposition: inline

--1234567890
$(cat foo.pgp)
--1234567890--
EOF
8<-

which works times faster then calling a full blown mutt and specialy if
you uses somehing lime ssmtp.

Note: I send per day nearly 37.000 messages of this kind from my server
  to the emplye of the french "Ministry of Defense" for which I am
  working.

Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: Best way to handle DOS newlines

2007-05-12 Thread Michelle Konzack
Am 2007-05-07 17:59:43, schrieb Ray Van Dolson:
> I occasionally get emails generated from a web application here at work
> that uses DOS/Windows newlines instead of Unix ones.  All the text
> shows up as one large line interspersed with ^M^M's.  I'd like to
> figure out a good way to:
> 
>   1. Correct this in the pager view of the message.
>   2. Correct this prior to the message being passed to my editor (vim)
>  for quoting.
> 
> Currently I am resolving 1 by using the following message-hook:
> 
>   message-hook '~f [EMAIL PROTECTED]' 'set display_filter="sed -f 
> ~/bin/fix_m.sed"'

Why not use:  set display_filter="/usr/bin/dos2unix"

> Where fix_m.sed strips out the ^M's and replaces them with my preferred
> newlines.
> 
> However, if I hit reply to this message, everything shows up in vim in
> the original format -- ie with the ^M's all intact and everything on
> one line.
> 
> I can correct this from wtihin vim, but I'd prefer it all be automated.

How do you get your E-Mails?

Do you use "procmail"?

Since I am on mailinglists which support Linux AND WINDOWS, I get this
^M regulary...
...and use:



# FLT_dos_coded

:0 fw
* ^1^ \r\n
* ? which dos2unix >/dev/null 2>&1
|/usr/bin/dos2unix



Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: Folder Format for my setup

2007-05-12 Thread Michelle Konzack
Am 2007-05-09 21:40:23, schrieb Cleverson:
> I've just installed Gentoo Linux and now I intend to setup a mail system 
> with Mutt. My CPU is an AMD Sempron 1500 mhz, 256 RAM. My filesystem is 
> ReiserFS 3.6.

> Is it true that Maildir has better performance while loading folders? And 

Yes. And it is realy cool, if you need to modify or parse messages outside
of a MUA from, a script...

> about file corruption consequences for each one?

ReiserFS with ZERO your file on corruption which is realy bad for mbox.
You may encounter file locking problems IF YOU must access the Mailfolder
over NFS if using mbox (they are read-only).

So I go for Maildir which had no problems since ages and gaved me no
problems while migration to courier-imap.

Also is Maildir better, if you need daily incremental backups...
I run 4 incremental backups per day!  With Mailboxes impossibel since
this would backup over 400 GByte all 6 hours insteed of 10 MByte.

My FileServer @home stores 5850 Mailfolders (including -MM archives
of over 150 Mailinglists from the last 8 years) with OVER 7.55 million
messages...  Try to make an incremental backup of this!
You will shoot you.

> Many thanks
> 
> Cleverson

Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: How to send PGP-encrypted mail non-interactively?

2007-05-12 Thread Darrin Chandler
On Sat, May 12, 2007 at 12:54:26PM +0200, Michelle Konzack wrote:
> Why do you use mutt-monster to send such messages?

It's nice and simple! While I would only be sending
one or two messages per day and the overhead of mutt would not matter, I
still prefer simple when possible. Thank you, Michelle!

-- 
Darrin Chandler|  Phoenix BSD User Group  |  MetaBUG
[EMAIL PROTECTED]   |  http://phxbug.org/  |  http://metabug.org/
http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG Federation


Re: Charset issue?

2007-05-12 Thread Ken Moffat
On Fri, May 11, 2007 at 10:08:23PM -0600, Kyle Wheeler wrote:
> >locale: Cannot set LC_ALL to default locale: No such file or directory
> >ANSI_X3.4-1968
> 
> HUH! Don't see ANSI_X3.4-1968 very often... no idea if that's a 
> problem or not.
> 
 I had this earlier this year - it's almost certainly a consequence
of specifying a locale that is not installed.  In this case,
probably an error in specifying the locale name (':' noted by
somebdy in another post).

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce


Re: Programs to Receive and filter mail

2007-05-12 Thread Eyolf Oestrem

On 11.05.2007 (22:31), Charles Cazabon wrote:

slakmagik <[EMAIL PROTECTED]> wrote:



n/getmail-4.7.4-noarch-1.tgz:  A secure python-based fetchmail alternative.


Very interesting.  getmail is included in most of the major distributions
these days as an optional package, but that's the most recent version I've
seen any of them ship -- that's the current version.


FYI, Archlinux also has this version. 


Eyolf

--
Hodie natus est radici frater.

[ Unto the root is born a brother ]


Re: Folder Format for my setup

2007-05-12 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday, May 12 at 03:41 AM, quoth Raffi Khatchadourian:
> I have a question relating to this one. I've recently switched from mbox
> to maildir and I've noticed that, while the performance seems better,
> the amount of exposed message headers has drastically increased. Any
> idea why and how to get it back to the mbox normal amount?

What do you mean by "exposed message headers"?

I generally do this:

 ignore *
 unignore Subject
 unignore To
 unignore From:
 unignore Date
 unignore Cc

Then the ONLY headers I see (unless I turn off header weeding) are 
those five.

~Kyle
- -- 
We act as though comfort and luxury were the chief requirements of 
life, when all that we need to make us really happy is something to be 
enthusiastic about.
-- Charles Kingsley
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iD8DBQFGRdwmBkIOoMqOI14RAuLXAKDCA6PEoh2f0IJfxmTfQZaY/9G6FwCbBp4c
QNoLSQCucM9UyMwnAAAa1do=
=3jSO
-END PGP SIGNATURE-


Re: Programs to Receive and filter mail

2007-05-12 Thread Cleverson

Hi folks,

Thank you all for the tips given thus far. I'll probably set up Getmail + 
Maildrop, and

will also test FDM suggested by Frank.

Now another question:
In Gentoo's Portage system, the latest Mutt version is 1.5.15-r2. Does it 
have built-in SMTP, or should I install a piece of software to send e-mails?


Thanks again,
Cleverson

"Be realistic; ask for the impossible."


Date in header

2007-05-12 Thread Salve Håkedal
Hallo all

Mutt lets me configure almost everything, and it makes me go wild..
So:
Can mutt translate the date-line in the header to my locale?

Salve


Re: Date in header

2007-05-12 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday, May 12 at 09:07 PM, quoth Salve Håkedal:
>Mutt lets me configure almost everything, and it makes me go wild..
>So:
>Can mutt translate the date-line in the header to my locale?

Yup! Add this to your muttrc:

 set locale=nb_NO

(Note that that's only for displaying dates; the format of the Date 
header is standardized)

~Kyle
- -- 
Having a family is like having a bowling alley installed in your 
brain.
 -- Martin Mull
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iD8DBQFGRip8BkIOoMqOI14RAvGSAJ4+bEb82I4zfQwFYdgZBTR565REZwCghpeK
rNvJVg29nAbNZyLNjHY93oU=
=Ix6q
-END PGP SIGNATURE-


Re: Programs to Receive and filter mail

2007-05-12 Thread slakmagik
On 2007-05-12 (Sat) 13:53:47 [-0300], Cleverson wrote:
> 
> Now another question:
> In Gentoo's Portage system, the latest Mutt version is 1.5.15-r2. Does it 
> have built-in SMTP, or should I install a piece of software to send e-mails?
> 

Couldn't say for sure, but it would be quite a departure. I have 1.5.13
and it doesn't. I use msmtp and, again, am quite happy with it.


Re: Locale problem and sent index

2007-05-12 Thread Alain Bench
Salve,

 On Friday, May 11, 2007 at 22:54:42 +0200, Salve Håkedal wrote:

>| LC_ALL=nb_NO

LANG suffices: Unset LC_ALL.


> results in an ? substituting the 'å' in 'Salve Håkedal' in the
> recievers inbox.

Charset conflict. Probably because you haven't set $from nor
$realname.


> I can correct this with using:
> my_header From: "Salve Håkedal" <[EMAIL PROTECTED]>

Better don't use "my_hdr From:". For explanations, and for your
other questions, please take a look at the FAQ on the Mutt wiki.


Bye!Alain.
-- 
Give your computer's unused idle processor cycles to a scientific goal:
The [EMAIL PROTECTED] project at http://folding.stanford.edu/>.


Re: Programs to Receive and filter mail

2007-05-12 Thread David Champion
* On 2007.05.12, in <[EMAIL PROTECTED]>,
*   "Cleverson" <[EMAIL PROTECTED]> wrote: 
>
> In Gentoo's Portage system, the latest Mutt version is 1.5.15-r2. Does it 
> have built-in SMTP, or should I install a piece of software to send e-mails?

ESMTP client support was added between 1.5.14 and 1.5.15, so Gentoo's
package should have it.

-- 
 -D.[EMAIL PROTECTED], an Element of NSITUniversity of Chicago


Re: Charset issue? [SOLVED]

2007-05-12 Thread Roland Hill
On Fri, 11 May 2007 or thereabouts, Kyle Wheeler came forth with:

> >> | $ locale
> >[EMAIL PROTECTED]:~$ locale
> >locale: Cannot set LC_CTYPE to default locale: No such file or directory
> >locale: Cannot set LC_MESSAGES to default locale: No such file or
> >directory
> >locale: Cannot set LC_ALL to default locale: No such file or directory

> Hmmm, that's bad. Let's see what it's complaining about:

> >LANGUAGE=en_NZ:en
> >LC_CTYPE="en_NZ"
> >LC_MESSAGES="en_NZ"
> >LC_ALL=

> Well, LANGUAGE looks odd, and LC_ALL shouldn't be set at all unless 
> you really need it (which, chances are, you don't); LANG and LANGUAGE 
> are sufficient.

Okay, I did some reading and did:

dpkg-reconfigure locales, then
update-locale LANG=en_NZ.ISO-8859-1, then
restarted the box (it seemed to need it.

I now get:

[EMAIL PROTECTED]:~$ locale
LANG=en_NZ.ISO-8859-1
LANGUAGE=en_NZ:en
LC_CTYPE="en_NZ.ISO-8859-1"
LC_NUMERIC="en_NZ.ISO-8859-1"
LC_TIME="en_NZ.ISO-8859-1"
LC_COLLATE="en_NZ.ISO-8859-1"
LC_MONETARY="en_NZ.ISO-8859-1"
LC_MESSAGES="en_NZ.ISO-8859-1"
LC_PAPER="en_NZ.ISO-8859-1"
LC_NAME="en_NZ.ISO-8859-1"
LC_ADDRESS="en_NZ.ISO-8859-1"
LC_TELEPHONE="en_NZ.ISO-8859-1"
LC_MEASUREMENT="en_NZ.ISO-8859-1"
LC_IDENTIFICATION="en_NZ.ISO-8859-1"
LC_ALL=

..and,

[EMAIL PROTECTED]:~$ locale charmap
ISO-8859-1

..and,

[EMAIL PROTECTED]:~$ locale -a | grep ^en_
en_AU
en_AU.utf8
en_BW
en_BW.utf8
en_CA
en_CA.utf8
en_DK
en_DK.utf8
en_GB
en_GB.iso885915
en_GB.utf8
en_HK
en_HK.utf8
en_IE
[EMAIL PROTECTED]
en_IE.utf8
en_IN
en_NZ
en_NZ.utf8
en_PH
en_PH.utf8
en_SG
en_SG.utf8
en_US
en_US.iso885915
en_US.utf8
en_ZA
en_ZA.utf8
en_ZW
en_ZW.utf8

> If you refer to the output of `locale -a`, you do not have "en_NZ" as 
> an option, nor do you have "en_NZ:en". Those should be changed to 
> "en_NZ.utf8". And, if you're going to use UTF8, you should make sure 
> you are using terminals capable of displaying UTF8 (I don't know that 
> Eterm can, and gnome-terminal probably has to be configured properly 
> to do so). From the pictures you posted, it looks like neither of them 
> can display UTF8 characters. Try, just for grins using `uxterm`.

I still think things arn't perfect, but I can now view the 'problem' mails
correctly.

Thanks to Alain, Kyle and others for helping.

-- 
Regards,

Roland

PGP Key 0xDA39319B = BCF0 1214 BAE9 5A3D 46FC 21A6 360D 9398 DA39 319B


signature.asc
Description: Digital signature