Bonjour
J’ai cette erreur archi bloquante qui vient de se produire sur un serveur heureusement pas encore en prod … Que ce soit d’un client lourd ou bien du webmail j’ai l’erreur.
Help please
Bonjour
J’ai cette erreur archi bloquante qui vient de se produire sur un serveur heureusement pas encore en prod … Que ce soit d’un client lourd ou bien du webmail j’ai l’erreur.
Help please
Avez-vous plus d’information dans les logs de postfix (/var/log/mail.log et/ou /var/log/mail.err) ?
Avez-vous ce problème avec l’ensemble des mails ou uniquement certains ?
Que donne les commandes:
# ls -ld /var/spool/postfix
# ls -al /var/spool/postfix
# df -h
ls -ld /var/spool/postfix
drwxr-xr-x 21 root root 4096 janv. 2 11:38 /var/spool/postfix
ls -al /var/spool/postfix
total 84
drwxr-xr-x 21 root root 4096 janv. 2 11:38 .
drwxr-xr-x 13 root root 4096 janv. 5 13:28 ..
drwx------ 2 postfix root 4096 janv. 11 11:23 active
drwx------ 2 postfix root 4096 janv. 2 11:38 bounce
drwx------ 2 postfix root 4096 janv. 2 11:38 corrupt
drwx------ 2 postfix root 4096 janv. 2 11:38 defer
drwx------ 2 postfix root 4096 janv. 2 11:38 deferred
drwxr-xr-x 2 root root 4096 janv. 11 11:11 dev
drwxr-xr-x 3 root root 4096 janv. 2 11:39 etc
drwx------ 2 postfix root 4096 janv. 2 11:38 flush
drwx------ 2 postfix root 4096 janv. 2 11:38 hold
drwx------ 2 postfix root 4096 janv. 11 11:23 incoming
drwxr-xr-x 3 root root 4096 janv. 2 11:38 lib
drwx-wx--T 2 postfix postdrop 4096 janv. 2 11:38 maildrop
drwxr-xr-x 2 root root 4096 janv. 11 10:56 pid
drwx------ 2 postfix root 4096 janv. 11 11:11 private
drwx--s--- 2 postfix postdrop 4096 janv. 11 11:11 public
drwx------ 2 postfix root 4096 janv. 2 11:38 saved
drwx------ 2 postfix root 4096 janv. 2 11:38 trace
drwxr-xr-x 3 root root 4096 janv. 2 11:37 usr
drwxr-xr-x 3 root root 4096 janv. 2 11:38 var
df -h
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
udev 2,9G 0 2,9G 0% /dev
tmpfs 597M 8,5M 589M 2% /run
/dev/sda1 388G 13G 356G 4% /
tmpfs 3,0G 4,0K 3,0G 1% /dev/shm
tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs 3,0G 0 3,0G 0% /sys/fs/cgroup
tmpfs 597M 0 597M 0% /run/user/0
Avez-vous plus d’information dans les logs de postfix (/var/log/mail.log et/ou /var/log/mail.err) ?
Avez-vous ce problème avec l’ensemble des mails ou uniquement certains ?
A priori tous les mails j’ai fait des tests avec deux utilisateurs …
2 14:22:51 bmmail cyrus/master[25891]: process 25947 exited, signaled to death by 3
Jan 2 14:23:15 bmmail cyrus/master[30446]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted
Jan 2 14:23:15 bmmail cyrus/master[30446]: retrying with 65536 (current max)
Jan 2 14:23:15 bmmail cyrus/tls_prune[30465]: DBERROR: opening /var/lib/cyrus/tls_sessions.db: cyrusdb error
Jan 2 14:23:15 bmmail cyrus/master[30446]: process 30465 exited, status 1
Jan 2 14:24:59 bmmail cyrus/master[1422]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted
Jan 2 14:24:59 bmmail cyrus/master[1422]: retrying with 65536 (current max)
Jan 2 14:24:59 bmmail cyrus/tls_prune[1440]: DBERROR: opening /var/lib/cyrus/tls_sessions.db: cyrusdb error
Jan 2 14:24:59 bmmail cyrus/master[1422]: process 1440 exited, status 1
Jan 3 04:01:00 bmmail cyrus/tls_prune[23659]: DBERROR: opening /var/lib/cyrus/tls_sessions.db: cyrusdb error
Jan 3 15:25:21 bmmail cyrus/notify[1448]: recvfrom failed: Interrupted system call
Jan 3 15:25:21 bmmail cyrus/master[1422]: process 1449 exited, signaled to death by 3
Jan 3 15:25:46 bmmail cyrus/master[16231]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted
Jan 3 15:25:46 bmmail cyrus/master[16231]: retrying with 65536 (current max)
Jan 3 15:25:46 bmmail cyrus/tls_prune[16337]: DBERROR: opening /var/lib/cyrus/tls_sessions.db: cyrusdb error
Jan 3 15:25:46 bmmail cyrus/master[16231]: process 16337 exited, status 1
Jan 4 04:01:00 bmmail cyrus/tls_prune[1277]: DBERROR: opening /var/lib/cyrus/tls_sessions.db: cyrusdb error
Jan 5 04:01:00 bmmail cyrus/tls_prune[2859]: DBERROR: opening /var/lib/cyrus/tls_sessions.db: cyrusdb error
Jan 5 16:29:23 bmmail cyrus/master[1486]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted
Jan 5 16:29:23 bmmail cyrus/master[1486]: retrying with 65536 (current max)
Jan 5 16:29:23 bmmail cyrus/tls_prune[1495]: DBERROR: opening /var/lib/cyrus/tls_sessions.db: cyrusdb error
Jan 5 16:29:23 bmmail cyrus/master[1486]: process 1495 exited, status 1
Jan 6 04:01:00 bmmail cyrus/tls_prune[20443]: DBERROR: opening /var/lib/cyrus/tls_sessions.db: cyrusdb error
Jan 7 04:01:00 bmmail cyrus/tls_prune[23319]: DBERROR: opening /var/lib/cyrus/tls_sessions.db: cyrusdb error
Jan 8 04:01:00 bmmail cyrus/tls_prune[24590]: DBERROR: opening /var/lib/cyrus/tls_sessions.db: cyrusdb error
Jan 9 04:01:00 bmmail cyrus/tls_prune[25586]: DBERROR: opening /var/lib/cyrus/tls_sessions.db: cyrusdb error
Jan 10 04:01:00 bmmail cyrus/tls_prune[29021]: DBERROR: opening /var/lib/cyrus/tls_sessions.db: cyrusdb error
Jan 11 04:01:00 bmmail cyrus/tls_prune[30099]: DBERROR: opening /var/lib/cyrus/tls_sessions.db: cyrusdb error
Jan 11 10:51:45 bmmail postfix/cleanup[8568]: error: open /etc/postfix/BM_mime_header_checks: No such file or directory
Jan 11 10:59:47 bmmail cyrus/notify[1501]: recvfrom failed: Interrupted system call
Jan 11 10:59:48 bmmail cyrus/master[1486]: process 1502 exited, signaled to death by 3
Jan 11 11:00:14 bmmail cyrus/master[12199]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted
Jan 11 11:00:14 bmmail cyrus/master[12199]: retrying with 65536 (current max)
Jan 11 11:00:15 bmmail cyrus/tls_prune[12304]: DBERROR: opening /var/lib/cyrus/tls_sessions.db: cyrusdb error
Jan 11 11:00:15 bmmail cyrus/master[12199]: process 12304 exited, status 1
Jan 11 11:01:57 bmmail cyrus/master[1442]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted
Jan 11 11:01:57 bmmail cyrus/master[1442]: retrying with 65536 (current max)
Jan 11 11:01:57 bmmail cyrus/tls_prune[1472]: DBERROR: opening /var/lib/cyrus/tls_sessions.db: cyrusdb error
Jan 11 11:01:57 bmmail cyrus/master[1442]: process 1472 exited, status 1
Jan 11 11:03:09 bmmail postfix/cleanup[4971]: error: open /etc/postfix/BM_mime_header_checks: No such file or directory
Jan 11 11:11:33 bmmail cyrus/master[1477]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted
Jan 11 11:11:33 bmmail cyrus/master[1477]: retrying with 65536 (current max)
Jan 11 11:11:33 bmmail cyrus/tls_prune[1489]: DBERROR: opening /var/lib/cyrus/tls_sessions.db: cyrusdb error
Jan 11 11:11:33 bmmail cyrus/master[1477]: process 1489 exited, status 1
Jan 11 11:12:51 bmmail postfix/cleanup[4999]: error: open /etc/postfix/BM_mime_header_checks: No such file or directory
Jan 11 11:21:55 bmmail cyrus/notify[1495]: recvfrom failed: Interrupted system call
Jan 11 11:21:55 bmmail cyrus/master[1477]: process 1496 exited, signaled to death by 3
Jan 11 11:22:19 bmmail cyrus/master[9501]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted
Jan 11 11:22:19 bmmail cyrus/master[9501]: retrying with 65536 (current max)
Jan 11 11:22:19 bmmail cyrus/tls_prune[9591]: DBERROR: opening /var/lib/cyrus/tls_sessions.db: cyrusdb error
Jan 11 11:22:19 bmmail cyrus/master[9501]: process 9591 exited, status 1
Jan 11 11:23:44 bmmail postfix/cleanup[10460]: error: open /etc/postfix/BM_mime_header_checks: No such file or directory
Pouvez-vous nous fournir votre fichier /etc/postfix/main.cf ?
smtpd_banner = $myhostname ESMTP $mail_name (BlueMind)
biff = no
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
myhostname = bm.mondomain.com
myorigin = $myhostname
relayhost =
# Liste des bases d'alias consultées par l'agent de livraison 'local'
alias_maps = hash:/etc/aliases
# Listes des base d'alias mise à jour par 'newaliases'
alias_database = hash:/etc/aliases
local_recipient_maps = $alias_maps
mydestination = localhost, $myhostname
mynetworks = <reseau>/32, 127.0.0.0/8
message_size_limit = 10000000
mailbox_size_limit = 10000000
virtual_transport = error:mailbox does not exist
virtual_mailbox_domains = hash:/etc/postfix/virtual_domains
virtual_mailbox_maps = hash:/etc/postfix/virtual_mailbox
virtual_alias_maps = hash:/etc/postfix/virtual_alias
transport_maps = hash:/etc/postfix/transport, hash:/etc/postfix/master_relay_transport
recipient_delimiter = +
# SMTP/TLS
smtp_tls_security_level = may
smtp_tls_mandatory_protocols = !SSLv2,!SSLv3
smtpd_tls_security_level=may
smtpd_tls_cert_file=/etc/ssl/certs/bm_cert.pem
smtpd_tls_key_file=/etc/ssl/certs/bm_cert.pem
smtpd_tls_CAfile=/var/lib/bm-ca/cacert.pem
smtpd_tls_mandatory_protocols=!SSLv2,!SSLv3
# SMTP authentication
smtpd_sasl_auth_enable=yes
broken_sasl_auth_clients=yes
smtpd_sasl_security_options=noanonymous
smtpd_recipient_restrictions=permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_sasl_authenticated_header=yes
# Misc
disable_vrfy_command=yes
^M
#bmStats PCRE Rules
mime_header_checks= pcre:/etc/postfix/BM_mime_header_checks
Pouvez-vous exécuter les commandes:
# touch /etc/postfix/BM_mime_header_checks
# postmap /etc/postfix/BM_mime_header_checks
Est-ce mieux ?
Oui ca a réglé le problème mais comment l’expliquer ? Quelle action peut supprimer un tel fichier ? Un apt ? Une suppression de bm-stats ?Les seules action que l’on ait réalisé en ssh sur le serveur récemment …
Ce fichier est amené par le plugin bm-stats.
Là, comme ça, je dirais que c’est lors de la suppression de bm-stats que ce fichier a été supprimé, mais que sa références dans la configuration de postfix n’a pas été enlevée.
D’ailleurs, si vous avez désinstallé ce plugin, la solution consiste à supprimer la référence à cette map dans la configuration de postfix:
[list=*]
]éditer le fichier /etc/postfix/main.cf/]
*]supprimer les lignes:
^M
#bmStats PCRE Rules
mime_header_checks= pcre:/etc/postfix/BM_mime_header_checks
/]
]supprimer les fichiers /etc/postfix/BM_mime_header_checks/]
*]re-démarrer le service postfix:
/etc/init.d/postfix reload
/*]
[/list]
Ne pas hésiter à remonter ce problème au mainteneur du plugin depuis sa page dans le marketplace. Il a par ailleurs indiqué que ce plugin était en cours de portage pour BlueMind 3.5.