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?
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] Vpopmail + Courier-imap as non-root
Ok, so I'm installing qmail + vpopmail + courier-imap. Everything almost works. But I'm stuck at getting courier-imap to do SMTP-relaying via vpopmail's --roaming-users. According to the FAQ: 2. Courier-IMAP doesn't detect roaming users in the vpopmail library correctly, so force it by doing something like this just before compiling: export CFLAGS=-DHAVE_OPEN_SMTP_RELAY 3. compile courier-imap with --without-authdaemon --with-authvchkpw 4. Make sure you run your imap server as the same user as your pop server (so open-smtp and tcp.smtp have the same ownership). man couriertcpd for details, but you will change /usr/lib/courier- imap/libexec/imapd.rc something like this: Change this line: /usr/lib/courier-imap/libexec/couriertcpd -address=$ADDRESS \ To: /usr/lib/courier-imap/libexec/couriertcpd -address=$ADDRESS \ -user=vpopmail -group=vchkpw \ So I do all of this by the book. Now, courier-imap doesn't work if I add the -user=vpopmail -group=vchkpw directives to imapd.rc (as in a vpopmail user can't authenticate). According to /var/log/messages: Jul 11 00:53:33 hoss authdaemon: authdaemon: s_connect() failed: Permission denied If I remove the -user=vpopmail -group=vchkpw directives from imapd.rc, of course, the vpopmail user can authenticate via imap, but simply cannot relay through SMTP. I assume that I get the s_connect() simply because the permissions to something aren't right. But I haven't a clue as to what that could be! Everything in /home/vpopmail is correct... I'm stumped. If I can't figure this out, I'll have to go back to POP (which I have successfully got to do roaming-users as per the documentation, and works perfectly), which sucks because I really want to use IMAP exclusively. Does anyone here have a courier-imap + vpopmail (+ mysql) + qmail setup working properly in this fashion? What am I missing? Thanks, -Josh
[vchkpw] domain convert
Hi, Is there anyway to convert users from one domain to another in vpopmail? Faez - Original Message - From: Joshua Pruitt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 11, 2003 12:25 PM Subject: [vchkpw] Vpopmail + Courier-imap as non-root Ok, so I'm installing qmail + vpopmail + courier-imap. Everything almost works. But I'm stuck at getting courier-imap to do SMTP-relaying via vpopmail's --roaming-users. According to the FAQ: 2. Courier-IMAP doesn't detect roaming users in the vpopmail library correctly, so force it by doing something like this just before compiling: export CFLAGS=-DHAVE_OPEN_SMTP_RELAY 3. compile courier-imap with --without-authdaemon --with-authvchkpw 4. Make sure you run your imap server as the same user as your pop server (so open-smtp and tcp.smtp have the same ownership). man couriertcpd for details, but you will change /usr/lib/courier- imap/libexec/imapd.rc something like this: Change this line: /usr/lib/courier-imap/libexec/couriertcpd -address=$ADDRESS \ To: /usr/lib/courier-imap/libexec/couriertcpd -address=$ADDRESS \ -user=vpopmail -group=vchkpw \ So I do all of this by the book. Now, courier-imap doesn't work if I add the -user=vpopmail -group=vchkpw directives to imapd.rc (as in a vpopmail user can't authenticate). According to /var/log/messages: Jul 11 00:53:33 hoss authdaemon: authdaemon: s_connect() failed: Permission denied If I remove the -user=vpopmail -group=vchkpw directives from imapd.rc, of course, the vpopmail user can authenticate via imap, but simply cannot relay through SMTP. I assume that I get the s_connect() simply because the permissions to something aren't right. But I haven't a clue as to what that could be! Everything in /home/vpopmail is correct... I'm stumped. If I can't figure this out, I'll have to go back to POP (which I have successfully got to do roaming-users as per the documentation, and works perfectly), which sucks because I really want to use IMAP exclusively. Does anyone here have a courier-imap + vpopmail (+ mysql) + qmail setup working properly in this fashion? What am I missing? Thanks, -Josh
Re: [vchkpw] vpopmail and courier-imap
Check permissions on /home/vpopmail/lib/libvpopmail.a I changed them tochmod 644 /home/vpopmail/lib/libvpopmail.aandchmod 755 /home/vpopmail/lib Regards, Sadik P.S. Post your emails at courier-imap mailing list. - Original Message - From: Bård Tommy Nilsen To: [EMAIL PROTECTED] Sent: Friday, July 11, 2003 8:51 AM Subject: [vchkpw] vpopmail and courier-imap I try to install courier-imap with my vpopmail but the the following error when i try to 'make' Any ideas ? Compiling modauthvchkpw.cgcc -I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -o authvchkpw modauthvchkpw.o libauthmod.a libauth.a ../numlib/libnumlib.a ../md5/libmd5.a ../sha1/libsha1.a -L/home/vpopmail/lib -lvpopmail -lm -lcrypt /usr/bin/ld: cannot find -lvpopmail*** Error code 1 Stop in /usr/home/bardtomm/courier-imap-2.0.0/authlib.*** Error code 1 Stop in /usr/home/bardtomm/courier-imap-2.0.0/authlib.*** Error code 1 Stop in /usr/home/bardtomm/courier-imap-2.0.0. Best regards Bård Tommy Nilsen
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.
Re: [vchkpw] vpopmail latest version
Sigh!! * Recompiled sqwebmail --without-autdaemond * Removed authdaemond startup from boot scripts * rebooted machine ...now cannot log in at all. Which is kind of what I expected - I have been using sqwebmail from back when it didn't have authdaemond, and I remember it completely screwing me up when I changed to a version with it and I couldn't get anything to work!!! H. On Thursday 10 July 2003 21:37, [EMAIL PROTECTED] wrote: ..and yes, that's an SqWebmail configuration :) [EMAIL PROTECTED] wrote: authdaemond simply caches authentication information so that you arent required to call the authentication module as frequently (which in theory, would be more efficient). However, Ive never seen this to be required. If authdaemon is disabled, it simply talks to the authentication module. Howard Miller wrote: Aha I have been having this problem, and have just come in halfway through the conversation... Can somebody spell this out for me a bit more please? Is that --without-authdaemond in sqwebmail? In which case how does it verify the user... or am I being stupid and missing something completely?? Thanks On Thursday 10 July 2003 15:22, [EMAIL PROTECTED] wrote: If you're running authdaemond to cache authentication information, that is probably your problem. Disable that at configure-time (--without-authdaemond) and try to use it again. Valentin Ionescu wrote: Someone recomanded me to update to vpopmail-5.3.38 in order to stop getting an Invalid User Id Or Password message from sqwebmail but I could't fint it anywhere. The latest version that I could find was 5.3.20 (which is the one I am using right now). Please tell me if there really is a later version then 5.3.20 and where could I download it from. Thanks!
[vchkpw] RE:Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to?
Hello Ahmad, hello all, after Installing mysql with vpopmail. Then when I started the mysql daemon.. The I trief to log in to my mysql database and got the message could not find mysql.sock in /tmp. In the mysql-configuration file /etc/my.cnf (in my redhat system) I changed the place for the socket file from socket=/var/lib/mysql/mysql.sock to socket=/tmp/mysql.sock. That doesn´t work. What can I do? Perhaps put a link ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock in /tmp Oliver 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 Shah System 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 Shah System 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] Can Vpopmail set QUOTA for a domain instead of user account?
if you are using vpopmail with qmailadmin then create a file in required domains folder with name .qmailadmin-limits maxpopaccounts: 10maxaliases: 10maxforwards: 10maxautoresponders: 10maxmailinglists: 0default_quota: 2000 (This is what u need for domain quota) -- 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 1:01 PM Subject: [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] Changing from vmailmgr to vpopmail
Hi everybody, I am currently running a server with about 80 domains and about 30 users. The server runs qmail+QMAILQUEUE+SMTP-AUTH+TARPIT, vmailmgr, daemontools, dnscache, Squirrelmail 1.4, qmail-pop3d, courier-imap, and sslwrap for POP3 and IMAP. I also have Spamassassin and F-Prot included via Qmail-Scanner. I additionally have several 'script' aliases (for example sending a mail to [EMAIL PROTECTED] will cause a specific script to be executed as the user who owns 'domain.foo', where XYZ counts as a kind of password for this trigger). Most users have several domains which I just created as aliases in the qmail configuration. I have now been hit hard by spammers (some idiot spammer has been using my domains as Return-Path for a week and I get about 20.000 Undeliverable, Please confirm and YOU F*CKING SPAMMER!11!! mails a day(!). I want my users to be able to use TMDA for their domains and I would like a user-friendly interface for this. Now, using vmailmgr, I get the impression that most of the add-ons that are desinged for virtual users are made for vpopmail. qmailadmin for example. Also, I get the impression that vpopmail is much more widely used. So: - Am I correct? Is it a good idea to switch to vpopmail? - Can I use vpopmail and still have my users read their mail with 'mutt' locally if they want? Some of the users have SSH access. I understand all mail will be handled by the 'vpopmail' user, that might present a problem. - Does vpopmail allow some domains to be excluded and just be forwarded to eg. /home/jens/Maildir/? (I don't need my own domains to be split up - I just use a couple .qmail files for @jensbenecke.de). - Is there a package of vpopmail that does not put everything in the vpopmail home directory? I have /home mounted 'noexec,nosuid,nodev' (for security) and I'm not about to change that. Binaries go in /usr/local/bin or somewhere IMHO ... Thank you! -- Jens Benecke ([EMAIL PROTECTED])
Re: [vchkpw] RE:Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to?
hmmm this is the problem regarding mysql not vpopmail... anyhow if you have changed /etc/my.cnf then it should work. I will suggest better to check your permissions on folder where mysql want to create socket... it should be owner by user that is running mysql also kill all mysql process and start it again... -- Best Regs, Masood Ahmad Shah System 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: GoodnGo.de (R) Zentrale [EMAIL PROTECTED] To: Ahmad Masood Shah [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, July 11, 2003 3:20 PM Subject: [vchkpw] RE:Re: [vchkpw] vpopmail + mysql : Define other mysql host in vmysql.h how-to? | Hello Ahmad, hello all, | | after Installing mysql with vpopmail. Then when I started the mysql | daemon.. The I trief to log in to my mysql database and got the | message could not find mysql.sock in /tmp. | | In the mysql-configuration file /etc/my.cnf (in my redhat system) I | changed the place for the socket file from | socket=/var/lib/mysql/mysql.sock to socket=/tmp/mysql.sock. | That doesn´t work. | | What can I do? Perhaps put a link ln -s /var/lib/mysql/mysql.sock | /tmp/mysql.sock in /tmp | | Oliver | | | | 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 Shah | System 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 Shah | System 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] Changing from vmailmgr to vpopmail
I will suggest better to study FAQs first from www.inter7.com regarding vpopmail -- Best Regs, Masood Ahmad Shah System 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: Jens Benecke [work] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 11, 2003 5:01 PM Subject: [vchkpw] Changing from vmailmgr to vpopmail | Hi everybody, | | I am currently running a server with about 80 domains and about 30 users. | The server runs qmail+QMAILQUEUE+SMTP-AUTH+TARPIT, vmailmgr, daemontools, | dnscache, Squirrelmail 1.4, qmail-pop3d, courier-imap, and sslwrap for POP3 | and IMAP. I also have Spamassassin and F-Prot included via Qmail-Scanner. I | additionally have several 'script' aliases (for example sending a mail to | [EMAIL PROTECTED] will cause a specific script to be executed as the user | who owns 'domain.foo', where XYZ counts as a kind of password for this | trigger). | | Most users have several domains which I just created as aliases in the qmail | configuration. | | I have now been hit hard by spammers (some idiot spammer has been using my | domains as Return-Path for a week and I get about 20.000 Undeliverable, | Please confirm and YOU F*CKING SPAMMER!11!! mails a day(!). I want my | users to be able to use TMDA for their domains and I would like a | user-friendly interface for this. | | | Now, using vmailmgr, I get the impression that most of the add-ons that are | desinged for virtual users are made for vpopmail. qmailadmin for example. | Also, I get the impression that vpopmail is much more widely used. | So: | | - Am I correct? Is it a good idea to switch to vpopmail? | | - Can I use vpopmail and still have my users read their mail with 'mutt' | locally if they want? Some of the users have SSH access. I understand all | mail will be handled by the 'vpopmail' user, that might present a problem. | | - Does vpopmail allow some domains to be excluded and just be forwarded to | eg. /home/jens/Maildir/? (I don't need my own domains to be split up - I | just use a couple .qmail files for @jensbenecke.de). | | - Is there a package of vpopmail that does not put everything in the | vpopmail home directory? I have /home mounted 'noexec,nosuid,nodev' (for | security) and I'm not about to change that. Binaries go in /usr/local/bin | or somewhere IMHO ... | | Thank you! | | | | -- | Jens Benecke ([EMAIL PROTECTED]) | | |
Re: [vchkpw] Changing from vmailmgr to vpopmail
Hi, The short answer is Yes. Vpopmail will be able to do everything you want described below including using different system users for some domains. The long answer is to read the FAQ and documentation for vpopmail and qmail. You will most likely have to compile vpopmail yourself to get the binaries installed in a different location. Regards, Rick Jens Benecke [work] wrote: Hi everybody, I am currently running a server with about 80 domains and about 30 users. The server runs qmail+QMAILQUEUE+SMTP-AUTH+TARPIT, vmailmgr, daemontools, dnscache, Squirrelmail 1.4, qmail-pop3d, courier-imap, and sslwrap for POP3 and IMAP. I also have Spamassassin and F-Prot included via Qmail-Scanner. I additionally have several 'script' aliases (for example sending a mail to [EMAIL PROTECTED] will cause a specific script to be executed as the user who owns 'domain.foo', where XYZ counts as a kind of password for this trigger). Most users have several domains which I just created as aliases in the qmail configuration. I have now been hit hard by spammers (some idiot spammer has been using my domains as Return-Path for a week and I get about 20.000 Undeliverable, Please confirm and YOU F*CKING SPAMMER!11!! mails a day(!). I want my users to be able to use TMDA for their domains and I would like a user-friendly interface for this. Now, using vmailmgr, I get the impression that most of the add-ons that are desinged for virtual users are made for vpopmail. qmailadmin for example. Also, I get the impression that vpopmail is much more widely used. So: - Am I correct? Is it a good idea to switch to vpopmail? - Can I use vpopmail and still have my users read their mail with 'mutt' locally if they want? Some of the users have SSH access. I understand all mail will be handled by the 'vpopmail' user, that might present a problem. - Does vpopmail allow some domains to be excluded and just be forwarded to eg. /home/jens/Maildir/? (I don't need my own domains to be split up - I just use a couple .qmail files for @jensbenecke.de). - Is there a package of vpopmail that does not put everything in the vpopmail home directory? I have /home mounted 'noexec,nosuid,nodev' (for security) and I'm not about to change that. Binaries go in /usr/local/bin or somewhere IMHO ... Thank you!
Re: [vchkpw] Changing from vmailmgr to vpopmail
On Fri, 11 Jul 2003, Jens Benecke [work] wrote: I am currently running a server with about 80 domains and about 30 users. The server runs qmail+QMAILQUEUE+SMTP-AUTH+TARPIT, vmailmgr, daemontools, dnscache, Squirrelmail 1.4, qmail-pop3d, courier-imap, and sslwrap for POP3 and IMAP. I also have Spamassassin and F-Prot included via Qmail-Scanner. I additionally have several 'script' aliases (for example sending a mail to [EMAIL PROTECTED] will cause a specific script to be executed as the user who owns 'domain.foo', where XYZ counts as a kind of password for this trigger). everything of this is runnable under vpopmail scheme I have now been hit hard by spammers (some idiot spammer has been using my domains as Return-Path for a week and I get about 20.000 Undeliverable, Please confirm and YOU F*CKING SPAMMER!11!! mails a day(!). I want my users to be able to use TMDA for their domains and I would like a user-friendly interface for this. merely switching to vpopmail doesn't solve this issue, it's a spam well known 'strategy'; (consider if this idiot want to spam aol.com million email address with fake adresses under your domains as Return-Path) you could solve it with qmail's tools like doublebounceto to free postmaster's mailbox (this will not stop your waste of bandwith, just it'll avoid to fill your hard disk) or using several filters at SMTP level available in qmail.org to reject this spam Now, using vmailmgr, I get the impression that most of the add-ons that are desinged for virtual users are made for vpopmail. qmailadmin for example. yes and no; you can use several add-ons like Omail from Oliver Muller (http://omail.omnis.ch/), etc; It's true that qmailadmin/vqadmin community seems more active because a inter7.com support and developping. Also, I get the impression that vpopmail is much more widely used. indeed - Am I correct? Is it a good idea to switch to vpopmail? in your place, I'll consider more reasons that you pointed out here; but's is your choice...:) I'm running two servers to compare vmailmrg/vpopmail features and benefits. - Can I use vpopmail and still have my users read their mail with 'mutt' locally if they want? Some of the users have SSH access. I understand all mail will be handled by the 'vpopmail' user, that might present a problem. you're right it's possible only forwarding from your user's vpopmail structure to /home/user/Maildir creating appropiate .qmail files (you can use qmailadmin or by hand taking care of permissions) - Does vpopmail allow some domains to be excluded and just be forwarded to eg. /home/jens/Maildir/? (I don't need my own domains to be split up - I just use a couple .qmail files for @jensbenecke.de). under vpopmail, all you domains will go under ~vpopmail/domains As above, you can configure all .qmail files that you need - Is there a package of vpopmail that does not put everything in the vpopmail home directory? you can tweak installation at configure step of vpopmail package ./configure --help to see relevant choices. regards, Abel Lucano DECODE SA [EMAIL PROTECTED]
Re: [vchkpw] Vpopmail + Courier-imap as non-root
On Friday, July 11, 2003, at 12:25 AM, Joshua Pruitt wrote: According to the FAQ: 3. compile courier-imap with --without-authdaemon --with-authvchkpw So I do all of this by the book. Now, courier-imap doesn't work if I add the -user=vpopmail -group=vchkpw directives to imapd.rc (as in a vpopmail user can't authenticate). According to /var/log/messages: Jul 11 00:53:33 hoss authdaemon: authdaemon: s_connect() failed: Permission denied Are you sure you compiled *without* authdaemon? You shouldn't get an authdaemon error if you're only using authvchkpw. Who manages the vpopmail FAQ? Can we add a line that says don't compile courier with authdaemon as line 1? -- Tom Collins [EMAIL PROTECTED] http://sniffter.com/ - info on the Sniffter hand-held Network Tester
Re: [vchkpw] vpopmail and courier-imap
On Friday, July 11, 2003, at 12:35 AM, Sadik Galimuna wrote: Check permissions on /home/vpopmail/lib/libvpopmail.a I changed them to chmod 644 /home/vpopmail/lib/libvpopmail.a and chmod 755 /home/vpopmail/lib That's a bad idea, especially if you're using MySQL. With libvpopmail.a world-readable, anyone can find out the username and password to MySQL. -- Tom Collins [EMAIL PROTECTED] http://sniffter.com/ - info on the Sniffter hand-held Network Tester
Re: [vchkpw] Vpopmail + Courier-imap as non-root
Are you sure you compiled *without* authdaemon? You shouldn't get an authdaemon error if you're only using authvchkpw. I tried compiling it both ways - with and without the --without-authdaemon directive. :P Same results. -Josh
Re: [vchkpw] Login
Hi, vipmap Allows a specific IP address to not require a domain part. Regards, Rick Mago Gozner wrote: How can I login using only my username ej; someuser and not [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]. Thank You __- Julio César Torres Director General Proweb Guadalajara http://www.prowebgdl.com
Re: [vchkpw] Permission $vpopmail/lib directory
I'd agree now that I remember ( as I think I partook in that discussion a few years ago, but forgot about it ). Agreed to leaving it 700 so that you need to be specifically aware if you change it. Thanks folks. -M _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
[vchkpw] Using custom domain directories
I made a posting a few weeks about this and didnt' get a reply... so here's another shot. When I create a domain and set a custom directory (for the domain) of a users directory (ie: /home/user/domain.com/mail), you'd expect mail to go into that folder (and user accounts to be created as /home/user/domain.com/mail/username). However, it then creates a 'domains' directory within that folder. Is there any way to have it accept whatever directory I choose as the directory to add files to? I know I can move the directory manually and then update /var/qmail/control/users, however I'd of course like to avoid that and have this done right. otherwise, maybe we need a documentation update to properly describe how this works. Personally, I'd like to see the option to just use the directory I specify rather than creating a directory within it. Thoughts? -Mike _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
[vchkpw] make install error (v5.3.20)
I'm trying to install vpopmail-5.3.20 on a freebsd4.8 machine. I'm receiving the following errors: [EMAIL PROTECTED]:/usr/local/src/vpopmail-5.3.20# make install Making install in cdb rm -f libvpopmail.a ar cru libvpopmail.a vpopmail.o md5.o bigdir.o vauth.o file_lock.o vpalias.o seek.o vlimits.o maildirquota.o cdb/*.o /usr/libexec/elf/ar: cdb/*.o: No such file or directory *** Error code 1 Stop in /usr/local/src/vpopmail-5.3.20. *** Error code 1 Stop in /usr/local/src/vpopmail-5.3.20. Any ideas or suggestions as to how to resolve this? -Patrick Lahni - This mail sent through IMP: http://horde.org/imp/
Re: [vchkpw] make install error (v5.3.20)
Quoting [EMAIL PROTECTED] [EMAIL PROTECTED]: I'm trying to install vpopmail-5.3.20 on a freebsd4.8 machine. I'm receiving the following errors: [EMAIL PROTECTED]:/usr/local/src/vpopmail-5.3.20# make install Making install in cdb rm -f libvpopmail.a ar cru libvpopmail.a vpopmail.o md5.o bigdir.o vauth.o file_lock.o vpalias.o seek.o vlimits.o maildirquota.o cdb/*.o /usr/libexec/elf/ar: cdb/*.o: No such file or directory *** Error code 1 Stop in /usr/local/src/vpopmail-5.3.20. *** Error code 1 Stop in /usr/local/src/vpopmail-5.3.20. Any ideas or suggestions as to how to resolve this? -Patrick Lahni Just to follow up on this to provide more information, my cdb folder contents are as follows: [EMAIL PROTECTED]:/usr/local/src/vpopmail-5.3.20/cdb$ ls Makefilecdb_hash.c cdbmake_hash.c find-systype.sh uint32.h1 README cdb_seek.c cdbmake_pack.c loaduint32.h2 THANKS cdb_unpack.ccompile makelib warn-auto.sh VERSION cdbmake.h conf-cc trycpp.c cdb.h cdbmake_add.c conf-ld tryulong32.c Obviously, no *.o files like it was anticipating. I've tried deleting the vpopmail-5.3.20 directory entirely and unpacking from the tarball again -- same result. I'm using the following configure: ./configure --enable-mysql=y --enable-roaming-users=y --enable-defaultquota=1S,1C --enable-learn-passwords=y --enable-mysql-replication=y --enable-logging=p --enable-mysql-logging=y (pardon the line wrapping -- if it does -- this is all one line of course) -Patrick Lahni - This mail sent through IMP: http://horde.org/imp/
Re: [vchkpw] make install error (v5.3.20)
I think in general you'll have better luck using gmake (/usr/ports/devel/gmake). Charles On Fri, 11 Jul 2003 [EMAIL PROTECTED] wrote: Quoting [EMAIL PROTECTED] [EMAIL PROTECTED]: I'm trying to install vpopmail-5.3.20 on a freebsd4.8 machine. I'm receiving the following errors: [EMAIL PROTECTED]:/usr/local/src/vpopmail-5.3.20# make install Making install in cdb rm -f libvpopmail.a ar cru libvpopmail.a vpopmail.o md5.o bigdir.o vauth.o file_lock.o vpalias.o seek.o vlimits.o maildirquota.o cdb/*.o /usr/libexec/elf/ar: cdb/*.o: No such file or directory *** Error code 1 Stop in /usr/local/src/vpopmail-5.3.20. *** Error code 1 Stop in /usr/local/src/vpopmail-5.3.20. Any ideas or suggestions as to how to resolve this? -Patrick Lahni Just to follow up on this to provide more information, my cdb folder contents are as follows: [EMAIL PROTECTED]:/usr/local/src/vpopmail-5.3.20/cdb$ ls Makefilecdb_hash.c cdbmake_hash.c find-systype.sh uint32.h1 README cdb_seek.c cdbmake_pack.c loaduint32.h2 THANKS cdb_unpack.ccompile makelib warn-auto.sh VERSION cdbmake.h conf-cc trycpp.c cdb.h cdbmake_add.c conf-ld tryulong32.c Obviously, no *.o files like it was anticipating. I've tried deleting the vpopmail-5.3.20 directory entirely and unpacking from the tarball again -- same result. I'm using the following configure: ./configure --enable-mysql=y --enable-roaming-users=y --enable-defaultquota=1S,1C --enable-learn-passwords=y --enable-mysql-replication=y --enable-logging=p --enable-mysql-logging=y (pardon the line wrapping -- if it does -- this is all one line of course) -Patrick Lahni - This mail sent through IMP: http://horde.org/imp/
Re: [vchkpw] Login
when you run your ./configure on vpopmail set your default domain to somedomain.com and that will be your default domain and you will not have to use email address as login name. -John - Original Message - From: Mago Gozner To: vpopmail Sent: Friday, July 11, 2003 2:24 PM Subject: [vchkpw] Login How can I login using only my username ej; someuser and not [EMAIL PROTECTED]. Thank You __-Julio César TorresDirector GeneralProweb Guadalajarahttp://www.prowebgdl.com
Re: [vchkpw] Using custom domain directories
I should note more on what I'm referring to. comments in the vpopmail.c source state... directory to put the files is one of the arguments. this is the files, not the domain. the vadduser usage output states: sets the dir to use for this domain. Again, not the directory used to _store domains_, but rather, to store _this_ domain. -M From: Mike Miller [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [vchkpw] Using custom domain directories Date: Fri, 11 Jul 2003 22:12:33 + I made a posting a few weeks about this and didnt' get a reply... so here's another shot. When I create a domain and set a custom directory (for the domain) of a users directory (ie: /home/user/domain.com/mail), you'd expect mail to go into that folder (and user accounts to be created as /home/user/domain.com/mail/username). However, it then creates a 'domains' directory within that folder. Is there any way to have it accept whatever directory I choose as the directory to add files to? I know I can move the directory manually and then update /var/qmail/control/users, however I'd of course like to avoid that and have this done right. otherwise, maybe we need a documentation update to properly describe how this works. Personally, I'd like to see the option to just use the directory I specify rather than creating a directory within it. Thoughts? -Mike _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail