Re: [vchkpw] qmailtap.
On 12 Apr 2006, at 8:23 PM, Ken Jones wrote: N0K wrote: Hello. Im using qmail-tap for backup mails, but i dont want backup from/to root user, how can i exclude this accound from qmail-tap? This is my /var/qmail/control/taps [EMAIL PROTECTED]:[EMAIL PROTECTED] I have test: [EMAIL PROTECTED] without any results. Any idea? Thanks. N0K. There is nothing currently in the code to exclude accounts. But it sounds technically feasible. I have a need for an exception list as well. Any idea if/when this will be implemented? Abdul Ken Jones inter7
[vchkpw] qmail-smtpd patch
Hi, Is anyone aware of a patch for qmail-smtpd that will return a 5xx code if the rcpt to is a non-existent address/alias on a vpopmail system? Thanks, Abdul -- Tel: +27-31-566-8080 Fax: +27-31-566-8010 http://www.eastcoast.co.za
Re: [vchkpw] Re: qmail-smtpd patch
On Wednesday 12 March 2003 11:11, Peter Palmreuther wrote: Hello Abdul, Hi, is anyone aware of an archive of this list? Probably - but I wasn't. Thanks http://www.mail-archive.com/[EMAIL PROTECTED]/msg10854.html -- Tel: +27-31-566-8080 Fax: +27-31-566-8010 http://www.eastcoast.co.za
Using Cistron 1.6.4 with vpopmail 4.9.6-1
Hi, I have patched Cistron 1.6.4 to work with vpopmail 4.9.6-1's virtual password system. The included patches are for cistron and vpopmail (fixes 2 minor bugs in vpopmail and will probably be fixed in later versions. I have included the diffs that I sent to Ken). A readme is included. I am currently using this in production where I work. Comment/complaints welcome. Enjoy. Abdul -- East Coast Access (http://www.eastcoast.co.za) Tel: +27-31-267-0169 Fax: +27-31-267-0168 rad-vpopmail.tgz The null terminator for the user field is placed one offset too far. The following diff will fix it. 912c912,916 if ( found == 0 ) user[j] = email[i]; --- if ( found == 0 ) user[j] = email[i]; else user[j] = 0; 914d917 user[j] = 0; Regards Abdul -- East Coast Access (http://www.eastcoast.co.za) Tel: +27-31-267-0169 Fax: +27-31-267-0168 Hi Ken, Below is the diff output after fixing some (very minor) errors I found in the vmoduser.c source file from vpopmail 4.9.6-1. Regards Abdul 106a107,110 printf(" -0 (set V_USER0 flag)\n"); printf(" -1 (set V_USER1 flag)\n"); printf(" -2 (set V_USER2 flag)\n"); printf(" -3 (set V_USER3 flag)\n"); 125c129 while( !errflag (c=getopt(argc,argv,"vnxc:dpwibr0123")) != -1 ) { --- while( !errflag (c=getopt(argc,argv,"uvnxc:dpwibr0123")) != -1 ) { 156a161,163 case 'u': GidFlag |= NO_DIALUP; break; 164c171 GidFlag |= V_USER1; --- GidFlag |= V_USER2; 167c174 GidFlag |= V_USER1; --- GidFlag |= V_USER3;
RE: vchkpw + Radius
Bruno Negrão wrote: Hy all, Had someone already made a Radius server get its passwords of ppp access users in the vchkpw database? I don't want to have /etc/passwd. Thank you, |--- |--Bruno Negrão |--Engepel Teleinformática - |--- Hi Bruno, Sorry to reply via the list. I did not see the original request and so do not have your email address. I have modified Cistron Radius 1.6.3 (http://www.miquels.cistron.nl/radius/) to work with vpopmail. All authentication is done via the functions in the vpopmail library, so users login using their entire email address. No system accounts and only one place to update user information. Let me know if you want a copy of my sources, but bear in mind that this is a hack to work with my particular setup and was not meant for public consumption; therefore it might not suit you without some mods. Basically we have:- 1. vpopmail 3.4.11-2.released modified to set/reset bit fields in GID (I think the latest vpopmail includes that functionality) and to create a directory called 'web' in the users home directory 2. cistron radius modified to authenticate against the vpopmail library and to use the information in the GID fields to determine user group (we have mail-only, full access and isdn) 3. ftpd modified to use the vpopmail library for authentication and to determine the user's home directory for chrooting purposes. 4. load mod_rewrite into apache to map a user to his home dir (ie if www.eastcoast.co.za/abdulg is requested, then map to /var/home/domains/eastcoast.co.za/5/abdulg/web) 5. run a daily cron job to create a the map for mod_rewrite from the vpasswd files. Regards Abdul
RE: know this?
Basicly it reads the /var/qmail/users/cdb file to extract uid/gid/dir information. Won't this break the current setup where account type info is stored in the gid field? Abdul Ken Jones