Re: [vchkpw] qmailadmin buffer overflow
On 15/10/12 15:34, Tom Collins wrote: Catching up on old emails -- were you able to resolve this? I can't recall if this thread continued on the mailing list or not. No, I haven't resolved it and I haven't done the testing either ;-( It's been a busy month but I would like to get to the bottom of this. -Tom On Sep 19, 2012, at 6:35 AM, Bob Hutchinson wrote: On 19/09/12 11:52, Tom Collins wrote: I'm offline, with limited Internet connectivity, so apologies if someone else has already responded. I think you need to recompile QmailAdmin and manually install the binary. The installation process strips debug information that would probably show up in this dump and help isolate the problem. OK, I will look into doing this at a quiet time. I notice that there is a binary in the source tree which is much larger and which says it's unstripped, I might just try that one first. -Tom (Sent from my phone; forgive my brevity) On Sep 18, 2012, at 5:45 PM, Bob Hutchinson hutchli...@midwales.com wrote: Not sure if this is the right place to post but I don't know where else. I am using qmailadmin in a standard shupp toaster, on a 64bit machine. qmailadmin-1.2.15 I getting a WSOD after adding a new mailinglist. The mailinglist is made and all appears correct. Each line in the apache error log is prepended by something like this: [Tue Sep 18 14:54:30 2012] [error] [client 1.2.3.4] The referer is someting like this: http://myserver.net/cgi-bin/qmailadmin/com/addmailinglist?user=postmasterdom=adomain.co.uktime=1347976179 replaced with xxx Here is the log snippet pruned for easier reading: *** buffer overflow detected ***: /usr/lib/cgi-bin/qmailadmin terminated, referer: xxx === Backtrace: =, referer: xxx /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f12e3f8e007], referer: xxx /lib/x86_64-linux-gnu/libc.so.6(+0x107f00)[0x7f12e3f8cf00], referer: xxx /lib/x86_64-linux-gnu/libc.so.6(+0x1075eb)[0x7f12e3f8c5eb], referer: xxx /lib/x86_64-linux-gnu/libc.so.6(__snprintf_chk+0x78)[0x7f12e3f8c4c8], referer: xxx /usr/lib/cgi-bin/qmailadmin[0x409534], referer: xxx /usr/lib/cgi-bin/qmailadmin[0x4107bc], referer: xxx /usr/lib/cgi-bin/qmailadmin[0x402fb5], referer: xxx /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f12e3ea676d], referer: xxx /usr/lib/cgi-bin/qmailadmin[0x403551], referer: xxx === Memory map: , referer: xxx 0040-00431000 r-xp ca:01 12699746 /usr/lib/cgi-bin/qmailadmin, referer: xxx 0063-00631000 r--p 0003 ca:01 12699746 /usr/lib/cgi-bin/qmailadmin, referer: xxx 00631000-00632000 rw-p 00031000 ca:01 12699746 /usr/lib/cgi-bin/qmailadmin, referer: xxx 00632000-0063d000 rw-p 00:00 0 , referer: xxx 0078d000-007ae000 rw-p 00:00 0[heap], referer: xxx 7f12e3c6f000-7f12e3c84000 r-xp ca:01 10092763 /lib/x86_64-linux-gnu/libgcc_s.so.1, referer: xxx 7f12e3c84000-7f12e3e83000 ---p 00015000 ca:01 10092763 /lib/x86_64-linux-gnu/libgcc_s.so.1, referer: xxx 7f12e3e83000-7f12e3e84000 r--p 00014000 ca:01 10092763 /lib/x86_64-linux-gnu/libgcc_s.so.1, referer: xxx 7f12e3e84000-7f12e3e85000 rw-p 00015000 ca:01 10092763 /lib/x86_64-linux-gnu/libgcc_s.so.1, referer: xxx 7f12e3e85000-7f12e4038000 r-xp ca:01 10092730 /lib/x86_64-linux-gnu/libc-2.15.so, referer: xxx 7f12e4038000-7f12e4237000 ---p 001b3000 ca:01 10092730 /lib/x86_64-linux-gnu/libc-2.15.so, referer: xxx 7f12e4237000-7f12e423b000 r--p 001b2000 ca:01 10092730 /lib/x86_64-linux-gnu/libc-2.15.so, referer: xxx 7f12e423b000-7f12e423d000 rw-p 001b6000 ca:01 10092730 /lib/x86_64-linux-gnu/libc-2.15.so, referer: xxx 7f12e423d000-7f12e4242000 rw-p 00:00 0 , referer: xxx 7f12e4242000-7f12e424b000 r-xp ca:01 10092783 /lib/x86_64-linux-gnu/libcrypt-2.15.so, referer: xxx 7f12e424b000-7f12e444b000 ---p 9000 ca:01 10092783 /lib/x86_64-linux-gnu/libcrypt-2.15.so, referer: xxx 7f12e444b000-7f12e444c000 r--p 9000 ca:01 10092783 /lib/x86_64-linux-gnu/libcrypt-2.15.so, referer: xxx 7f12e444c000-7f12e444d000 rw-p a000 ca:01 10092783 /lib/x86_64-linux-gnu/libcrypt-2.15.so, referer: xxx 7f12e444d000-7f12e447b000 rw-p 00:00 0 , referer: xxx 7f12e447b000-7f12e449d000 r-xp ca:01 10092751 /lib/x86_64-linux-gnu/ld-2.15.so, referer: xxx 7f12e4688000-7f12e468b000 rw-p 00:00 0 , referer: xxx 7f12e4697000-7f12e469d000 rw-p 00:00 0 , referer: xxx 7f12e469d000-7f12e469e000 r--p 00022000 ca:01 10092751 /lib/x86_64-linux-gnu/ld-2.15.so, referer: xxx 7f12e469e000-7f12e46a rw-p 00023000 ca:01 10092751 /lib/x86_64-linux-gnu/ld-2.15.so, referer: xxx 7fff3851d000-7fff3853e000 rw-p 00:00 0[stack], referer: xxx 7fff385ff000-7fff3860 r-xp 00:00 0[vdso], referer: xxx ff60-ff601000 r-xp 00:00 0 [vsyscall], referer: xxx
Re: [vchkpw] qmailadmin buffer overflow
On 19/09/12 11:52, Tom Collins wrote: I'm offline, with limited Internet connectivity, so apologies if someone else has already responded. I think you need to recompile QmailAdmin and manually install the binary. The installation process strips debug information that would probably show up in this dump and help isolate the problem. OK, I will look into doing this at a quiet time. I notice that there is a binary in the source tree which is much larger and which says it's unstripped, I might just try that one first. -Tom (Sent from my phone; forgive my brevity) On Sep 18, 2012, at 5:45 PM, Bob Hutchinson hutchli...@midwales.com wrote: Not sure if this is the right place to post but I don't know where else. I am using qmailadmin in a standard shupp toaster, on a 64bit machine. qmailadmin-1.2.15 I getting a WSOD after adding a new mailinglist. The mailinglist is made and all appears correct. Each line in the apache error log is prepended by something like this: [Tue Sep 18 14:54:30 2012] [error] [client 1.2.3.4] The referer is someting like this: http://myserver.net/cgi-bin/qmailadmin/com/addmailinglist?user=postmasterdom=adomain.co.uktime=1347976179 replaced with xxx Here is the log snippet pruned for easier reading: *** buffer overflow detected ***: /usr/lib/cgi-bin/qmailadmin terminated, referer: xxx === Backtrace: =, referer: xxx /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f12e3f8e007], referer: xxx /lib/x86_64-linux-gnu/libc.so.6(+0x107f00)[0x7f12e3f8cf00], referer: xxx /lib/x86_64-linux-gnu/libc.so.6(+0x1075eb)[0x7f12e3f8c5eb], referer: xxx /lib/x86_64-linux-gnu/libc.so.6(__snprintf_chk+0x78)[0x7f12e3f8c4c8], referer: xxx /usr/lib/cgi-bin/qmailadmin[0x409534], referer: xxx /usr/lib/cgi-bin/qmailadmin[0x4107bc], referer: xxx /usr/lib/cgi-bin/qmailadmin[0x402fb5], referer: xxx /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f12e3ea676d], referer: xxx /usr/lib/cgi-bin/qmailadmin[0x403551], referer: xxx === Memory map: , referer: xxx 0040-00431000 r-xp ca:01 12699746 /usr/lib/cgi-bin/qmailadmin, referer: xxx 0063-00631000 r--p 0003 ca:01 12699746 /usr/lib/cgi-bin/qmailadmin, referer: xxx 00631000-00632000 rw-p 00031000 ca:01 12699746 /usr/lib/cgi-bin/qmailadmin, referer: xxx 00632000-0063d000 rw-p 00:00 0 , referer: xxx 0078d000-007ae000 rw-p 00:00 0[heap], referer: xxx 7f12e3c6f000-7f12e3c84000 r-xp ca:01 10092763 /lib/x86_64-linux-gnu/libgcc_s.so.1, referer: xxx 7f12e3c84000-7f12e3e83000 ---p 00015000 ca:01 10092763 /lib/x86_64-linux-gnu/libgcc_s.so.1, referer: xxx 7f12e3e83000-7f12e3e84000 r--p 00014000 ca:01 10092763 /lib/x86_64-linux-gnu/libgcc_s.so.1, referer: xxx 7f12e3e84000-7f12e3e85000 rw-p 00015000 ca:01 10092763 /lib/x86_64-linux-gnu/libgcc_s.so.1, referer: xxx 7f12e3e85000-7f12e4038000 r-xp ca:01 10092730 /lib/x86_64-linux-gnu/libc-2.15.so, referer: xxx 7f12e4038000-7f12e4237000 ---p 001b3000 ca:01 10092730 /lib/x86_64-linux-gnu/libc-2.15.so, referer: xxx 7f12e4237000-7f12e423b000 r--p 001b2000 ca:01 10092730 /lib/x86_64-linux-gnu/libc-2.15.so, referer: xxx 7f12e423b000-7f12e423d000 rw-p 001b6000 ca:01 10092730 /lib/x86_64-linux-gnu/libc-2.15.so, referer: xxx 7f12e423d000-7f12e4242000 rw-p 00:00 0 , referer: xxx 7f12e4242000-7f12e424b000 r-xp ca:01 10092783 /lib/x86_64-linux-gnu/libcrypt-2.15.so, referer: xxx 7f12e424b000-7f12e444b000 ---p 9000 ca:01 10092783 /lib/x86_64-linux-gnu/libcrypt-2.15.so, referer: xxx 7f12e444b000-7f12e444c000 r--p 9000 ca:01 10092783 /lib/x86_64-linux-gnu/libcrypt-2.15.so, referer: xxx 7f12e444c000-7f12e444d000 rw-p a000 ca:01 10092783 /lib/x86_64-linux-gnu/libcrypt-2.15.so, referer: xxx 7f12e444d000-7f12e447b000 rw-p 00:00 0 , referer: xxx 7f12e447b000-7f12e449d000 r-xp ca:01 10092751 /lib/x86_64-linux-gnu/ld-2.15.so, referer: xxx 7f12e4688000-7f12e468b000 rw-p 00:00 0 , referer: xxx 7f12e4697000-7f12e469d000 rw-p 00:00 0 , referer: xxx 7f12e469d000-7f12e469e000 r--p 00022000 ca:01 10092751 /lib/x86_64-linux-gnu/ld-2.15.so, referer: xxx 7f12e469e000-7f12e46a rw-p 00023000 ca:01 10092751 /lib/x86_64-linux-gnu/ld-2.15.so, referer: xxx 7fff3851d000-7fff3853e000 rw-p 00:00 0[stack], referer: xxx 7fff385ff000-7fff3860 r-xp 00:00 0[vdso], referer: xxx ff60-ff601000 r-xp 00:00 0 [vsyscall], referer: xxx -- - Bob Hutchinson Midwales dot com - -- - Bob Hutchinson Midwales dot com - !DSPAM:5059ca2a34211204981993!
[vchkpw] qmailadmin buffer overflow
Not sure if this is the right place to post but I don't know where else. I am using qmailadmin in a standard shupp toaster, on a 64bit machine. qmailadmin-1.2.15 I getting a WSOD after adding a new mailinglist. The mailinglist is made and all appears correct. Each line in the apache error log is prepended by something like this: [Tue Sep 18 14:54:30 2012] [error] [client 1.2.3.4] The referer is someting like this: http://myserver.net/cgi-bin/qmailadmin/com/addmailinglist?user=postmasterdom=adomain.co.uktime=1347976179 replaced with xxx Here is the log snippet pruned for easier reading: *** buffer overflow detected ***: /usr/lib/cgi-bin/qmailadmin terminated, referer: xxx === Backtrace: =, referer: xxx /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f12e3f8e007], referer: xxx /lib/x86_64-linux-gnu/libc.so.6(+0x107f00)[0x7f12e3f8cf00], referer: xxx /lib/x86_64-linux-gnu/libc.so.6(+0x1075eb)[0x7f12e3f8c5eb], referer: xxx /lib/x86_64-linux-gnu/libc.so.6(__snprintf_chk+0x78)[0x7f12e3f8c4c8], referer: xxx /usr/lib/cgi-bin/qmailadmin[0x409534], referer: xxx /usr/lib/cgi-bin/qmailadmin[0x4107bc], referer: xxx /usr/lib/cgi-bin/qmailadmin[0x402fb5], referer: xxx /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f12e3ea676d], referer: xxx /usr/lib/cgi-bin/qmailadmin[0x403551], referer: xxx === Memory map: , referer: xxx 0040-00431000 r-xp ca:01 12699746 /usr/lib/cgi-bin/qmailadmin, referer: xxx 0063-00631000 r--p 0003 ca:01 12699746 /usr/lib/cgi-bin/qmailadmin, referer: xxx 00631000-00632000 rw-p 00031000 ca:01 12699746 /usr/lib/cgi-bin/qmailadmin, referer: xxx 00632000-0063d000 rw-p 00:00 0 , referer: xxx 0078d000-007ae000 rw-p 00:00 0[heap], referer: xxx 7f12e3c6f000-7f12e3c84000 r-xp ca:01 10092763 /lib/x86_64-linux-gnu/libgcc_s.so.1, referer: xxx 7f12e3c84000-7f12e3e83000 ---p 00015000 ca:01 10092763 /lib/x86_64-linux-gnu/libgcc_s.so.1, referer: xxx 7f12e3e83000-7f12e3e84000 r--p 00014000 ca:01 10092763 /lib/x86_64-linux-gnu/libgcc_s.so.1, referer: xxx 7f12e3e84000-7f12e3e85000 rw-p 00015000 ca:01 10092763 /lib/x86_64-linux-gnu/libgcc_s.so.1, referer: xxx 7f12e3e85000-7f12e4038000 r-xp ca:01 10092730 /lib/x86_64-linux-gnu/libc-2.15.so, referer: xxx 7f12e4038000-7f12e4237000 ---p 001b3000 ca:01 10092730 /lib/x86_64-linux-gnu/libc-2.15.so, referer: xxx 7f12e4237000-7f12e423b000 r--p 001b2000 ca:01 10092730 /lib/x86_64-linux-gnu/libc-2.15.so, referer: xxx 7f12e423b000-7f12e423d000 rw-p 001b6000 ca:01 10092730 /lib/x86_64-linux-gnu/libc-2.15.so, referer: xxx 7f12e423d000-7f12e4242000 rw-p 00:00 0 , referer: xxx 7f12e4242000-7f12e424b000 r-xp ca:01 10092783 /lib/x86_64-linux-gnu/libcrypt-2.15.so, referer: xxx 7f12e424b000-7f12e444b000 ---p 9000 ca:01 10092783 /lib/x86_64-linux-gnu/libcrypt-2.15.so, referer: xxx 7f12e444b000-7f12e444c000 r--p 9000 ca:01 10092783 /lib/x86_64-linux-gnu/libcrypt-2.15.so, referer: xxx 7f12e444c000-7f12e444d000 rw-p a000 ca:01 10092783 /lib/x86_64-linux-gnu/libcrypt-2.15.so, referer: xxx 7f12e444d000-7f12e447b000 rw-p 00:00 0 , referer: xxx 7f12e447b000-7f12e449d000 r-xp ca:01 10092751 /lib/x86_64-linux-gnu/ld-2.15.so, referer: xxx 7f12e4688000-7f12e468b000 rw-p 00:00 0 , referer: xxx 7f12e4697000-7f12e469d000 rw-p 00:00 0 , referer: xxx 7f12e469d000-7f12e469e000 r--p 00022000 ca:01 10092751 /lib/x86_64-linux-gnu/ld-2.15.so, referer: xxx 7f12e469e000-7f12e46a rw-p 00023000 ca:01 10092751 /lib/x86_64-linux-gnu/ld-2.15.so, referer: xxx 7fff3851d000-7fff3853e000 rw-p 00:00 0[stack], referer: xxx 7fff385ff000-7fff3860 r-xp 00:00 0[vdso], referer: xxx ff60-ff601000 r-xp 00:00 0 [vsyscall], referer: xxx -- - Bob Hutchinson Midwales dot com - !DSPAM:5058973834212198816766!
Re: [vchkpw] Roaming user support is finished ?
On Saturday 16 July 2011, Bulent Malik wrote: Hi I use vpopmail and dovecot on qmail. I upgraded vpopmail5.4.23 to 5.4.33 and dovecot1.2.16 Open-smtp file doesn't change when the user logs in. Is that problem might be different version either of dovecot or vpopmail ? I'm inclined to think you need to recompile qmail to pick up the new libraries. -- - Bob Hutchinson Midwales dot com - !DSPAM:4e23fcf932713232810454!
Re: [vchkpw] vpopmail without mysql
On Sunday 22 May 2011, Salman Riaz wrote: I have install courier imap without mysql but roundcube is not working fine... Do yourself a favour and install dovecot instead of courier-imap. That will work with roundcube, squirrelmail etc. Regards, Salman... From: salmanriaz...@hotmail.com To: vchkpw@inter7.com Date: Sun, 22 May 2011 14:53:11 +0600 Subject: RE: [vchkpw] vpopmail without mysql I have install vpopmail without mysql. I want to install courier-imap. Can any body please tell me that courier-imap will also be configured without mysql or with mysql In the end I have to install roundcube. Regards, Salman... Date: Sat, 21 May 2011 07:22:49 -0500 From: supp...@internetpro.net To: vchkpw@inter7.com Subject: Re: [vchkpw] vpopmail without mysql That information is stored in a file named vpasswd which lives in the root folder of the domain. For example, ~/vpopmail/domains/yourdomain/vpasswd It uses a similar format to /etc/passwd. Trey Nolen On 05/20/2011 11:26 PM, Salman Riaz wrote: Dear Team, I am installing Qmail without mysql. I want to know where user information will be stored as well as passwords.. Regards, Salman... -- - Bob Hutchinson Midwales dot com - !DSPAM:4dd8e74432714486521408!
[vchkpw] lowercase recipients
Is there any way of setting the recipient email address to lowercase before it hits qmail-queue, in particular simscan? What's happening is that I set spamd to read per-user user_prefs in the user's vpopmail directory and emails with uppercase in the recipient address cause spamd to create a directory and put a whitelist in it. Mail gets delivered normally (thank goodness). eg t...@example.com creates /home/vpopmail/domains/EXAMPLE.COM/TEST/whitelist Setup is a standard shupp toaster Any pointers much appreciated ;-) -- - Bob Hutchinson Midwales dot com - !DSPAM:4c48528032714117931754!
Re: [vchkpw] Vpopmail connecting to remote mysql
On Friday 18 June 2010, ta...@nayatel.com wrote: I had vpopmail database on the local server. Now i have taken backup of mysql and restored to a remote database server. I am connecting vpopmail to remote mysql server. The users are not authenticated. I have taken following steps. 1 - Database migration and restoration to the remote mysql DB server. 2 - Fixed the permission on remote database to allow access to Vpopmail IP. 3 - Fixed firewall settings. 4 - Edited the vpopmail.mysql file to connect to remote DB IP. Can you connect from the commandline? The Users till not authenticating. Please help suggest the solution. This message was sent using IMP, the Internet Messaging Program. -- - Bob Hutchinson Midwales dot com - !DSPAM:4c1b1ea532711714016890!
Re: [vchkpw] Simscan clamav error
On Sunday 28 February 2010, Andrew Simon wrote: Hi all, I've just built out a new mail system using vpopmail and simscan on the latest version of Ubuntu. Everything is working well with one exception. When I check the clamav.log I see the following error WARNING: lstat() failed on: /var/qmail/simscan/. /var/qmail/simcan has simscan:simscan as the owner and the group. And clamav is a member of the simscan group. And the permission seem correct. Any suggestions ? Andrew I have /var/qmail/simscan owned by clamav:root and no user/group simscan at all. Using shupp toaster. -- - Bob Hutchinson Midwales dot com - !DSPAM:4b8d1b8732711671929756!
Re: [vchkpw] Problem adding accounts
On Friday 07 August 2009, Benon Fuertes wrote: It doesn't show any version. I use: /home/vpopmail/bin/vadduser -v u...@domain password Do you happen to know offhand what version it is, or an estimate of about how long ago you installed vpopmail? I'd say it was installed about 3 years ago, but I don't know if it could have been updated since then. have a look inside /home/vpopmail/include/vpopmail_config.h, this will tell you more -- - Bob Hutchinson Midwales dot com - !DSPAM:4a7bde9032715079012401!
[vchkpw] valias and mysql
I have recently upgraded vpopmail from vpopmail-5.4.18 to vpopmail-5.4.27 and have configured it to use mysql. I am running a stock shupp toaster. vconvert converted the popboxes just fine, but the .qmail-xxx aliases have remained where they are and work OK. Qmailadmin was recompiled afterwards and now cannot see the .qmail files. Is there a utility to convert the .qmail files and what happens to the more complex ones, or should I just recompile vpopmail without --enable-valias? Any suggestions welcome ;-) -- - Bob Hutchinson Midwales dot com - !DSPAM:4a0953e732684219510808!
[vchkpw] vconvert and mysql
I have recently converted a mailserver running a shupp toaster to mysql from cbd. I ran vconvert -c -m and all the popboxes were entered into the mysql database, but none of the aliases (.qmail-xxx) were converted and none of them show up in qmailadmin. They still accept and forward mail though and if I create a new forward in qmailadmin it appears in vpopmail.valias and works OK Is there a way to convert the existing .qmail files to mysql? Any pointers would be much appreciated. Thanks. -- - Bob Hutchinson Midwales dot com - !DSPAM:49e47f3432681344819242!
Re: [vchkpw] force create DomainDir based on inserted data to mysql
On Thursday 13 November 2008, Geri Anggara wrote: Hi, On Thu, 13 Nov 2008 10:45:12 +0200 Antti Kanes [EMAIL PROTECTED] wrote: Hi, We're using the vqadmin -tool to create domains; it creates the directory structure for the domain when adding the domain. Afterwards, our users manage their domains and users using qmailadmin. My question would be, why would you want to manually insert the data instead? Or to be more clear, how are you creating your domains at the moment? cheers, Antti Kanes I use /home/vpopmail/bin/vaddomain installed on the host offcourse. The reason is because we plan to proceed registration of domains through another host that have it's own program, relates to the billing purpose. That host will do insert to mysql of vpopmail and i was hoping magic to happen :) It might be better to get the 'billing' host to add new domains to a TODO list and set up a cron job on the 'mailing' host that works its way through that list and let vpopmail do it's own database management. I haven't tried this, but you could get the billing host to send an email and use maildrop to filter the email, collect the domain and password and run vadddomain. That would be more immediate than a cronjob. my 2c worth I think i'll give vqadmin a shot. Many-many thanks. Quoting Geri Anggara [EMAIL PROTECTED]: Hi, Is it possible to automatic create Domain's Directory (/home/vpopmail/do.ma.in) based on inserted data to vpopmail's table in MySQL ? I know users home dir is possible if domain already created first Best Regards Geri Anggara NOC IndoInternet Jakarta http://www.indo.net.id -- - Bob Hutchinson Midwales dot com - !DSPAM:491c000232311250361390!
Re: [vchkpw] vmysql: can't read settings from
On Thursday 07 August 2008 14:38, Mitja Pirih wrote: Because it is executed by qmailadminforgot to mention. qmailadmin needs to be set user id on execution and set group id on execution -rwsr-sr-x 1 vpopmail vchkpw 140568 2006-05-12 12:50 qmailadmin Wouter van der Schagt wrote: I'm just wondering the same... Why is it appearing the Apache log? - Original Message - From: Mitja Pirih [EMAIL PROTECTED] To: vchkpw@inter7.com Sent: Thursday, August 07, 2008 9:13 PM Subject: Re: [vchkpw] vmysql: can't read settings from Hi, Yes, the file exists. The permissions are also OK. # ls -l /home/vpopmail/etc/vpopmail.mysql -rw-r- 1 vpopmail vchkpw 45 Aug 7 14:01 /home/vpopmail/etc/vpopmail.mysql # cat /home/vpopmail/etc/vpopmail.mysql localhost|0|vpopmailuser|vpoppasswd|vpopmail # mysql -h localhost -u vpopmailuser -pvpoppasswd vpopmail Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 7 Server version: 5.0.51a-log OpenBSD port: mysql-server-5.0.51a Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql quit Bye Other ideas? Thank you, Mitja Wouter van der Schagt wrote: Hi, Does the file exist ? it should have permissions 640 and owned by vpopmail:vchkpw in a standard installation. The file itself contains mysql login settings like (example contents below). # MYSQL CONNECTION SETTINGS FOR VPOPMAIL # # Line 1 defines the connection to use for database reads, # Line 2 defines the connection to use for database updates/writes. # # If you omit line 2, then the same settings will be # used for both read and write. # # settings for each line: # host|port|user|password|database # #localhost|0|root|secret|vpopmail localhost|0|databaseusername|databasepassword|database # # Note: # The value of host may be either a hostname or an IP address. # If host is 'localhost', then sockets (Unix) or named pipes (Windows) # will be used instead of TCP/IP to connect to the server. I hope this can help, it works for me, im not getting any error messages. - Wouter - Original Message - From: Mitja Pirih [EMAIL PROTECTED] To: vchkpw@inter7.com Sent: Thursday, August 07, 2008 9:01 PM Subject: [vchkpw] vmysql: can't read settings from Hello, I searched through the mailing lists and did not find a solution to my problem. I am getting in apache log: vmysql: can't read settings from /home/vpopmail/etc/vpopmail.mysql Vpopmail looks fully operational in cmd and it can connect to mysql, so should not be related to permissions. # /home/vpopmail/bin/vuserinfo [EMAIL PROTECTED] name: postmaster passwd: $1$X clear passwd: hello comment/gecos: Postmaster uid:0 gid:0 flags: 0 gecos: Postmaster limits: No user limits set. dir: /home/vpopmail/domains/.yy/postmaster quota: NOQUOTA usage: NOQUOTA account created: Thu Aug 7 14:24:36 2008 last auth: Never logged in mount: /dev/raid0a on / type ffs (local) /dev/raid0f on /tmp type ffs (local, nodev, nosuid, softdep) /dev/raid0g on /usr type ffs (local, nodev, softdep) /dev/raid0d on /var type ffs (local, nodev, nosuid, softdep) /dev/raid0e on /var/log type ffs (local, nodev, nosuid, softdep) /dev/raid1a on /var/mysql type ffs (local, nodev, nosuid, softdep) /dev/raid1d on /var/www/webpages type ffs (local, nodev, nosuid, softdep) /dev/raid1e on /var/qmail type ffs (local, nodev, softdep) vpopmail home dir is in /var/qmail/vpopmail and symlinked to /home/vpopmail. # userinfo vpopmail login vpopmail passwd * uid 98 groups vchkpw change NEVER class gecos dir /home/vpopmail shell /bin/ksh expire NEVER Any ideas what to check? Other details: -OS OpenBSD 4.3-stable -mysql 5.0.51a -php5-core-5.2.5p2 -vpopmail-5.4.18 -netqmail-1.05 -- Mitja __ NOD32 3336 (20080807) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com -- Mitja Pirih IT Security Manager Phone: +386 59 212 000 Mobile: +386 40 685 464 http://www.simple-it.net __ NOD32 3336 (20080807) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com -- - Bob Hutchinson Midwales dot com - !DSPAM:489b13b632312052316246!
Re: [vchkpw] delete users with criteria
On Friday 20 June 2008 10:52, Winanjaya wrote: Hello All, I am using vpopmail + qmail, is there any way to remove user's account automatically based on criteria (ie. for users who have not logged in to retrieve their emails for 3 months) please advise try vpopmail's vdeloldusers Thanks Regards Winanjaya *** No virus was detected in the attachment (no filename). Your mail has been scanned by InterScan. ***-*** -- - Bob Hutchinson Midwales dot com - !DSPAM:485b90a532352039517358!
Re: [vchkpw] no mailbox?!
On Tuesday 27 May 2008 06:43, kalin m wrote: cant figure this out freebsd 7. messages to [EMAIL PROTECTED] and [EMAIL PROTECTED] fail with: May 26 22:55:44 host qmail: 1211856944.665478 delivery 1: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ what is in qmail/users/assign? qmail control: -rw-r--r-- 1 root qmail3 May 26 20:47 concurrencyincoming -rw-r--r-- 1 root qmail3 May 26 23:03 concurrencylocal -rw-r--r-- 1 root qmail 19 May 26 14:48 defaultdomain -rw-r--r-- 1 root qmail 57 May 26 22:30 locals -rw--- 1 root qmail0 May 26 20:25 locals.lock -rw-r--r-- 1 root qmail 13 May 26 23:05 me -rw-r--r-- 1 root qmail7 May 26 23:05 plusdomain -rw-r--r-- 1 root qmail 57 May 26 20:25 rcpthosts -rw--- 1 root qmail0 May 26 20:25 rcpthosts.lock -rw-r--r-- 1 root qmail 28 May 26 20:25 virtualdomains -rw--- 1 root qmail0 May 26 20:25 virtualdomains.lock pwd /usr/home/vpopmail/domains/domain.com perro# ls -al total 20 drwx-- 5 vpopmail vchkpw 512 May 26 21:57 . drwx-- 3 vpopmail vchkpw 512 May 26 20:25 .. -rw--- 1 vpopmail vchkpw34 May 26 21:57 .dir-control -rw--- 1 vpopmail vchkpw55 May 26 20:25 .qmail-default -rw--- 1 vpopmail vchkpw 0 May 26 21:57 .vpasswd.lock drwx-- 3 vpopmail vchkpw 512 May 26 20:56 caca drwx-- 3 vpopmail vchkpw 512 May 26 21:57 moo drwx-- 3 vpopmail vchkpw 512 May 26 20:25 postmaster -rw--- 1 vpopmail vchkpw 331 May 26 21:57 vpasswd -rw--- 1 vpopmail vchkpw 2445 May 26 21:57 vpasswd.cdb vi .qmail-default | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox ~ vi /var/qmail/rc !/bin/sh # Using splogger to send the log through syslog. # Using qmail-local to deliver messages to ~/Mailbox by default. exec env - PATH=/var/qmail/bin:$PATH \ qmail-start ./Maildir/ splogger qmail vi virtualdomains domain.com:domain.com # vi rcpthosts localhost domain.com hope this gets to the list ps: i havent been getting the messages for this list since 11/04/07. and wondering how to reactivate my subscription. the automatic message said i'm still a subscriber?!? -- - Bob Hutchinson Midwales dot com - !DSPAM:483bc13132352470719592!
Re: [vchkpw] no mailbox?!
On Tuesday 27 May 2008 16:46, kalin m wrote: domain.com-:domain.com:1010:1003:/home/vpopmail/domains/domain.com:-:: Add + at start of line Bob Hutchinson wrote: On Tuesday 27 May 2008 06:43, kalin m wrote: cant figure this out freebsd 7. messages to [EMAIL PROTECTED] and [EMAIL PROTECTED] fail with: May 26 22:55:44 host qmail: 1211856944.665478 delivery 1: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ what is in qmail/users/assign? qmail control: -rw-r--r-- 1 root qmail3 May 26 20:47 concurrencyincoming -rw-r--r-- 1 root qmail3 May 26 23:03 concurrencylocal -rw-r--r-- 1 root qmail 19 May 26 14:48 defaultdomain -rw-r--r-- 1 root qmail 57 May 26 22:30 locals -rw--- 1 root qmail0 May 26 20:25 locals.lock -rw-r--r-- 1 root qmail 13 May 26 23:05 me -rw-r--r-- 1 root qmail7 May 26 23:05 plusdomain -rw-r--r-- 1 root qmail 57 May 26 20:25 rcpthosts -rw--- 1 root qmail0 May 26 20:25 rcpthosts.lock -rw-r--r-- 1 root qmail 28 May 26 20:25 virtualdomains -rw--- 1 root qmail0 May 26 20:25 virtualdomains.lock pwd /usr/home/vpopmail/domains/domain.com perro# ls -al total 20 drwx-- 5 vpopmail vchkpw 512 May 26 21:57 . drwx-- 3 vpopmail vchkpw 512 May 26 20:25 .. -rw--- 1 vpopmail vchkpw34 May 26 21:57 .dir-control -rw--- 1 vpopmail vchkpw55 May 26 20:25 .qmail-default -rw--- 1 vpopmail vchkpw 0 May 26 21:57 .vpasswd.lock drwx-- 3 vpopmail vchkpw 512 May 26 20:56 caca drwx-- 3 vpopmail vchkpw 512 May 26 21:57 moo drwx-- 3 vpopmail vchkpw 512 May 26 20:25 postmaster -rw--- 1 vpopmail vchkpw 331 May 26 21:57 vpasswd -rw--- 1 vpopmail vchkpw 2445 May 26 21:57 vpasswd.cdb vi .qmail-default | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox ~ vi /var/qmail/rc !/bin/sh # Using splogger to send the log through syslog. # Using qmail-local to deliver messages to ~/Mailbox by default. exec env - PATH=/var/qmail/bin:$PATH \ qmail-start ./Maildir/ splogger qmail vi virtualdomains domain.com:domain.com # vi rcpthosts localhost domain.com hope this gets to the list ps: i havent been getting the messages for this list since 11/04/07. and wondering how to reactivate my subscription. the automatic message said i'm still a subscriber?!? -- - Bob Hutchinson Midwales dot com - !DSPAM:483c6c9432358883293103!
Re: [vchkpw] ezmlm + vpopmail + qmailadmin
On Friday 18 April 2008 19:31, D. Hilbig wrote: Quick questions: Which version of ezmlm should I be using? ezmlm 0.53, ezmlm-idx 0.44, ezmlm-idx 5.1.2, or something else? These instructions are as good as any http://shupp.org/toaster/?page=ezmlm-idx Does ezmlm need to be installed before either vpopmail or qmailadmin? I.E. before Do I need to recompile/reinstall either after ezmlm? no Thx. -- - Bob Hutchinson Midwales dot com - !DSPAM:48090235120501807385810!
Re: [vchkpw] dovecot + vpopmail
On Monday 03 March 2008 05:28, Dhaval Thakar wrote: Rick Macdougall wrote: Dhaval Thakar wrote: can anyone please guide me with vpasswd.cdb not getting modified while using dovecot, whereas its working proper with courier-authlib. i have recompiled vpopmail also. Why would vpasswd.cdb get modified by a pop or imap process ? Regards, Rick whenever user logonto mail server, last auth gets updated if i am using courier-authlib. for me it us required to find user login information to disable if he/she not logged in for 60 days. this info is not getting updated when i am using dovecot. I'm using dovecot + vpopmail using passdb vpopmail works but does not update lastauth so I tried this: auth default { mechanisms = plain # passdb vpopmail { # } # userdb vpopmail { # } user = vpopmail passdb checkpassword { args = /home/vpopmail/bin/vchkpw } userdb static { args = uid=89 gid=89 home=/home/vpopmail/domains/%d/%u } } and lastauth is being updated -- - Bob Hutchinson Midwales dot com - !DSPAM:47cc27ed120501584139298!
Re: [vchkpw] help in new installation
On Saturday 01 September 2007 14:44, Samuel Pereira wrote: Hi, First hello, to everybody, i subscribe this ml because i need some help in qmail :) i'm using centos 4.5, and have vpopmail-5.4.6. i have download qmail-1.03 and chkuser 2.0 i have patch qmail, and compile with default options... This does not answer your question, but have a look at this: http://shupp.org/toaster/ a *much* better way to install qmail/vpopmail/qmailadmin etc i'm running qmail-smtpd with xinetd service smtp { socket_type = stream protocol= tcp wait= no disable = no user= root instances = UNLIMITED server = /var/qmail/bin/tcp-env server_args = -Rt0 /var/qmail/bin/qmail-smtpd } After compile, i do this: ./qmail-smtpd 220 domain.net ESMTP helo mail 250 domain.net mail from [EMAIL PROTECTED] CHKUSER accepted sender: from :: remote mail:unknown:unknown rcpt : accepted null sender always 250 ok rcpt to: [EMAIL PROTECTED] CHKUSER accepted rcpt: from :: remote mail:unknown:unknown rcpt [EMAIL PROTECTED] : found existing recipient 250 ok rcpt to: [EMAIL PROTECTED] CHKUSER rejected rcpt: from :: remote mail:unknown:unknown rcpt [EMAIL PROTECTED] : not existing recipient 550 5.1.1 sorry, no mailbox here by that name (chkuser) quit 221 domain.net ### telnet ip 25 works the same way that ./qmail-smtpd ### send mail from other linux box Sep 1 14:38:14 shell qmail: 1188653894.381107 new msg 17963320 Sep 1 14:38:14 shell qmail: 1188653894.381152 info msg 17963320: bytes 215 from [EMAIL PROTECTED] qp 22482 uid 500 Sep 1 14:38:14 shell qmail: 1188653894.433114 starting delivery 3400: msg 17963320 to remote [EMAIL PROTECTED] Sep 1 14:38:14 shell qmail: 1188653894.433211 status: local 0/10 remote 2/20 Sep 1 14:38:15 shell qmail: 1188653895.866978 delivery 3400: failure: Connected_to_PROTECTED_IP1_but_sender_was_rejected./Remote_host_said:_CHKUS ER_accepted_sender:_from_ [EMAIL PROTECTED]::_remote_domain.org:host.domain.org:PROTECTED_IP2 _rcpt__:_sender_accepted/ Always this error; and no mail is received. You can help me on this??? qmail-smtpd can run in xinetd ? Thanks Samuel -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] catchh all for mail sent
On Tuesday 08 May 2007 9:04 pm, Alin Panait wrote: I need somehow to catch all mails sent from all accounts of some domain to be sent (as CC or better as BCC) to an email address of that domain. Can you help me pls with this info ? http://inter7.com/?page=qmailtap
Re: [vchkpw] problem with vpopbull
On Monday 26 February 2007 19:00, eng.waleed wrote: but the vpopbull does not put it in the same name in every inbox how I can find it? Grab your send logs, quickly before they disappear. Use grep, sed, cut and so on the pull the addresses out The mail may have been sent by [EMAIL PROTECTED] so look for that HTH - Original Message - From: Ken Jones [EMAIL PROTECTED] To: vchkpw@inter7.com Sent: Monday, February 26, 2007 8:28 PM Subject: Re: [vchkpw] problem with vpopbull eng.waleed wrote: Hi when I was sending mail to my domain using vpopbull the connection to server lost and my session stopped and the email send to some account and does not for other how can I resend it only to the accounts which does not receive it? If you can generate a list of email addresses it was sent to then you can use the -e excludefile option. -e exclude_email_addr_file (list of addresses to exclude) vpopbull will skip all the email addresses in the exclude list. -- Ken Jones -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] encrypt email from the web
On Tuesday 13 February 2007 17:48, Remo Mattei wrote: I need it from the form not for the client. (so a use will provide his/her info from the website email form) and I want that message be encrypted. assuming you are using php, this claims to be able to do it: http://xpertmailer.sourceforge.net/ Thanks, Remo J. Kendzorra wrote: Remo Mattei: SqWebMail can encrypt your mail with GnuPG (using SSL). Works great! J. !DSPAM:45d1f83363448616519174! -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] logging into db
On Saturday 27 January 2007 16:30, Miki wrote: Hello, I want ask you if there is any method or idea how can be multilog output redirected to write into database, I was thinking about pipelining thru some script, but there are many lines different, and on high rate it can slow down server a lot, second is some postprocessing of log files and put result into db, for example some perl periodically scanning thru current file. specially for parsing simscan to have some stat in db. does anyone idea how to do it or know if its there such thing ? I was googling but cannot find working combination of words in question ;) not sure if this is what you want, but you might try http://download.midwales.net/pub/lin/various/avstats-1.0.8.tar.gz It won't 'just work' though, first you need to get the script app/cron/parse_clamav.pl set up and running, it will create the tables in a mysql database which has already been created with the right permissions. To run the php you need to have jpgraph installed, see http://www.aditus.nu/jpgraph/index.php You will also want the msttcorefonts You will also need to create a config.php, there is an example in app/src. Access it through the index.php in the 'html' directory, so set that up in a virtual host container or Apache alias or with a symlink. All the other dirs should be outside the Apache document root. You can point it to more than one database on different servers. It uses Smarty templates and css so play with them to change looks and layout. It uses adodb to handle the queries so it *might* work with another type of database, I haven't tried. The cron script would have to be rewritten, probably in php. The directories under app/data must have either global or webserver write permissions so that the Smarty engine can operate. I don't know if it will work with php 5... -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] How to use different HTML templates
On Wednesday 10 January 2007 12:56, Manish Jain [HUGHES] wrote: Dear Sir, I have installed RHEL-3.1 with Netqmail-1.03+vpopmail+qmailadmin+sqwebmail. I have a number of virtual domains configured on this server. Now, I want to use different HTML templates for different virtual domains. Please guide me for the same. for sqwebmail read the INSTALL file, SQWEBMAIL_TEMPLATE qmailadmin does not as far as I know support multiple templates, so you would have to have one copy per domain compiled with whatever you want. Regards, Manish Jain (Sr. Engineer - IDC) Hughes Communications India Ltd. Plot-1, Sector-18, Electronic City, Gurgaon. Email: [EMAIL PROTECTED] Ph. : 91 124 3072681 91 124 3072589 -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] Can't seem to get rid of mysql?
On Saturday 14 October 2006 10:03, Charles M. Gerungan wrote: When a user tries to subscribe to an ezmlm-idx mailing list, I get the following entry in my qmail-smtpd log: vmysql: no valid settings in /home/vpopmail/etc/vpopmail.mysql Why is this file still read? If I remove this file I get: 2006-10-14 10:55:54.895147500 vmysql: can't read settings from /home/ vpopmail/etc/vpopmail.mysql Listing the mailing list in qmailadmin doesn't show that mysql is enabled. Here's how I've configured vpopmail: $ cat configure.txt # vpopmail's configure script needs to be run as root. ./configure \ --enable-auth-module=cdb \ --disable-auth-module=mysql \ --enable-learn-passwords \ --disable-rebuild-tcpserver-file \ --enable-qmail-ext \ --enable-logging=v \ --disable-many-domains I use --disable-ezmlm-mysql cdb is the default auth-module so you don't need to mention it It results in: vpopmail 5.4.17 Current settings --- vpopmail directory = /home/vpopmail domains directory = /home/vpopmail/domains uid = 89 gid = 89 roaming users = OFF --disable-roaming-users (default) password learning = ON --enable-learn-passwords md5 passwords = ON --enable-md5-passwords (default) file locking = ON --enable-file-locking (default) vdelivermail fsync = OFF --disable-file-sync (default) make seekable = ON --enable-make-seekable (default) clear passwd = ON --enable-clear-passwd (default) user dir hashing = ON --enable-users-big-dir (default) address extensions = ON --enable-qmail-ext ip alias = OFF --disable-ip-alias-domains (default) auth module = cdb --enable-auth-module=cdb (default) auth inc = -Icdb auth lib = system passwords = OFF --disable-passwd (default) pop syslog = log success and errors including passwords --enable-logging=v auth logging = ON --enable-auth-logging (default) -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] 2 things: qmail logs qmailadmin
On Thursday 31 August 2006 08:22, Krzysiek Włodarczak wrote: Hello All! I have 2 questions: 1. Does qmail deletes rotated logs in /var/log/qmail? I saw that it makes rotation of current to something like this: @400044f62c7d2327cb44.s but should I delete this files manually? no, you don't have to delete anything see http://cr.yp.to/daemontools/multilog.html 2. There is a postmaster as a user name placed in qmailadmin web interface by default. Could it be changed? I would like to have just nothing. BTW: It possible to place a default domain name below? postmaster is the default mailbox, you can set it to accept, bounce or drop any mail which does not have an existing name or alias to go to. if you have nothing you won't be able to use qmailadmin ;-( Thanks for your answers! -- Best regards! Chris -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] cannot find -lmysqlclient
On Tuesday 08 August 2006 12:55, Aneesh Joseph wrote: Hi , I am getting the following error when installing vpopmail with mysql(vpopmail-5.4.9 + Mysql 5). any idea ? gcc -g -O2 -Wall -o vchkpw vchkpw.o md5.o hmac_md5.o libvpopmail.a -L/usr/lib/mysql -lmysqlclient -lz -lm -lcrypt /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status make[2]: *** [vchkpw] Error 1 make[2]: Leaving directory `/downloads/qmailrocks/vpopmail-5.4.9' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/downloads/qmailrocks/vpopmail-5.4.9' make: *** [all] Error 2 either you need to install the mysqlclient libraries or they are not on the library path. Thanks Regards, Aneesh Joseph System Administrator Internet Sales Promotion Group 28/118A, Parapilly Lane, Panampilly Nagar, Cochin , Kerala -682036 Ph : 91 484 4010972, Mobile :91 9895012331 E-mail : [EMAIL PROTECTED] ; [EMAIL PROTECTED] -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] vchkpw error
On Friday 02 Jun 2006 08:59, Iwan Kurniawan wrote: Hello vchkpw, Im Using Vipopmail 5.4 But Pop client can't autheticate password, error as below: POP3, Server Response: '/home/vpopmail/bin/vchkpw: error while loading shared libraries: libcrypto.so.6: failed to map segment from shared object: Cannot allocate memory' try setting your softlimit higher how to resolve this problem. Note: os FC5 Best regards, Iwan Kurniawan [EMAIL PROTECTED] 2006-06-02 -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] Qmail Courier-Imap (authlib) and Vpopmail trouble
On Sunday 19 Mar 2006 02:21, Steve B wrote: I am not trying to say it's not a vpopmail issue, however, we need to rule out other things like completely broken qmail setups. Having LWQ as a base is much easier than having gentoo's awful, horrible qmail ebuilds in place. -Jeremy -- Jeremy Kitchen ++ [EMAIL PROTECTED] In the beginning was The Word and The Word was Content-type: text/plain -- The Word of Bob. Not a problem. I will wipe my current Qmail installation and do a LWQ installation. I was really hoping this was a common error :) My only issue with using LWQ is that as you know Gentoo doesn't use standard init scripts and every time I try and create my own it never works.. What is a recommended guide for installing vpopmail after a LWQ installation? Thanks Bill Shupp's Toaster instructions at http://shupp.org/toaster/ should help V/R Steve -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] Vpopmail 5.4.15 released (finally)
On Friday 24 Feb 2006 07:49, Tom Collins wrote: http://vpopmail.sf.net/ 5.4.15 - released 24-Feb-06 Release Notes: This release fixes a few loose ends in the 5.4.14 release. Here are the Release Notes from 5.4.14: This release brings in the vpopmail daemon (vpopmaild) from the 5.5 development series, and fixes a few bugs from 5.4.13. Does this version support domainquotas? There is no mention of --enable-domainquotas in ./configure --help If you're running 5.4.13 and don't need vpopmaild, take a look at tracker #1360346 on SourceForge to get an important patch to vdelivermail related to using # delete in a user's .qmail file. https://sourceforge.net/tracker/index.php? func=detailaid=1360346group_id=85937atid=577798 ChangeLog: 5.4.15: Tom Collins - Add 'compile' script to distribution. - If warn() isn't available, use fprintf() instead. - vmysql.c: add missing valias_select_names, valias_select_names_next, and valias_select_names_end from 5.5 branch. - vpalias.c: #include config.h before we check if VALIAS defined. 5.4.14: Tom Collins - vmysql.c: Increase buffer size in vauth_adduser() and use correct size when calling snprintf. - Backport most of 5.5.1, including code required for vpopmaild. - Allow --enable-valias option for Postgres backend (incorrectly disabled in 5.4.13). - Only check a domain's disk usage when a quota is set. [1396238] Bill Shupp - vpopmaild: store quota in proper format and update maildirsize on quota change. Gaetan Minet - Remove lock file in open_smtp_relay() even if update_rules() fails. Rick Morris - vdelivermail.c: Fix problem where # delete in .qmail file was being ignored. [1360346] Robin Bowes - Add vpopmaild (the vpopmail daemon) from 5.5 development series. -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] Vpopmail 5.4.15 released (finally)
On Friday 24 Feb 2006 16:05, Ken Jones wrote: Bob Hutchinson wrote: On Friday 24 Feb 2006 07:49, Tom Collins wrote: http://vpopmail.sf.net/ 5.4.15 - released 24-Feb-06 Release Notes: This release fixes a few loose ends in the 5.4.14 release. Here are the Release Notes from 5.4.14: This release brings in the vpopmail daemon (vpopmaild) from the 5.5 development series, and fixes a few bugs from 5.4.13. Does this version support domainquotas? There is no mention of --enable-domainquotas in ./configure --help snip Probably the most efficent way to support domain quotas is to set up operating system user quotas and place each domain under a different user. Ken Jones Thanks for all your answers, I just wanted to clarify the situation. ATM I'm happy with vpopmail, and if a customer wants domain quotas it'll have to be with vmailmgr I guess. -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] Vpopmail 5.4.15 released (finally)
On Friday 24 Feb 2006 21:59, Jeremy Kitchen wrote: On Friday 24 February 2006 11:52, Bob Hutchinson wrote: On Friday 24 Feb 2006 16:05, Ken Jones wrote: Bob Hutchinson wrote: On Friday 24 Feb 2006 07:49, Tom Collins wrote: http://vpopmail.sf.net/ 5.4.15 - released 24-Feb-06 Release Notes: This release fixes a few loose ends in the 5.4.14 release. Here are the Release Notes from 5.4.14: This release brings in the vpopmail daemon (vpopmaild) from the 5.5 development series, and fixes a few bugs from 5.4.13. Does this version support domainquotas? There is no mention of --enable-domainquotas in ./configure --help snip Probably the most efficent way to support domain quotas is to set up operating system user quotas and place each domain under a different user. Ken Jones Thanks for all your answers, I just wanted to clarify the situation. ATM I'm happy with vpopmail, and if a customer wants domain quotas it'll have to be with vmailmgr I guess. how come? you can configure a vpopmail domain to run as another user. hmm. I wasn't aware of that, I'll have to read around a bit ;-) presumably as a member of group vchkpw. Not to say you shouldn't use vmailmgr. I've been using vmailmgr for about 4 years now, heh. Just saying that vpopmail can do what I assume you thought you needed vmailmgr for. -Jeremy -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] I could not patch netqmail-1.05_chkuser-2.0.8.patch
On Friday 17 Feb 2006 11:18, Yavuz Maslak wrote: I use netqmail1.05 with vpopmail5.4.x After I patched netqmail-1.05 with qmail-toaster-0.8.1.patch successfully, I wanted to patch it with netqmail-1.05_chkuser-2.0.8.patch. But I could not patch beause I got some errors. chkuser-2.0.8 is already in the qmail-toaster-0.8.1.patch look in your source tree, you should find chkuser_settings.h, in which the version number is stated. It also contains a number of things which you might want to enable/disable, depending on your setup -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] I could not patch netqmail-1.05_chkuser-2.0.8.patch
On Friday 17 Feb 2006 16:18, Yavuz Maslak wrote: Well I have 10 domains. I want to check users for 3 domains. How can I set chkuser_settings.h that ? Thanks have a careful read on http://www.interazioni.it/opensource/chkuser/documentation/ CHKUSER_STARTING_VARIABLE 2.0.5commented CHKUSER_START Sets the variable that must be read, at qmail-smtpd start, in order to understand how to use chkuser for any domain. The variable must be filled with the following values: * NONE = chkuser will not work * ALWAYS = chkuser will work always * DOMAIN = chkuser will work depending on single domain settings - Original Message - From: Bob Hutchinson [EMAIL PROTECTED] To: vchkpw@inter7.com Sent: Friday, February 17, 2006 3:20 PM Subject: Re: [vchkpw] I could not patch netqmail-1.05_chkuser-2.0.8.patch On Friday 17 Feb 2006 11:18, Yavuz Maslak wrote: I use netqmail1.05 with vpopmail5.4.x After I patched netqmail-1.05 with qmail-toaster-0.8.1.patch successfully, I wanted to patch it with netqmail-1.05_chkuser-2.0.8.patch. But I could not patch beause I got some errors. chkuser-2.0.8 is already in the qmail-toaster-0.8.1.patch look in your source tree, you should find chkuser_settings.h, in which the version number is stated. It also contains a number of things which you might want to enable/disable, depending on your setup -- - Bob Hutchinson Midwales dot com - -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] How can I do user verify
On Wednesday 15 Feb 2006 20:22, Yavuz Maslak wrote: Hello I use netqmail1.05 with vpopmail. I want mail server to check users to incoming mails. if delivered-to email-adress is not valid mail server should not accept it. in addition if spammer sends too many random mailaddresses towards my mailserver, it should block sender ip address. Does anyone know a script/patch about that ? http://www.interazioni.it/opensource/chkuser/ also http://shupp.org/toaster/ The Shupp toaster is a very good collection of patches with full instructions. HTH -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] Re: Is chkuser 2.0 suitable for my system?
On Wednesday 04 Jan 2006 15:29, ro0ot wrote: All my virtual domain in my system is with catchall account set to [EMAIL PROTECTED], hence this will not work because chkuser will accept all emails even it is invalide, am I right? yes, think so. How can I create a specific bounce-no-mailbox account to have chkuser refuse invalid emails? cd /home/vpopmail/domains/domain.dom echo | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox .qmail-default chown vpopmail.vchkpw .qmail-default chmod 600 .qmail-default for each domain HTH -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] Newbie - how to backup and restore mailbox
On Monday 19 Dec 2005 09:27, Winanjaya - PBXSoftwares.com wrote: Dear all I am very new with this, I had qmail servers run with vpopmail, how to backup mailboxes? .. I tried to run below commands: Are you just backing up or transferring accounts to a new server? cd /home/vpopmail/domains tar cvf mailboxes.tar lippogeneral.com when restoring to another qmail (fresh install) .. : tar xvf mailboxes.tar all restored mailboxes unrecognized .. are the uid/gid of vpopmail/vchkpw the same on the new box? how about /var/qmail/users/assign? how about the files in /var/qmail/control? more information please -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] qmail tap + toaster patches
On Wednesday 30 Nov 2005 13:17, Jimmy wrote: Hello, Has anyone got a qmail-tap patch that works with the qmail toaster patches on shupp.org? have you tried http://shupp.org/patches/qmail-toaster-0.8-tap1.patch Regards, Jimmy -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] Bill's Linux Qmail Toaster: how would you rate it?
On Monday 07 Nov 2005 13:24, Fabio Varesano wrote: Hello everybody! I was looking for a good qmail installatio how-to and found this: http://www.shupp.org/toaster/index.php How would you rate this?? Does it do things right?? Does it leave security holes?? Does someone used it in a production environment? Yes, works well, especially the CHKUSER patch, and the install instructions are thorough. Thanks Fabio -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] Re: qmail+vpopmail on redhat 7.3 server gets very busy
On Sunday 06 Nov 2005 00:04, Sam wrote: Adrew, This is what I typed: echo # /var/qmail/alias/.qmail-doublebounce Just curious to know why it didn't create the .qmail-doublebounce file with # in the file. echo # /var/qmail/alias/.qmail-doublebounce works echo # /var/qmail/alias/.qmail-doublebounce does not Sam - Original Message - From: Andrew Hodgson [EMAIL PROTECTED] To: vchkpw@inter7.com Sent: Saturday, November 05, 2005 6:43 AM Subject: [vchkpw] Re: qmail+vpopmail on redhat 7.3 server gets very busy On Fri, 4 Nov 2005 22:30:03 -0500, in gmane.mail.vpopmail you wrote: Hi, The command #Echo doublebounce /var/qmail/control/doublebounceto worked. As for the second command #echo # /var/qmail/alias/.qmail-doublebounce Nothing happened. I do not know why, but I installed it using #touch .qmail-doublebounce then I put# and saved. I did wonder whether that command would work - it didn't seem right when I wrote it. I may have had to escape the # character or something. I take it you didn't copy the # character at the beginning - if you left this in it would have made a comment and would not be processed. Andrew. -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] CHKUSER 2.0.8b - banning IPs into tcp.smtp
On Wednesday 26 Oct 2005 22:51, ISP Lists wrote: CHKUSER 2.0.8b on qmail 1.03 and vpopmail 5.4.10. I LOVE that CHKUSER can single out the unknown recipients and block the offending SMTP session - big traffic control helper! However, I've got one domain that's really being hit hard by dictionary attacks. Some attack traffic is a few hits from many IPs, other traffic is many hits from few IPs. What I'd like to do is get something that's like an IDS that reads log output for CHKUSER rejections - currently only outputting to /var/log/qmail/smtp/current cat current | grep 'CHKUSER rejected rcpt:' | tai64nlocal mylog then write a perl script to pull the ip addresses into a list and compare with what you already have in tcp.smtp and have that information parsed for the specific domain and have the offending sender IP stuffed into a database (probably with a timestamp). Then I would build some scripted logic to query the database to figure out if I've been hit N number of times from an IP in a certain window of time; thus the trigger to update tcp.smtp with the offender. I think I might go ahead and just compile the tcp.smtp at each pass, that way I can keep tcp.smtp as compact as possible. Those who've stopped being naughty are taken off the blocklist eventually. Almost an RBL mentality I guess. (and yes, I AM running with the Spamhaus RBL also). I gotta believe some smart person already built this, but I don't know if it's called something specific. Big challenge for me is how to keep an eye on a logfile for any particular time (particularly given DJB's arcane date values in the above log file) and not end up reprocessing data I've already seen. Help appreciated and thanks! Dave. -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] chkuser vpopmail and catch alls
On Tuesday 13 Sep 2005 09:50, Jimmy wrote: Hello, Ken Jones wrote: Jimmy wrote: Hello, I have several servers installed with vpopmail, chkuser and the shupp.org toaster patches. Until now I have never had to setup a catch all account for a customer. I have today had to setup a catch all and i am unable to send emails to that domain. I am authenticating from a MySQL databaes and the .qmail files are all ok. Is there a way to make it so that all email accounts are ok in the valias table of the MySQL or in the vpopmail table? I am interested to know how to overcome this issue. What does your .qmail-default file look like after you setup the catchall? It should look something like (all on one line) | /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/example.com/user Here is my .qmail-default file. cat .qmail-default | /home/vpopmail/bin/vdelivermail '' | /home/vpopmail/domains/domain.com/admin What do you mean by unable to send emails to that domain? You get bounce messages? Or messages just disappear? Or the messages are not there when you try to pop them? I get an error message that reports the mailbox does not exist. If I turn off the other error messages i get a chkuser error. Which means I suspect it cannot find the users. send us the output of ls -al /home/vpopmail/domains/domain.com and /home/vpopmail/domains/domain.com/admin sounds like a perms/ownership problem -Kurt Bigler -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] vpopmail/ezmlm problems
On Monday 29 Aug 2005 01:54, James Longstreet wrote: On Aug 28, 2005, at 5:51 PM, Ken Jones wrote: You might want to remove the lines for your system users. Then make sure there is a .qmail-listname file in your domain.com directory. Then send it an email and watch your qmail log file to see the status of the delivery. Ok, I removed all the other lines. $ echo test | /var/qmail/bin/qmail-inject [EMAIL PROTECTED] qmail-send log: @400043125c03080f29ec new msg 162864 @400043125c03080f35a4 info msg 162864: bytes 220 from [EMAIL PROTECTED] qp 7420 uid 0 @400043125c0308c24964 starting delivery 22: msg 162864 to local [EMAIL PROTECTED] @400043125c0308c3a124 status: local 1/10 remote 0/20 @400043125c0308d28d74 delivery 22: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ @400043125c0308d52584 status: local 0/10 remote 0/20 @400043125c030a4207ac bounce msg 162864 qp 7422 @400043125c030a43a1d4 end msg 162864 make sure you used vpopmail/bin/vadddomain to create the virtual domain, then use vadduser to create the popbox for listname. Then check in vpopmail/domains/domain.com/listname/. Look for Maildir which should contain new, tmp and cur. Check that everything under vpopmail belongs to user 'vpopmail', then test again. You might find qmailadmin a handy package too. -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] vpopmail/ezmlm problems
On Monday 29 Aug 2005 19:56, James Longstreet wrote: On Mon, 29 Aug 2005, Ken Jones wrote: You should just do this: /var/vpopmail/bin/vadddomain domain.com postpass Let vpopmail figure out where to put the domain directory. If you want to initialize directory hashing just delete the /var/vpopmail/domains/.dir-control file. Ken Well, since nothing was working, I just rm -rf'd the domains/domain.com directory, and dropped the vpopmail database, effectively starting from scratch. Then I recreated the domain and added the mailing list, and it worked. Now I should be able to add my normal /etc/passwd users to the domain by: # vconvert -e -m However, it skips all the users with: user username domain domain.com did not add However, it created all their directories (and maildirs) in the domains/domain.com directory. did it create entries in your mysql db? if not Are permissions correct for command line mysql access? I see that vconvert has a -d parameter for debug info, might help Thanks for all your help. -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] sendmail mailbox conversion
InterScan MSS. *** Hi All, I am using Linux3.1+Qmail+Vpopmail+Qmailadmin+SQwebmail. Now I want to bind unique IP address to each virtual domain created using vpopmail so that the users under the specified domain can use that IP binded with that domain for SMTP/POP. And I can apply bandwidth controls on the specified IP address. Thanx in advance, Manish Jain Sr. Engineer [IDC] Hughes Escorts Communications Ltd. Plot # 1, Sector - 18 Electronic City, Gurgaon. 09891909873 *** *** This transmission contains confidential information protected by law. The information is intended only for the use of the individual or individuals named above. If you are not the intended recipient, you are notified that any disclosure, copying, distribution or taking of action in reliance on the contents of this information is not permissible and may be against the law. If you have received this transmission in error, please delete this message immediately and notify the sender by reply email. Janashakthi Insurance Co. Ltd. *** *** *** *** This transmission contains confidential information protected by law. The information is intended only for the use of the individual or individuals named above. If you are not the intended recipient, you are notified that any disclosure, copying, distribution or taking of action in reliance on the contents of this information is not permissible and may be against the law. If you have received this transmission in error, please delete this message immediately and notify the sender by reply email. Janashakthi Insurance Co. Ltd. *** *** *** *** This transmission contains confidential information protected by law. The information is intended only for the use of the individual or individuals named above. If you are not the intended recipient, you are notified that any disclosure, copying, distribution or taking of action in reliance on the contents of this information is not permissible and may be against the law. If you have received this transmission in error, please delete this message immediately and notify the sender by reply email. Janashakthi Insurance Co. Ltd. *** *** *** *** This transmission contains confidential information protected by law. The information is intended only for the use of the individual or individuals named above. If you are not the intended recipient, you are notified that any disclosure, copying, distribution or taking of action in reliance on the contents of this information is not permissible and may be against the law. If you have received this transmission in error, please delete this message immediately and notify the sender by reply email. Janashakthi Insurance Co. Ltd. *** *** -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] sendmail mailbox conversion
On Wednesday 27 Jul 2005 11:19, Rizwan Iqbal Malik wrote: Dear bob , Mbox2maildir is still not properly developed.Many issues arise in the conversion atleast they did for me. oh dear, I haven't used it myself, but google gives quite a few links, might be worth exploring. http://untroubled.org/mbox2maildir Regards, Rizwan Iqbal Malik -Original Message- From: Bob Hutchinson [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 1:49 PM To: vchkpw@inter7.com Subject: Re: [vchkpw] sendmail mailbox conversion On Wednesday 27 Jul 2005 03:51, suranga wrote: *** No virus was detected in the attachment no filename No virus was detected in the attachment no filename Your mail has been scanned by Janashakthi InterScan MSS. *** Dear qmail friends, Please can you send me the steps of how to migrate sendmail mail mailboxes to qmail, that is converting mbox format to maildir format. http://www.qmail.org/mbox2maildir Suranga. - Original Message - From: Rizwan Iqbal Malik To: vchkpw@inter7.com Sent: Monday, July 25, 2005 12:52 PM Subject: RE: [vchkpw] Alias problem *** No virus was detected in the attachment no filename No virus was detected in the attachment no filename Your mail has been scanned by Janashakthi InterScan MSS. *** dear suranga, create this .qmail file in the domains/domain-name directory under vpopmail folder and not under qmail/alias folder. Regards, Rizwan Iqbal Malik Network Mgt Team Data Centre Jammu Kashmir Bank 508 Ext 137 --- --- From: suranga [mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 12:10 PM To: vchkpw@inter7.com Subject: Re: [vchkpw] Alias problem *** No virus was detected in the attachment no filename No virus was detected in the attachment no filename Your mail has been scanned by Janashakthi InterScan MSS. *** Dear Malik, Yes I am using vpopmail and I followed Bill's Linux Qmail Toaster Thanking you, Suranga. - Original Message - From: Rizwan Iqbal Malik To: vchkpw@inter7.com Sent: Monday, July 25, 2005 12:32 PM Subject: RE: [vchkpw] Alias problem *** No virus was detected in the attachment no filename No virus was detected in the attachment no filename Your mail has been scanned by Janashakthi InterScan MSS. *** are you using vpopmail??? Regards, Rizwan Iqbal Malik Network Mgt Team Data Centre Jammu Kashmir Bank 508 Ext 137 --- - From: suranga [mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 11:48 AM To: vchkpw@inter7.com Subject: Re: [vchkpw] Alias problem *** No virus was detected in the attachment no filename No virus was detected in the attachment no filename No virus was detected in the attachment output.gif Your mail has been scanned by Janashakthi InterScan MSS. *** Dear Friends, I did following #echo \[EMAIL PROTECTED] /var/qmail/alias/.qmail-itc #qmailctl stop #qmailctl start but I am getting the error in my squirrelmail interface when I try to send a mail to [EMAIL PROTECTED] saying that Server replied: 511 sorry, no mailbox here by that name (#5.1.1 - chkuser) What could be the mistake ? Herewith I am attaching the output of squirrelmail Thanking you dear friends!!! you are brilliant!!! Suranga. - Original Message - From: Rizwan Iqbal Malik To: vchkpw@inter7.com Sent: Monday, July 25, 2005 11:40 AM Subject: RE: [vchkpw] Alias problem *** No virus was detected in the attachment no filename No virus was detected in the attachment no filename Your mail has been scanned by Janashakthi InterScan MSS. *** dear suranga, create a .qmail-itc file and add all email ids in the format [EMAIL PROTECTED] Regards, Rizwan Iqbal Malik Network Mgt Team Data Centre Jammu Kashmir Bank 508 Ext 137 - - From: suranga [mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 10:46 AM To: vchkpw@inter7.com Subject: [vchkpw] Alias problem *** No virus was detected in the attachment no filename No virus was detected in the attachment no filename Your mail has
Re: [vchkpw] Massive Folders
On Wednesday 27 Jul 2005 16:51, Jimmy Stewpot wrote: Hi, I've done it a few times (sendmail to vpopmail, 30K+ users) with scripts etc to create the new users using the vpopmail tools, then again using scripts to get their Maildir directories from vpopmail and then moving the mail over. I've never just moved over an existing mail store directly, since of course, it doesn't create the hashes correctly. How do you extract the existing cdb database so that you can view it and then I can easily script it. Im just having problems with the cdb passwd file. You might find what you want on http://cr.yp.to/cdb.html I just tried cat vpasswd.cdb | cdbdump dump.txt dump.txt looks parseable to me. There are a few different ways to do it depending on your backend, if you are using MySQL, then you can just update the mysql database with the user and password, leaving the maildir directory blank and it will automatically be updated when you pop into the account or sendmail to the account (really fast for creating 10K+ users). If you are using the cdb interface, then you will have to create the users using the vpopmail tools, which might take 5-15 minutes depending on the number of users, disk speeds, CPU etc. HTH, Rick -- - Bob Hutchinson Midwales dot com -
Re: [vchkpw] Apache and qmail (with vpopmail) account in the same directory
On Tuesday 26 Jul 2005 16:18, Listas barbarojo wrote: I provide web hosting with email accounts using apache and qmail (managed with vpopmail). I don't use quota disk but I control periodically disk used by all my users and let them know when need to upgrade their account, etc. This is done automatically with a couple of perl scripts running with cron. So far everything works just fine but it would be great if the email accounts and web hosting space could be setup on the same directory. Instead of web sites in /home/virtuals/DOMAIN/www/htdocs and vpopmail domain in /home/vpopmail/DOMAIN/blablabla I want to setup up vpopmail so than everything is located in /home/virtual/DOMAIN/blablabla Is this possible? Are you sure you want this? vpopmail keeps everything under one owner, and your users cannot mess with it, much better than the traditional way of running qmail, with unix users able to access their Maildirs and .qmail files via ftp. You could run proftpd with chroot to get around it, but you would still have mixed ownership problems. Of course it makes life easier for handling quotas, but then mail quota and web quota are different and have different needs. I would suggest that leaving vpopmail where it is is more secure than throwing them both together and though vpopmail quotas is not quite up to scratch there are improvements in the pipeline. my 2 bits worth -- - Bob Hutchinson Midwales dot com -