Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Procmail] Délivrer des mails en parallèle Imap + standart
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
razer
l33t
l33t


Joined: 08 Oct 2004
Posts: 893
Location: Paris - France

PostPosted: Tue Jan 25, 2005 11:23 am    Post subject: [Procmail] Délivrer des mails en parallèle Imap + standart Reply with quote

Bonjour,
Mon titre n'est pas clair, donc je détaille.
J'essaye de déployer chez une entreprise un système de groupware (opengroupware), afin de remplacer un outlook récalcitrant.
Cà implique côté mail le remplacement d'un système fetchmail -> boîte mail au format unix (/var/mail/login), vers un fetchmail -> procmail (antivirus+spamassassin) -> boîte IMAP (/home/login/Maildir)
En effet Outlook chopait les mails via pop3-boite unix sur le serveur équipé de fetchmail.
Le 2 techniques fonctionnent. Cependant je cherche le moyen de déployer la nouvelle technique (imap) en parrallèle de la première (que outlook-pop puisse continuer à fonctionner si çà fouare)
Voici comment actuellement çà fonctionne actuellement
Fetchmail pour un compte pop - mail unix :
Code:
poll pop.fournisseur.fr
        proto pop3
        via pop.fournisseur.fr
        interface ppp0/0.0.0.0/0.0.0.0
        user "utilisateurpop"
        pass "passwd"
        is razer


Fetchmail + .procmailrc pour un compte imap - opengroupware
Fetchmail :
Code:
poll pop.fournisseur.fr
        proto pop3
        via pop.fournisseur.fr
        interface ppp0/0.0.0.0/0.0.0.0
        user "utilisateurpop"
        pass "passwd"
        mda "/usr/bin/procmail -d %T"
        is razer

~/.procmailrc
Code:
PATH=/var/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
MAILDIR=/home/razer/Maildir/  # You'd better make sure it exists
DEFAULT=$MAILDIR
LOGFILE=$MAILDIR/log
LOCKFILE=$MAILDIR/.lockmail

:0fw            # On scanne les virus
| /usr/bin/clamassassin

:0fw            # On scanne le  spam
| /usr/bin/spamassassin

:0
* ^X-Virus-Status: Yes
.virus/         # Dans la boite virus

:0              # Le spam
* ^Subject:.*SPAM
.spam/


Voila, je voudrais donc que les utilisateurs configurés avec procmail et imap continuent à avoir leurs mails dans leur boîte unix /var/mail/utilisateur, afin de pouvoir les consulter soit via opengroupware, soit via outlook.

J'espère avoir été à peu près clair, si qq1 a une idée, merci d'avance
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum