View previous topic :: View next topic |
Author |
Message |
f0llia l33t
Joined: 22 Apr 2003 Posts: 873
|
Posted: Sat Jan 24, 2004 6:15 pm Post subject: vpopmail |
|
|
Ho emerso qmail vpopmail qmail-scanner courier squirrelmail seguendo l'how to sul forum : https://forums.gentoo.org/viewtopic.php?t=111817
Al momento di addare un dominio a vpopmail con vadddomain mi da il seguente errore:
Code: |
whitebox root # vadddomain f0llia.org MIAPASSDIVPOPMAIL
vmysql: sql error[c]: MySQL server has gone away
vmysql: sql error[b]: MySQL server has gone away
vmysql: sql error[3]: MySQL server has gone away
could not create limits table CREATE TABLE limits ( domain CHAR(64) PRIMARY KEY,
maxpopaccounts INT(10) NOT NULL DEFAULT -1, maxaliases
INT(10) NOT NULL DEFAULT -1, maxforwards INT(10)
NOT NULL DEFAULT -1, maxautoresponders INT(10) NOT NULL DEFAULT -1,
maxmailinglists INT(10) NOT NULL DEFAULT -1, diskquota
INT(12) NOT NULL DEFAULT 0, maxmsgcount INT(12) N
OT NULL DEFAULT 0, defaultquota INT(12) NOT NULL DEFAULT 0,
defaultmaxmsgcount INT(12) NOT NULL DEFAULT 0, disable_pop
TINYINT(1) NOT NULL DEFAULT 0, disable_imap TINYINT(1)
NOT NULL DEFAULT 0, disable_dialup TINYINT(1) NOT NULL DEFAULT
0, disable_passwordchanging TINYINT(1) NOT NULL DEFAULT 0, disable_w
ebmail TINYINT(1) NOT NULL DEFAULT 0, disable_relay TI
NYINT(1) NOT NULL DEFAULT 0, disable_smtp TINYINT(1) NOT NULL
DEFAULT 0, perm_account TINYINT(2) NOT NULL DEFAULT 0, p
erm_alias TINYINT(2) NOT NULL DEFAULT 0, perm_forward
TINYINT(2) NOT NULL DEFAULT 0, perm_autoresponder TINYINT(2) N
OT NULL DEFAULT 0, perm_maillist TINYINT(4) NOT NULL DEFAULT 0,
perm_quota TINYINT(2) NOT NULL DEFAULT 0, perm_defaul
tquota TINYINT(2) NOT NULL DEFAULT 0 )
vmysql: sql error[p]: MySQL server has gone away
Error: (vadduser) can't read domain limits
whitebox root #
|
Che succede? Come posso sistemare ? |
|
Back to top |
|
|
Yans Apprentice
Joined: 09 Feb 2003 Posts: 171 Location: [TI] Switzerland
|
Posted: Sat Jan 24, 2004 6:28 pm Post subject: |
|
|
dal errore sembra che non riesce a creare le apposite tabelle per vpopmail, controlla che nel database sia tutto a posto. _________________ ¿ Which do ARMS obtain, the peace in the future or the nightmare in the past ?
"There are only 10 types of people in the world: Those who understand binary, and those who don't" |
|
Back to top |
|
|
Diggs Apprentice
Joined: 07 Oct 2003 Posts: 239 Location: LoSt In NeT SpAcE
|
Posted: Sat Jan 24, 2004 7:22 pm Post subject: |
|
|
Sembra che vpopmail non riesca a loggarsi bene su mysql
Dal Punto 3 dell'How-To:
Code: |
loggarsi come root sul db mysql e controllare eventualmente che il database vpopmail sia presente, se non è presente eseguire:
create database vpopmail;
Dopo di ciò dare i seguenti comandi:
use mysql;
poi, volendo ad esempio dare la password mypassword a vpopmail per l'accesso a mysql dare il seguente comando:
grant select, insert, update, delete, create, drop on vpopmail.* to vpopmail@localhost identified by 'mypassword';
Ed infine:
flush privileges;
quit
|
Ora è necessario che la pass di vpopmail "mypassword" sia settata anche in /etc/vpopmail.conf: in pratica è necessario e sufficiente sostituire, nel conf, ove sia scritta la parola "secret" con "mypassword":
Code: |
# Read-only DB
localhost|3306|vpopmail|mypassword|vpopmail
# Write DB
localhost|3306|vpopmail|mypassword|vpopmail
|
[3306 è la porta ove in genere il demone mysql è in ascolto]
Dopodichè, una volta restartato i demoni relativi tutto dovrebbe fungere . _________________ IRCNET NICK: diggs on IRCNET
http://leonardo.netsons.org/
Gioca a Tremulous! Player [!!!] Diggs [ITA] |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|