Re: [vchkpw] about authentication
Il 10/01/2011 14:30, Bulent Malik ha scritto: Hello I have a mail server on vchpw,qmail. It works well. Postfix has a feature named "reject_sender_login_mismatch" . You know this feature will not allow an account to send any mails using other mail adres. How can I implement this feature on my mail server with vpopmail ? You can do it with postfix as MTA for SMTP-Auth users and vpopmail backend. You can do it simple with Postfix+Dovecot+SASL or with Postfix+SQL query if you are using vpopmail and MySQL. We use it in this way and works without problems. Ciao -- Alessio Cecchi is: @ ILS -> http://www.linux.it/~alessice/ on LinkedIn -> http://www.linkedin.com/in/alessice Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/ @ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it @ LOLUG -> Socio http://www.lolug.net !DSPAM:4d2c2c7632717457392607!
Re: [vchkpw] vQregister and MySQL
Rick Romero ha scritto: You need to link db_mysql to db: lrwxrwxrwx 1 root wheel 10 May 20 2003 db.c -> db_mysql.c lrwxrwxrwx 1 root wheel 10 May 20 2003 db.h -> db_mysql.h Many many thanks Rick!
[vchkpw] vQregister and MySQL
I have installed vqregister 2.6 on my slackware 9.0 (qmail, vpopmail 5.4.5 and mysql 3.23.56) vqregister works fine but don't save data on mysql table i have modified Makefile: VDIR = /home/vpopmail CC = gcc BIN = vqregister DEFS = -I$(VDIR)/include -I/usr/include/mysql LINKDEFS = LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib/mysql -lmysqlclient OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o \ vpopmail.o db.o field.o badhosts.o INSTALL_DIR = /var/www/cgi-bin/vqregister INSTALL_BIN = vqregister.cgi INSTALL_UID = vpopmail INSTALL_GID = vchkpw and the vqregister.conf: DB_Host localhost DB_Name user_store DB_User root DB_Password root_password DB_Fields user_info user,dom,pass,fname I have created the database and the table: CREATE DATABASE `user_store`; CREATE TABLE `user_info` ( `user` varchar(20) default NULL, `dom` varchar(20) default NULL, `pass` varchar(50) default NULL, `cemail` varchar(20) default NULL, `fname` varchar(20) default NULL ) TYPE=MyISAM; vqregister add user but the table is empty the file db_mysql.h is empty, is regular? Someone can help me Thanks