• # Si j'ai bien compris...

    Posté par . En réponse au message configuration fastidieuse du trio clamav amavis-new postfix. Évalué à 0.

    tu cherches à télécharger tes mails, les passer sous antivirus et ensuite pouvoir les consulter ?
    Dans ce cas, il te faut effectivement fetchmail pour recuperer le mail :)
    J'ai un serveur de mail sous debian à coté de moi, je peux te passer mes fichiers de conf mais je ne pourrai pas t'aider (g installé ca ya un petit moment déjà et g oublié comment ca marche lol)

    --------------------------
    /etc/fetchmailrc
    --------------------------
    set postmaster "postmaster"
    set bouncemail
    set no spambounce
    set properties ""
    set daemon 150

    poll pop.free.fr with proto POP3
    user 'cheramy.maxime' there with password 'monmotdepasse' is 'max' here fetchall
    --------------------------

    --------------------------
    /etc/postfix/main.cf
    --------------------------
    command_directory = /usr/sbin
    daemon_directory = /usr/lib/postfix
    program_directory = /usr/lib/postfix
    setgid_group = postdrop

    append_dot_mydomain = no

    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    biff = no

    myhostname = server.mondomaine.org
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    mydestination = mondomaine.org
    relayhost =
    mynetworks = 127.0.0.0/8, 192.168.0.0/24
    mailbox_command =
    mailbox_size_limit = 0
    recipient_delimiter = +
    content_filter = vscan:
    --------------------------

    Dans le fichier /etc/postfix/master.cf

    j'ai à la fin :

    vscan unix - n n - 10 pipe user=amavis argv=/usr/sbin/amavis ${sender} ${recipient}
    localhost:10025 inet n - n - - smtpd -o content_filter=



    Voila en esperant que cela puisse t'aider.