[vchkpw] PHP Register Site for a new vpopmail account
Hi List I have a small question. I'm fully not a programmer, but I have with a friend a Website on witch we now want to provide email services. The problem now is, that I'm not the programmer an my friend can programm, but don't know what is to do. I had set up qmail based on y mysql Table. Now, does sombody has a site as example or a littlebit of the source code? Thanks a lot for your help Greetings Hannes Widmer \|||/ (@ @) ---o00-(_)-00o--- Cybernet (Schweiz) AG Hannes Widmer Junior System Engineer Cybernet Hostmaster Schaffhauserstrasse 560 Postfach CH-8052 Zuerich Tel. +41 (0)1 306'46'46 Fax. +41 (0)1 306'95'96 email [EMAIL PROTECTED] http://www.cybernet.ch
[vchkpw] Big server
Hi people, I would like make a big server with qmail +vpopmail +mysql +procmail. I think in this structure: Server 1: Mx domain + smtp delivery +filters (Antispam, user filter(procmail) and antivirus) This server basically is the mail gateway of all domains, where is passed in the filters rules per domain and redirect all mails to server 2 Server 2: Pop3 accounts + mysql server Here is created all accounts. This schema is good for multiple domains? Another question is how do i do the message delivery the messages from server1 to server2? Thanks Marcos Dutra
Re: [vchkpw] PHP Register Site for a new vpopmail account
On Monday, July 21, 2003, at 02:31 AM, Widmer Hannes wrote: I have a small question. I'm fully not a programmer, but I have with a friend a Website on witch we now want to provide email services. The problem now is, that I'm not the programmer an my friend can programm, but don't know what is to do. I had set up qmail based on y mysql Table. Take a look at vqregister: http://www.inter7.com/vqregister.html vQregister is a CGI which allows new email users to signup on your system. It is extremely configurable, and has many methods of operation. -- Tom Collins [EMAIL PROTECTED] http://sniffter.com/ - info on the Sniffter hand-held Network Tester
[vchkpw] Squirrelmail Theme and New Look for qmailadmin
After many requests for me to post the theme we created for squirrelmail I have done so. If you visit the same page that allows you to download the new look and feel for qmailadmin, you can download it by clicking on the second link under the downloads section. This theme is the one used in the screenshots on how to integrate a single login using iframes which are displayed at the bottom of this page. http://www.somnioworld.com/qmailadmin.php Justin C.
[vchkpw] aliasdomain
Hello, I have aquestion, how many domains can I point to another using ./valiasdomain I have 4 domains and want to point to the same. ej; domain1.com domain2.com domain3.com domain4.com point to masterdomain.com Thank you __-Julio César TorresDirector GeneralProweb Guadalajarahttp://www.prowebgdl.com
Re: [vchkpw] Big server
The client mail server would serve whatever combination I would like make a big server with qmail +vpopmail +mysql +procmail. I think in this structure: Server 1: Mx domain + smtp delivery +filters (Antispam, user filter(procmail) and antivirus) This server basically is the mail gateway of all domains, where is passed in the filters rules per domain and redirect all mails to server 2 Server 2: Pop3 accounts + mysql server Here is created all accounts. This schema is good for multiple domains? Based on my experience, I agree, but I might split Server2 into Server2 (delivery/storage/database) and Server3 (pop/imap/webmail servers for clients). I include more details below for one economical infrastructure I worked with. It's not a HOWTO, but knowing what someone else has done might help guide you instead of figuring it out from scratch. Another question is how do i do the message delivery the messages from server 1 to server2? Qmail! :^) In /var/qmail/control/smtproutes, set it so that all mail goes to Server2 (eg: :server2.mydomain.com). If you're fancy, you can try QMTP instead of SMTP. -- Eric Ziegast A sample large server environment (hundreds of domains, thousands of users) I once helped with: The MX record points to multiple cheap parallel inbound mail servers: - Single CPU PC at the best Price/Performance cost. I've found that one can build these for $300 each. You will find that when doing Virus/Spam scanning that the first bottleneck that you hit (out of CPU/memory/disk/network) is CPU. All of the regular expression searching on an e-mail message takes processing power. Assuming you have enough RAM, disk I/O would be the next bottleneck. I found a good balance AMD 1800+ motherboard /w 512MB PC133 RAM and 7200RPM IDE. Another option is investing in a very fast multi-processor Intel screamer with lots of RAM, but the cheap and disposable dervers are linearly scalable. - RAM depends on how many simultaneous connections you want to be allowed for Spam/Virus filtering. I used 512MB on a cheap system becasue RAM is cheap these days. I usually ran out of CPU before memory. If the OS uses any significant amount of virtual memory, you need more RAM. Run vmstat. If pi or po is above 0, you need more RAM or need to lower the number of simultaneous connections allowed by qmail (eg: concurrencyincoming in /var/qmail/control). The inbound server is your mail firewall and doesn't have time for paging to disk when the message load is high. - Hardware or softare RAID1 7200+ RPM IDE drives is sufficient. I have been told by a Linux integrator that Linux software RAID1 can be faster than the RAID1 provided by hardware controllers. If you have a budget for SCSI, use it. You need merely a 9GB drive in an inbound relay server anyway because the mail doesn't sit on the server. In fact, you may see a disk I/O improvement if you limit /var/qmail/queue to a 2GB partition of the hard drive. If you don't need the space, you don't need to have the disk head potentially cross the entire disk to find data. If you select a hardware RAID controller, prefer a controller that has non-volatile RAM or RAM /w a battery. This will allow the controller to use write-back mode on write and significantly reduce response time between the computer and the hard drives. - While I love OpenBSD and FreeBSD, I've used Linux for Qmail services because I've had other Linux-capable staff that could help administer the servers. Another advantage to Linux is ReiserFS. I have used ReiserFS on /var/qmail/queue partitions with success after applying the fsync patches. (http://www.jedi.claranet.fr/qmail-reiserfs-howto.html) ReiserFS performs well with thousands of files in a directory and allows you to keep the default hash value (23) for the spool directory. If using ufs (Solaris/BSD), consider compiling a queue hash value of some large prime number (like 101). If using Linux without ReiserFS, at least use ext3 instead of ext2 so that you can recover after a crash. If using Solaris, consider VxFS if you have the ability to use it. A standard fsck of a non-journaled filsystems used for qmail REALLY sucks. Aside: I don't export ReiserFS over NFS - just use it for the mail relays themselves. For vpopmail directories, I use filesystems that are known to be tried and tested in heavy read/write environments under NFS. I hope ReiserFS gets to this state, but at the time of my implementation, it was easier for me to use ext3 for vpopmail dirs. - I followed instructions for using QmailScanner /w SpamAssassin (spamc -f -c) and a Virus checker. I found QmailScanner to be quite inefficient and significantly rewrote it to not break up the message into a zillion pieces for its internal scanning. SpamAssassin (spamd) does that for you anyway,
Re: [vchkpw] aliasdomain
On Monday, July 21, 2003, at 01:56 PM, Mago Gozner wrote: Hello, I have aquestion, how many domains can I point to another using ./valiasdomain I have 4 domains and want to point to the same. ej; domain1.com domain2.com domain3.com domain4.com point to masterdomain.com That should be fine. There shouldn't be any limits. -- Tom Collins [EMAIL PROTECTED] http://sniffter.com/ - info on the Sniffter hand-held Network Tester
Re: [vchkpw] [mrsam@courier-mta.com: [sqwebmail] Re: Sqwebmail Authorization 2]
I personally would love to see the MySQL data moved out of the library and into a config file. The thought of recompiling vpopmail if/when my database info changes is disconcerting. Configuration data belongs in configuration files, not shared libraries. The only concern of course is that apps which link against libvpopmail need to know where to get the login info, so perhaps it needs to be made automagical that even a shared library call will open up the config, grab the info and then execute against the correct MySQL server. On Friday 18 July 2003 19:23, Tom Collins wrote: On Friday, July 18, 2003, at 03:55 PM, Doug Clements wrote: It looks like there's 2 main problems he's detailing. The first he details looks pretty darn obviously a bug. Can anyone comment on why this buffer isn't cleared, and why it hasn't been fixed? If someone can give me better guidance, I will go in and fix the problem on the vpopmail side. What functions does authdaemon make use of in libvpopmail? libvpopmail may need a major overhaul and review for memory leaks, especially if it's like QmailAdmin. Since QmailAdmin runs as a CGI, no one has been very careful about freeing allocated memory when it's done being used. I'm not sure if similar coding practices are present in vpopmail. I'm not sure how to address the library problem. I've come across it, and anyone who halfway knows what they're doing should know how to get around it, but we all (sqwebmail and vpopmail lists) still get people who have problems with it. This sounds fixable by the patch I just saw that keeps the authentication information in a seperate file. Are there any objections to doint this and relaxing the restrictions on the lib directory (at least make it executable) and the actual library file (make it readable)? The hard-coded login information was the only valid reason I remember for having the lib permissions like that. Anyone? I liked that patch, and I want to integrate it into an upcoming release (with review from others of course). I agree that the MySQL information should live in a non-world-readable file owned by vpopmail, perhaps stored in ~vpopmail/etc instead of /var/qmail/control. Does anyone see a reason it should be hardcoded into the lib? I've never seen this problem really anaylzed and properly investigated on the vpopmail side. I really would like sqwebmail and vpopmail to work well together, it would be quite a shame to lose the interoperability over some bugs that should really be fixed regardless. I'm not intimately familiar with sqwebmail, but I'll commit to fixing whatever is broken in vpopmail. Should I just examine authvchkpw.c to see how it interfaces to vpopmail, and work on the parts of vpopmail that it touches? Otherwise, it will probably be necessary to review each function in vpopmail to make sure it could be called repeatedly, work properly, and not leak memory. -- Tom Collins [EMAIL PROTECTED] http://sniffter.com/ - info on the Sniffter hand-held Network Tester -- Nicholas Harring System Administrator Webley Systems, Inc. Ph# 877-609-4795
[vchkpw] vpopmail 5.3.9 and APOP?
I could not find any documentation regarding APOP support in vpopmail. Tried the webpage, the mailing list archives, google, deja. etc and came up with nothing concrete. Could someone explain it to me briefly or provide a link to some decent documentation? I read that APOP support is included by default. Can anyone confirm this?
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 Kuan, Thanks for your kind of information. any how where are you from. and What type of enviornment you have. I'm working with an ISP www.fibre.net.pk -- 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: Tuesday, July 22, 2003 8:23 AM Subject: 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