Bonjour,

J'ai monté un serveur mail avec Postfix/dovecot/sieve/amavis.

Tous fonctionne, à peu près, bien sauf quand je reçois un spam:
- Il est bien identifié en tant que SPAM et il est mis dans le dossier "Junk"
- Il est aussi mis dans le dossier INBOX

je ne comprend pas pourquoi.

voici le log de postfix:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Jun 11 17:29:26 Mail postfix/smtpd[993]: connect from mail-qt0-f174.google.com[209.85.216.174]
Jun 11 17:29:27 Mail postfix/smtpd[993]: 7F3C82C0CD1: client=mail-qt0-f174.google.com[209.85.216.174]
Jun 11 17:29:27 Mail postfix/cleanup[995]: 7F3C82C0CD1: message-id=<CAGAcE-bU6jWRS9gJ021fXmSGaFOmXLefh4yxrHUQSLP_7xpA@mail.gmail.com>
Jun 11 17:29:27 Mail postfix/qmgr[823]: 7F3C82C0CD1: from=<xxx.yyyy@gmail.com>, size=3595, nrcpt=1 (queue active)
Jun 11 17:29:27 Mail postfix/smtpd[993]: disconnect from mail-qt0-f174.google.com[209.85.216.174] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Jun 11 17:29:28 Mail postfix/smtpd[999]: connect from localhost[127.0.0.1]
Jun 11 17:29:28 Mail postfix/smtpd[999]: 9F68E2C0CDD: client=localhost[127.0.0.1]
Jun 11 17:29:28 Mail postfix/cleanup[995]: 9F68E2C0CDD: message-id=<CAGAcE-bU6jWRS9gJ021fXmSGaFOmXLefh4yxrHUQSLP_7xpA@mail.gmail.com>
Jun 11 17:29:28 Mail postfix/qmgr[823]: 9F68E2C0CDD: from=<xxx.yyyy@gmail.com>, size=4482, nrcpt=1 (queue active)
Jun 11 17:29:28 Mail postfix/smtpd[999]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jun 11 17:29:28 Mail amavis[848]: (00848-03) Passed SPAM {RelayedTaggedInbound,Quarantined}, [209.85.216.174]:37984 [209.85.216.174] <xxx.yyyy@gmail.com> -> <xxx.yyyy@mydomain.com>, quarantine: u/spam-uqoK3CkB864T.gz, Queue-ID: 7F3C82C0CD1, Message-ID: <CAGAcE-bU6jWRS9gJ021fXmSGaFOmXLefh4yxrHUQSLP_7xpA@mail.gmail.com>, mail_id: uqoK3CkB864T, Hits: 999.881, size: 3595, queued_as: 9F68E2C0CDD, 901 ms
Jun 11 17:29:28 Mail postfix/smtp[996]: 7F3C82C0CD1: to=<xxx.yyyy@mydomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.2, delays=0.31/0.01/0/0.91, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 9F68E2C0CDD)
Jun 11 17:29:28 Mail postfix/qmgr[823]: 7F3C82C0CD1: removed
Jun 11 17:29:28 Mail dovecot: lda(xxx.yyyy@mydomain.com): sieve: msgid=<CAGAcE-bU6jWRS9gJ021fXmSGaFOmXLefh4yxrHUQSLP_7xpA@mail.gmail.com>: stored mail into mailbox 'Junk'
Jun 11 17:29:28 Mail dovecot: lda(xxx.yyyy@mydomain.com): sieve: msgid=<CAGAcE-bU6jWRS9gJ021fXmSGaFOmXLefh4yxrHUQSLP_7xpA@mail.gmail.com>: stored mail into mailbox 'INBOX'
Jun 11 17:29:28 Mail postfix/pipe[1000]: 9F68E2C0CDD: to=<xxx.yyyy@mydomain.com>, relay=dovecot, delay=0.26, delays=0.07/0.02/0/0.17, dsn=2.0.0, status=sent (delivered via dovecot service)
Jun 11 17:29:28 Mail postfix/qmgr[823]: 9F68E2C0CDD: removed
Je en sais pas si cela suffit comme information.

Merci d'avance