Article ID: 6964, created on Dec 7, 2009, last review on Aug 12, 2014

  • Applies to:
  • Plesk 9.2 for Linux/Unix

Symptômes

Lorsque vous essayez d'envoyer un mail avec le Filtre anti-spam d'activé, les erreurs suivantes s'affichent dans PRODUCT_ROOT_D/var/log/maillog :

/usr/local/psa/var/log/maillog
--->8---
Nov 26 11:46:30 hostname  spamd[6836]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /var/qmail/mailnames/mailnames/DOMAINNAME.TLD/.spamassassin/auto-whitelist.lock.hostname.6836 for /var/qmail/mailnames/mailnames/DOMAINNAME.TLD/.spamassassin/auto-whitelist.lock: No such file or directory
---8<---

Cause

Les gestionnaires de messagerie sont corrompus. Les enregistrements suivants existent dans le log de messagerie :

/usr/local/psa/var/log/maillog
--->8---
Nov 28 03:59:54 qmail-local-handlers[15711]: from=SENDER@SENDERDOMAIN.TLD
Nov 28 03:59:54 qmail-local-handlers[15711]: to=RECEPIENT@DOMAINNAME.TLD
Nov 28 03:59:54 qmail-local-handlers[15711]: mailbox: /var/qmail/mailnames/DOMAINNAME.TLD
Nov 28 03:59:54 qmail-local-handlers[15711]: hook_dir = '/usr/local/psa/handlers/before-local'
Nov 28 03:59:54 qmail-local-handlers[15711]: recipient[3] = ‘RECEPIENT@DOMAINNAME.TLD’
Nov 28 03:59:54 qmail-local-handlers[15711]: handlers dir = '/usr/local/psa/handlers/before-local/recipient/RECEPIENT@DOMAINNAME.TLD’ Nov 28 03:59:54 solarkit qmail-local-handlers[15711]: call_handlers: call executable = '/usr/local/psa/handlers/info/10-spam-1qhFiX/executable'
Nov 28 03:59:54 spamd[14712]: spamd: got connection over /tmp/spamd_full.sock
Nov 28 03:59:54 spamd[14712]: spamd: using default config for DOMAINNAME.TLD @mailnames: DOMAINNAME.TLD /.spamassassin/user_prefs
Nov 28 03:59:54 spamd[14712]: spamd: processing message <20091128085929.856DE2460650@DOMAINNAME.TLD > for DOMAINNAME.TLD@mailnames:110
Nov 28 03:59:54 spamd[14712]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /var/qmail/mailnames/mailnames/DOMAINNAME.TLD /.spamassassin/auto-whitelist.lock.
DOMAINNAME.TLD.14712 for /var/qmail/mailnames/mailnames/DOMAINNAME.TLD /.spamassassin/auto-whitelist.lock: No such file or directory
Nov 28 03:59:54 spamd[14712]: spamd: clean message (0.1/5.0) for DOMAINNAME.TLD@mailnames:110 in 0.1 seconds, 869 bytes.
Nov 28 03:59:54 spamd[14712]: spamd: result: . 0 - RDNS_NONE scantime=0.1,size=869,user=DOMAINNAME.TLD@mailnames, uid=110,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=/tmp/spamd_full.sock,mid=<20091128085929.856DE2460650@
DOMAINNAME.TLD>autolearn=no
Nov 28 03:59:54 qmail-local-handlers[15711]: handlers_stderr: PASS
Nov 28 03:59:54 qmail-local-handlers[15711]: call_handlers: PASS during call '/usr/local/psa/handlers/info/10-spam-1qhFiX/executable' handler
Nov 28 03:59:54 qmail: 1259398794.568528 delivery 644: deferral: ./Maildir:_No_such_file_or_directory/
Nov 28 03:59:54 qmail: 1259398794.568528 status: local 0/10 remote 0/20
---8<---


It tries to deliver mail to DOMAINNAME.TLD@mailnames instead of RECEPIENT@DOMAINNAME.TLD

Résolution

Désactiver/Activer le filtre anti-spam sur RECEPIENT@DOMAINNAME.TLD

Si cela se produit pour plusieurs domaines et noms de messagerie, il est préférable de recréer des gestionnaires comme indiqué dans http://kb.sp.parallels.com/fr/6410

11a46d8a188d618564f4f0cead9a50f3 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 6ef0db7f1685482449634a455d77d3f4 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF