Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
Does the last line in /var/qmail/users/assign just have a . in it ? Yes Sincerely, - Wouter van der Schagt !DSPAM:4acde8a932711415438123!
Re: [vchkpw] offtopic sorry!
You cannot because RBL checking happens before SMTP authentication as far as I know. Sincerely, - Wouter van der Schagt -- From: "Ronaldo Chan" Sent: Thursday, September 24, 2009 10:14 PM To: Subject: [vchkpw] offtopic sorry! Hi! Good day, has anyone from you guys know how can i bypass rbl checking if the sender was already authenticated with smtp? i use spamcontrol implementation of smtpd-auth, i know this is not really the proper channel for this, but i'm really desperate to solve this issue Best regards, Ronaldo Chan !DSPAM:4abb81c332711391918459!
Re: [vchkpw] Vusaged segmentation fault on long names
I will be releasing a better fix shortly. My apologies for the late reply, I was busy moving. I can confirm that the newly released version no longer contains this bug and have updated all servers to the latest 5.4.28 version. Thanks for the fix! Sincerely, - Wouter van der Schagt !DSPAM:4aa9251c32712038326845!
Re: [vchkpw] Vusaged segmentation fault on long names
Thank you for the quick reply! Is this in 5.5? What are the steps to reproduce? I added the domain as you did above, and my vusaged binary from trunk is running as expected, returning data for the long domain name. No, this is in 5.4.28, not running 5.5 at the moment, I can reproduce by creating a long domainname and starting vusaged. This would seem to indicate that the issue occurred somewhere in vpopmail's vauth_getall call, or in MySQL itself. Can you post your vusaged.conf, configure options for the main tree, and configure options for the MySQL module? --- ./configure \ --prefix=/home/vpopmail \ --disable-roaming-users \ --enable-logging=p \ --disable-ip-alias-domains \ --disable-passwd \ --enable-clear-passwd \ --disable-domain-quotas \ --enable-auth-module=mysql \ --enable-incdir=/usr/include/mysql/ \ --enable-libdir=/usr/lib/ \ --disable-many-domains \ --enable-auth-logging \ --enable-sql-logging \ --enable-valias \ --disable-mysql-limits \ --enable-tcpserver-file=/etc/tcp.smtp --- Not using 5.5 so no mysql backend --- vusaged.conf (without comments) -- Log: Level = 1; Socket: Filename = /tmp/vusaged.sock; // Listen = 0.0.0.0:189; // Allow = 192.168.1.161 127.0.0.1; UID = vpopmail; GID = vchkpw; Client timeout = 5; // Inactivity timeout in seconds Poll timeout = 1; Detect client timeout = 4; Queue: Workers = 10; Max queue size = 1000; Polling: Use Maildir++ format = True; Directory minimum poll time = 120; Count directory entry size = True; Age Factor = 1; --- Something else is happening. What's the last entry in your ChangeLog for the version you're running? This will help me identify any source changes you may not have since you are most likely not running the trunk. 5.4.28 - Current Matt Brookings - Updated vlimits_read_vlimits_file to be much more efficient - Added vusage client API to libvpopmail - Added vusage daemon - Updated quota code to talk to vusage daemon if available - Fixed some backfill patch compilation issues - Updated maildir_to_email to support paths that end in /Maildir as well as /Maildir/ - Added LDAP valias support - Updated vusage API to return counts for both users and domains - Updated domain quota enforcement to work when using vusage - Re-enabled --enable-domainquotas (with warnings) If you want I can give you remote access to a test server where the problem can be reproduced! Sincerely, - Wouter van der Schagt !DSPAM:4a9e8b6032711366617797!
[vchkpw] Vusaged segmentation fault on long names
Hi all, I found a bug with long domain names which crashes with a segmentation fault when the vusaged is started. We have 1 client with a domainname of 57 characters and although it is not the domain name listed below, it produces the same result. I believe vpopmail supports domainnames upto 63 characters? Or am I wrong? Steps to reproduce: /home/vpopmail/bin/vadddomain -e postmaster 12345678901234567890123456789012345678901234567890123456.nl test /home/vpopmail/bin/vusaged Returns a segmentation fault: config: using /home/vpopmail/etc/vusaged.conf socket: listening on /tmp/vusaged.sock controller: stage one Segmentation fault Running through gdb results in: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb2bb9b90 (LWP 29861)] 0xb7e656c1 in mysql_free_result () from /usr/lib/libmysqlclient.so.15 (gdb) bt #0 0xb7e656c1 in mysql_free_result () from /usr/lib/libmysqlclient.so.15 #1 0x08059079 in vauth_getall (domain=0x8066afe "12345678901234567890123456789012345678901234567890123456.nl", first=1, sortit=1) at vauth.c:737 #2 0x08051244 in queue_controller () #3 0xb7d644b5 in start_thread () from /lib/i686/cmov/libpthread.so.0 #4 0xb7ce0a5e in clone () from /lib/i686/cmov/libc.so.6 (gdb) bt full #0 0xb7e656c1 in mysql_free_result () from /usr/lib/libmysqlclient.so.15 No symbol table info available. #1 0x08059079 in vauth_getall (domain=0x8066afe "12345678901234567890123456789012345678901234567890123456.nl", first=1, sortit=1) at vauth.c:737 domstr = err = vpw = {pw_name = 0x8068f00 "", pw_passwd = 0x8068e20 "", pw_uid = 0, pw_gid = 8192, pw_flags = 8192, pw_gecos = 0x8068c60 "", pw_dir = 0x8068b80 "", pw_shell = 0x8068d40 "", pw_clear_passwd = 0x8068aa0 ""} more = 7106143 #2 0x08051244 in queue_controller () No locals. #3 0xb7d644b5 in start_thread () from /lib/i686/cmov/libpthread.so.0 No symbol table info available. #4 0xb7ce0a5e in clone () from /lib/i686/cmov/libc.so.6 No symbol table info available. I am guessing that a buffer size is too small. Increasing the SQL_BUFF_SIZE in vauth.c to 4096 seems to work, to the extend it throws the same error message later: [Switching to Thread 0x7134a950 (LWP 15136)] 0x77a5b5c5 in mysql_fetch_row () from /usr/lib/libmysqlclient.so.15 (gdb) bt full #0 0x77a5b5c5 in mysql_fetch_row () from /usr/lib/libmysqlclient.so.15 No symbol table info available. #1 0x004117d1 in vauth_getall (domain=0x62205e "12345678901234567890123456789012345678901234567890123456.nl", first=, sortit=1) at vauth.c:754 domstr = 0x622700 "12345678901234567890123456789012345678901234567890123456_nl" err = vpw = {pw_name = 0x6259c0 "", pw_passwd = 0x6258e0 "", pw_uid = 0, pw_gid = 0, pw_flags = 0, pw_gecos = 0x625720 "", pw_dir = 0x625640 "", pw_shell = 0x625800 "", pw_clear_passwd = 0x625560 ""} more = 1 #2 0x0040a21a in queue_controller () No locals. #3 0x76ee3f9a in start_thread () from /lib/libpthread.so.0 No symbol table info available. #4 0x76c5856d in clone () from /lib/libc.so.6 No symbol table info available. #5 0x in ?? () No symbol table info available. So I'm guessing more than 1 buffer size needs to be increased. Sincerely, - Wouter van der Schagt !DSPAM:4a9e325232711452616560!
Re: [vchkpw] Added vusaged changes in 5.5
Great addition Matt :) we noticed some lags when starting up, this should address it. I'm going to see if I can find a production server to move to 5.5 and let you know what else I encounter. Sincerely, - Wouter van der Schagt -- From: "Matt Brookings" Sent: Wednesday, August 19, 2009 11:02 PM To: Subject: [vchkpw] Added vusaged changes in 5.5 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I added a new configuration parameter, Storage::Filename, which if defined will cause the vusage daemon to write a file containing basic information about system users and storage at shutdown. When the daemon starts up, it will look for this file, and if it's there, it will skip the stage one load, reporting the information contained in the data file to any clients until the disk is polled for changes. These changes can be found in the 5.5 branch under Subversion on SourceForge. - -- /* Matt BrookingsGnuPG Key FAE0672C Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkqMFAMACgkQIwet2/rgZyxU6wCfat16QhAO0dJ647noCk/jCw3r lZgAnRo1k7SJYNoquL2xUTc7osW6PqQr =dsgo -END PGP SIGNATURE- !DSPAM:4a8cd89632715265292210!
Re: [vchkpw] Problems with vpopmail+qmail
Thanks so much that has resolved it. What was the cause? Perhaps what happened was that during testing the last 'make' was from a mis-configured ./configure. Either that or it needed the MySQL paths explicitly specified. Glad to know it is working now though. Goodluck! Sincerely, - Wouter van der Schagt !DSPAM:4a83c31532715197710555!
Re: [vchkpw] Problems with vpopmail+qmail
Thanks for the reply. I have installed with make && make install-strip I can confirm the permissions on vchkpw The results of the strace appear to be adding to cdb database I dont have any errors in the logs, although logging was enabled at compile time. Try: ./configure \ --disable-roaming-users \ --enable-logging=p \ --disable-passwd \ --enable-clear-passwd \ --disable-domain-quotas \ --enable-auth-module=mysql \ --enable-incdir=/usr/include/mysql/ \ --enable-libdir=/usr/lib/ \ --enable-auth-logging \ --enable-sql-logging \ --enable-valias \ --disable-mysql-limits \ make make install-strip Can you copy and paste the result of that configuration? The last summary lines? Sincerely, - Wouter van der Schagt !DSPAM:4a83b88732714046329834!
Re: [vchkpw] Problems with vpopmail+qmail
Hi, After the configure, did you make && make install-strip? also make sure to set the sticky bit with chmod 6711 /home/vpopmail/bin/vchkpw What do you get when you do: /home/vpopmail/bin/vadddomain domain.com test Any error messages? If so, what is the result of (if you have strace installed) strace -f /home/vpopmail/bin/vadddomain domain.com test Do you have any error messages in the logfiles? Sincerely, - Wouter van der Schagt !DSPAM:4a83af8832711497264763!
Re: [vchkpw] Problem adding accounts
A lot has been shown at the console, I'm gonna paste some of it: I think it is missing the last lines. Can you run it without the -f ? and paste the output again? Sincerely, - Wouter van der Schagt !DSPAM:4a7b21e23271369715!
Re: [vchkpw] Problem adding accounts
server# /var/vpopmail/bin/vadduser u...@domain password Error: Internal (implementation specific) error (80) Failed while attempting to add user to auth backend Error: no authentication database connection There is probably a more descriptive error message in the logfiles. What does /var/log/syslog say? Or if you have strace installed, you can run it with strace and see what comes up. It can usually give you an idea about what is wrong: strace -f /var/vpopmail/bin/vadduser u...@domain password It sounds to me it is either a permission error, or an error relating to the backend, which backend are you using? Sincerely, - Wouter van der Schagt !DSPAM:4a7b138232711419515770!
[vchkpw] Vpopmail 5.4.28 - rc1 - notes
Hi Matt, I have installed 5.4.28-rc1 on several production mail servers and noticed the following: a.. configure and make went like a charm on Debian Squeeze. The result after configure now also shows the correct version number b.. Perhaps it would be preferable to have the vusaged file automatically copied to ~/vpopmail/bin/ instead of having to do it manually. The output of the normal configure shows: " cd vusaged && ./configure && make" for the vusagec to work, but that is not enough, in /vusaged/INSTALL are more steps. Could it be automated further? I have it working now on 2 mail servers without problems (so far), will let you know if I find anything else. c.. The 0 message count for totals in @domain when using vusagec has been corrected in rc1 (as you no doubt know), just confirming the fix here. Furthermore, the segmentation fault on another server was caused by a domain name of 59 characters long. I am not sure whether the length was the problem or something else, but upon removing it it no longer segfaulted. First I upgraded my libmysqlclient libraries to rule that out as the cause (since the errorlog message indicated the problem would be there) and recompiled against libmysqlclient16, however this did not make a difference. Finally I found the offending domain name by running vusaged through the debugger gdb after strace did not provide any meaningful output. It appears that the problem was not the domain in the strace output, but always the 'next' domain in the list. Which gdb showed in a full backtrace and strace did not. Anyway, just thought you'd like to know. We have 5.4.28-rc1 on three production servers now. I will let you know how it goes. Sincerely, - Wouter van der Schagt !DSPAM:4a75c27632719325615117! <>
Re: [vchkpw] Re: Testing
Wouter, thank you for allowing me to connect to your test environment remotely to determine what was going on. I've CC'd the vchkpw list so the members can see my findings. No problem, thank you! This was occurring because the most recent tarball for 5.4.28 does not contain the updated code that handles message counts. Originally the vusage daemon only returned byte counts. To fully support domain quotas it had to support message counts as well. This was added after the tarball was created. I installed the trunk on your system and it's working. If you're using 5.4.28, use the trunk version rather than a tarball so that you're using the latest version when reporting bugs. Alright, will do. I have installed 5.4.28-rc1 at the moment on our production servers and will let you know if anything comes up. * Regarding the segmentation fault with vusaged, I cannot give / am not allowed to give remote access. However I have ruled out file system corruption and in the syslog I am getting: "Jul 30 08:45:19 mail2 kernel: [ 4492.236858] vusaged[21583]: segfault at 72656b79 ip b7dbb1d1 sp b2b10110 error 4 in libmysqlclient.so.15.0.0[b7d4c000+1a3000]". I have upgraded the server so it has libmysqlclient16 installed, but it still links against libmysqlclient15. How can I modify this to try if this solves the problem? I do not have this particular problem on other servers and it is an older server that suffered 100% hd full situations once or twice in the past, so it is possible the fault lies elsewhere. * Regarding: the "deferral: Aack,_child_crashed._(#4.3.0)" message in /var/log/qmail/current. I believe it happens when a message is sent to a catch-all address (thus a non-existing mailbox), in which case vusagec returns manually: "No data available", which is seen as a crash. Could this possibly be the case? If so, perhaps the error message can be more descriptive? Anyway, this causes email to stay in the queue and not being delivered. The client API does not treat *anything* from the vusage daemon as a failure to avoid problems like this. 'Aack, child crashed' is a really non-descriptive error message that means the child process segfaulted. This to me means that vdelivermail is segfaulting. It's hard for me to say why without access to the system. If it's happening within the client API, I'd be pretty surprised, but it's certainly possible. How can I run vdelivermail manually to test if it is crashing? Is there any chance you can copy the existing domain to this test environment? Maybe copying the domain over to the test environment will duplicate the issue so I can debug it. I'm going to try to do that this weekend. What I noticed was though. If I remove the domain that is causing this beahavior the same happens to the 'next' domain. Sincerely, - Wouter van der Schagt !DSPAM:4a73eb4232711302398837!
[vchkpw] Vusaged domain total number of messages always 0
Good morning again On another production server, while I still get the the child crashed problem, I also noticed the following: --- ms3:~# /home/vpopmail/bin/vusagec wou...@vdschagt.com wou...@vdschagt.com: 1965201 byte(s) in 246 message(s) --- As expected. However when looking at the total of a domain: ms3:~# /home/vpopmail/bin/vusagec @vdschagt.com vdschagt.com: 2210342 byte(s) in 0 message(s) --- Notice the "0 messages" in the total of a domain quota. Is this expected behavior? Sincerely, - Wouter van der Schagt !DSPAM:4a6fe4af32714294588090! <>
Re: [vchkpw] 5.4.28 - vusaged - error - deferral: Aack,_child_crashed._(#4.3.0)
Good morning, I would try using vdelivermail by hand, or the vusagec binary by hand, and see if that crashes. Using vusagec by hand returns the total number of messages and number of bytes used. Using vdelivermail by hand, results in: "vdelivermail: no EXT environment varilable", the command used is: /home/vpopmail/bin/vdelivermail "" wou...@vdschagt.com < /tmp/testmsg.eml Now I realize that command may be wrong, however have no idea how to use it properly? How can I test it manually? Sincerely, - Wouter van der Schagt !DSPAM:4a6fe3f732711631481000!
Re: [vchkpw] 5.4.28 test remarks
Good morning, The 5.5 branch is working in FHS compliance, and it's a bit complex because so much of vpopmail has been built on /home/vpopmail. Normally vpopmail looks for an existing tcp.smtp file and then favors that over it's desired /home/vpopmail/etc location. Adding the FHS favoring in also caused some pathing issues with the tcp.smtp file. Just force it for now. This will be worked out as 5.5 becomes the devel version. Allright, actually I remember you saying this before. I forgot. I used: --enable-tcpserver-file=/etc/tcp.smtp for now. Warning: Failed while attempting to delete domain from auth backend" Please do because I can't remember what happened with this. Allright, below is a snippet of the email from before: (it seems to happen after a clean install, at which time, no logins have been recorded yet, perhaps the table is not yet created? --- I performed a strace on the command vdeldomain and found: write(4, "1\0\0\0\3delete from lastauth where d"..., 53) = 53 read(4, "0\0\0\1\377z\4#42S02Table 'vpopmail.last"..., 16384) = 52 write(2, "Warning: Failed while attempting "..., 68Warning: Failed while attempting to delete domain from auth backend ) = 68 Manual investigation showed that there is no table "lastauth" in the vpopmail database. Should this have been created on install ? or is this created when somebody logs in? The error doesn't appear to be fatal, but it is ugly. --- Sincerely, - Wouter van der Schagt !DSPAM:4a6fe34332714395816559!
[vchkpw] 5.4.28 - vusaged - error - deferral: Aack,_child_crashed._(#4.3.0)
Good morning all, I have installed Vpopmail 5.4.28 on a few production mail servers and noticed a problem. As long as vusaged is running, the following error message appears in /var/log/qmail/current: "deferral: Aack,_child_crashed._(#4.3.0)" which causes all local email to stay in the queue 'forever'. Shutting down the vusage daemon has the desired effect that email is being delivered. The message then becomes: @40004a6d6b3c347e31bc delivery 951: success: client_connect:_connect_failed:_111/client_connect:_connect_failed:_111/client_connect:_connect_failed:_111/client_connect:_connect_failed:_111/did_0+0+1/ This message appears because it cannot connect to the vusage daemon of course. But the email is deliverd. Any idea why I get "child crashed" when trying to deliver local emails? Sincerely, - Wouter van der Schagt !DSPAM:4a6d6be932711310325944!
[vchkpw] Segmentation fault in vusage daemon
Good morning, I have installed vpopmail 5.4.28 on 3 mailservers (production) and on 1 of them the vusage daemon is not working. When running it gives a segmentation fault: config: using /home/vpopmail/etc/vusaged.conf socket: listening on /tmp/vusaged.sock controller: stage one vusaged: begin Segmentation fault The error message in the /var/log/syslog file is: Jul 26 19:23:21 mail2 kernel: [ 6728.830283] vusaged[16552]: segfault at 72656b79 ip b7db16c1 sp b2afd110 error 4 in libmysqlclient.so.15.0.0[b7d42000+1a4000] The output of a strace command is: (I replaced the domainname with ). [pid 16181] stat64("/home/vpopmail/domains/H/domain.com/postmaster/Maildir/./cur", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 16181] open("/home/vpopmail/domains/H/domain.com/postmaster/Maildir/./cur", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 12 [pid 16181] fstat64(12, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 16181] getdents(12, /* 2 entries */, 4096) = 32 [pid 16181] stat64("/home/vpopmail/domains/H/domain.com/postmaster/Maildir/./cur/.", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 16181] getdents(12, /* 0 entries */, 4096) = 0 [pid 16181] close(12) = 0 [pid 16181] stat64("/home/vpopmail/domains/H/domain.com/postmaster/Maildir/new/new", 0xb73b215c) = -1 ENOENT (No such file or directory) [pid 16181] stat64("/home/vpopmail/domains/H/domain.com/postmaster/Maildir/maildirsize/new", 0xb73b215c) = -1 ENOTDIR (Not a directory) [pid 16181] stat64("/home/vpopmail/domains/H/domain.com/postmaster/Maildir/tmp/new", 0xb73b215c) = -1 ENOENT (No such file or directory) [pid 16181] stat64("/home/vpopmail/domains/H/domain.com/postmaster/Maildir/cur/new", 0xb73b215c) = -1 ENOENT (No such file or directory) [pid 16181] getdents(11, /* 0 entries */, 4096) = 0 [pid 16181] close(11) = 0 [pid 16181] time(NULL) = 1248628902 [pid 16181] time(NULL) = 1248628902 [pid 16181] time(NULL) = 1248628902 [pid 16181] time(NULL) = 1248628902 [pid 16181] time(NULL) = 1248628902 [pid 16181] time(NULL) = 1248628902 [pid 16181] clock_gettime(CLOCK_REALTIME, {1248628902, 595503000}) = 0 [pid 16181] futex(0x8067ba4, FUTEX_WAIT_PRIVATE, 640, {14, 404497000} [pid 16191] <... futex resumed> ) = 1 [pid 16191] --- SIGSEGV (Segmentation fault) @ 0 (0) --- Many domains and mailboxes are iterated before this pops up in the strace log. If I delete this domain from the server, it will go to the next domain and display the same error message for another 'next' domain. I still have no idea what the error message could be. The message in the syslog would indicate a problem with the mysql client library, however the output from the strace would suggest there is another problem. When looking at the respective mailbox, the ownership and permissions are all correct vpopmail:vchkpw and also the directory structure of the Maildir++ directory seems fine. /tmp is also writable .. any ideas? Does the vusage daemon have any debugging or logging options that I can enable on the command line? Sincerely, - Wouter van der Schagt !DSPAM:4a6c927132711275380118!
[vchkpw] 5.4.28 test remarks
Hi all, Below are some issues I encountered when configuring / making vpopmail 5.4.28-devel. Most (if not all) are minor issues: --- 1 --- When using vpopmail 5.4.28-devel. I'm getting the following error message: "configure: error: Unable to find your MySQL inc dir, specify --enable-incdir." This message appeared when the development files for MySQL were not installed, but the directory existed. Installing the necessary files worked, but perhaps the message could be a little different because the option 'was' specified. Anyway, this is only a minor issue. --- 2 --- The status at the end of the configure, shows 5.4.27, even though it is 5.4.28, again - minor. --- 3 --- In 5.5 I noticed that the tcp.smtp file was moved to /home/vpopmail/etc/tcp.smtp instead of /etc/tcp.smtp. Is this the new default behavior in 5.4.28 as well? This would probably mean that people will have to update their existing /var/qmail/bin/qmailctl file for the cdb command to reload the rules? --- 4 --- The previously reported error message: "Warning: Failed while attempting to delete domain from auth backend" also appears in 5.4.28 when adding and immediately deleting a domain. I believe the cause is also the same as in the 5.4.25 and 5.5 branch. If I remember correctly a strace revealed a failing SQL query on a non existing table. I can look it up if necessary, just let me know. What is the default behavior of the newly implemented domain quota's in 5.4.28? is it on or off by default, and if on, how can it be controlled? Last question: Is there any major change that could break an existing 5.4.25 installation? I'm considering to upgrade a production server to 5.4.28 status in order to test the usage daemon, the 2 GB per mailbox fix and possibly the domain quotas. Sincerely, - Wouter van der Schagt !DSPAM:4a68251932715674721194!
[vchkpw] Any 5.4.28 or 5.5 ETA?
Hi all, I know it has been a while, but a few months ago, I commented on an error message when deleting a domain using vdeldomain in the 5.5 branch. The error message was: "Warning: Failed while attempting to delete domain from auth backend". I believe at that time, the cause of the message has been identified by mr. Brookings. Just to let you know. On a clean install of vpopmail 5.4.25. This message also appears. However only it seems because it hadn't been used yet (the server). Is there an ETA on the release of the 5.4.28 or 5.5 branch? Most notably the 5.5 branch. We are anxious to further experiment with it in more production environments. Is there anything we can help with? Sincerely, - Wouter van der Schagt !DSPAM:4a68155432715685083483!
Re: [vchkpw] quota limit upto 2gb
I'm sorry guys, I missed the first part of the thread, but based on the subject, it may be relevant to me. Is the limit of 2 GB per mailbox removed in the 5.5 branch? Sincerely, - Wouter van der Schagt -- From: "Matt Brookings" Sent: Tuesday, July 14, 2009 9:52 PM To: Subject: Re: [vchkpw] quota limit upto 2gb -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karpaha Vinayaham wrote: Hi Matt Thanks for your suggestion, i have tried to update vpopmail , im not successful. Im running qmailtoaster, on their site stable version is not the updated one. Can u suggest me how to update the vpopmail on a qmailtoaster server. Back up your ~vpopmail/lib, bin, etc, and include directories. Then install vpopmail from source over the existing vpopmail installation. - -- !DSPAM:4a5cac9b32711045513127!
Re: [vchkpw] delete domain
when i add a domain like "ictme", it don't appear any error, but when i want delete it, it say 'The domain does'nt exist'; Which version of vpopmail are you using and which authentication backend? Sincerely, - Wouter van der Schagt !DSPAM:4a092c3532681435810490!
Re: [vchkpw] Some vaddaliasdomain questions
The alias domain should be able to be used for authentication. It is an alias. Both the main and aliased domain should be able to be used. Thank you for the quick response. How does it handle quotas? mail delivered to the alias, is it calculated in the usage of the real domain? Sincerely, - Wouter van der Schagt !DSPAM:4a01ba4232681030317765!
Re: [vchkpw] Some vaddaliasdomain questions
The alias domain should be able to be used for authentication. It is an alias. Both the main and aliased domain should be able to be used. Thank you for the quick response. How does it handle quotas? mail delivered to the alias, is it calculated in the usage of the real domain? Sincerely, - Wouter van der Schagt !DSPAM:4a01b4bc32681575117801!
[vchkpw] Some vaddaliasdomain questions
Hi all, i have a few questions about domain-wide aliases. 1. I understand that vaddaliasdomain creates a domain wide alias, but am not sure what deletes them. As far as i understand valias is used for individual aliases. Do i use vdeldomain to delete the alias domain? if not, what do i use? 2. What happens to the alias domains if the main domain is deleted with vdeldomain, are they also deleted or do they remain in the configuration ? 3. Am I correct in assuming that the aliased domain cannot be used for authentication? (MySQL backend?) Sincerely, - Wouter van der Schagt !DSPAM:4a01524132684571147376!
Re: [vchkpw] More vpopmail 5.5 notes / experiences
Regarding the FHS patch. Noted...i will ommit the prefix setting for now or consider to create a symbolic link for the time being. --- This machine is not accessible to the outside world, it is an internal mailserver. But I think i may have found more useful information: I performed a strace on the command vdeldomain and found: write(4, "1\0\0\0\3delete from lastauth where d"..., 53) = 53 read(4, "0\0\0\1\377z\4#42S02Table 'vpopmail.last"..., 16384) = 52 write(2, "Warning: Failed while attempting "..., 68Warning: Failed while attempting to delete domain from auth backend ) = 68 Manual investigation showed that there is no table "lastauth" in the vpopmail database. Should this have been created on install ? or is this created when somebody logs in? The error doesn't appear to be fatal, but it is ugly. --- I can test the setup on Ubuntu and FreeBSD as well if you like? Are you interested in testing results on other platforms or has it already been tested? Sincerely, - Wouter van der Schagt !DSPAM:49f75ae232682117489581!
Re: [vchkpw] More vpopmail 5.5 notes / experiences
Are you working with the current SVN branch, or with a tarball from Sourceforge? I'm not certain all changes to the FHS-related code are on Sourceforge. I was using the tarball, am now testing with SVN revision 891. Further testing reveals that a default ./configure returns: domains directory = /home/vpopmail/domains conf directory = /home/vpopmail/etc bin directory = /home/vpopmail/bin lib directory = /home/vpopmail/lib include directory = /home/vpopmail/include As expected, however adding "--prefix=/home/vpopmail" messes this up and makes it (im guessing unintentionally) domains directory = /home/vpopmail/var/vpopmail conf directory = /home/vpopmail/etc/vpopmail bin directory = /home/vpopmail/bin lib directory = /home/vpopmail/lib include directory = /home/vpopmail/include/vpopmail I think herein lies the source of both the strange location of vusaged.conf and the odd /domains directory. I realize the prefix i added was the default, but still. As for the error message from the SQL backend: I'm still getting that: "Warning: Failed while attempting to delete domain from auth backend". running on Debian 5 - squeeze (testing). with MySQL Server version: 5.0.51a-24 (Debian) Sincerely, - Wouter van der Schagt !DSPAM:49f74fdb32681216471239!
[vchkpw] More vpopmail 5.5 notes / experiences
Good morning, Consider a vpopmail 5.5 install using timestamp build 1239053335: - I noticed that domains are now created in /home/vpopmail/var/vpopmail as opposed to /home/vpopmail/domains. Is this intended as a change in 5.5 or is it incorrect, perhaps also part of the FHS patch? Or can i specify the /home/vpopmail/domains somewhere as a confiugre option? It is a bit difficult to test on production servers if we have live data in /home/vpopmail/domains unless we all move the data to a different directory, but that would not be preferable. - vadddomain correctly adds a domain in the database and creates files / directories in the above mentioned parent directory, vdeldomain correctly deletes it from the database (and the files / directories), however it also throws an error message: "Warning: Failed while attempting to delete domain from auth backend". - vlist is new to me, is this automatically packaged in 5.5 now? - vdelivermail (feautre request). At the moment we are running a modified version and have disabled 90% full checks in vdelivermail.c (around line 1139 by simply exiting the function). We do our own quota check, which with the use of the vusaged will become a lot faster. Perhaps you can include an option to disable this automatic mailing? Sincerely, - Wouter van der Schagt !DSPAM:49f6aef132681061776773!
Re: [vchkpw] vpopmail 5.5 experiences during configure and install
Don't set a domain quota and it won't enforce one. Just an FYI. Great thanks. That could be usefull :) Is it off (as in not enforced) by default or do i need to specify a setting. The issue will be resolved with a linker flag which I accidentally did not re-implement when re-writing parts of the build system. Alright, no biggie then I'll need an error, or some sort of other info other than 'did not work' :) Please let me know any issues you come across. 5.5 will become the development version soon. Upon further investigation it appears that allthough the vadddomain command didnt create an error, it didnt create an entry in any database either. I tested the authentication as it is in /etc/vpopmail/vpopmail.mysql manually and that worked. mysql -uuser -ppassword -Ddatabase; Woops! Must be some issue with the FHS compliance pathing. I'll look into it. For now, do i copy the files into /etc/ or leave them where they are? I have it running on several large production servers. If there's anything that should be stable, it should be that daemon. Several months of development and testing went into that code. Great, im really curious about this daemon, at the moment we provide this with a realtime du -sm * through a socketserver, it is horribly slow on full mailboxes :) Sincerely, - Wouter van der Schagt !DSPAM:49f5ef1832681164811771!
Re: [vchkpw] vpopmail 5.5 experiences during configure and install
Thank you for your quick reply, ..er, it's --enable-domainquotas not --enable-domain-quotas Yes, and they didnt work in versions 5.4.25 or below, all relevant code as i remember now was commented out so any configure options didnt have any effect. My badignore the question. As for the reason of turning it off...at the moment we only work with mailbox limits. and we dont want mailboxes to limit eachother because some clients have a client per mailbox. So that wouldn't be fair to their other clients. --- /sbin/ldconfig solved the shared object error message. Is this going to change in future versions or is this manual command going to be part of the installation procedure? After changing this, adding a domain (vadddomain) worked.. vdeldomain, however did not. Not sure why yet, will get back to you, im guessing however it is a misconfigured database user. --- # vi /home/vpopmail/etc/vusaged.conf # vi /home/vpopmail/etc/vusagec.conf As for this "missing" config file. Yes, I ran "make install". I now see they are both in /home/vpopmail/etc/vpopmail/ and not in /home/vpopmail/etc/ is this intended? or is this a typo in the INSTALL file or are they placed in the wrong directory ? /etc/init.d/vusagd did start however, i am going to experiment with it and see how it performs. --- As for the LSB (Linux Standard Base) tags..I think the implementation is relatively new. More information is here: http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/tocsysinit.html --- Sincerely, - Wouter van der Schagt !DSPAM:49f20d1432683557910164!
[vchkpw] vpopmail 5.5 experiences during configure and install
Good morning, I'm trying out the 5.5 branch and configure / make it on some production servers. Below are my experiences. - 1) A ./configure without any additional options gives no warnings, however when specifying --enable-roaming-users I get the following error messages when the relay file is in /etc/tcp.smtp and the .cdb counterpart. configure: WARNING: Unable to find your tcpserver relay file. configure: WARNING: Creating /home/vpopmail/etc/tcp.smtp Has this behavior changed since vpopmail 5.4.25? - 2) When configuring with --enable-domain-quotas=n , the output at the end of the configure reveals quotes as turned on in the following line: domain quotas = ON --enable-domainquotas (default) Is this intended behavior or is my previous option false? - 3) After building vpopmail 5.5 and the mysql backend .. without errors (configure, make, make install). I get the following error message when executing : /home/vpopmail/bin/vadddomain domain.com test /home/vpopmail/bin/vadddomain: error while loading shared libraries: libvpopmail.so: cannot open shared object file: No such file or directory Where did I go wrong in the installation procedure? According to the output of the configure command the libdir is at /home/vpopmail/lib of which the contents is: drwxr-xr-x 2 vpopmail vchkpw 4096 2009-04-24 19:47 . drwxr-xr-x 7 root root 4096 2009-04-24 19:37 .. -rw-r--r-- 1 root root 144393 2009-04-24 19:45 libvpopmail.so -rwxr-xr-x 1 root root32316 2009-04-24 19:47 vmysql.so - 4) The vusaged. I cannot get it installed / configured. The INSTALL says to edit the config files in step 3 # vi /home/vpopmail/etc/vusaged.conf # vi /home/vpopmail/etc/vusagec.conf But the second config file does not exist. - 5) Continuing then to step 4 of vusagd install requires a chmod 755 /etc/init.d/vusagd to permit execution. This is not in the INSTALL file, perhaps it can be added. It won't work without it. - 6) The output of /sbin/chkconfig --add vusaged and /sbin/chkconfig vusaged on is (respectively) insserv: warning: script 'K01vusaged' missing LSB tags and overrides insserv: warning: script 'vusaged' missing LSB tags and overrides insserv: warning: script 'rc.vusaged' missing LSB tags and overrides insserv: warning: current start runlevel(s) (0) of script `halt' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0 6) of script `sendsigs' overwrites defaults (empty). insserv: warning: current start runlevel(s) (6) of script `reboot' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0 6) of script `umountnfs.sh' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0 6) of script `umountroot' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0 6) of script `umountfs' overwrites defaults (empty). vusaged 0:off 1:off 2:on 3:on 4:on 5:on 6:off and insserv: warning: script 'K01vusaged' missing LSB tags and overrides insserv: warning: script 'vusaged' missing LSB tags and overrides insserv: warning: script 'rc.vusaged' missing LSB tags and overrides Some are not relevant of course, but some are. How about adding the LSB tags and overrides? - 7) Trying to start /etc/init.d/vusaged start results in "failed". Starting it manually results in the same: /home/vpopmail/bin/vusaged: error while loading shared libraries: libvpopmail.so: cannot open shared object file: No such file or directory Eventhough the libdir according to the configure output seems to be correct. - Is this a known issue? Sincerely, - Wouter van der Schagt !DSPAM:49f201b932681325814807!
[vchkpw] Sieve support
Good morning all, I was wondering, does vpopmail (in the form of vdelivermail) have support for Sieve? I was unable to find any documentation on the website. Sincerely, - Wouter van der Schagt !DSPAM:49ecae4e32682226118866!
Re: [vchkpw] vusaged question
Now I'm totally lost. What do you mean by delimited values? My apologies, what i meant with the delimited output was: Query daemon with: '@domain'. Output: i...@domain,129387 pe...@domain,19273 ja...@domain,102938 Where the output is comma delimited as mailbox,storage_used Sincerely, - Wouter van der Schagt !DSPAM:49db996a32681978456759!
Re: [vchkpw] vusaged question
You are correct. It can also return usage for a particular domain. Instead of querying with 'u...@domain', query with '@domain'. Great, does this return 1 value (i suppose so), or a comma delimited range mailbox, storage used...or is this is easy to make and iterate ourselves.. Is that what you were looking for, or were you looking for something more specific? No, this would pretty much cover the functionality we need. Perhaps an option for the delimited values as described above would be a nice addition. Other than that it is great. Is 5.5 the first version in which this will become available? How stable is the 5.5 branch compared with 5.4.25 that we are using now with regards to standard functionality with Maildir++ support. Sincerely, - Wouter van der Schagt !DSPAM:49db8d6e32685688614046!
[vchkpw] vusaged question
Good morning all, Am I correct in assuming the the vusaged can be used for retrieving the current amount of storage used of a particular mailbox? If so, where does this information come from, is it the actual size used on the disk or is it based on a Maildir calculation? Is there any information / documentation for this available already? Sincerely, - Wouter van der Schagt !DSPAM:49db60b532682635016810!
Re: [vchkpw] Added vmoduserflags binary to 5.5 branch
Yup :) My question is, perhaps i should rephrase it, whether it can be included in the next version automatically :) Sincerely, - Wouter van der Schagt - Original Message - From: Manvendra Bhangui To: vchkpw@inter7.com Sent: Friday, March 27, 2009 5:34 PM Subject: Re: [vchkpw] Added vmoduserflags binary to 5.5 branch On Fri, Mar 27, 2009 at 2:57 PM, Wouter van der Schagt wrote: I have one more request. Could you have a look at https://sourceforge.net/tracker/?func=detail&atid=577801&aid=2532389&group_id=85937 for possible inclusion in 5.5? It is a nice feature that is also useful in automation which is currently missing in the stable brach (as far as I know). That is exactly what the vmodddoman does (as described in the link above). !DSPAM:49cca01632681310553712!
Re: [vchkpw] Added vmoduserflags binary to 5.5 branch
I've added the vmoduserflags binary to 5.5. It handles what people were looking for in regards to toggling of settings in a user's bitfield. Wonderful, i am going to test it immediately :) thank a lot!! I will let you know the test results of our production environment. I have one more request. Could you have a look at https://sourceforge.net/tracker/?func=detail&atid=577801&aid=2532389&group_id=85937 for possible inclusion in 5.5? It is a nice feature that is also useful in automation which is currently missing in the stable brach (as far as I know). Sincerely, - Wouter van der Schagt Here it is in use: # ./vmoduserflags Usage: ./vmoduserflags [<+|->] Options: chpass pop webmail imap bounce relay dialup user0 user1 user2 user3 smtp domadmin domquota spam sysadmin expert maildrop # ./vmoduserflags t...@test.com t...@test.com: +chpass +pop +webmail +imap -bounce +relay +dialup -user0 -user1 -user2 -user3 +smtp -domadmin +domquota +spam -sysadmin -expert +maildrop # ./vmoduserflags t...@test.com -chpass Changing: -chpass t...@test.com: -chpass +pop +webmail +imap -bounce +relay +dialup -user0 -user1 -user2 -user3 +smtp -domadmin +domquota +spam -sysadmin -expert +maildrop # ./vmoduserflags t...@test.com +chpass +expert -relay Changing: +chpass -relay +expert t...@test.com: +chpass +pop +webmail +imap -bounce -relay +dialup -user0 -user1 -user2 -user3 +smtp -domadmin +domquota +spam -sysadmin +expert +maildrop So, there you have it. - -- /* Matt BrookingsGnuPG Key D9414F70 Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknMAKMACgkQ6QgvSNlBT3B0bgCgpGCtAbiqHx4XFiAPfqiCRsib 1TMAoJg2WOw3FgxK57vEM++RudVyRlOH =Cm+G -END PGP SIGNATURE- !DSPAM:49cc9bf332688953320417!
Re: [vchkpw] 5.5.0 branch
Good day! The idea of setting a flag with '-' and un-setting it with '+' is a little backwards. The point of the 5.5 branch is to do away with these oddities. Perhaps with long mode strings like "+bounce -relay -etc" with a new command would work? That would also work yes, for us, and i think for many others is that it can be modified by the command line so automation becomes easier. Whether it is +p, -p +popaccess -smtp, doesn't make a difference..at least not to us. Sincerely, - Wouter van der Schagt !DSPAM:49bbe7d932681830814646!
Re: [vchkpw] 5.5.0 branch
Hi Matt, Anyway, if you have a moment, and can check out the 5.5 branch, see if it will configure and make on your system. It does (with default options) for configure and make. I'm on Debian 2.6.26-1-amd64 (in a test environment). Any chance for the vmoduser options patch to be included in 5.5? if it is easy for us to reconfigure the mailbox settings on the command line we can start using the branch in a production environment. By the way, i noticed that some installers (i forgot which ones) in Debian occasionally try to remove the vpopmail user at id 89 (same for the group)...is this still the recommended id or it doesn't matter? Sincerely, - Wouter van der Schagt Thanks! - -- /* Matt BrookingsGnuPG Key D9414F70 Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkm5TA8ACgkQ6QgvSNlBT3AWUwCgj88ErCGwmaMN3HiCHmwEWgdf Jw4AnRLCPEPua7TnbKsGJFsXOaHDIF/R =wNpA -END PGP SIGNATURE- !DSPAM:49bbb14f32681826530053!
Re: [vchkpw] vpopmail now hosted in a Subversion repository
Sounds good, I would like to test it when it's ready :) Sincerely, - Wouter van der Schagt - Original Message - From: "Matt Brookings" To: Sent: Wednesday, February 11, 2009 1:23 AM Subject: [vchkpw] vpopmail now hosted in a Subversion repository -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The conversion has gone through, and I've disabled CVS and enabled SVN. In other news, I've made some significant progress on the usage daemon code. The last item I really need to get nailed down before a beta release to developers is proper handling of requests when queuing. All the code is there, I just need to restructure where calls are made that fill in the cached information. When I have a beta version ready, I will let the list know so I can find out if there's anyone interested in testing. - -- /* Matt BrookingsGnuPG Key D9414F70 Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmRuA8ACgkQ6QgvSNlBT3B0QwCeNFSLZNPFrptdcOV9mHpf/oDM +NYAn2SLCl8i5Bgyuf/6TA8BtyKIZf60 =tL4x -END PGP SIGNATURE- !DSPAM:4991ba2e32681523498683!
Re: [vchkpw] how can I see all error messages about pop3 service ?
Dovecot is very well to me. But I have a problem about it. I have to run ntpd on the server. Because if time is not true, dovecot kills itself. is there a way to ignore this option without causing any problem on dovecot? I'm not aware of this issue so I'm afraid i cannot help you with that. Perhaps just see and try in a test environment first? - Wouter !DSPAM:498c589e32681049416718!
Re: [vchkpw] how can I see all error messages about pop3 service ?
I followed the instructions by John Simpson: http://qmail.jms1.net/dovecot.shtml Goodluck! - Wouter - Original Message - From: "ckubu" To: Cc: "Wouter van der Schagt" Sent: Friday, February 06, 2009 6:25 PM Subject: Re: [vchkpw] how can I see all error messages about pop3 service ? hallo [..] We have Dovecot running under daemontools. some times ago, i tried to run dovecot under daementools, but i failed ( most likley because of my poor knowledge ). can you give me your run script or tell me if there is something special to take account ? sorry for my bad english - christoph !DSPAM:498c117332683987711043!
Re: [vchkpw] how can I see all error messages about pop3 service ?
Have you solved your problem when you have shifted to Dovecot. ? Actually, I use dovecot for imap/imaps. then I shall shift pop3 too. Yes, we currently have no problems at all and are hosting thousands of domains and a multitude of popboxes. We have Dovecot running under daemontools. - Wouter !DSPAM:498bf2e232681811913762!
Re: [vchkpw] how can I see all error messages about pop3 service ?
my server's pop3 service sometimes doesn't accept my emailusers'password and it reasks user and password. if I reboot the server, the problem is solved. I had this problem before, it occured when there were more than 50 domains on a server and the morercpthosts files was used in combination with the SMTP authentication patch. There's a patch available to that patch (or at least to patch 0.31 from that patch) that addresses a bug when there's a failed SMTP AUTH attempt. If the client attempts to send mail to a domain which is not listed in rcpthosts, qmail-smtpd is unable to read morercpthosts.cdb. Instead, it sends "421 unable to read controls (#4.3.0)" and drops the connection. It seems, a wrong file descriptor is closed when using the morercpthosts cdb file. For more information: http://tomclegg.net/qmail/#qmail-smtpd-auth (point 6), the direct link to the patch file is: http://tomclegg.net/qmail/qmail-smtpd-auth-close3.patch I'm not sure this helps. We have since shifted to Dovecot. Goodluck, - Wouter !DSPAM:498beb1232682008921224!
Re: [vchkpw] New Command vmoddomain
To compile, edit Makefile.am and add vmoddomain as a program in vpopmailbin_PROGRAMS and also add the following vmoddomain_SOURCES = vmoddomain.c vmoddomain_LDADD = libvpopmail.a @auth_libs@ After editing Makefile.am you can do make I did that, but no success. Do i also have to modify Makefile.in ? Im on a Debian system. Sincerely, - Wouter van der Schagt !DSPAM:4986b5e432681318012479!
Re: [vchkpw] New Command vmoddomain
Not that i can think off, most things are popbox specific. Is this in the development version already? if now, how can i link and test it? Sincerely, - Wouter van der Schagt - Original Message - From: Manvendra Bhangui To: vchkpw@inter7.com Sent: Thursday, January 29, 2009 4:50 PM Subject: [vchkpw] New Command vmoddomain I have added a new command vmoddomain based on a request by Wouter van der Schagt. Have attached vmoddomain.c in the tracker request. Currently the command will change the catch-all address usage: vmoddomain [options] domain options: -f (Sets the Domain with VFILTER capability) -h handler (can be one of the following (1 delete) (2 bounce-no-mailbox) (3 Maildir) (4 Email Addres) Apart from changing catch-all, can anything else be added to vmoddomain? -- Regards Manvendra - http://www.indimail.org !DSPAM:49845d6732681586714249!
Re: [vchkpw] Opinions needed
My question is this; would anyone ever require a quota below a megabyte, or, would any application ever really need to know about specific usage counts below a megabyte? Not us, however current applications assume the format is in bytes (for example the maildirsize file) so calucalations will be off in some frontends or custom made backends when calculating the usage. Sincerely, - Wouter van der Schagt !DSPAM:49773fc232689127091031!
[vchkpw] valias questions
Good morning all, First of all, happy new year! Second, I have some questions about valias. I understand the syntax is: valias -i 1. Does the alias have to be a domain on the server and is checking to see if this is the case enforced? Or do i have to manually add it to the morercpthosts file as well? 2. If I want to add multiple aliases for the same destination do I issue the same command twice (or more) or can i add it in one command? 3. When adding an alias, does the popbox have to exist if it is a local domain? 4. How does valias work together with .qmail- files? Sincerely, - Wouter van der Schagt !DSPAM:49659f0132671282735280!
Re: [vchkpw] domain quota by Kernel
Nope, domain quotas are currently not supported by vpopmail, if you look in the sourcecode, you will see that the relevant sections are commented out. Any options used with ./configure have no effect. - Wouter - Original Message - From: "Geri Anggara" <[EMAIL PROTECTED]> To: Sent: Thursday, November 20, 2008 3:33 PM Subject: [vchkpw] domain quota by Kernel Dear Lists If domain quota being enforced by Kernel, is there any way vpopmail can trigger proper error message when such situation occur: "domain_is_over_quota" Best Regards Geri Anggara !DSPAM:4925146732318283521280!
Re: [vchkpw] Vpopmail and courier-imap.
Binaries don't have vpopmail support by default i think, but i installed using instructions from John Simpson (http://qmail.jms1.net/dovecot.shtml) and it was easy as a breeze. - Wouter - Original Message - From: "Marcin Praczko" <[EMAIL PROTECTED]> To: Sent: Friday, October 31, 2008 6:37 PM Subject: RE: [vchkpw] Vpopmail and courier-imap. Thanks for reply: - Lampa [EMAIL PROTECTED] - Wouter van der Schagt [EMAIL PROTECTED] I just visited home page, and it seems be ok and streight forward. But before I will start stragle with it (or maybe that will be very simple and nice installation under Solaris [SunStudio]). Could you fast tell me that is easy configurate it with vpopmail? Thanks for reply. Marcin Praczko -Original Message----- From: Wouter van der Schagt [mailto:[EMAIL PROTECTED] Sent: 31 October 2008 10:16 To: vchkpw@inter7.com Subject: Re: [vchkpw] Vpopmail and courier-imap. Hi there, We had the same problem, we switched to Dovecot, great product :) recently also implemented Maildir++ support. - Wouter - Original Message - From: "Marcin Praczko" <[EMAIL PROTECTED]> To: Sent: Friday, October 31, 2008 6:10 PM Subject: [vchkpw] Vpopmail and courier-imap. Hi, I am using vpopmail since long time, and it is working for me quite well. But I noticed that courier developer drop authvchkpw module from courier-authlib. I noticed also that vpopmail is not updating since one year. Could you tell me what is current Status of vpopmail. Is it still developing or it will be not update any more? I am really interested in connect courier-imap with vpopmail. Or maybe you can give me a hint To use another POP3/IMAP/POP3-SSL/IMAP-SSL server with is working well with vpopmail auth? Marcin Praczko No virus found in this outgoing message. Checked by AVG. Version: 7.5.549 / Virus Database: 270.8.5/1757 - Release Date: 30/10/2008 14:35 No virus found in this incoming message. Checked by AVG. Version: 7.5.549 / Virus Database: 270.8.5/1757 - Release Date: 30/10/2008 14:35 No virus found in this outgoing message. Checked by AVG. Version: 7.5.549 / Virus Database: 270.8.5/1757 - Release Date: 30/10/2008 14:35 !DSPAM:490ae13c32314457239801!
Re: [vchkpw] Vpopmail and courier-imap.
Hi there, We had the same problem, we switched to Dovecot, great product :) recently also implemented Maildir++ support. - Wouter - Original Message - From: "Marcin Praczko" <[EMAIL PROTECTED]> To: Sent: Friday, October 31, 2008 6:10 PM Subject: [vchkpw] Vpopmail and courier-imap. Hi, I am using vpopmail since long time, and it is working for me quite well. But I noticed that courier developer drop authvchkpw module from courier-authlib. I noticed also that vpopmail is not updating since one year. Could you tell me what is current Status of vpopmail. Is it still developing or it will be not update any more? I am really interested in connect courier-imap with vpopmail. Or maybe you can give me a hint To use another POP3/IMAP/POP3-SSL/IMAP-SSL server with is working well with vpopmail auth? Marcin Praczko No virus found in this outgoing message. Checked by AVG. Version: 7.5.549 / Virus Database: 270.8.5/1757 - Release Date: 30/10/2008 14:35 !DSPAM:490adb0232314964715336!
Re: [vchkpw] vmysql: can't read settings from
I'm just wondering the same... Why is it appearing the Apache log? - Original Message - From: "Mitja Pirih" <[EMAIL PROTECTED]> To: 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: 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 !DSPAM:489af6f032312115357448!
Re: [vchkpw] vmysql: can't read settings from
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: 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 !DSPAM:489af35632311887213678!
Re: Re: Re: Re: [vchkpw] Problem with maildrop support in vdelivermail
Once is enough, its off-topic and not in English, not everybody understands Dutch either. Please refrain from spamming your company newsletters to all your contacts (including subscriptions to mailinglists). I know I'm acting like the net-police (which im not), but already in a bad mood today. So just feel like ranting. Sincerely, - Wouter - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Friday, June 27, 2008 12:12 AM Subject: Re: Re: Re: Re: [vchkpw] Problem with maildrop support in vdelivermail Xenosite neemt activiteiten ServingYou over. Bergum, 27 mei 2008. Sinds vandaag continueert Xenosite B.V. de diensten van ServingYou. Deze laatstgenoemde heeft de afgelopen relatief vele hardware problemen meegemaakt waardoor de uptime in gevaar kwam. Mede-eigenaar Kim Hoogenberg kon op korte termijn geen definitieve oplossing kunnen vinden voor het probleem en heeft besloten de activiteiten over te dragen. Hoogenberg: "De hoofdzaak was het on-line brengen van de diensten." Technisch directeur Tudor Capatina van Xenosite heeft samen met zijn team op zondagochtend 26 mei de problemen verholpen en de websites draaien sinds 05:00. "Ruim 10 jaar zijn wij actief op de hostingmarkt en hebben in die tijd veel kennis en expertise opgedaan. De diensten continueren is voor ons kinderspel" aldus Jacob Boskma, algemeen directeur van Xenosite. Mochten klanten vragen hebben over de continuering van de diensten door Xenosite dan kan er gebeld worden met 0511 - 481670. Aangezien de hoogste prioriteit ligt op het technisch vlak (de websites en e-mailfaciliteiten in de lucht houden) zullen de klanten van ServingYou binnenkort op de hoogte worden gebracht. Over Xenosite Xenosite is dé provider op het gebied van internettoegang, security oplossingen, VPN en hosting. Voor alles op het gebied van ADSL, SDSL, VPN, shared- en managed hosting, VPS en domein-registratie bent u bij Xenosite aan het juist adres. Xenosite: provider in stabiliteit http://www.xenosite.net/servingyou.asp !DSPAM:4863c24932351824118338!
Re: [vchkpw] vhostadmin problem (KMM6374095I87L0KM)
Just ignore it and delete it. - Original Message - From: "f m" <[EMAIL PROTECTED]> To: Sent: Tuesday, June 17, 2008 11:37 PM Subject: Re: [vchkpw] vhostadmin problem (KMM6374095I87L0KM) Can someone/anyone explain what this email to the list is, and how it might have happened? thanks, ComputekIE On Sun, Jun 15, 2008 at 11:48 AM, Wachovia Service <[EMAIL PROTECTED]> wrote: Dear CUSTOMER, Thank you for contacting Wachovia. This message is in response to your recent communication, which was received on 06/14/2008 and assigned Case ID 28692943. I regret the message we received was unclear. Please send us another secure e-mail with additional information regarding your inquiry. We will be happy to assist you in addressing your concerns when we receive further details. You may also call us at the number listed below for assistance. I sincerely apologize for any inconvenience. If you have additional questions or concerns, please contact us via e-mail or call 800-950-2296. Representatives are available to assist you 24 hours a day, seven days a week. I value your business as a Wachovia customer and look forward to continuing to serve your financial needs. Visit us again at wachovia.com. Note: Wachovia requires the use of secure browsers to protect you while you access our on-line financial services over the Internet. However, information sent by electronic mail cannot utilize the same standards of securing your personal information that secure browsers afford. Therefore, do not send confidential information such as account numbers or social security numbers through e-mail. Sincerely, Latoya H Original Message Excluded: - |1525Wach1525| !DSPAM:4857dd1632351045216281!
Re: [vchkpw] migrating to new server
Hi.. you can use vmoduser -b to bounce all incoming mail vmoduser -s to disable all SMTP auth Optionally you can set the quota to 0 which is a dirty solution, it will also bounce all mail, perhaps the -b flag is better.. For a complete list, just type /home/vpopmail/bin/vmoduser and the help that is printed will help you out. - Wouter - Original Message - From: "Lampa" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 11, 2008 3:36 PM Subject: [vchkpw] migrating to new server Hello, i need move from old server to new one. Problem is while DNS are replicated i need disable whole access to domain (delivering - smtp, pop3, imap). I know that via vpopmail is possbile disable access to imap/pop3. but is possible to disable smtp. In best case i need that smtp returns some error and message will be delivered later (to new mail server) Thank you for help and advices. -- Lampa !DSPAM:484f82a632359290616121!
Re: [vchkpw] Domain wide quotas
Thank you for your reply, Actually i dont want domain quota's to work... its just that now if all popboxes combined hit 50MB, users get messages. I dont want that. I just want to use popbox quota's only, which are now set to 25 MB, but i dont want them influenced also by a domain wide quota somehow. My relevant confiration options were: --enable-domain-quotas=n(but i saw that this was commented out in the source, so this wont have much effect anyway) --enable-hard-quota=y In the vlimits.default file everything that might be relavant is commented out. Domains were created without specifying -q NOQUOTA, perhaps my error lies in there. - Wouter - Original Message - From: "Rainer Duffner" <[EMAIL PROTECTED]> To: Sent: Tuesday, June 10, 2008 9:16 PM Subject: Re: [vchkpw] Domain wide quotas Wouter van der Schagt schrieb: Hi all, Is it possible to disable domain-wide quotas (sum of all popboxes) and just to use popbox quotas ? At the moment i have both. Or do i have to set the domain to NOQUOTA and then configure the popbox individually to have a quota? Sincerely, - Wouter van der Schagt Domain quotas don't work anyway. AFAIK, you need OS quotas to get that to work. But that slows things down. Ideally, you would have a database of domains and quotas where a provisioning system deducts the amounts of diskspace that are given to individual users. Once the domain-quota is used up, it would not allow adding any more quota to any user in that domain. AFAIK, most control-panels with qmail underneath use this way, more or less. cheers, Rainer !DSPAM:484e80d532357934211682!
[vchkpw] Domain wide quotas
Hi all, Is it possible to disable domain-wide quotas (sum of all popboxes) and just to use popbox quotas ? At the moment i have both. Or do i have to set the domain to NOQUOTA and then configure the popbox individually to have a quota? Sincerely, - Wouter van der Schagt !DSPAM:484d2f9032354429838697!
Re: [vchkpw] vsetuserquota
I'm answering this for the archives. I have found a solution. Or actually, im not sure what the solution was. though vaguely, but updating vpopmail from 5.4.0 to 5.4.25 worked wonders - Wouter - Original Message - From: "D. Hilbig" <[EMAIL PROTECTED]> To: Sent: Wednesday, April 23, 2008 12:51 AM Subject: RE: [vchkpw] vsetuserquota Do you have a program other than vdelivermail writing the message to your Maildir? I.E. Did you modify the .qmail-default file or create a custom .qmail file for the user? Whatever program actually writes the message to the Maildir is responsible for updating maildirsize. The qmail maildir++ patch is for qmail-local and qmail-pop3d. If qmail-local is not delivering directly to the Maildir and you aren't using qmail's pop3d, there is no need for the patch. And not that it should affect the updating of maildirsize, but if your maildirsize is as you described below, then it is wrong. Mailbox size is specified in bytes with an appended capital S: 10S 0 0 -----Original Message----- From: Wouter van der Schagt [mailto:[EMAIL PROTECTED] Sent: Monday, April 21, 2008 9:54 AM To: vchkpw@inter7.com Subject: [vchkpw] vsetuserquota Hi all, When i run "vsetuserquota domein.com 100k" a maildirsize file is created in the Maildir of a popbox. So far so good. The contents of this file, is: 100K 0 0 Since there are no messages in the mailbox at the moment, I assume this is correct. The file is set to vpopmail:vchkpw (chmod 600). I'm assuming this is also correct. Now when a mail is delivered there Qmail 1.03, this file is not updated. Why? When I delete an email thru POP, it is also not updated. Why? I applied the qmail-maildir++ patch that is in the /contrib folder of vpopmail 5.4 Dit i forget to do anything? Sincerely, - Wouter van der Schagt !DSPAM:48174ca5120503809751109!
Re: [vchkpw] Qmail Tap tap only incoming mail
Sorry, personally im not familiar with qmail-tap, just thought this could help you. Goodluck in your endavors. - Wouter - Original Message - From: "Andrew Niemantsverdriet" <[EMAIL PROTECTED]> To: Sent: Thursday, April 24, 2008 11:22 PM Subject: Re: [vchkpw] Qmail Tap tap only incoming mail That will not work for this particular migration. They need two separate systems for 6months as they test the new and be able to use the old one at any time. That is why qmail tap looked ideal. On Thu, Apr 24, 2008 at 8:57 AM, Wouter van der Schagt <[EMAIL PROTECTED]> wrote: What i did was... old server - Change TTL values in zonefile to 5 minutes and wait till it is propagated (normally 1 day) - Create domain and popboxes on new server - Copy contents from old server to new server with scp (popboxes) - remove domain and popboxes from old server - Disable pop access on old server (with vmoduser -p domain.com) - change DNS settings and MX records for domains to point to new server - place domainname in /var/qmail/control/morercptshosts on old server so qmail will still accept incoming mail - place domainname:ip_address_of_new server in /var/qmail/control/smtproutes on old server to forward incoming mail to the new server - after dns has propagated remove entries on old server from /var/qmail/control/morercptshosts and /var/qmail/control/smtproutes files. - Change TTL back to normal During a window of 5 minutes its possible clients (users) will try to connect using pop to the old server, just tell them to try again later. - Original Message - From: "Andrew Niemantsverdriet" <[EMAIL PROTECTED]> To: Sent: Thursday, April 24, 2008 10:48 PM Subject: [vchkpw] Qmail Tap tap only incoming mail > Is it possible to make Qmail tap only tap the incoming mail? My > problem is that I am trying to get mail to deliver to two places to > ease the transition to a new mail server. Qmail tap allows that > functionality but breaks down on inter-domain email. The person who > sends it typically gets the mail in the new mail box and the person > receiving it does not get a copy depending on where the names are in > the qmail tap control file. Is there a way to make qmail tap do what > I want it to do or is there a better solution? > > Thanks, > _ > /-\ ndrew > > > > > !DSPAM:4810af1a12050192660!
Re: [vchkpw] Qmail Tap tap only incoming mail
What i did was... old server - Change TTL values in zonefile to 5 minutes and wait till it is propagated (normally 1 day) - Create domain and popboxes on new server - Copy contents from old server to new server with scp (popboxes) - remove domain and popboxes from old server - Disable pop access on old server (with vmoduser -p domain.com) - change DNS settings and MX records for domains to point to new server - place domainname in /var/qmail/control/morercptshosts on old server so qmail will still accept incoming mail - place domainname:ip_address_of_new server in /var/qmail/control/smtproutes on old server to forward incoming mail to the new server - after dns has propagated remove entries on old server from /var/qmail/control/morercptshosts and /var/qmail/control/smtproutes files. - Change TTL back to normal During a window of 5 minutes its possible clients (users) will try to connect using pop to the old server, just tell them to try again later. - Original Message - From: "Andrew Niemantsverdriet" <[EMAIL PROTECTED]> To: Sent: Thursday, April 24, 2008 10:48 PM Subject: [vchkpw] Qmail Tap tap only incoming mail Is it possible to make Qmail tap only tap the incoming mail? My problem is that I am trying to get mail to deliver to two places to ease the transition to a new mail server. Qmail tap allows that functionality but breaks down on inter-domain email. The person who sends it typically gets the mail in the new mail box and the person receiving it does not get a copy depending on where the names are in the qmail tap control file. Is there a way to make qmail tap do what I want it to do or is there a better solution? Thanks, _ /-\ ndrew !DSPAM:48109ffb120509988676439!
Re: [vchkpw] vsetuserquota
Thank you for your response, in answer to your questions. Do you have a program other than vdelivermail writing the message to your Maildir No, just using qmail + vpopmail installation, here's an example .qmail-default line (.qmail files are similar): contains the domainname. | /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains//postmaster The qmail maildir++ patch is for qmail-local and qmail-pop3d. If qmail-local is not delivering directly to the Maildir and you aren't using qmail's pop3d, there is no need for the patch. I'm using qmail's pop3d And not that it should affect the updating of maildirsize, but if your maildirsize is as you described below, then it is wrong. Mailbox size is specified in bytes with an appended capital S: 10S 0 0 I executed it as such: vsetuserquota 100k It didnt return an errormessage..should i specify it otherwise? am running vpopmail 5.4.0 at the moment. Sincerely, - Wouter van der Schagt !DSPAM:480e1b20120506677283926!
Re: [vchkpw] Enable / disable pop access
Just for future reference for others. I modified vmoduser.c. Basically you change the |= to ^=, of course this is not the desired behaviour, but perhaps it can help others. Ideally there are seperate flags (perhaps capitalized) that will turn the respective flags on and off. If i've time i will look into this. Line 84 and Line 110 was: if ( GidFlag != 0 ) mypw->pw_gid |= GidFlag; Change to: if ( GidFlag != 0 ) mypw->pw_gid ^= GidFlag; the flags now flip. it will set if unset and unset if set. - Wouter - Original Message - From: "Tom Collins" <[EMAIL PROTECTED]> To: Sent: Tuesday, April 22, 2008 1:55 PM Subject: Re: [vchkpw] Enable / disable pop access On Apr 17, 2008, at 10:39 AM, Wouter van der Schagt wrote: Hi all, i have a question. I know with moduser -p domain.com i can disable pop access. And i know with -x i can clear all bits and enable it again. However i dont want to clear all bits.. i just want to flip the -p bit. Any ideas? - Wouter Unfortunately, no easy way. Some time ago, the developers had discussed different options (using + and - before each flag to set and clear), but nothing ever came of it. Having checkboxes in QmailAdmin would be a nice way to handle it as well, if someone had some time to add it. -Tom !DSPAM:480d9558120502199180232!
[vchkpw] vsetuserquota
Hi all, When i run "vsetuserquota domein.com 100k" a maildirsize file is created in the Maildir of a popbox. So far so good. The contents of this file, is: 100K 0 0 Since there are no messages in the mailbox at the moment, I assume this is correct. The file is set to vpopmail:vchkpw (chmod 600). I'm assuming this is also correct. Now when a mail is delivered there Qmail 1.03, this file is not updated. Why? When I delete an email thru POP, it is also not updated. Why? I applied the qmail-maildir++ patch that is in the /contrib folder of vpopmail 5.4 Dit i forget to do anything? Sincerely, - Wouter van der Schagt !DSPAM:480cc6a8120509167112773!
[vchkpw] rcpthosts file
Hi all, it's me again, i've another question. Can i update the rcpthosts file manually without running the risk that vpopmail will update and overwrite it when some changes are made by other users? Or can i include my manual changes in some kind of include file? - Wouter !DSPAM:48086dd712050511941!
[vchkpw] Enable / disable pop access
Hi all, i have a question. I know with moduser -p domain.com i can disable pop access. And i know with -x i can clear all bits and enable it again. However i dont want to clear all bits.. i just want to flip the -p bit. Any ideas? - Wouter !DSPAM:48078b65120501147392490!
Re: [vchkpw] SMTP Authenticaton
Hi, Thank you for your suggestions. I have implemented it in the same way you have seems to work now :) Thanks again and have a nice weekend. - Wouter - Original Message - From: "Tonix (Antonio Nati)" <[EMAIL PROTECTED]> To: Sent: Thursday, April 10, 2008 4:56 PM Subject: Re: [vchkpw] SMTP Authenticaton Tonix (Antonio Nati) ha scritto: I guess you use vpopmail. Sorry for the stupid deduction, I confused this mailing list with the general qmail mailing list :-). Tonino If you use chkuser patch (on for qmail/vpopmail), or Shupp's toaster which includes chkuser, you can force a server to accept only authenticated sessions. So, you can set up a dedicated port (like the submission port) or a dedicated IP only for this purpose. See http://www.interazioni.it/opensource/chkuser/ for more details. Tonino Wouter van der Schagt ha scritto: My apologies, you already mentioned it.. by firewall restriction. Another question.. spammers could still connect if they knew they were supposed to connect to port 587 am i correct? Or did you find a way around this as well? Thanks - Wouter - Original Message - From: "Alastair Battrick" <[EMAIL PROTECTED]> To: Sent: Thursday, April 10, 2008 4:39 PM Subject: Re: [vchkpw] SMTP Authenticaton Wouter van der Schagt wrote: An option for us to setup a different server that only handles smtp functionality for our client, however the problem then is that a domain needs to exist on two servers. one for the popbox and one for smtp authentication to work. Or is it possible for the vpopmail to connect to the database on the other mailserver for authentication or would that be too slow? Does anybody have any other suggestions perhaps? Hi Wouter I ran into this same problem. I got around it by creating a SMTP submission port that accepts SMTP Auth emails into the server on port 587. Port 25 only accepts messages from our spam appliance by firewall restriction. Each mail client has to be set to use port 587 and SMTP Auth of course. -- Alastair Battrick -- [EMAIL PROTECTED]Interazioni di Antonio Nati http://www.interazioni.it @interazioni.it !DSPAM:480049af120505079216012!
Re: [vchkpw] SMTP Authenticaton
My apologies, you already mentioned it.. by firewall restriction. Another question.. spammers could still connect if they knew they were supposed to connect to port 587 am i correct? Or did you find a way around this as well? Thanks - Wouter - Original Message - From: "Alastair Battrick" <[EMAIL PROTECTED]> To: Sent: Thursday, April 10, 2008 4:39 PM Subject: Re: [vchkpw] SMTP Authenticaton Wouter van der Schagt wrote: An option for us to setup a different server that only handles smtp functionality for our client, however the problem then is that a domain needs to exist on two servers. one for the popbox and one for smtp authentication to work. Or is it possible for the vpopmail to connect to the database on the other mailserver for authentication or would that be too slow? Does anybody have any other suggestions perhaps? Hi Wouter I ran into this same problem. I got around it by creating a SMTP submission port that accepts SMTP Auth emails into the server on port 587. Port 25 only accepts messages from our spam appliance by firewall restriction. Each mail client has to be set to use port 587 and SMTP Auth of course. -- Alastair Battrick !DSPAM:47fdd469120501275178592!
Re: [vchkpw] SMTP Authenticaton
Thanks for your reply, how did you configure tcpserver to be selective on the ports? Or what did you put in the /etc/tcp.smtp file? = Wouter - Original Message - From: "Alastair Battrick" <[EMAIL PROTECTED]> To: Sent: Thursday, April 10, 2008 4:39 PM Subject: Re: [vchkpw] SMTP Authenticaton Wouter van der Schagt wrote: An option for us to setup a different server that only handles smtp functionality for our client, however the problem then is that a domain needs to exist on two servers. one for the popbox and one for smtp authentication to work. Or is it possible for the vpopmail to connect to the database on the other mailserver for authentication or would that be too slow? Does anybody have any other suggestions perhaps? Hi Wouter I ran into this same problem. I got around it by creating a SMTP submission port that accepts SMTP Auth emails into the server on port 587. Port 25 only accepts messages from our spam appliance by firewall restriction. Each mail client has to be set to use port 587 and SMTP Auth of course. -- Alastair Battrick !DSPAM:47fdd38d120501382840492!
[vchkpw] SMTP Authenticaton
Dear all, I have a question. We have a mailserver that only accepts incoming SMTP connections from our anti-spam appliances. So far so good, this is done at the tcpserver level. So default is :deny. Our clients, however also need SMTP functionality so we've set up the same server with SMTP Authentication, however that wont work, since by default all connections other than those from the Barracuda are blocked. We experimented with pop before smtp, but those results are not satisfactory either. The reason we block by default is that sooner or later spammers connect to the server directly rendering the anti-spam appliances completely useless. (or at the very least ineffective) An option for us to setup a different server that only handles smtp functionality for our client, however the problem then is that a domain needs to exist on two servers. one for the popbox and one for smtp authentication to work. Or is it possible for the vpopmail to connect to the database on the other mailserver for authentication or would that be too slow? Does anybody have any other suggestions perhaps? Thanks, Sincerely, - Wouter van der Schagt !DSPAM:47fdd050120507919821043!
RE: [vchkpw] vlimits question
Thanks for the reply, that's very useful, another question. We're currently managing around 7000 popboxes and most domains Are in /1 /2 /A directories. Is it possible to do a du -sm * On all and sort the output, or is there a similar command In vpopmail that sorts the actual size of the popboxes (the Size that's currently being used on the HD?). Sincerely, Wouter -Original Message- From: Rick Macdougall [mailto:[EMAIL PROTECTED] Sent: 07 November 2006 01:39 To: vchkpw@inter7.com Subject: Re: [vchkpw] vlimits question Wouter van der Schagt wrote: > Guys, I have a few questions > > > > - Does modifying vlimits.default file require a recompile? No but existing accounts will not have their limits changed. > - How to change all quota's from all popboxes? vmoduser -q 20M domain.com If you have multiple domains use a bash script for domain in `cut -d ":" /var/qmail/users/assign -f 2 | sort | uniq | egrep -v "^\."; do vmoduser -q 20M $domain; done; > - Is there an Easy way to determine size of popboxen (list all) > Again a bash script but vpopbull and vdominfo are not giving me what I want. I'll let someone else add the domain name. for domain in `cut -d ":" /var/qmail/users/assign -f 2 | sort | uniq | egrep -v "^\."`;do vuserinfo -nQ -D $domain; done; HTH, Rick !DSPAM:455199f027418857518094!
[vchkpw] vlimits question
Guys, I have a few questions - Does modifying vlimits.default file require a recompile? - How to change all quota's from all popboxes? - Is there an Easy way to determine size of popboxen (list all) Sincerely, Steven
Re: [vchkpw] How expensive is reloading the tcp.smtp.cdb?
I think his question was more on if reloading has any effect on running processes from qmail, rather than the reloading itself. Our mailserver is pretty busy and we reload it regularly without any problems. However we have less lines in the tcp.smtp file. - Original Message - From: "Steve Cole" <[EMAIL PROTECTED]> To: Sent: Thursday, October 27, 2005 12:27 AM Subject: Re: [vchkpw] How expensive is reloading the tcp.smtp.cdb? ISP Lists wrote: Related to my earlier post, how expensive is it - resource-wise - to reload a tcp.smtp file of 100-1000 lines? If it becomes expensive, you can use the SQL patch and do it with SQL. There's no hit at all to adding or removing items in that case (may be some with SQL, but I haven't had any performance issues, and after all, checkuser + vpopmail would both be using SQL in the first place).
Re: [vchkpw] Sporadic mail auth failures
Perhaps the problem isn't related to vpopmail. What daemon are you using? qmail i assume ? did you apply any patches concerning qmail-pop3d ? I had a conflict once with the logging patch for example. Causing disconnections all the time. - Original Message - From: "David Erickson" <[EMAIL PROTECTED]> To: Sent: Monday, August 22, 2005 3:58 PM Subject: RE: [vchkpw] Sporadic mail auth failures > And so after having no problems all yesterday afternoon, what is the first > thing that system does this morning when I login? Fail to auth, twice. > Someone ahead of me failed then I failed. Checked connections, 14/100. 10 > Authdaemon processes running... no mysql errors reported... sigh. Any other > ideas? :) It boggles me because this is server is hardly even used. > > I'm going to attach the printout of my status and vars from mysql, if anyone > sees anything wrong with whats in there please let me know. > > Thanks > -David > > > -Original Message- > > From: David Erickson [mailto:[EMAIL PROTECTED] > > Sent: Sunday, August 21, 2005 12:32 PM > > To: vchkpw@inter7.com > > Subject: RE: [vchkpw] Sporadic mail auth failures > > > > Yes, max connections are set to 100, and it reported the max ever used was > > 9.. (since I restarted it early this morning).. but ive had problems since > > then so that leads me to believe connections isn't the problem. > > > > -David > > > > > -Original Message- > > > From: Roman Volf [mailto:[EMAIL PROTECTED] > > > Sent: Sunday, August 21, 2005 12:28 PM > > > To: vchkpw@inter7.com > > > Subject: Re: [vchkpw] Sporadic mail auth failures > > > > > > David Erickson wrote: > > > > > > >Ok I repaired the database files, (just said clients were using them or > > > they > > > >weren't closed properly, so I shutdown mysql and ran it with -r > > anyway). > > > >Also increased the authdaemonrc processes from 5 to 10. Time to let it > > > run > > > >for awhile and see what happens. Also the db is local so shouldn't > > > >encounter network latency. > > > > > > > >-David > > > > > > > > > > > > > > > >>-Original Message- > > > >>From: Wouter van der Schagt [mailto:[EMAIL PROTECTED] > > > >>Sent: Sunday, August 21, 2005 12:24 PM > > > >>To: vchkpw@inter7.com > > > >>Subject: Re: [vchkpw] Sporadic mail auth failures > > > >> > > > >>Another time i had this problem was when the database to be > > > authenticated > > > >>against wasn't the localhost. If the network was clogged up (long ping > > > >>replies can check this), i would have such failures. > > > >> > > > >>- Original Message - > > > >>From: "Jason S" <[EMAIL PROTECTED]> > > > >>To: > > > >>Sent: Sunday, August 21, 2005 7:51 PM > > > >>Subject: Re: [vchkpw] Sporadic mail auth failures > > > >> > > > >> > > > >>On 8/21/05, Wouter van der Schagt <[EMAIL PROTECTED]> wrote: > > > >> > > > >> > > > >>>I had this problem when my database was corrupt. You can check this > > > >>>with > > > >>> > > > >>>cd /var/lib/mysql/vpopmail > > > >>>myisamchk *.MYI > > > >>> > > > >>>if any is corrupt, just add -r > > > >>> > > > >>> > > > >>>- Original Message - > > > >>>From: "David Erickson" <[EMAIL PROTECTED]> > > > >>>To: > > > >>>Sent: Sunday, August 21, 2005 6:34 PM > > > >>>Subject: [vchkpw] Sporadic mail auth failures > > > >>> > > > >>> > > > >>> > > > >>> > > > >>>>Hi we've been battling a very strange problem with our server for > > > >>>> > > > >>>> > > > >>awhile > > > >> > > > >> > > > >>>>now. Periodically when a user tries to send mail (using smtp auth), > > > >>>> > > > >>>> > > > >>or > > > >> > > > >> > > > >>>>check his/her pop3 box, we get auth failures. What happens is youll > > > >>>> > > >
Re: [vchkpw] Sporadic mail auth failures
Another time i had this problem was when the database to be authenticated against wasn't the localhost. If the network was clogged up (long ping replies can check this), i would have such failures. - Original Message - From: "Jason S" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 21, 2005 7:51 PM Subject: Re: [vchkpw] Sporadic mail auth failures On 8/21/05, Wouter van der Schagt <[EMAIL PROTECTED]> wrote: > I had this problem when my database was corrupt. You can check this > with > > cd /var/lib/mysql/vpopmail > myisamchk *.MYI > > if any is corrupt, just add -r > > > - Original Message - > From: "David Erickson" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, August 21, 2005 6:34 PM > Subject: [vchkpw] Sporadic mail auth failures > > > > Hi we've been battling a very strange problem with our server for awhile > > now. Periodically when a user tries to send mail (using smtp auth), or > > check his/her pop3 box, we get auth failures. What happens is youll have > to > > auth 3-4 times before it'll actually go through (even though you are > > entering the same credentials every time). It is very frustrating. Upon > > examining the logs here is what we are getting: > > > > Aug 21 10:08:04 mail authdaemond: vmysql: sql error[3]: Lost connection to > > MySQL server during query > > > > Now I know the username/pw work to connect to the database because it does > > eventually auth. The mysql server is on the same machine as well. > Anybody > > have any ideas what this could be indicative of? > > > > Mysql server 4.1.8 > > Vpopmail 5.4.10 > > > > > > Thanks, > > David > > > > > > I don't use authdaemon, but I saw something on google in the authdaemonrc file about not having enough authdaemon child processes causing intermittent auth failures...something to check -- Jason [EMAIL PROTECTED]
Re: [vchkpw] Sporadic mail auth failures
I had this problem when my database was corrupt. You can check this with cd /var/lib/mysql/vpopmail myisamchk *.MYI if any is corrupt, just add -r - Original Message - From: "David Erickson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 21, 2005 6:34 PM Subject: [vchkpw] Sporadic mail auth failures > Hi we've been battling a very strange problem with our server for awhile > now. Periodically when a user tries to send mail (using smtp auth), or > check his/her pop3 box, we get auth failures. What happens is youll have to > auth 3-4 times before it'll actually go through (even though you are > entering the same credentials every time). It is very frustrating. Upon > examining the logs here is what we are getting: > > Aug 21 10:08:04 mail authdaemond: vmysql: sql error[3]: Lost connection to > MySQL server during query > > Now I know the username/pw work to connect to the database because it does > eventually auth. The mysql server is on the same machine as well. Anybody > have any ideas what this could be indicative of? > > Mysql server 4.1.8 > Vpopmail 5.4.10 > > > Thanks, > David > >
Re: [vchkpw] Re: POP not working.. am at a loss
The problems was a compiled qmail-pop3d+vpopmail.c.diff patch I found it by comparing the strace output of the test server and the production server and noticing a systemcall to getpid which wasn't happening on the production server. I grepped for it in the sources of qmail and noticed a patch was applied. I reversed the patch (in this case for pop3 traffic logging) and recompiled. This time, everything is working as it should. Thanks to all that helped isolating this problem - Steven
Re: [vchkpw] Re: POP not working.. am at a loss
Thanks for the command of the strace utility, below is the output (a bit long, sorry for the long paste): 6682 20:33:32 select(1, [0], NULL, NULL, {1043, 8}) = 1 (in [0], left {1036, 20}) <6.876661> 6682 20:33:39 read(0, "user [EMAIL PROTECTED]", 128) = 30 <0.53> 6682 20:33:39 select(2, NULL, [1], NULL, {1200, 0}) = 1 (out [1], left {1200, 0}) <0.50> 6682 20:33:39 write(1, "+OK \r\n", 6) = 6 <0.000428> 6682 20:33:39 select(1, [0], NULL, NULL, {1200, 0}) = 1 (in [0], left {1198, 59}) <1.408510> 6682 20:33:41 read(0, "pass test\r\n", 128) = 11 <0.45> 6682 20:33:41 fcntl64(1, F_GETFL) = 0x1 (flags O_WRONLY) <0.35> 6682 20:33:41 close(2) = 0 <0.51> 6682 20:33:41 fcntl64(1, F_DUPFD, 2) = 2 <0.34> 6682 20:33:41 close(3) = -1 EBADF (Bad file descriptor) <0.32> 6682 20:33:41 pipe([3, 4]) = 0 <0.98> 6682 20:33:41 fork() = 6723 <0.000670> 6723 20:33:41 --- SIGSTOP (Stopped (signal)) @ 0 (0) --- 6723 20:33:41 close(4) = 0 <0.000915> 6723 20:33:41 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0 <0.38> 6723 20:33:41 execve("/home/vpopmail/bin/vchkpw", ["/home/vpopmail/bin/vchkpw", "/var/qmail/bin/qmail-pop3d", "Maildir"], [/* 9 vars */]) = 0 <0.000577> 6723 20:33:41 uname({sys="Linux", node="demo-01.prepaidwebhost.nl", ...}) = 0 <0.29> 6723 20:33:41 brk(0) = 0x805d96c <0.29> 6723 20:33:41 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 <0.38> 6723 20:33:41 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) <0.78> 6723 20:33:41 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) <0.44> 6723 20:33:41 open("/etc/ld.so.cache", O_RDONLY) = 4 <0.45> 6723 20:33:41 fstat64(4, {st_mode=S_IFREG|0644, st_size=12183, ...}) = 0 <0.36> 6723 20:33:41 old_mmap(NULL, 12183, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40018000 <0.49> 6723 20:33:41 close(4) = 0 <0.000901> 6723 20:33:41 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) <0.37> 6723 20:33:41 open("/usr/lib/libmysqlclient.so.12", O_RDONLY) = 4 <0.75> 6723 20:33:41 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\217\0\0004\0\0\0\360\26 3\3\0\0\0\0\0004\0 \0\5\0(\0\27\0\26\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\fL\2\0\fL\2\0\5\0\0\0\0\ 20\0\0\1\0\0\0\0P\2\0\0P\2\0\0P\2\0004c\1\0\300\212\1\0\6\0\0\0\0\20\0\0\2\0 "..., 512) = 512 <0.38> 6723 20:33:41 fstat64(4, {st_mode=S_IFREG|0644, st_size=243592, ...}) = 0 <0.27> 6723 20:33:41 old_mmap(NULL, 252608, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4001b000 <0.28> 6723 20:33:41 old_mmap(0x4004, 94208, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x25000) = 0x4004 <0.42> 6723 20:33:41 old_mmap(0x40057000, 6848, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40057000 <0.38> 6723 20:33:41 close(4) = 0 <0.25> 6723 20:33:41 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) <0.37> 6723 20:33:41 open("/usr/lib/libz.so.1", O_RDONLY) = 4 <0.50> 6723 20:33:41 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\27\0\0004\0\0\0\34\4\1\ 0\0\0\0\0004\0 \0\4\0(\0\26\0\25\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\240\0\1\0\240\0\1\0\5\0\ 0\0\0\20\0\0\1\0\0\0\240\0\1\0\240\20\1\0\240\20\1\0\334\2\0\0\340\2\0\0\6\0 \0\0"..., 512) = 512 <0.32> 6723 20:33:41 fstat64(4, {st_mode=S_IFREG|0644, st_size=67468, ...}) = 0 <0.26> 6723 20:33:41 old_mmap(NULL, 70528, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40059000 <0.34> 6723 20:33:41 old_mmap(0x4006a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x1) = 0x4006a000 <0.35> 6723 20:33:41 close(4) = 0 <0.29> 6723 20:33:41 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) <0.36> 6723 20:33:41 open("/lib/libcrypt.so.1", O_RDONLY) = 4 <0.005914> 6723 20:33:41 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\n\0\0004\0\0\0LE\0\0\0\0\ 0\0004\0 \0\7\0(\0\32\0\31\0\6\0\0\0004\0\0\0004\0\0\0004\0\0\0\340\0\0\0\340\0\0\0\5 \0\0\0\4\0\0\0\3\0\0\0\343B\0\0\343B\0\0\343B\0\0\23\0\0\0\23\0\0\0\4\0\0\0\ 1\0\0\0\1\0"..., 512) = 512 <0.45> 6723 20:33:41 fstat64(4, {st_mode=S_IFREG|0644, st_size=18780, ...}) = 0 <0.27> 6723 20:33:41 old_mmap(NULL, 181596, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4006b000 <0.29> 6723 20:33:41 old_mmap(0x4007, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x4000) = 0x4007 <0.35> 6723 20:33:41 old_mmap(0x40071000, 157020, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40071000 <0.38> 6723 20:33:41 close(4) = 0 <0.25> 6723 20:33:41 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) <0.37> 6723 20:33:41 open("/lib/libc.so.6", O_RD
Re: [vchkpw] POP not working.. am at a loss
I noticed it also, it was a mistake, a changed the run file, and ran the trace the recordio log is: 400042fb8f491ec572f4 6402 > +OK 400042fb8f5413c04c1c 6402 < pass test @400042fb8f541557208c tcpserver: end 6402 status 256 @400042fb8f5415573414 tcpserver: status: 0/40 @400042fb8f5415585524 6402 > [EOF] TCPServer status 256, i think means exit, but i have no idea why. The output from the strace is: (after the password) send(3, "pass test\r\n", 11, 0) = 11 select(4, [0 3], [], [3], {0, 0}) = 0 (Timeout) select(4, [0 3], [], [3], NULL) = 1 (in [3]) recv(3, "", 8137, 0)= 0 rt_sigaction(SIGTSTP, {SIG_DFL}, {0x8052290, [TSTP], SA_RESTORER|SA_RESTART, 0x401696f8}, 8) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, FIONBIO, [0]) = 0 ioctl(1, FIONBIO, [0]) = 0 close(3)= 0 rt_sigaction(SIGTSTP, {0x8052290, [TSTP], SA_RESTORER|SA_RESTART, 0x401696f8}, {SIG_DFL}, 8) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, FIONBIO, [1]) = 0 ioctl(1, FIONBIO, [1]) = 0 select(2, NULL, [1], NULL, NULL)= 1 (out [1]) rt_sigaction(SIGTSTP, {SIG_DFL}, {0x8052290, [TSTP], SA_RESTORER|SA_RESTART, 0x401696f8}, 8) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, FIONBIO, [0]) = 0 ioctl(1, FIONBIO, [0]) = 0 rt_sigaction(SIGTSTP, {0x8052290, [TSTP], SA_RESTORER|SA_RESTART, 0x401696f8}, {SIG_DFL}, 8) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, FIONBIO, [1]) = 0 ioctl(1, FIONBIO, [1]) = 0 select(2, NULL, [1], NULL, NULL)= 1 (out [1]) rt_sigaction(SIGTSTP, {SIG_DFL}, {0x8052290, [TSTP], SA_RESTORER|SA_RESTART, 0x401696f8}, 8) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, FIONBIO, [0]) = 0 ioctl(1, FIONBIO, [0]) = 0 write(2, "Connection closed by foreign hos"..., 35) = 35 close(-1) = -1 EBADF (Bad file descriptor) munmap(0x40018000, 4096)= 0 exit_group(1) = ? Process 6401 detached Any ideas ? I have no idea what to make of this output - Steven
Re: [vchkpw] POP not working.. am at a loss
I changed /service/qmail-pop3d/run to: #!/bin/sh exec /usr/local/bin/softlimit -m 4000 \ /usr/local/bin/tcpserver -v -R -H -l 0 0 110 \ recordio \ /usr/local/bin/recordio /var/qmail/bin/qmail-popup \ `hostname` /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2&>1 And when i do "telnet localhost 110" and enter username and password i dont see any output of recordio. I have also tried removing the 2&>1 in the end, but to no avail. - Steven
Re: [vchkpw] POP not working.. am at a loss
I added a 0, making it 40mb for a softlimit, unfortunately it didn't make a difference. Removing it completely also didnt make a difference. I can execute other vpopmail commands, they wont return any error message so i know the database connection is working properly. - Original Message - From: "Rick Macdougall" <[EMAIL PROTECTED]> To: Sent: Thursday, August 11, 2005 5:02 PM Subject: Re: [vchkpw] POP not working.. am at a loss > Wouter van der Schagt wrote: > > >Good afternoon, I have the following problem > > > >I am runing Qmail + VPopmail On Debian Sarge with kernel 2.4.27 > > > >When I do "telnet localhost 110" I get a prompt, but when I enter a correct > >username / password combination, i get: > > > >USER > >OK > >PASS > >Connection closed by foreign host. > > > >When I enter a false combination, I get an error message. I have enabled > >verbose logging in vpopmail and get all authentication attempts and can > >see they are succesful, so im assuming vpopmail is doing its job. > > > >When I look at my /service/qmail-pop3d/run script: > >#!/bin/sh > >exec /usr/local/bin/softlimit -m 400 \ > >/usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \ > >`hostname` /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1 > > > > > >Where i also didnt see anything wrong. I have checked permissions with my > >production servers which are running the same installation and they all > >appear the same. > > > >Both hosts.deny and hosts.allow don't contain anythning > > > >Any ideas what i can do to get my pop working ? > > > > > Hi, > > For fun try removing the softlimit (or really increase it) and see what > happens. > > Mine is the same as yours except I have no softlimit and I run it as > user root, group root (-u 0 -g 0, because I have separate users for some > domains with system quotas) > > Regards, > > Rick > >
[vchkpw] POP not working.. am at a loss
Good afternoon, I have the following problem I am runing Qmail + VPopmail On Debian Sarge with kernel 2.4.27 When I do "telnet localhost 110" I get a prompt, but when I enter a correct username / password combination, i get: USER OK PASS Connection closed by foreign host. When I enter a false combination, I get an error message. I have enabled verbose logging in vpopmail and get all authentication attempts and can see they are succesful, so im assuming vpopmail is doing its job. When I look at my /service/qmail-pop3d/run script: #!/bin/shexec /usr/local/bin/softlimit -m 400 \ /usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \ `hostname` /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1 I'm guessing something is not passed correctly from vchkpw to qmail-pop3d but i have no idea what. The output of "netstat -ap | grep pop3" is: tcp 0 0 *:pop3 *:* LISTEN 5455/tcpserver which is, i think as it should be. The relevant section of pstree is ├─svscanboot,1001 /command/svscanboot │ └─svscan,1004 /service │ ├─supervise,1006 qmail-send │ │ └─qmail-send,5445,qmails │ │ ├─qmail-clean,5463,qmailq │ │ ├─qmail-lspawn,5459,root ./Maildir/ │ │ └─qmail-rspawn,5460,qmailr │ ├─supervise,1007 log │ │ └─multilog,5446,qmaill t s250 n10 /var/log/qmail │ ├─supervise,1014 qmail-smtpd │ │ └─tcpserver,5450,qmaild -v -R -l [MYHOSTNAME] -x /etc/tcp.smtp.cdb -c 20 ... │ ├─supervise,1015 log │ │ └─multilog,5452,qmaill t s250 n10 /var/log/qmail/smtpd │ ├─supervise,4332 qmail-pop3d │ │ └─tcpserver,5455 -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup ... │ └─supervise,4333 log │ └─multilog,5457,qmaill t s250 n10 /var/log/qmail/pop3d Where i also didnt see anything wrong. I have checked permissions with my production servers which are running the same installation and they all appear the same. Both hosts.deny and hosts.allow don't contain anythning Any ideas what i can do to get my pop working ? - Steven