[Qmail-it] roaming users di vpopmail su freebsd

Giacomo Marconi giaco at giaco.net
Fri Apr 6 03:35:28 CEST 2007


ciao a tutti

A che santo mi devo votare per far funzionare il roaming user di 
vpopmail (5.4.17) istallato dai ports di freebsd ?
mi sembra di capire che il port abiliti di default il roaming, sbaglio ?

mail# cat /etc/passwd | grep vpopmail
vpopmail:*:89:89:User &:/home/vpopmail:/bin/tcsh (di serie mette 
:/nonexistent e /usr/local come prefix, ma non fa uguale)

mail# ps auxwww | grep tcpserver
qmaild     623  0.0  0.1  1324   924  ??  S     3:22AM   0:00.04 
/usr/local/bin/tcpserver -v -P -c50 -H -R -x 
/home/vpopmail/etc/tcp.smtp.cdb -u 82 -g 81 0 smtp 
/usr/local/bin/rblsmtpd -br sbl-xbl.spamhaus.org /var/qmail/bin/qmail-smtpd

mail# ls -l /home/vpopmail/etc/
total 22
-rw-r--r--  1 vpopmail  vchkpw    15 Apr  6 02:51 defaultdomain
-rw-r--r--  1 vpopmail  vchkpw    30 Apr  6 02:51 inc_deps
-rw-r--r--  1 vpopmail  vchkpw    92 Apr  6 02:51 lib_deps
-rw-r--r--  1 vpopmail  vchkpw     0 Mar 30 05:12 open-smtp
-rw-r--r--  1 vpopmail  vchkpw     0 Mar 30 05:12 open-smtp.lock
-rw-r--r--  1 vpopmail  vchkpw   132 Apr  4 21:51 tcp.smtp
-r--r--r--  1 vpopmail  vchkpw    26 Apr  6 02:51 tcp.smtp-dist
-rw-r--r--  1 root      vchkpw  2365 Apr  6 03:22 tcp.smtp.cdb
-rw-r--r--  1 vpopmail  vchkpw    59 Mar 29 17:16 tcp.smtp~
-rw-r--r--  1 vpopmail  vchkpw  1143 Apr  6 02:51 vlimits.default
-rw-r--r--  1 vpopmail  vchkpw  1143 Apr  6 02:51 vlimits.default-dist
-rw-r-----  1 vpopmail  vchkpw   571 Apr  6 02:51 vpopmail.mysql

la data del tcp.smtp.cdb e' stata alterata rispetto agli altri dal tcprules

Ho cercato allora di cambiare strada e ho provato a patchare ucpsi-tcp 
con la path per il mysql per usare la tabella relay, ma quando compilo 
ottengo:
(usando i sorgenti di ucpsi-tcp nudi e crudi e non quelli del ports)

mail# make
./compile db.c
db.c:4:19: mysql.h: No such file or directory
db.c:18: error: syntax error before '*' token
db.c:18: warning: data definition has no type or storage class
db.c: In function `open_db':
db.c:32: error: `MYSQL' undeclared (first use in this function)
db.c:32: error: (Each undeclared identifier is reported only once
db.c:32: error: for each function it appears in.)
db.c:32: error: `tmp' undeclared (first use in this function)
db.c:38: error: syntax error before ')' token
db.c: In function `check_db':
db.c:60: error: `MYSQL_RES' undeclared (first use in this function)
db.c:60: error: `res' undeclared (first use in this function)
*** Error code 1


Da che parte mi posso fare per risolvere almeno uno dei due problemi ?

grazie

Giacomo Marconi


More information about the Qmail-it mailing list