[vchkpw] qmail+vpopmail+openldap+qmailadmin in redhat7.3
hi,all i use qmail-1.0.3 + vpopmail-5.3.20(enable-ldap)+ openldap-2.0.27+ qmailadmin-1.0.20 in my redhat7.3. my ldap entry is below: dc=koal,dc=com | -ou=people | - ou=test.com | -uid=postmaster -uid=user1 -uid=user2 there are two problems: 1. when i test the receiving mail from theserver,italways reports: Error: No such objectmatched DN: "ou=people,dc=koal,dc=com"-ERR authorizationfailed Jens ( thanks a lot! Jens) tell me that the query is executed by the "ou=people,dc=koal,dc=com" ,while it should be the "uid=, ou=test.com,ou=people,dc=koal,dc=com" ? but how i can control which type dn query is executed? 2. add user through qmailadmin ,it always report: Email Account [EMAIL PROTECTED] (test1) could not be added, but this user actually has been added ,and its entry in ldap has also been added. i have recomiled the qmailadmin, and upgrade my qmailadmin-1.0.6 to 1.0.20, but this strange situation remains.. i find that there are many combinations of vpopmail+mysql, but the combination of vpopmail+ldap is few. has anyone succeed for this combination ? thanks a lot .
[vchkpw] tcp.smtp.cdb file format
Hi all ! I try to run a brand new mail server with qmail and vpopmail 5.2.1 In /home/vpopmail/etc/ I can find : -rw-r--r-- 1 vpopmail vchkpw 25 Jun 27 16:40 inc_deps -rw-r--r-- 1 vpopmail vchkpw 32 Jun 27 16:40 lib_deps -rw-r--r-- 1 root root 416 Jui 15 09:59 open-smtp -rw-r--r-- 1 vpopmail vchkpw 0 Jui 15 09:59 open-smtp.lock -rw-r--r-- 1 vpopmail vchkpw 68 Jui 15 09:35 tcp.smtp -rw-r--r-- 1 root root 2286 Jui 15 09:59 tcp.smtp.cdb Let's say my tcp.smtp file is set as follow : 127.:allow,RELAYCLIENT= #real address of mail server in DMZ 192.168.71.47:allow,RELAYCLIENT= #Allow roaming users to connect *:allow During a couple of weeks, all was working fine. Now, I don't know why... when I check what's in tcp.smtp.cdb with a vi, I can see : tcp.smtp.cdb [noeol] 3L, 2345C I tried to reload it with ./qmail cdb but no way. I believe this no end of line means a kind of trouble... Any idea on what could happen ? Thanks. Pierre Rodriguez Conseil Général de Lot et Garonne Systèmes d'information
Re: [vchkpw] qmail+vpopmail+openldap+qmailadmin in redhat7.3
Zitat von lixiang [EMAIL PROTECTED]: Hi lixiang, sorry for my late responds, I have been off for holiday ;-)) So if you verified your LDAP-Entries that they look like below ( e.g. with gq ) your are fine. dc=koal,dc=com | -ou=people | - ou=test.com | -uid=postmaster -uid=user1 -uid=user2 It may be an access error, please check your settings in slapd.conf and compare them with your compilation in vldap.h BaseDN and Binddn _must_ be correct, because if vpopmail tries to bind via an non existing ldap-user it doesn't see any entries at all. Here is a sample of a successful auth: ---snip conn=1047818 fd=7 ACCEPT from IP=::1 32811 (IP=:: 389) Jul 15 10:35:09 mail slapd[4671]: conn=1047818 op=0 BIND dn=cn=,dc=x,dc=net method=128 Jul 15 10:35:09 mail slapd[4671]: conn=1047818 op=0 AUTHZ dn=cn=,dc=x,dc=net mech=simple ssf=0 Jul 15 10:35:09 mail slapd[4671]: conn=1047818 op=0 RESULT tag=97 err=0 text= Jul 15 10:35:09 mail slapd[21275]: conn=1047818 op=1 SRCH base=ou=x.de,ou=people,dc=x,dc=net scope=2 filter=( (objectClass=qmailUser)(uid=user1)) Jul 15 10:35:09 mail slapd[21275]: conn=1047818 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text= --- snap Make sure your settings in vldap.h are correct: --- snip define VLDAP_SERVER localhost #define VLDAP_PORT LDAP_PORT #define VLDAP_USER cn=root,dc=,dc=net This must be equal to slapd.conf #define VLDAP_PASSWORD password This must be equal to slapd.conf #define MAX_BUFF 500 #define VLDAP_BASEDN ou=people,dc=x,dc=net --- snap Look at slapd.conf ### --- snip rootdn cn=root,dc=,dc=net --- This must be equal to vldap.h rootpwpassword This must be equal to vldap.h --- snap I think that is the reason for your probs. Have both of the initial LDAP-entries completed ? snip dn: dc=xxx,dc=net objectclass: organization o: xxx dn:ou=people,dc=,dc=cn objectclass: organizationalUnit ou:people snap Please let me know if that doesnt help. Cheers Jens
Re: [vchkpw] possible smtp-auth bug (qmail)
Hi Bård, On Mon, 14 Jul 2003 21:10:09 +0200 Bård Tommy Nilsen wrote: When I tried to relay trough my test server with an to Address that matched one domain in rcpthost it accepts the relay. Well ... what do you think 'rcpthosts' is for? You have no idea? READ THE FU^HINE MANUAL! It would be a bug if qmail did _NOT_ accept the mail adressed to somebody whos domain is in 'rcpthosts', unless the recipients address is blocked otherwise, e.g. by 'badmailto' or 'chkusr' patch. -- Ciao, Pit
RE: [vchkpw] possible smtp-auth bug (qmail)
Sorry for starting the discussion. If I set up an script that generates mail from one adress in the rcpthost to Another adress in rcpthost I can fill every mailbox on the server ... I thought that smtp auth should prevent that anyone could send messages through the Server without being authenticated ... But I you do it this way you can RELAY without Being smtp authenticated Bård Tommy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Palmreuther Sent: 15. juli 2003 13:52 To: [EMAIL PROTECTED] Hi Bård, On Mon, 14 Jul 2003 21:10:09 +0200 Bård Tommy Nilsen wrote: When I tried to relay trough my test server with an to Address that matched one domain in rcpthost it accepts the relay. Well ... what do you think 'rcpthosts' is for? You have no idea? READ THE FU^HINE MANUAL! It would be a bug if qmail did _NOT_ accept the mail adressed to somebody whos domain is in 'rcpthosts', unless the recipients address is blocked otherwise, e.g. by 'badmailto' or 'chkusr' patch. -- Ciao, Pit
[vchkpw] please help me
(B (B (BDear all, (B (BHow to control relay account. (BIf I say :deney in tcp.smtp nothing can (Baccess. (Bwhat to do. (B (Bif i say :allow in (Btcp.smtp (Bsome junk mails are coming into queue. (Bhow do I reject those mails. (Bsnapshot of queue: (B (B[EMAIL PROTECTED] qmail-1.03]# qmailctl (Bqueuemessages in queue: 1messages in queue but not yet preprocessed: (B015 Jul 2003 17:42:02 GMT #49440 4461 (B remote [EMAIL PROTECTED] (B (BThis user doesn't have account in my server. but (Bhow this user using smtp. (BPlease clear and give solution for (Bthis. (B (BKeep in (B| (BThanks Regards,VJ. Srinivasan,System Administrator,Jin (BInformation System (P) Ltd.,401, Oxford House, 3rd Floor,Rustom Bagh (BMain Road,Off Airport Road, Bangalore, Karnataka,IndiaPhone -- (B91-80-5253001. (B (B"You don't have to be great to start But You (Bhave to start to be great" (B (B
RE: [vchkpw] please help me
Title: Message When you say junk mails are coming into the queue, are they relaying through your server? Do you have 127.:allow,RELAYCLIENT="" :allow in your tcp file so that only localhost can relay, but you will accept mail from other hosts? Add your own netblocks in there as well obviously. You need to provide more information for others to be able to help you as there can be many causes for this problem. Shane -Original Message-From: VJ.Srinivasan (JINIS) [mailto:[EMAIL PROTECTED] Sent: Tuesday, 15 July 2003 8:12 PMTo: [EMAIL PROTECTED]Subject: [vchkpw] please help me Dear all, How to control relay account. If I say :deney in tcp.smtp nothing can access. what to do. if i say :allow in tcp.smtp some junk mails are coming into queue. how do I reject those mails. snapshot of queue: [EMAIL PROTECTED] qmail-1.03]# qmailctl queuemessages in queue: 1messages in queue but not yet preprocessed: 015 Jul 2003 17:42:02 GMT #49440 4461 remote [EMAIL PROTECTED] This user doesn't have account in my server. but how this user using smtp. Please clear and give solution for this. Keep in | Thanks Regards,VJ. Srinivasan,System Administrator,Jin Information System (P) Ltd.,401, Oxford House, 3rd Floor,Rustom Bagh Main Road,Off Airport Road, Bangalore, Karnataka,IndiaPhone -- 91-80-5253001. "You don't have to be great to start But You have to start to be great"
Re: [vchkpw] possible smtp-auth bug (qmail)
Hi Bård, On Tue, 15 Jul 2003 13:55:34 +0200 Bård Tommy Nilsen wrote: [Quoting fixed, top posting is bad to read and reply] When I tried to relay trough my test server with an to Address that matched one domain in rcpthost it accepts the relay. Well ... what do you think 'rcpthosts' is for? You have no idea? READ THE FU^HINE MANUAL! It would be a bug if qmail did _NOT_ accept the mail adressed to somebody whos domain is in 'rcpthosts', unless the recipients address is blocked otherwise, e.g. by 'badmailto' or 'chkusr' patch. Sorry for starting the discussion. If I set up an script that generates mail from one adress in the rcpthost to Another adress in rcpthost I can fill every mailbox on the server ... *erm* Sorry. If _YOU_ write a script that tries to fill up mailboxes under _YOUR CONTROL_, why and how should qmail prevent you from doing so? I thought that smtp auth should prevent that anyone could send messages through the Server without being authenticated ... No. SMTP-AUTH *CLEARLY* states it is there for allowing selective *RELAY*, not selective *SENDING*. But I you do it this way you can RELAY without Being smtp authenticated No. You _CAN'T_, unless you defined environment variable 'RELAYCLIENT' in any other way, e.g. by 'tcp.smtp.cdb'. For '127.' this variable usually is set, so a script connecting to port 25 from your server to your server usually _will have_ this variable set and therefore would even be allowed to 'relay', albeit sending mails to a domain in 'rcpthosts' and 'virtualdomains' (or 'locals') ain't relaying. If you don't want anybody being able to send messages to your qmail, unless he/she authenticated him-/herself with SMTP-AUTH clear your 'rcpthosts' file. But this _WILL_ prevent your qmail from acting correctly as 'MX', because external SMTP servers trying to deliver messages to your system will, usually, not SMTP authenticate, simply because they don't know how to authenticate on your system. -- Ciao, Pit
[vchkpw] problem with vpopmail/maildrop
Hi I have installed qmail-1.03 + vpopmail-5.2.1 + mysql. I am using Maildir. Of course, I have asked already on maildrop list, but nobody answer even where I can read about solution for my problem. So, all my users are virtual. I have make .qmail-flylord with next content |maildrop /home/vpopmail/domains/katastrofa.com/flylord/mailfilter and mailfiler : if (/^Subject: *test/) { cc [EMAIL PROTECTED] } And what's happening at my place: cc is only sending mail to test, but not to flylord. And if filter does not match mail , than mail is sended not to flylord, but appended to /var/spool/mail/vpopmail which stand for mailbox of user under which vpopmail is running. And to more worse, all users are virtual so no mail should be in /var/spool/mail Can anyone help me, please, at least tell me where to read about this. Ilic Aleksandar
Re: [vchkpw] possible smtp-auth bug (qmail)
On Tuesday, July 15, 2003, at 04:55 AM, Bård Tommy Nilsen wrote: Sorry for starting the discussion. If I set up an script that generates mail from one adress in the rcpthost to Another adress in rcpthost I can fill every mailbox on the server ... I thought that smtp auth should prevent that anyone could send messages through the Server without being authenticated ... But I you do it this way you can RELAY without Being smtp authenticated By definition, mail for domains in your rcpthosts file (and morercpthosts.cdb) isn't relayed. An open relay is a server that will accept mail for any domain, and then forward it on. If your server didn't accept mail for domains in the rcpthosts file, it would be impossible for anyone to send you email. -- Tom Collins [EMAIL PROTECTED] http://sniffter.com/ - info on the Sniffter hand-held Network Tester
[vchkpw] pop3/imap authentication through remote database
hi i am installing qmail on linux and creating on centrilized mysql server and one qmail server where user mailbox will reside. I have two mail-relay servers where i have running pop3/imp,smtp and i want on relayserver users authenticate himself through centralized mysql database. But how ? mean how pop3/imap will communicate with remote database server for authentication. Anyidea about that. Thanks Zafar
Re: [vchkpw] pop3/imap authentication through remote database
zafar rizvi wrote: i am installing qmail on linux and creating on centrilized mysql server and one qmail server where user mailbox will reside. I have two mail-relay servers where i have running pop3/imp,smtp and i want on relayserver users authenticate himself through centralized mysql database. But how ? mean how pop3/imap will communicate with remote database server for authentication. Use Matt Simerson's tcpserver patch. This patch enables tcpserver to use a relays table in MySQL. You can implement a POP-before-SMTP scheme where vpopmail puts an entry in the relays table and tcpserver can read the table for allowing those users to relay. -- Aj. Systems Administrator / Developer
Re: [vchkpw] RE: [mail-toaster] Finally Posted - New Look, Feel,and Navigation for Qmailadmin
El mar, 15-07-2003 a las 19:29, Justin Couto escribió: This login file has been fixed. You can re-download the sources for the changes. Thanks for the info! Justin C. Great job. I've just compiled and installed and it works very good. Bye, Alejandro Ortega. -Original Message- From: Andryan [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 4:33 AM To: [EMAIL PROTECTED] Subject: Re: [mail-toaster] Finally Posted - New Look, Feel, and Navigation for Qmailadmin Just a quick question, why does the show_login.html file have all the URLs hardcoded? Including the action form, I had to change it :( That's the only problem so far. Good work, thank you! Regards, Andryan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Alejandro Ortega Paez [EMAIL PROTECTED]
[vchkpw] Re: Fw: [qmailadmin] aliases to bitbucket
On Tuesday, July 15, 2003, at 10:02 AM, Jeremy Kister wrote: On Tuesday, July 15, 2003 12:07 PM, Tom Collins wrote: Please note! vdelivermail should NEVER be used in .qmail-user files -- it should only appear in the .qmail-default file. I'm not arguing here, just expressing my ignorance... Why? I currently use things like |/usr/local/bin/spamc | /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/example.com/username in my .qmail-user files, when i do not want spamc to be invoked for each user in the domain Based on my understanding, vdelivermail has a somewhat deceptive name. Many people (myself included) thought it would just accept the mail and do whatever you requested as the last parameter (bounce-no-mailbox, deleted, directory for delivery, etc.). In reality, vdelivermail uses environment variables set by qmail-local to try to find the appropriate user and deliver the mail to them. It only delivers to the last parameter if it can't find a match. So, as we learned with the 1.0.19 release of qmailadmin, setting up a user fred with a .qmail file containing vdelivermail would result in an infinite loop of vdelivermail calling itself. Here's how: qmail-local looks for .qmail-fred in the domain's directory. Since .qmail-fred doesn't exist, qmail-local delivers the message to .qmail-default which contains vdelivermail. vdelivermail looks for a user fred in the domain's directory. Having found fred, it checks for a .qmail file before just dropping the message in fred's Maildir. Having found a .qmail file, it processes it. The first line of the .qmail file starts with |, indicating program delivery, so vdelivermail sends the message to the program (which is vdelivermail). On the second call, vdelivermail once again looks for a user fred in the domain's directory. Having found fred, it checks for a .qmail file... And we're stuck in a loop. Instead of using vdelivermail, you may need to use maildrop (Jeff Hedlund can provide details on that one) to process the email and drop it in the user's Maildir. It might be helpful to add another program (vstoremail?) to the vpopmail distribution that would accept a message in STDIN and save it to the Maildir specified as the first parameter. Then it would be possible to have entries in your .qmail file like |/usr/local/bin/spamc | /home/vpopmail/bin/vstoremail /home/vpopmail/domains/example.com/fred/Maildir/ vstoremail would take care of file locking/naming/etc. and exit with the proper error code. -- Tom Collins [EMAIL PROTECTED] http://sniffter.com/ - info on the Sniffter hand-held Network Tester
[vchkpw] RE: [mail-toaster] Finally Posted - New Look, Feel, and Navigation for Qmailadmin
This login file has been fixed. You can re-download the sources for the changes. Thanks for the info! Justin C. -Original Message- From: Andryan [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 4:33 AM To: [EMAIL PROTECTED] Subject: Re: [mail-toaster] Finally Posted - New Look, Feel, and Navigation for Qmailadmin Just a quick question, why does the show_login.html file have all the URLs hardcoded? Including the action form, I had to change it :( That's the only problem so far. Good work, thank you! Regards, Andryan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SV: [vchkpw] possible smtp-auth bug (qmail)
Ok, cause when i checked it through www.abuse.net it said that my server was open for relay. Open Relay Test Results Default domain is staff.iinet.net.au Connecting to martine.fjord-data.no ... 220 martine.fjord-data.no ESMTP HELO staff.iinet.net.au 250 martine.fjord-data.no To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] MAIL FROM: 250 ok RCPT TO: 250 ok DATA 354 go ahead MESSAGE 250 ok 1058294435 qp 1401 SUCCESS Relay Accepted - final response code 250 If you dont recieve it then its not a relay (Its still a Bad Thing (TM) that it accepted) Check your email So this is normal, or have I done something wrong ?? Regards Bård Tommy Nilsen -Opprinnelig melding- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av Tom Collins Sendt: 15. juli 2003 16:05 Til: vpopmail list Emne: Re: [vchkpw] possible smtp-auth bug (qmail) On Tuesday, July 15, 2003, at 04:55 AM, Bård Tommy Nilsen wrote: Sorry for starting the discussion. If I set up an script that generates mail from one adress in the rcpthost to Another adress in rcpthost I can fill every mailbox on the server ... I thought that smtp auth should prevent that anyone could send messages through the Server without being authenticated ... But I you do it this way you can RELAY without Being smtp authenticated By definition, mail for domains in your rcpthosts file (and morercpthosts.cdb) isn't relayed. An open relay is a server that will accept mail for any domain, and then forward it on. If your server didn't accept mail for domains in the rcpthosts file, it would be impossible for anyone to send you email. -- Tom Collins [EMAIL PROTECTED] http://sniffter.com/ - info on the Sniffter hand-held Network Tester
[vchkpw] Seamless Integration - Finally Posted - New Look, Feel, and Navigation for Qmailadmin
Hello Everyone, I am writing in response to someone that asked how we seamlessly integrated squirrelmail and qmailadmin using iframes and so a user doesn't have to login to each application after initially logging in. This was a pretty simple task using PHP. Instruction: First we created our administrative shell. This contained a header and a footer in two separate PHP files. Next we created our own login.php file that asked for a username and password. This script included the header.php and the footer.php Once a person submits the login form contained in the login.php page, we use PHP pop functions to authenticate them on our mail servers. If there is a successful authentication, we break the email address apart into 3 variables. The variables are username, domainname, and password. These variable are then added into a session and the users gets redirected to our squirrmail.php login script. Our squirmail.php script includes our header.php script, the line for the Iframe that points to the squirmail login script and our footer.php script. Our header.php script keeps the session running. At the top of the page in the header script we have a navigation bar with 2 icons in it. The icons point to our squirmail.php and our qmailadmin.php scripts. Our qmailadmin.php script is setup exactly like out squirrelmail.php script. It contains the header that keeps the seesion information and a line that includes the Iframe that points to the qmailadmin login script and our footer.php script. The two icons in the header that allow you to switch between the two different application have dtnamic links that get built by the information stored in the session. So basically the username and password get passed through the links when they are clicked. The links are built and populated via the session variables. This all works like a charm. I realize I could have been a little clearer explaining this, but I figure most of you with programming experience should be able to figure it out. I hope this helps. Justin C.
[vchkpw] vpasswd.cdb
Howdy, I'm migrating a customers qmail, vpopmail, etc from BSD to a machine running RedHat 7.3. I've got qmail and vpopmail running (as far as I can tell), but when trying to use sqwebmail, it uses authdaemond.plain to authenticate via /home/vpopmail/users/vpasswd.cdb So with vadduser I can add a user to a domain, which is good, but only adds their username/password to /home/vpopmail/domains/_DOMAIN_/vpasswd and vpasswd.cdb. But with authdaemond.plain using /home/vpopmail/users/vpasswd.cdb, it doesn't see the changes made because they aren't written to this file. I seriously must be missing a big chunk of the picture because I can not figure out how to make this work. Anyone, with any help would be greatly appreciated. -nils
Re: [vchkpw] vpasswd.cdb
Nils wrote: I'm migrating a customers qmail, vpopmail, etc from BSD to a machine running RedHat 7.3. I've got qmail and vpopmail running (as far as I can tell), but when trying to use sqwebmail, it uses authdaemond.plain to authenticate via /home/vpopmail/users/vpasswd.cdb So with vadduser I can add a user to a domain, which is good, but only adds their username/password to /home/vpopmail/domains/_DOMAIN_/vpasswd and vpasswd.cdb. But with authdaemond.plain using /home/vpopmail/users/vpasswd.cdb, it doesn't see the changes made because they aren't written to this file. I seriously must be missing a big chunk of the picture because I can not figure out how to make this work. Anyone, with any help would be greatly appreciated. Have your IMAP/POP3 server (courier?) use vchkpw authentication. Some people have problems using authdaemond so its often better to rebuild courier to use vchkpw directly instead of authdaemond. Either way vchkpw should do what you want. -- Aj. Systems Administrator / Developer
Re: [vchkpw] Re: Fw: [qmailadmin] aliases to bitbucket
On Tue, 15 Jul 2003, Tom Collins wrote: Based on my understanding, vdelivermail has a somewhat deceptive name. Odd you just brought that up. I never touched maildrop before and I was putting together a rule for per-user spam filtering (which is now easy to turn on and off due to your recent changes to qmailadamin, thanks!) and maybe because it was late at night, the vdelivermail line didn't catch my eye. I was going with the assumption it was a generic delivery agent, which I later saw it wasn't. I set up a wicked loop, but svscan here is started with sane limits, so after it iterated the loop 10 times or so it stopped. Many people (myself included) thought it would just accept the mail and do whatever you requested as the last parameter (bounce-no-mailbox, deleted, directory for delivery, etc.). Heh heh. In reality, vdelivermail uses environment variables set by qmail-local to try to find the appropriate user and deliver the mail to them. It only delivers to the last parameter if it can't find a match. This brings up another question. Right now my maildrop has an ugly hack to determine the directory. Is there a list anywhere of the environment variables that vdelivermail passes to the next program in line? I'm doing this: VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED] That seems so bogus and unnecessary; I'm invoking yet another program making for a total of 6 program startups just to deliver a single piece of mail (original qmail delivery, vdelivermail, preline, maildrop, spamc, vuserinfo). Correct? I need to draw up a map for myself similar to the Qmail Big Picture to make sure I'm getting all this right. Is that homedir value not known by vdelivermail? It seems like it should be there... Instead of using vdelivermail, you may need to use maildrop (Jeff Hedlund can provide details on that one) to process the email and drop it in the user's Maildir. This works well (once you get the homedir location). It might be helpful to add another program (vstoremail?) to the vpopmail distribution that would accept a message in STDIN and save it to the Maildir specified as the first parameter. Then it would be possible to have entries in your .qmail file like |/usr/local/bin/spamc | /home/vpopmail/bin/vstoremail /home/vpopmail/domains/example.com/fred/Maildir/ I think that might be unnecessary. Maildrop (or procmail) should suffice for the final delivery... vstoremail would take care of file locking/naming/etc. and exit with the proper error code. Maildrop should do this too... What do you think? I propose tweaking vdelivermail a bit would be a better use of your time (and I'd love to see you clean up that code like you have qmailadmin, that's a stunning CHANGELOG you've got going). Thoughts? Charles -- Tom Collins [EMAIL PROTECTED] http://sniffter.com/ - info on the Sniffter hand-held Network Tester
Re: [vchkpw] Seamless Integration - Finally Posted - New Look, Feel, and Navigation for Qmailadmin
Do you have an URL that we can look at to see this in action? I would love to do something like this myself! Thank you, Linux Hello Everyone, I am writing in response to someone that asked how we seamlessly integrated squirrelmail and qmailadmin using iframes and so a user doesn't have to login to each application after initially logging in. This was a pretty simple task using PHP. Instruction: First we created our administrative shell. This contained a header and a footer in two separate PHP files. Next we created our own login.php file that asked for a username and password. This script included the header.php and the footer.php Once a person submits the login form contained in the login.php page, we use PHP pop functions to authenticate them on our mail servers. If there is a successful authentication, we break the email address apart into 3 variables. The variables are username, domainname, and password. These variable are then added into a session and the users gets redirected to our squirrmail.php login script. Our squirmail.php script includes our header.php script, the line for the Iframe that points to the squirmail login script and our footer.php script. Our header.php script keeps the session running. At the top of the page in the header script we have a navigation bar with 2 icons in it. The icons point to our squirmail.php and our qmailadmin.php scripts. Our qmailadmin.php script is setup exactly like out squirrelmail.php script. It contains the header that keeps the seesion information and a line that includes the Iframe that points to the qmailadmin login script and our footer.php script. The two icons in the header that allow you to switch between the two different application have dtnamic links that get built by the information stored in the session. So basically the username and password get passed through the links when they are clicked. The links are built and populated via the session variables. This all works like a charm. I realize I could have been a little clearer explaining this, but I figure most of you with programming experience should be able to figure it out. I hope this helps. Justin C.
[vchkpw] vpopmail with mysqlcentralized database
hi i am installing vpopmail with mysql support on cnetralized database system. i have two system one is mail-relay and other qmail where user mailboxes resides. On both of these servers i have running pop3/imap, so i want that pop3/imap will authenticate the users through centralized database. BUt when i compile vpopmail with mysql option then it give errrors vauth.c:1170:subscription value is neither array nor pointer -same two or three line- vauth.c:In function 'vcreate_lastauth_table': make[2]:***[vauth.o]Error 1 make[2]:Leaving directory '/usr/local/src/vpopmail-5.3.14' so can i compile vpopmail with (centralized) mysql support on mail-relay and qmail server. So that on both system pop3 and imp authenticate the user throuhg that centralized mysql database. ANy idea. Thanks Zafar