Procmail enregistre tous les nouveaux e-mails directement dans le dossier maildir souhaité au lieu de maildir/new. Mon .procmailrc est la suivante:procmail n'enregistre pas les e-mails dans maildir/new
SHELL=/bin/bash
LINEBUF=4096
PATH=/bin:/usr/bin:/usr/local/bin:/opt/local/bin
VERBOSE=off
MAILDIR=/mnt/data/maildir
DEFAULT=$MAILDIR/inbox/ # See the slash!
LOGFILE=$HOME/procmaillog
FORMAIL=/opt/local/bin/formail
SENDMAIL=/usr/sbin/sendmail
# Nuke duplicate messages
:0 Wh: msgid.lock
| $FORMAIL -D 8192 msgid.cache
:0 a:
$MAILDIR/duplicates
# SpamAssassin sample procmailrc
:0fw: spamassassin.lock
* < 256000
| spamassassin-5.24
# Mails with a score of 15 or higher are almost certainly spam (with 0.05%
# false positives according to rules/STATISTICS.txt). Let's put them in a
# different mbox. (This one is optional.)
:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
$MAILDIR/junk
# All mail tagged as spam (eg. with a score higher than the set threshold)
:0:
* ^X-Spam-Status: Yes
$MAILDIR/junk
:0:
* ^List-id: .*(somelist_id|someother_list_id|etc)
$MAILDIR/nerdy_groups_and_lists
# Work around procmail bug: any output on stderr will cause the "F" in "From"
# to be dropped. This will re-add it.
:0
* ^^rom[ ]
{
LOG="*** Dropped F off From_ header! Fixing up. "
:0 fhw
| sed -e '1s/^/F/'
}
le problème est qu'au lieu de trouver mes e-mails en exemple /mnt/data/maildir/junk/new
ou /mnt/data/maildir/nerdy_groups_and_lists/new
Je les trouve sous /mnt/data/maildir/junk
et /mnt/data/maildir/nerdy_groups_and_lists
, respectivement et mu4e ne peut pas les trouver. Qu'est-ce que je fais mal?
Êtes-vous du futur, ou avez-vous mal saisi le numéro de version de SpamAssassin? La dernière version est 3.4.1. – tripleee
@triplee: 'spamassassin-5.24 --version' donne ' SpamAssassin version 3.4.1 fonctionnant sur Perl version 5.24.1';) –