Title left

Home misc ....


Title right

Catégories

Racine

Computer [en]

Le monde comme il va

Radio [en]

Informatique [fr]

Amis

Loisirs [fr]

The world as it goes

Archives 2002

Archives 2001

Autres resources de ce site

Francis Bebey
le langage Python
quelques éléments sur le jardinage

Ailleur

mon site le plus actif,
meme s'il est pas très beau

Archives originales

Best Viewed With Any Browser

www.cauce.org

Permanent link to archive for 02/12/29. dimanche 29 décembre 2002

a long piece (it will come as a separate page soon:

How to get and process mails from multiple accounts for une user on MacOSX

Introduction
=========

This is a "single user" station. But along the time, I got various EMail accounts that I uses for various purpose.

I have been using Eudora at home and Entourage at works for years. They were usefull tools for handling multiple accounts, filtering and such. Entourage is more "User friendly". Eutora is light AND powefull. It has one limitation for me, not being able to have different port for different pop servers.

For the following explanations, my local login is "fgranger" and my mail accounts will be toto@altern.org, toto@laposte.net and tata@laposte.net.

Installing fetchmail
===============
It is already available, so you just need to configure it. It will grab you mails and transfer them to a software wich will dispatch them locally. By default it will try to activate sendmail and if this fail, procmail.
In your folder, you need to create a file named ".fetchmailrc". To do this, use pico.

This file contains:
======================================================================
#set syslog
set daemon 600
set logfile /Users/fgranger/Mail/fetchmail.log
set postmaster "fgranger"
set no bouncemail
set invisible
set showdots

defaults proto pop3 uidl
# remove if invisible
tracepolls
keep
mda "/usr/bin/procmail -d %T"
no rewrite

poll pop.laposte.net
user toto there with pass password is fgranger here
user tata there with pass password is fgranger here

poll altern.org interval 3
user pbarn there with pass password is fgranger here
======================================================================
I did not activated syslog yet
I have it running as a daemon evry 10 minutes
I keep a log file of it activities.
I define some server defaults : defaults proto pop3 uidl
and some user default : keep mda "/usr/bin/procmail -d %T" no rewrite

Then for each server, I give it own parameters, then each account parameters.

Installing procmail
==============
It is already available, so you just need to configure it.
In your folder, you need to create a file named ".procmailrc". To do this, use pico.

This file contains:
======================================================================
SHELL=/bin/sh
DEFAULT=/var/mail/fgranger
LOGFILE=/Users/fgranger/procmail.log
LOGABSTRACT=all
MONTHFOLDER=`date +%y%m%d`

:0Wic
* ? test ! -d /Users/fgranger/Mail/$MONTHFOLDER
| mkdir /User/fgranger/Mail/$MONTFOLDER

:0c
/Users/fgranger/Mail/${MONTHFOLDER}/.

:0 fw
| python /Volumes/OS99/spambayes/hammiefilter.py

:0:
$DEFAULT
======================================================================
First some variables definitions.
The MONTFOLDER is a trick I got from the net, I converted it to a day folder.
First rule is to create the dayly folder.
Second rule is to keep a copy of each incoming mail in separate files in the dayly folder.
Third rule activate Spambayes scoring on each message "f" for filter "w" for waiting that it finishes.
Last rules store all mails in the /var/mail/fgranger file with a lock to prevent concurent access.

installing GNUMail
==============
Just download the .dmg. Drag & drop the unique file from the disque inside the Application folder.

Setup:
Lauch GNUmail by double clicking it.
The key thing is in the Receiving preference. In the Incoming mail server arrea, click on the blue "+". In th the Server type pop-up choose UNIX. Then click on the UNIX tab. you should already have "/var/mail/fgranger".

Using spambayes
=============
In GNUMail you create a filter:
GNUMail menu
Preferences...
Filtering (the right most icon)
With the blue plus, you create a new rule. You name it. In the Criteria areal, you click on the To pop up and go to Expert...
There, you enter the "X-Spambayes-Classification" in the bottom of the screen and click OK. In the middle pop up menu, you keep "Contains", and in the right field, you enter "spam". Et voilà.

Using MacSOUP
============
The latest version of MacSOUP allow multiple accounts. It installation is really straight forward.

Other possibilities.
Posted at 5:13:26 PM  

*Soupir*

Je suis abonnée à quelques listes de discussion de langagiers, où je puise également des ressources et où je peux suivre le pouls de la communauté. Je peux quelquefois y cueillir d'excellents renseignements, mais aussi, comme partout ailleurs, y lire une quantité d'inepties parfois surprenante. Dernièrement, sur une de ces listes, une abonnée a écrit Ç Je trouve que les bons travailleurs sont ceux qui, en acceptant un emploi, renoncent à leur vie personnelle. Il devrait y avoir un genre de voeux semblables à ceux religieux, mais pour le travail. È À ma connaissance, personne ne lui a répondu. Je le ferai ici.

Je trouve que les bons êtres humains sont ceux qui, en acceptant de vivre, renoncent à prioriser autre chose que les valeurs fondamentales du respect et de l'amour, véhiculées par la vie de famille, ou l'amitié, ou l'empathie réelle, ou toute autre forme de reconnaissance des sentiments humains et beaux. Il devrait y avoir un genre de sanctions pour ceux qui prétendent détenir la vérité et prêcher que l'individu doit vivre pour son travail et non travailler pour vivre. Le travail ne saurait être comparé à une religion. Il peut être un outil merveilleux pour parvenir à un idéal et une source d'accomplissement extraordinaire. Mais il n'est que ça, un outil. Bien souvent éphémère. Ne l'oublions pas. Un bon travailleur est celui qui aime son travail et s'y consacre. Nul n'est besoin d'abnégation de soi... ou des autres. Le travail est un complément et non une raison d'être.

[Les coups de langue de la grande rousse]

Décidément, je l'aime la grande rousse !
Posted at 3:54:53 PM  

Un site dont il faut rappeler l'adresse de temps en temps:

http://www.pros-n-cons.net/sciure
Posted at 3:31:23 PM  


Right

Last update: 29/12/02; 17:13:31
Copyright 2002 - Fran°ois Granger

Click here to see the XML version of this weblog.

This site is edited with Radio UserLand, the first personal Web Application server for Windows and Macintosh.