probleme smtp [CLOSED]

Questions et support sur le cyrus-imap géré par Artica...

probleme smtp [CLOSED]

New postby scratch99 » Mon Mar 28, 2011 11:45 am

Bonjour,
Depuis ce matin j'ai un problème d'envoi smtp, avec :

Mar 28 13:44:56 domaine cyrus/master[15004]: about to exec /usr/lib/cyrus/bin/pop3d
Mar 28 13:44:50 domaine cyrus/master[3424]: process 14989 exited, status 0
Mar 28 13:44:50 domaine cyrus/pop3[14989]: DBERROR: error exiting application: Invalid argument
Mar 28 13:44:49 domaine cyrus/pop3[14989]: DBERROR db4: Database handles open during environment close
Mar 28 13:44:49 domaine cyrus/pop3[14989]: [pop3d] error initializing TLS
Mar 28 13:44:49 domaine cyrus/pop3[14989]: TLS server engine: cannot load cert/key data, may be a cert/key mismatch?
Mar 28 13:44:49 domaine cyrus/pop3[14989]: unable to get certificate from '/etc/ssl/certs/cyrus.pem'
Mar 28 13:44:49 domaine cyrus/pop3[14989]: TLS server engine: cannot load CA data

Merci de m'aider !!!

maintenant j'ai tout ça :

...Starting......: saslauthd already running using PID 30827...
Starting......: cyrus-imapd is locked

