Gordon Messmer a écrit :
> Does your installation of python support the same dbm library with which
> courier was built?
>
> Try:
[...]
> >>> this=anydbm.open('/etc/courier/smtpaccess.dat')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/anydbm.py", line 82, in open
mod = __import__(result)
ImportError: No module named gdbm
Oops! Sorry...
sudo apt-get install python-gdbm
> >>> this=anydbm.open('/etc/courier/smtpaccess.dat')
> >>> this.keys()
['192.168.0.xx', '127.0.0.1', '88.xx.yy.zz allow,RELAYCLIENT']
Thanks a lot !
--
JC Boggio
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users