[vchkpw] Vpopmail + Courier-imap Login Failed.
Hi, I am using Qmail + Vpopmail + Courier-imap for my mail server. I got no problem at all until I tried to use the ./vadddomain -u abc abc.com (This will create the mail directory into system user folder) then I encountered login failed to the imap server. I got this error message Nov 5 16:16:43 calypso imapd: Connection, ip=[:::127.0.0.1] Nov 5 16:17:02 calypso imapd: LOGIN FAILED, ip=[:::127.0.0.1] Nov 5 16:17:38 calypso imapd: LOGOUT, ip=[:::127.0.0.1] But, there is no problem at all if I use the (./vadddomain abc.com ) and vpopmail will create the default mail directory into /home/vpopmail/domains/abc.com Anyone know what's wrong with this?
[vchkpw] Any idea which webmail support better for the vpopmail other than sqwebmail? (Prefer support IMAP)
Hi,I am curring using qmail+vpopmail+mysql for my email server. And I am using OpenWebmail and SqurreilMail as a webmail. I don't use sqwebmail is because it lack of fetures.For the OpenWebmail, it do not support IMAP, so I can't use it anymore. For the SqurreilMail it work good, but I don't like it using frame.Actually, I am prefer OpenWebmail coz it support virtual hosting nicely...but it don't support IMAP and support maildir so that I can't integrate with my qmail+vpopmail nicely.So, anyone have any suggestion is there any other opensource webmail system that nicely support vpopmail and qmail + courier-imap other than these two?Regards.
Re: [vchkpw] Quota question: (Qmail + Vpopmail + Courier-imap) with maildir quota.
Title: Hi Steven, Thanks. Yes, you were rite. When I type thevuserinfo, it is re-calculate the whole directory. But, I have figure out something after this. As you know the vuserinfo will re-generate the maildirsize file once the maildirsize file not exits with the latest file size. So, let say if I have created a folder by using IMAP, then move the email message into the folder and it will append the negative into the maildirsize file. After that, if I delete or any other reason that the maildirsize deleted and run the vuserinfo again, the vuserinfo will actually regenerate the maildirsize again with the latest file size. Then, I delete the whole folder by using IMAPit won't append the negative into the maildirsize. So, I will get the wrong quota status. For example: 1. New message come into mail server. Appened the mail size into maildirsize file. 5242880S0 02536958 1 Do vuserinfo then give 48% used. 2. Create a folder and move the message into the folder by using IMAP. 5242880S0 02536958 12536958 1-2536958 -1 Do vuserinfo then give 48% used. 3. Delete the maildirsize file and run vuserinfo. Then it will re-generate the maildirsize file show below. 5242880S0 02536958 1 Do vuserinfo then give 48% used. So, from step 1 to step 3 still provide the correct quota usage. But, after the the vuserinfo re-generate the maildirsize file and I delete the message by using IMAP it won't update the maildirsize. In the maildirsize still remain the same amount in step 3. 5242880S0 02536958 1 Here, I do the vuserinfo again then it is still provide me the 48% used. In fact there is already no any message inside the maildir. Is it a bug or the quota calculation not intelligent enough to re-calculate? That's mean the maildirsize file cannot been removed, else we will get the wrong quota usage? Hope you can understand my poor explaination. KY. - Original Message - From: steven To: 'Kuan Yik' ; [EMAIL PROTECTED] Sent: Thursday, October 16, 2003 12:47 PM Subject: RE: [vchkpw] Quota question: (Qmail + Vpopmail + Courier-imap) with maildir quota. I dont think it will happen. Check the function count_dir(char *dir_name) in source file vqmaillocal.c. It walk around the maildir and sum all file size in this dir. Steven Zhuang Beijing Advantage Software Limited http://www.adyzsoftware.com Room 3010 Deshengyuan Business Center Tel:86-10-62374916 No.11 Dongbinhe Road Deshengmen FAX:86-10-62374724 Xicheng District Mail:[EMAIL PROTECTED] Beijing 100011,PRC
Re: [vchkpw] Quota question: (Qmail + Vpopmail + Courier-imap) with maildir quota.
Title: Hi Steven, I Just figure out another problem that cause the quota not correct. It is about the sub folder created by IMAP. By default for IMAP, it will have the INBOX. And I create a sub-folder call "testing" under INBOX. Then, I create another sub-folder again under the "testing" call "testing2" So will be like this INBOX -testing --tesing2 ---testing3 Then, I move the email message to testing3. And I delete the sub-folder testing1. So, all the sub-folder will be removed. But, after removed all the sub-folder I can still see ( .testing.testing1.testing2.testing3) in the maildir folder...it mean the imap did not successfully removed all the sub-folder. So, this will cause the quota calculation not corect too. Is this a bug too? Or am I need to apply any patches?I am using Outlook express to create the sub-folder and delete folder. - Original Message - From: steven To: 'Kuan Yik' ; [EMAIL PROTECTED] Sent: Thursday, October 16, 2003 4:20 PM Subject: RE: [vchkpw] Quota question: (Qmail + Vpopmail + Courier-imap) with maildir quota. Yes! You are quite right. But when new email coming vpopmail will recaculate the quota. So dont worry about it! No users can save their files or mail over quota. Its a harmless bug. Steven Zhuang Beijing Advantage Software Limited http://www.adyzsoftware.com Room 3010 Deshengyuan Business Center Tel:86-10-62374916 No.11 Dongbinhe Road Deshengmen FAX:86-10-62374724 Xicheng District Mail:[EMAIL PROTECTED] Beijing 100011,PRC
[vchkpw] Quota question: (Qmail + Vpopmail + Courier-imap) with maildir quota.
Hi! I am not sure am I posting to the rite mailing list to ask this question. Currently, I am using only Qmail + Vpopmail + Mysql to provide pop3 and smtp. And, wat I understand that they are using the maildir to store email message in /home/vpopmail/domain/abc.com/user/Maildir/new cur tmp .And , the file maildirsize is use for the quota status. Everything work fine for me now. Now I am interesting on the courier-imap is because I want to use some webmail that support imap. So, I have tried to configure my mail server to support courier-imap as well, and it is working fine so far. The only problem is the quota control. I deleteemail message by using imap isfine. It will update the maildirsize file.But, I notice that I am also ablet o create folder by using Imap into the mairdir. Ihave tried to createa test folder call"testing123" by using imap. Then, itwill create a directorycall ".testing123" in the Maidir/ which thisfolder donot update the maildirsize file. This is the major problem. Coz,user can create any folderand saved all the message into that folder andit will not update the maildirsize file mean the server will not count the quotacorrectly. Anyone have any idea how to solve this problem? Is possible to disable the create folder feature on the imap server?Orwhat else I can do that make the imap will update the maildirsize filewhen creating a newfolder. Orany alternativeway todo that to handle the quota by using imap? Regards, KY.
Re: [vchkpw] Re: Need advise on secondary mail server for backup purpose.
Then, how to will the mailserver2 will forward all the message back to mailserver1 when the mailserver1 turn up again.? need any special configuration? - Original Message - From: Sérgio Manuel Rosa [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 5:40 PM Subject: [vchkpw] Re: Need advise on secondary mail server for backup purpose. Hi, that all you need on the DNS side. On the mailserver1 you'll need to have qmail configured to receive mail for your domain (or domains) and on mailserver2 also (basicly have all your domains in $QMAILPATH/control/rcpthosts). Regards srosa Kuan Yik writes: Hi, I have already configured 2 MX record in DNS. MX 10 mailserver1.mail.com MX 20 mailserver2.mail.com I want to setup a secondary mail server to catch all the email when the primary mail server goes down and when the primary mail server up again then the secondary mail server will flush all the email to the primary mail server again. Is that possible? Is it somehting to do use witl the qmial-remote? Is there any useful link can help me on this? Please advise.
[vchkpw] Need advise on secondary mail server for backup purpose.
Hi, I have already configured 2 MX record in DNS. MX 10 mailserver1.mail.com MX 20 mailserver2.mail.com I want to setup a secondary mail server to catch all the email when the primary mail server goes down and when the primary mail server up again then the secondary mail server will flush all the email to the primary mail server again. Is that possible? Is it somehting to do use witl the qmial-remote? Is there any useful link can help me on this? Please advise.
Re: [vchkpw] Re: Need advise on secondary mail server for backup purpose.
yeah...think should work. I have shutdown the primary mailserver and the message has gone into the secondary mail server. Think the message should be in the qmiail queue now. And, I have make the primary mailserver up again, but I am still waiting for the message from secondary mail server. So, is there any command to flush or force the secondary mail server message from the qmail queue? Or any configuration file to customize it? Thanks. - Original Message - From: Kenneth Ling [EMAIL PROTECTED] To: Cream[DONut] [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, August 07, 2003 10:42 AM Subject: RE: [vchkpw] Re: Need advise on secondary mail server for backup purpose. I do a same config like what cream does... it work very very fine with me..( so far half a year ) It is nothing to do with vpopmail... pure qmail control file only -Original Message- From: Cream[DONut] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 6:11 PM To: [EMAIL PROTECTED] Subject: Re: [vchkpw] Re: Need advise on secondary mail server for backup purpose. At 18:05 06-08-2003 +0800, you wrote: my mailserver1 has been configured properly and it is up and running without any problem. Just do not have the idea of setting up and backup mail server. It isnt really a vpopmail issue, it is a Qmail issue. You put it in rcpthosts on mailserver2, that means it will recive mail for that domain, since it isnt in the local domains, or virtualdomains, it cant deliver it locally, and will try to deliver it remotely. - with standard settings it should keep trying for 5 days, then give up - you dont need vpopmail installed, just a plain Qmail server (somebody please correct me if im wrong)
Re: [vchkpw] Re: Need advise on secondary mail server for backup purpose.
thanks for your guys information. But, with standard settings it should keep trying for 5 days, then give up and which file I should configure if I want to customize it? - Original Message - From: Cream[DONut] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 6:10 PM Subject: Re: [vchkpw] Re: Need advise on secondary mail server for backup purpose. At 18:05 06-08-2003 +0800, you wrote: my mailserver1 has been configured properly and it is up and running without any problem. Just do not have the idea of setting up and backup mail server. It isnt really a vpopmail issue, it is a Qmail issue. You put it in rcpthosts on mailserver2, that means it will recive mail for that domain, since it isnt in the local domains, or virtualdomains, it cant deliver it locally, and will try to deliver it remotely. - with standard settings it should keep trying for 5 days, then give up - you dont need vpopmail installed, just a plain Qmail server (somebody please correct me if im wrong)
Re: [vchkpw] Re: Need advise on secondary mail server for backup purpose.
Then, how to configure for the mailserver2 will forward all the message back to mailserver1 when the mailserver1 turn up again.? need any special configuration? my mailserver1 has been configured properly and it is up and running without any problem. Just do not have the idea of setting up and backup mail server. - Original Message - From: Sérgio Manuel Rosa [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 5:40 PM Subject: [vchkpw] Re: Need advise on secondary mail server for backup purpose. Hi, that all you need on the DNS side. On the mailserver1 you'll need to have qmail configured to receive mail for your domain (or domains) and on mailserver2 also (basicly have all your domains in $QMAILPATH/control/rcpthosts). Regards srosa Kuan Yik writes: Hi, I have already configured 2 MX record in DNS. MX 10 mailserver1.mail.com MX 20 mailserver2.mail.com I want to setup a secondary mail server to catch all the email when the primary mail server goes down and when the primary mail server up again then the secondary mail server will flush all the email to the primary mail server again. Is that possible? Is it somehting to do use witl the qmial-remote? Is there any useful link can help me on this? Please advise.
Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to?
Hi Ahmad, I have found out how to define the different port number for the mysql. We can actually define the mysql port number in the vmysql.h file under the /* defaults - no need to change */#define MYSQL_VPORT 0 Default valueis 0 and you can define to the differnet port number if you wish. Thank you for your help anyway. - Original Message - From: Ahmad Masood Shah To: Kuan Yik ; [EMAIL PROTECTED] Sent: Friday, July 11, 2003 3:21 PM Subject: Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to? hmm have u changed /etc/service mysql it can be handy ... me is kinda busy let me find where you can put port in vmyslq.h or you will have to change some code in this file...give me time I will do for u... -- Best Regs,Masood Ahmad ShahSystem Administrator^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^| * * * * * * * * * * * * * * * * * * * * * * * *| Fibre Net (Pvt) Ltd. Lahore, Pakistan| Tel: +92-42-6677024| Mobile: +92-300-4277367| http://www.fibre.net.pk| * * * * * * * * * * * * * * * * * * * * * * * *^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^Unix is very simple, but it takes a genius to understand the simplicity.(Dennis Ritchie) - Original Message - From: Kuan Yik To: Ahmad Masood Shah ; [EMAIL PROTECTED] Sent: Friday, July 11, 2003 11:42 AM Subject: Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to? Hi Ahmad, thanks for your reply, but what if I want to define different port number or sock file? It is not working if I define like #define MYSQL_UPDATE_SERVER "localhost:" #define MYSQL_READ_SERVER "localhost:" OR #define MYSQL_UPDATE_SERVER "/usr/local/mysq/mysql.sock" #define MYSQL_READ_SERVER "/usr/local/mysql/mysql.sock" Any idea how ? thanks - Original Message - From: Ahmad Masood Shah To: Kuan Yik ; [EMAIL PROTECTED] Sent: Friday, July 11, 2003 2:25 PM Subject: Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to? simple is that open you command prompt vi vmysql.h you will find 2 lines like shown below... #define MYSQL_UPDATE_SERVER "localhost" #define MYSQL_READ_SERVER "localhost" and blah balh -- Best Regs,Masood Ahmad ShahSystem Administrator^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^| * * * * * * * * * * * * * * * * * * * * * * * *| Fibre Net (Pvt) Ltd. Lahore, Pakistan| Tel: +92-42-6677024| Mobile: +92-300-4277367| http://www.fibre.net.pk| * * * * * * * * * * * * * * * * * * * * * * * *^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^Unix is very simple, but it takes a genius to understand the simplicity.(Dennis Ritchie) - Original Message - From: Kuan Yik To: [EMAIL PROTECTED] Sent: Friday, July 11, 2003 6:16 AM Subject: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to? Hi guys, anyone of you have any idea how to defind the parameter of mysql host in vmysql.h file if I want to point it to different port and host instead of "localhost". Please advise and thank you very much. Regards, Max
Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to?
Hi Ahmad, thanks for your reply, but what if I want to define different port number or sock file? It is not working if I define like #define MYSQL_UPDATE_SERVER "localhost:" #define MYSQL_READ_SERVER "localhost:" OR #define MYSQL_UPDATE_SERVER "/usr/local/mysq/mysql.sock" #define MYSQL_READ_SERVER "/usr/local/mysql/mysql.sock" Any idea how ? thanks - Original Message - From: Ahmad Masood Shah To: Kuan Yik ; [EMAIL PROTECTED] Sent: Friday, July 11, 2003 2:25 PM Subject: Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to? simple is that open you command prompt vi vmysql.h you will find 2 lines like shown below... #define MYSQL_UPDATE_SERVER "localhost" #define MYSQL_READ_SERVER "localhost" and blah balh -- Best Regs,Masood Ahmad ShahSystem Administrator^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^| * * * * * * * * * * * * * * * * * * * * * * * *| Fibre Net (Pvt) Ltd. Lahore, Pakistan| Tel: +92-42-6677024| Mobile: +92-300-4277367| http://www.fibre.net.pk| * * * * * * * * * * * * * * * * * * * * * * * *^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^Unix is very simple, but it takes a genius to understand the simplicity.(Dennis Ritchie) - Original Message - From: Kuan Yik To: [EMAIL PROTECTED] Sent: Friday, July 11, 2003 6:16 AM Subject: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to? Hi guys, anyone of you have any idea how to defind the parameter of mysql host in vmysql.h file if I want to point it to different port and host instead of "localhost". Please advise and thank you very much. Regards, Max
Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to?
Thanks to u first Ahmad. I don't think I willchange the port number in the /etc/service. Because, sometime I need to configure mysql running on a system with two different port for two different usage/user. So, like PHP and Perl, the parameter will be define as localhost:/usr/local/mysql.sock or something like "localhost:" Sorry for my poor explanation and hope that you can understand wat I need. - Original Message - From: Ahmad Masood Shah To: Kuan Yik ; [EMAIL PROTECTED] Sent: Friday, July 11, 2003 3:21 PM Subject: Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to? hmm have u changed /etc/service mysql it can be handy ... me is kinda busy let me find where you can put port in vmyslq.h or you will have to change some code in this file...give me time I will do for u... -- Best Regs,Masood Ahmad ShahSystem Administrator^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^| * * * * * * * * * * * * * * * * * * * * * * * *| Fibre Net (Pvt) Ltd. Lahore, Pakistan| Tel: +92-42-6677024| Mobile: +92-300-4277367| http://www.fibre.net.pk| * * * * * * * * * * * * * * * * * * * * * * * *^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^Unix is very simple, but it takes a genius to understand the simplicity.(Dennis Ritchie) - Original Message - From: Kuan Yik To: Ahmad Masood Shah ; [EMAIL PROTECTED] Sent: Friday, July 11, 2003 11:42 AM Subject: Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to? Hi Ahmad, thanks for your reply, but what if I want to define different port number or sock file? It is not working if I define like #define MYSQL_UPDATE_SERVER "localhost:" #define MYSQL_READ_SERVER "localhost:" OR #define MYSQL_UPDATE_SERVER "/usr/local/mysq/mysql.sock" #define MYSQL_READ_SERVER "/usr/local/mysql/mysql.sock" Any idea how ? thanks - Original Message - From: Ahmad Masood Shah To: Kuan Yik ; [EMAIL PROTECTED] Sent: Friday, July 11, 2003 2:25 PM Subject: Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to? simple is that open you command prompt vi vmysql.h you will find 2 lines like shown below... #define MYSQL_UPDATE_SERVER "localhost" #define MYSQL_READ_SERVER "localhost" and blah balh -- Best Regs,Masood Ahmad ShahSystem Administrator^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^| * * * * * * * * * * * * * * * * * * * * * * * *| Fibre Net (Pvt) Ltd. Lahore, Pakistan| Tel: +92-42-6677024| Mobile: +92-300-4277367| http://www.fibre.net.pk| * * * * * * * * * * * * * * * * * * * * * * * *^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^Unix is very simple, but it takes a genius to understand the simplicity.(Dennis Ritchie) - Original Message - From: Kuan Yik To: [EMAIL PROTECTED] Sent: Friday, July 11, 2003 6:16 AM Subject: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to? Hi guys, anyone of you have any idea how to defind the parameter of mysql host in vmysql.h file if I want to point it to different port and host instead of "localhost". Please advise and thank you very much. Regards, Max
[vchkpw] Can Vpopmail set QUOTA for a domain instead of user account?
Hi there, I know that vpopmail able to set a quota for individual email account. But, can vpopmail set a quota for a domain instead of individual account? This is actually helpful for virtual hosting environment.
[vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to?
Hi guys, anyone of you have any idea how to defind the parameter of mysql host in vmysql.h file if I want to point it to different port and host instead of "localhost". Please advise and thank you very much. Regards, Max