filtre:
Mar 28 17:16:31 domaine postfix/master[5540]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Mar 28 17:16:31 domaine postfix/master[5540]: warning: process /usr/libexec/postfix/smtpd pid 13082 exit status 1
Mar 28 17:16:30 domaine postfix/smtpd[13082]: fatal: restriction class `usr/sbin/mysqld' needs a definition
Mar 28 17:15:30 domaine postfix/master[5540]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Mar 28 17:15:30 domaine postfix/master[5540]: warning: process /usr/libexec/postfix/smtpd pid 12268 exit status 1
Mar 28 17:15:29 domaine postfix/smtpd[12268]: fatal: restriction class `usr/sbin/mysqld' needs a definition
Mar 28 17:14:29 domaine postfix/master[5540]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Mar 28 17:14:29 domaine postfix/master[5540]: warning: process /usr/libexec/postfix/smtpd pid 11029 exit status 1
Mar 28 17:14:28 domaine postfix/smtpd[11029]: fatal: restriction class `usr/sbin/mysqld' needs a definition
Mar 28 17:13:28 domaine postfix/master[5540]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Mar 28 17:13:28 domaine postfix/master[5540]: warning: process /usr/libexec/postfix/smtpd pid 10338 exit status 1
Mar 28 17:13:27 domaine postfix/smtpd[10338]: fatal: restriction class `usr/sbin/mysqld' needs a definition
Mar 28 17:12:27 domaine postfix/master[5540]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Mar 28 17:12:27 domaine postfix/master[5540]: warning: process /usr/libexec/postfix/smtpd pid 9707 exit status 1
Mar 28 17:12:26 domaine postfix/smtpd[9707]: fatal: restriction class `usr/sbin/mysqld' needs a definition
Mar 28 17:11:26 domaine postfix/master[5540]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Mar 28 17:11:26 domaine postfix/master[5540]: warning: process /usr/libexec/postfix/smtpd pid 7250 exit status 1
Mar 28 17:11:25 domaine postfix/smtpd[7250]: fatal: restriction class `usr/sbin/mysqld' needs a definition
Mar 28 17:10:25 domaine postfix/master[5540]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Mar 28 17:10:25 domaine postfix/master[5540]: warning: process /usr/libexec/postfix/smtpd pid 6117 exit status 1
Mar 28 17:10:24 domaine postfix/smtpd[6117]: fatal: restriction class `usr/sbin/mysqld' needs a definition
Mar 28 17:10:11 domaine postfix/master[5540]: daemon started -- version 2.8.1, configuration /etc/postfix
Mar 28 17:10:11 domaine postfix/postfix-script[5539]: starting the Postfix mail system
Mar 28 17:03:39 domaine postfix/postfix-script[825]: waiting for the Postfix mail system to terminate
Mar 28 17:03:39 domaine postfix/master[25930]: terminating on signal 15
Mar 28 17:03:39 domaine postfix/postfix-script[822]: stopping the Postfix mail system
Mar 28 17:03:36 domaine postfix/master[25930]: reload -- version 2.8.1, configuration /etc/postfix
Mar 28 17:03:36 domaine postfix/postfix-script[326]: refreshing the Postfix mail system
Mar 28 17:02:44 domaine postfix/master[25930]: warning: /usr/libexec/postfix/smtpd: bad command startup --
HELP !!!!

STP
MERCI
scratch99
 
Posts: 156
Joined: Thu Feb 19, 2009 4:42 pm

Re: probleme smtp

New postby admin » Mon Mar 28, 2011 8:52 pm

pouvez-vous me donner la sortie de :

Code: Select all
cat /etc/postfix/main.cf|grep mysqld
User avatar
admin
Site Admin
 
Posts: 11946
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: probleme smtp

New postby scratch99 » Mon Mar 28, 2011 9:29 pm

je n'ai aucun retour de la commande :
cat /etc/postfix/main.cf|grep mysqld

mais apres une reconstruction de cirus j'obtien ceci maintenant:

filter:
Mar 28 23:40:24 domaine cyrus/master[11413]: about to exec /usr/lib/cyrus/bin/lmtpd
Mar 28 23:40:24 domaine cyrus/master[6124]: service lmtpunix pid 11406 in READY state: terminated abnormally
Mar 28 23:40:24 domaine cyrus/master[6124]: process 11406 exited, status 75
Mar 28 23:40:24 domaine cyrus/lmtpunix[11406]: FATAL: lmtpd: unable to init duplicate delivery database
Mar 28 23:40:24 domaine cyrus/lmtpunix[11406]: DBERROR: opening /var/lib/cyrus/deliver.db: cyrusdb error
Mar 28 23:40:24 domaine cyrus/lmtpunix[11406]: DBERROR: opening /var/lib/cyrus/deliver.db: Cannot allocate memory
Mar 28 23:40:24 domaine cyrus/lmtpunix[11406]: DBERROR db4: Logging region out of memory; you may need to increase its size
Mar 28 23:40:24 domaine cyrus/lmtpunix[11406]: executed
Mar 28 23:40:24 domaine cyrus/master[11406]: about to exec /usr/lib/cyrus/bin/lmtpd
Mar 28 23:40:24 domaine cyrus/master[6124]: service lmtpunix pid 11404 in READY state:

merci
scratch99
 
Posts: 156
Joined: Thu Feb 19, 2009 4:42 pm

Re: probleme smtp

New postby admin » Mon Mar 28, 2011 10:05 pm

Les bases de mails sont devenues importantes

créez un fichier

/var/lib/cyrus/db/DB_CONFIG

mettez ceci :
set_cachesize 0 8388608 8
set_lg_regionmax 524288
set_lg_bsize 2097152
set_lg_max 4194304
set_tx_max 200
set_tas_spins 1

Redémarrez cyrus par /etc/init.d/artica-postfix restart imap

Vous arrez certainement besoin de réparez les bases :

voir la procédure ici ;

http://i8n1.blogspot.com/2010/03/cyrus- ... emory.html
User avatar
admin
Site Admin
 
Posts: 11946
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: probleme smtp

New postby scratch99 » Mon Mar 28, 2011 10:31 pm

Merci, le probleme semble etre corriger, mais je n'arrive plus à démarrer fetchmail, donc j'essaie de le réinstaller et j'ai toujours ces erreures de TLS et autres certificat que je n'utilise pas? :

Mar 29 00:29:57 domaine cyrus/imap[1169]: error initializing TLS
Mar 29 00:29:57 domaine cyrus/imap[1169]: TLS server engine: cannot load cert/key data
Mar 29 00:29:57 domaine cyrus/imap[1169]: unable to get certificate from '/etc/ssl/certs/cyrus.pem'
Mar 29 00:29:57 domaine cyrus/imap[1169]: TLS server engine: cannot load CA data
Mar 29 00:29:57 domaine cyrus/imap[1169]: accepted connection
Mar 29 00:29:57 domaine cyrus/imap[1169]: error initializing TLS
Mar 29 00:29:57 domaine cyrus/imap[1169]: TLS server engine: cannot load cert/key data
Mar 29 00:29:57 domaine cyrus/imap[1169]: unable to get certificate from '/etc/ssl/certs/cyrus.pem'
Mar 29 00:29:57 domaine cyrus/imap[1169]: TLS server engine: cannot load CA data
scratch99
 
Posts: 156
Joined: Thu Feb 19, 2009 4:42 pm

Re: probleme smtp

New postby scratch99 » Mon Mar 28, 2011 10:56 pm

MILLE MERCI!!! :P :D

Le Problème est revenu et il est persistant, j'ai toujours les erreur
Mar 28 23:40:24 domaine cyrus/master[11413]: about to exec /usr/lib/cyrus/bin/lmtpd
Mar 28 23:40:24 domaine cyrus/master[6124]: service lmtpunix pid 11406 in READY state: terminated abnormally
Mar 28 23:40:24 domaine cyrus/master[6124]: process 11406 exited, status 75
Mar 28 23:40:24 domaine cyrus/lmtpunix[11406]: FATAL: lmtpd: unable to init duplicate delivery database
Mar 28 23:40:24 domaine cyrus/lmtpunix[11406]: DBERROR: opening /var/lib/cyrus/deliver.db: cyrusdb error
Mar 28 23:40:24 domaine cyrus/lmtpunix[11406]: DBERROR: opening /var/lib/cyrus/deliver.db: Cannot allocate memory
Mar 28 23:40:24 domaine cyrus/lmtpunix[11406]: DBERROR db4: Logging region out of memory; you may need to increase its size
Mar 28 23:40:24 domaine cyrus/lmtpunix[11406]: executed
Mar 28 23:40:24 domaine cyrus/master[11406]: about to exec /usr/lib/cyrus/bin/lmtpd
Mar 28 23:40:24 domaine cyrus/master[6124]: service lmtpunix pid 11404 in READY state:
et
Mar 29 00:29:57 domaine cyrus/imap[1169]: error initializing TLS
Mar 29 00:29:57 domaine cyrus/imap[1169]: TLS server engine: cannot load cert/key data
Mar 29 00:29:57 domaine cyrus/imap[1169]: unable to get certificate from '/etc/ssl/certs/cyrus.pem'
Mar 29 00:29:57 domaine cyrus/imap[1169]: TLS server engine: cannot load CA data
Mar 29 00:29:57 domaine cyrus/imap[1169]: accepted connection
Mar 29 00:29:57 domaine cyrus/imap[1169]: error initializing TLS
Mar 29 00:29:57 domaine cyrus/imap[1169]: TLS server engine: cannot load cert/key data
Mar 29 00:29:57 domaine cyrus/imap[1169]: unable to get certificate from '/etc/ssl/certs/cyrus.pem'
Mar 29 00:29:57 domaine cyrus/imap[1169]: TLS server engine: cannot load CA data

la seul chose qui fonctionne est le webmail mais impossible depuis outlook ou autre en pop ou en imap,
outlook me donne l'erreur suivante:

Le serveur a renvoyé une erreur. Compte : '10.0.1.3', Serveur : '10.0.1.3', Protocole : POP3, Réponse du serveur : '-ERR -ERR [SYS/PERM] Error initializing TLS', Port : 110, Sécurisé (SSL) : Non, Erreur de serveur : 0x800CCC90, Numéro d'erreur : 0x800CCC90

merci de votre aide !!!!

2 jours sans messagerie c pas évident, encore merci.
scratch99
 
Posts: 156
Joined: Thu Feb 19, 2009 4:42 pm

Re: probleme smtp

New postby scratch99 » Tue Mar 29, 2011 3:30 pm

C VRAIMENT UN GROS PROBLÈME MERCI DE ME VENIR EN AIDE.
scratch99
 
Posts: 156
Joined: Thu Feb 19, 2009 4:42 pm

Re: probleme smtp

New postby admin » Tue Mar 29, 2011 9:02 pm

pouvez-vous me fournir les accès afin que je puisse constater moi même du problème
User avatar
admin
Site Admin
 
Posts: 11946
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: probleme smtp

New postby admin » Wed Mar 30, 2011 12:14 am

mettez à jour la dernière nightly

vous avez une nouvelle fonctionnalité permettant de jouer avec les paramètres de DB_CONFIG
Vous devez augmenter les valeurs c'est ce que dit Cyrus.
2011-03-30_021308.png
2011-03-30_021308.png (145.58 KiB) Viewed 8984 times
User avatar
admin
Site Admin
 
Posts: 11946
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: probleme smtp

New postby scratch99 » Thu Mar 31, 2011 8:46 am

MERCI pour votre aide mais finalement je me suis résolue à réinstaller une nouvelle machine et récupérer les sauvegardes.

Merci encore de vous êtres penchée sur mon problème .
scratch99
 
Posts: 156
Joined: Thu Feb 19, 2009 4:42 pm


Return to cyrus-imap

Who is online

Users browsing this forum: No registered users and 2 guests

cron