Je donne mes fichiers de configuration, au cas où quelqu'un aurait des difficultés.
/etc/fetchmailrc:
set postmaster "elshaman"
set nobouncemail
set no spambounce
set properties ""
poll pop.wanadoo.fr with proto POP3
user 'toto' there with password 'lol' is 'elshaman' here options fetchall
user 'tata' there with password 'lemotdepasse' is 'elshaman' here options fetchall
user 'titi' there with password 'envoiedubois' is 'titi' here options fetchall
|
Pour les gens qui n'utilisent pas une Debian:
fetchmail est lancé sous l'utilisateur « fetchmail »avec les options suivantes par la ligne de commandes:
--daemon 300 --syslog -f /etc/fetchmailrc -i /var/mail/.fetchmail-UIDL-cache
/etc/procmailrc:
PATH=/usr/local/bin:/usr/bin:/bin
SHELL=/bin/sh
DEFAULT=/var/mail/$LOGNAME
LOGFILE=$HOME/.procmail.log
LOGABSTRACT=no
VERBOSE=no
:0fw: spamassassin.lock
* < 256000
| /usr/bin/spamassassin
:0
* ^X-Spam-Status: YES
$HOME/.spam
|
Le courrier est délivré au format MBOX dans /var/mail/nom_utilisateur.
/etc/procmail/main.cf:
# see /usr/share/postfix/main.cf.dist for a commented, fuller
# version of this file.
# Do not change these directory settings - they are critical to Postfix
# operation.
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
setgid_group = postdrop
# appending .domain is the MUA's job.
append_dot_mydomain = no
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# Uncomment the next line to generate delayed mail warnings
#delay_warning_time = 4h
myhostname = camus.celestiadust
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = camus.celestiadust, localhost.celestiadust, localhost
relayhost = smtp.wanadoo.fr
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
sender_canonical_maps = hash:/etc/postfix/canonical
|
« celestiadust » est mon petit nom de domaine à moi
/etc/postfix/canonical:
# # SEE ALSO
# cleanup(8) canonicalize and enqueue mail
# postmap(1) create mapping table
# virtual(5) virtual domain mapping
# pcre_table(5) format of PCRE tables
# regexp_table(5) format of POSIX regular expression tables
# # LICENSE
# The Secure Mailer license must be distributed with this software.
# # AUTHOR(S)
# Wietse Venema
# IBM T.J. Watson Research
# P.O. Box 704
# Yorktown Heights, NY 10598, USA
# # CANONICAL(5)
elshaman toto@wanadoo.fr
titi titi@wanadoo.fr
|
Voilà
En espérant ne pas avoir laissé d'erreur, je remercie tous ceux qui ont accepté de passer du temps à m'aider.