Re: [vchkpw] vpopmail without mysql
That information is stored in a file named vpasswd which lives in the root folder of the domain. For example, ~/vpopmail/domains/yourdomain/vpasswd It uses a similar format to /etc/passwd. Trey Nolen On 05/20/2011 11:26 PM, Salman Riaz wrote: Dear Team, I am installing Qmail without mysql. I want to know where user information will be stored as well as passwords.. Regards, Salman... !DSPAM:4dd7aeb132715493464143!
[vchkpw] TLS/SSL pop3
This question kind of touches several projects, but I thought I'd try here first. We have vpopmail with dovecot doing IMAP and qmail-pop3d doing POP3. We have SSL being handled by sslserver. I'd like to get POP3 going with TLS, as it doesn't seem to be doing that now. Do I need to move to dovecot for POP3 to handle that? Secondly, we have a valid wildcard certificate for our domain (i.e. *.internetpro.net in this case). We created a cert for mail.internetpro.net, our mail server, but it was self signed. Some email clients complain about this once and you can tell them to trust the cert, but many of the complain every time you open the client. We'd *like* to use our wildcard certificate to make it valid, but can't seem to find good instructions on how to do this for either dovecot or (especially) sslserver. Can anyone point me in the right direction? If I should post part or all of this to another list, please let me know. Trey Nolen !DSPAM:4d3f66de32711382822085!
Re: [vchkpw] Re: Trash folder maintenance
Nice. That should fit the bill. Trey Nolen Ryan Anderson wrote: From a cron job, we use find to remove the old files from the Maildir. Eric Shubert wrote: Trey Nolen wrote: In the past, we have been using Sqwebmail to remove email from the Trash folder periodically (by default 7 days). Now, we have migrated to a new server using the new Vpopmail which no longer supports Sqwebmail. We have moved to SquirrelMail for our main webmail interface. I would still like to be able to remove deleted items after 7 days. I have seen the Proon plugin for SquirrelMail, but I believe it is too complex for most users, and it also will not let us specify global defaults. Does anyone out there have a solution they are using? Trey Nolen http://qtp.qmailtoaster.com/trac/browser/etc/cron.hourly/qtp-clean-trash !DSPAM:4b95346f32711720033550!
Re: [vchkpw] Trash folder maintenance
Tom Collins wrote: On Mar 2, 2010, at 3:31 PM, Trey Nolen wrote: In the past, we have been using Sqwebmail to remove email from the Trash folder periodically (by default 7 days). Now, we have migrated to a new server using the new Vpopmail which no longer supports Sqwebmail. We have moved to SquirrelMail for our main webmail interface. I would still like to be able to remove deleted items after 7 days. I have seen the Proon plugin for SquirrelMail, but I believe it is too complex for most users, and it also will not let us specify global defaults. Does anyone out there have a solution they are using? It's a bit of a hack, but here's what I'm doing right now: #!/usr/bin/perl $|++; $days = 60; @globs = ( '*/*/Maildir/.Trash*/{cur,new}', '?/*/*/Maildir/.Trash*/{cur,new}', '*/?/*/Maildir/.Trash*/{cur,new}', '?/*/?/*/Maildir/.Trash*/{cur,new}', '*/*/Maildir/.Deleted Messages*/{cur,new}', '?/*/*/Maildir/.Deleted Messages*/{cur,new}', '*/?/*/Maildir/.Deleted Messages*/{cur,new}', '?/*/?/*/Maildir/.Deleted Messages*/{cur,new}' ); $c = 0; print Deleting mail in .Trash and .Deleted Messages folders, over $days days old.\n; foreach $path (@globs) { while ($name = glob ('/home/vpopmail/domains/' . $path)) { opendir (D, $name); while ($f = readdir(D)) { # skip non-files next if (! -f $name/$f); $t = -M $name/$f; if ($t $days) { unlink $name/$f; $c++; } } } } print Deleted $c messages over $days days old\n; -Tom Cool. I'll give it a try. Thanks! Trey Nolen !DSPAM:4b945f4032711087518585!
[vchkpw] Trash folder maintenance
In the past, we have been using Sqwebmail to remove email from the Trash folder periodically (by default 7 days). Now, we have migrated to a new server using the new Vpopmail which no longer supports Sqwebmail. We have moved to SquirrelMail for our main webmail interface. I would still like to be able to remove deleted items after 7 days. I have seen the Proon plugin for SquirrelMail, but I believe it is too complex for most users, and it also will not let us specify global defaults. Does anyone out there have a solution they are using? Trey Nolen !DSPAM:4b8d9fe432715733244804!
[vchkpw] pop before smtp
We have just migrated to a new email server and are seeing a couple of issues. The first of which seems to be affecting people that still use POP before SMTP. We are fixing the issue for them as they call by moving them to SMTP-AUTH, which is preferred anyway, but I'd like for the POP before SMTP to work to at least cut down on our calls. First, it does seem to work sometimes, so it is kind of weird. We are moving from Vpopmail 5.4.10 to 5.4.30. On the old server, the open-smtp file is owned by vpopmail:vchkpw. On the new server, it is root:root. The new server does not seem to update open-smtp.lock at all. Some users are experiencing 5.4.4 errors before we switch them to SMTP-AUTH. I have searched through the archives and found some mention of Courier making the open-smtp file owned by root, but we are using Dovecot (1.2.9). I'm not even sure if Dovecot supports the open-smtp. We were using Dovecot on the old server, but never had any complaints about it. If anyone has any ideas, I'd appreciate it. Trey Nolen !DSPAM:4b8c0a6432711772913596!
[vchkpw] sqwebmail and vpopmail
We are currently building a new mail server and migrating from an existing one. I know there has been some issues with Courier and Vpopmail as far as authentication goes and that Courier has dropped support for Vpopmail. Our old server still has Sqwebmail as one of the web interfaces. In order to smooth the transition, I had planned on including Sqwebmail on the new one. However, we are upgrading our Vpopmail and are using Dovecot (we migrated to Dovecot from Courier on the old one too). So, my question is that since we are upgrading our Vpopmail, can I download the current Courier authentication library (0.63.0) and use it for Sqwebmail? Or is Sqwebmail just not supported with Vpopmail anymore because of the authentication issues? I can drop it if necessary and migrate our users to one of our newer interfaces, but I just wanted to keep it around if I could for those users who don't like change. Thanks. Trey Nolen !DSPAM:4b563af932711879134181!
Re: [vchkpw] sqwebmail and vpopmail
Matt Brookings wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Trey Nolen wrote: We are currently building a new mail server and migrating from an existing one. I know there has been some issues with Courier and Vpopmail as far as authentication goes and that Courier has dropped support for Vpopmail. Our old server still has Sqwebmail as one of the web interfaces. In order to smooth the transition, I had planned on including Sqwebmail on the new one. However, we are upgrading our Vpopmail and are using Dovecot (we migrated to Dovecot from Courier on the old one too). So, my question is that since we are upgrading our Vpopmail, can I download the current Courier authentication library (0.63.0) and use it for Sqwebmail? Or is Sqwebmail just not supported with Vpopmail anymore because of the authentication issues? I can drop it if necessary and migrate our users to one of our newer interfaces, but I just wanted to keep it around if I could for those users who don't like change. Courier has dropped support for vpopmail because they want to focus on their own MTA, is my understanding. As a result, vpopmail has dropped support for Courier. I would recommend SquirrelMail/Nutsmail or Roundcube talking to Dovecot. Both interfaces are far superior to SqWebmail in every way. - -- Yes, those are the other two we use. However, our customers are able to setup filters using the Sqwebmail interface currently. Is there any replacement solution if we do away with Sqwebmail? Trey Nolen !DSPAM:4b56578e32716233820796!
Re: [vchkpw] sqwebmail and vpopmail
Craig Green wrote: On 2010-01-19 6:13 PM, Remo Mattei wrote: One thing I like about sqwebmail is that you can create rules which the other do not (maildrop) at least I have not seen it yet. SquirrelMail has a server-side filter plugin for maildrop filters: http://squirrelmail.org/plugin_view.php?id=210 (v 1.42) We've used this for years with a custom setuid vpopmail Perl script to auth the user against vpopmail's MySQL table, return the path to the user's Maildir and manipulate the filter file. Latest code is at http://sourceforge.net/projects/serverfilters/, and from a quick glance at the docs apparently has virtual domains support built in. Looks to use the same basic idea: setuid and haul needed data from a given MySQL table. I should have read further down in my emails when I asked about the filtering. I'll check this one out. We are not using MySQL, but maybe that won't be an issue... Trey Nolen !DSPAM:4b56612c32712138711413!
Re: [vchkpw] Re: imap before smtp
Areed. And it is very easy to make the switch. Trey Nolen On Mon, 2009-09-21 at 18:23 -0700, Eric Shubert wrote: I use dovecot with vpopmail as well. Performance is much better than courier. Tom Collins wrote: Even if it's possible to set up imap-before-smtp, you'll be much better off if you have your clients use SMTP AUTH instead. More reliable, more predictable, and supported by almost every email client out there. If you really want to try it, consider Dovecot instead of Courier. I think dovecot uses vchkpw, and is probably going to be easier to configure. -Tom On Sep 16, 2009, at 11:51 PM, kengheng kengh...@mysql.cc wrote: Dear All, would like to check if there is anyway to do imap before smtp relay ? I'm using courier-authlib-0.60.2 with courier-imap. Thanks. -- Best regards, KengHeng. Chan Mobile : +6-016-717-0273 SQL Technology Sdn Bhd http://www.mysql.cc c...@mysql.cc !DSPAM:4ab82b6e32711069471943!
Re: [vchkpw] Ezmlm web interface OT
I use one called ml-sub-request. I looked on google and found it here: http://ftp.gunadarma.ac.id/pub/linux/qmail/ezmlm/ Here is an example form: http://www.coinet.com/listexample.txt?PHPSESSID=300be959dfdc7667ce7cf35a0d0cd931 Hope this helps. Trey Nolen I am looking for a way to have people subscribe to the mailing list. I have a friend that has a store and he wants to place a computer at the front where people can add themselves for discounts mailing lists. Remo Rick Romero On 11/9/08 10:59 AM, Rick Romero [EMAIL PROTECTED] wrote: Other than what qmailadmin provides? What else were you looking for? Rick Remo Mattei wrote: Hello guys I wonder if there are any ezmlm web interface with vpopmail/ezmlm configuration and which one should be consider to look into. Thanks Remo !DSPAM:49172e6432311363815844!
Re: [vchkpw] vDELdomain problem
I did something similar a while back. I had one main domain and another one that was aliased to it. I ran vdeldomain on the alias and noticed that the command was taking a few seconds. I stopped the command, but it had trashed a bunch of accounts. I can tell you that it definitely did NOT delete things in alphabetical order. It seemed to delete them in the order they were created. It started with accounts in the top level directory and then proceeded into the folders below (0, 1, etc.). One of the first casualties was the vpasswd file so noone could authenticate. You may be using a different authentication method, so this may not be the case with you. Fortunately, I had a good, recent backup that saved me...I hope you do too. Trey Nolen - Original Message - From: Root Kit To: vchkpw@inter7.com Sent: Friday, July 25, 2008 2:51 AM Subject: [vchkpw] vDELdomain problem Hello, I've got a big problem, please help. I've runned vdeldomain on a mailserver (unfortunate act), but I've canceled the command fast. The luck is that only the first user that started with A had no emails. But, in the last time period, another user claimed he has a few mails in minus My question is: HOW vdeldomain acts? How it performs this mail removal? Is it in a alphabetical order? In a time order? Or how? Thank you very much and please provide some help because i'm desperate. Ronnie. !DSPAM:4889c75b32311421062762!
RE: [vchkpw] Outlook 2007
I'm using Outlook 2007 right now and we have LOTS of users that are on it with no problems. I haven't seen any issues that are specific to Outlook 2007 and vpopmail. Trey Nolen -Original Message- From: asimon [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2008 4:37 PM To: vchkpw@inter7.com Subject: [vchkpw] Outlook 2007 We are running qmail with vpopmail. Several of my clients just upgraded to Outlook 2007. They are having trouble authenticating. They did not have any issues with Outlook 2003. I don't have any specific details yet. Just checking to see if anyone is having this issue. A !DSPAM:4873e3b632352433555123!
[vchkpw] maildrop + catchall
I'm getting the following message in my logs when spam detection is enabled on a catchall account: deferral: Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/maildrop:_error_writi ng_to_mailbox.//usr/local/bin/maildrop:_Unable_to_deliver_to_mailbox./ The spam detection adds this line into the .qmail file: |preline /usr/local/bin/maildrop /etc/mailfilter We are running Qmailadmin 1.2.9 and Vpopmail 5.4.10. I've seen some mention of something similar to this in the archives but it was referencing and older version of vpopmail. It said that the issue would be resolved in the next version. Take a look at: http://www.mail-archive.com/[EMAIL PROTECTED]/msg03734.html Is this a different issue? Is there a fix? (Besides removing spam detection or the catchall) Thanks. Trey Nolen !DSPAM:4849ef6e32358847917804!
[vchkpw] domains spanning directories
When new users are added to vpopmail and you reach a certain number of them, it creates a new folder and puts users in that folder. Then, when you reach another level of users, it adds a new folder and repeats the cycle. Presumably, it does the same thing with domains, but we have 25 domains at the top level, then a 0 directory with 190 domains. It seem that it should have spanned to a 1 directory by now. Is this the case? If not, how can I fix it so that it will create a 1 and move on? I don't really see a need to relocate the existing ones... Trey Nolen
Re: [vchkpw] smtp-auth and rblsmtpd
Thanks for the info. Trey Nolen - Original Message - From: John Simpson [EMAIL PROTECTED] To: vchkpw@inter7.com Sent: Saturday, August 18, 2007 7:28 PM Subject: Re: [vchkpw] smtp-auth and rblsmtpd
[vchkpw] smtp-auth and rblsmtpd
We have been using smtp-after-pop for a long time, but are also using smtp-auth for some purposes. When users authenticate via POP, a line like the following gets added to open-smtp: ww.xx.yy.zz:allow,RELAYCLIENT=,RBLSMTPD=,WHITELIST= 1187395788 This keeps the users from being affected by rblsmtpd. We added sorbs to our rblsmtpd to block dynamic IP pools, but it seems to be blocking our users that use smtp-auth. Our smtp-after-pop users work fine using the same dynamic IPs. We have some users that need to be able send via our servers but that do not have a POP account to authenticate against. Is there a way to get smtp-auth excluded from the rblsmtpd blocks? Trey Nolen
Re: [vchkpw] smtp-auth and rblsmtpd
I would suggest starting another instance of qmail-smtpd on port 587 that does not use the rbls, and has its own tcp.submpt.cdb that allows anyone to connect, but does not ever set RELAYCLIENT. This allows all addresses, but will only allow relay for authenticated users. Port 587, is the default port for this kind of operation. Thanks. We will start that, too. But, we do have a number of clients that are ALREADY using port 25 for smtp-auth. Is there any way to keep them from being affected by the rblmtpd? For instance, is there a way to pass a variable to tcpserver if the connection is authenticated via smtp-auth? Trey Nolen
RE: [vchkpw] [OT] spamhaus down?
Thanks, it seemed like a good one, but I setup the rsync (after registering as they requested) and they told me not to use their feed. We fell in the volume limits they recommended. I'm really not sure why they offer an rsync feed if they want you to not use it. Anyone else got some suggestions as to good lists? I hate to have to just turn off rblsmtpd... Trey Nolen From: Remo Mattei [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 15, 2007 4:59 PM To: vchkpw@inter7.com Subject: Re: [vchkpw] [OT] spamhaus down? I will add that on my list give it a try.. Thanks Rick.. Remo Rick Macdougall wrote: Trey Nolen wrote: cbl.abuseat.org is a fine one and you can rsync the data and run a local copy for improved performance. Regards, Rick !DSPAM:46c37534321933360265985!
RE: [vchkpw] [OT] spamhaus down?
Neither can we. I just removed their name from our rbl checks because we were seeing some slowdowns. I bet this was the cause... We're currently using bl.spamcop.net and were using sbl-xbl.spamhaus.org. Can anyone suggest a replacement? Trey -Original Message- From: Paul Norland [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 15, 2007 3:18 PM To: vchkpw@inter7.com Subject: Re: [vchkpw] [OT] spamhaus down? I too cannot resolve their names. Ken Jones wrote: Has anyone else noticed spamhaus is down? None of their rbl host names are resolving. I've tried: zen.spamhaus.org sbl.spamhaus.org xbl.spamhaus.org sbl-xbl.spamhaus.org pbl.spamhaus.org We noticed a delay in accepting email and tracked it down to rblsmtpd checks on any of those lists. Ken Jones -- Paul Norland A Think Tank 610 16th Street #207, Oakland CA 94612 http://www.athinktank.com xxx.xxx.xxx
[vchkpw] vuserinfo on the web
Is there a package that provides the information of vuserinfo via the web? We have technicians that routinely need to look up email passwords (which is enabled in vpopmail), but not all of our techs are command-line savy... Trey Nolen
[vchkpw] maildrop, vpopmail, and quotas
We are running vpopmail 5.4.10, qmailadmin 1.2.9, and maildrop 1.5.3 on Debian. This is one of those cross-software questions, but I'm posting to the vpopmail list because vdelivermail seems to be part of the issue. We are seeing a strange problem with maildrop and quotas. When a user gets over quota, maildrop and vdelivermail go crazy and spawn of hundreds or thousands of processes. We have qmailadmin set so that when you check the Enable Spam box for a user, it puts this in the .qmail file: |preline /usr/local/bin/maildrop /etc/mailfilter We use Sqwebmail as a web interface for filter setup. I was looking for a solution, and found this patch, but I'm not sure that it has anything to do with our issue. http://www.mail-archive.com/vchkpw@inter7.com/msg24317.html I don't really care if someone gets a message or two over the quota or if part of a message makes it go over quota, but I don't want thousands of processes running when someone has filters and hits a quota. Our qmail does use the chkuser patch and we use simscan. Thanks for any suggestions... Trey
RE: [vchkpw] maildrop, vpopmail, and quotas
Trey Nolen wrote: We are running vpopmail 5.4.10, qmailadmin 1.2.9, and maildrop 1.5.3 on When a user gets over quota, maildrop and vdelivermail go crazy and spawn of hundreds or thousands of processes. We do something similar here without a problem. Two things you don't mention though... Are you using the quota check feature of chkuser ? ie CHKUSER_MBXQUOTA=97 in tcp.smtp or as a env variable in /service/qmail-smtpd/run Have you compiled maildrop with quota support ? ie ./configure --enable-maildirquota No to both questions. I will implement both of those to see if it fixes the issue. Thanks! Trey
Re: [vchkpw] Re: Problem with qmail-scanner
An easier solution should be to add the following to your qmail-smtpd/run file: export QMAIL_QUEUE=/var/qmail/bin/qmail-scanner-queue And then restart qmail-smtpd. While this is easier, it doesn't allow you to realize the full functionality of qmail-scanner. By passing the variables with tcpserver, you can configure qmail-scanner not to check any messages that come from localhost, for instance. We also don't check anything coming from our local LAN for spam (only for viruses) and check everything else for both. You can't do that with the method above. Trey Nolen
Re: [vchkpw] vchkpw auth trouble 5.3 and above
We had similar problems and went back to 5.2. For us, pop3 auth would work for a few hours and then quit. We do not have a softlimit in our script. Trey Nolen Hi I had the same problem and it was solved increasing softlimit parameter in /service/qmail-popup/run script. Saludos. Alberto -Mensaje original- De: Upgrade Studiopiù [mailto:[EMAIL PROTECTED] Enviado el: jueves, 15 de enero de 2004 14:21 Para: [EMAIL PROTECTED] Asunto: [vchkpw] vchkpw auth trouble 5.3 and above Hi, i'm webmaster for an internet ISP. I've upgraded during last day my vpopmail 5.2.1 to 5.3.28: afted the upgrade some of my customer find any trouble in pop3 auth. Client ask for password while password is currect: if you press cancel without password input all work fine. I try to upgrand to last 5.4 versione but trouble still exist... can you give ma any information? I must convert archive format from 5.2 version to 5.3? Is there any patch? Thank You Luca Luca Giroletti ::.. Studiopiù Srl ..::
Re: [vchkpw] welcome.msg patch submitted to vpopmail.sf.net patch manager.
Ahhhhow times and sentiments change. It wasn't too long ago (search the archives) that a patch to do this was created and rejected as feature bloat. I have definitely wanted this for a long time and am glad to see it get a positive response this time around. Trey P.S. Inter7.com guys, if you decide to include this patch in the distribution I'd suggest editing the sample welcome.msg.dist file. Cool, it just has to be accepted, its to cool not to be accepted :) Tom, make it happen please :D. X I Second that Tom, I have been needing this BAD! The welcome message gives customers instructions they really need and I have lost that function for a long time now changing to qmail/vpopmail. -John
Re: [vchkpw] any interest in a welcome message patch?
I've been interested in this for quite a while, but it has always met a lot of resistance here. In the past, this feature has been regarded as frivolous because it could be accomplished with a wrapper. I disagree with this and would welcome your patch. Trey Nolen - Original Message - From: Yermo M. Lamers [EMAIL PROTECTED] To: vpopmail list [EMAIL PROTECTED] Sent: Saturday, November 29, 2003 8:43 PM Subject: [vchkpw] any interest in a welcome message patch? It seems to me that when a users email account is created a welcome message should automatically be delivered to the account with key information like where to get support, etc. I've hacked up vpopmail.c vadduser() in 5.3.30 to deliver a message contained in /home/vpopmail/etc/welcome.msg when an account is added. I based it on code in vpopbull.c. Right now it's a hack, but if there's any interest in the patch I can clean it up. It would be cool if it could be included as a configure option --with-welcome-msg=... -- Yermo - DTLink Software http://www.dtlink.com FieldPost Business Email http://www.fieldpost.com Nuts and Bolts Interactive, Inc. http://www.nbinteractive.com -
Re: [vchkpw] Problems with 5.3.29
i have a problem with the pop auth... i get for every user a pop access denied.. it's not apop. i have compiled without the roaming-user option. If you use Courier-IMAP, did you recompile it after installing the new vpopmail? Is anyone out there successfully making POP connections with 5.3.29? It worked for me for a little while and then would stop working. The server would still log a login success but the client would not receive email and then it would ask for the password again. Restarting qmail-pop3d seemed to work for a while but would stop again. I went back to 5.3.20 and it seems to be working again. 5.2.1 also had no problems. I'm using qmail-pop3d with vchkpw and vpasswd authentication. The qmail-pop3d is not patched for quota support. The server does an average of 3-4 pop authentications a day. Trey Nolen
[vchkpw] qmail-pop3d failing after updating to 5.3.29
We upgraded to 5.3.29 and now, after a few hours, qmail-pop3d will fail. It is very weird, because in the logs, we get a successful login, but the client waits several seconds and then says that the password has failed and asks the user to retry. All other methods of authentication seem to be working (sqwebmail, imap, qmailadmin), although they are not used as often so the problem may not be coming up yet. Killing all the qmail-pop3d, qmail-popup, and the tcpserver processes that spawn qmail-pop3d and restarting them fixes the problem for a while. I'm not sure, but it *seems* like the authentication gets slower before it fails completely. I tried going back to 5.3.28 (we were on 5.2.1 before the upgrade) but the problem still persists. Our version of qmail-pop3d is not patched to support quotas, but we are not using quotas. We are using vpasswd authentication and roaming smtp. Thanks for any help. Trey Nolen
Re: [vchkpw] qmail-pop3d failing after updating to 5.3.29
We run clearopensmtp. We have not changed the cronjob since updating to 5.3.29 from 5.2.1, so if it needs to be changed, let me know. Here is the current crontab entry: 40 * * * * /home/vpopmail/bin/clearopensmtp 21 /dev/null Now, I noticed this morning that it started doing this quickly after restarting qmail-pop3d instead of taking hours to start. Also, It is not taking long to authenticate (at least from the server point of view) because the logs show a successful login very quickly. For some reason, the client side just doesn't get the message that it has authenticated. One other thing that may be important: I changed the code to add the QMAILQUEUE varialble in open.smtp for qmail-scanner. It seems to be functioning fine, though. Trey Nolen Check the roaming users setup. If it is turned on and clearopensmtp is not run, tcprules will take longer and longer to build the tcp.smtp.cdb file. Ken Jones On Wednesday 22 October 2003 8:11 am, Trey Nolen wrote: We upgraded to 5.3.29 and now, after a few hours, qmail-pop3d will fail. It is very weird, because in the logs, we get a successful login, but the client waits several seconds and then says that the password has failed and asks the user to retry. All other methods of authentication seem to be working (sqwebmail, imap, qmailadmin), although they are not used as often so the problem may not be coming up yet. Killing all the qmail-pop3d, qmail-popup, and the tcpserver processes that spawn qmail-pop3d and restarting them fixes the problem for a while. I'm not sure, but it *seems* like the authentication gets slower before it fails completely. I tried going back to 5.3.28 (we were on 5.2.1 before the upgrade) but the problem still persists. Our version of qmail-pop3d is not patched to support quotas, but we are not using quotas. We are using vpasswd authentication and roaming smtp. Thanks for any help. Trey Nolen
[vchkpw] vdominfo issue in 5.3.29
We just upgraded to the new 5.3.29 and are getting a weird issue with the vdominfo command. Here is a sample output: mail:/home/vpopmail/bin# ./vdominfo ntsux.com domain: ntsux.com uid:89 gid:89 dir:/home/vpopmail/domains/ntsux.com users: 2147483646 Notice the users line. This domain only has about 5 users. Not all of our domains have this issue, but the ones that are wrong all give the exact same large number. We are using vpasswd files for authentication. Qmailadmin shows the correct number of users even on the domains with the wrong number displayed using vdominfo. This is not a critical bug to us, but I thought it was interesting. Any ideas? Trey Nolen
[vchkpw] adding domains error
After upgrading to 5.3.29, we are getting the following error when trying to add a domain: Error: (vadduser) can't read domain limits We got the same problem wihen trying to add a user to an existing domain. We fixed it by adding a .qmailadmin-limits file. But, when adding a new a new domain, we can't do that because the domain is not there. I checked through the changelog and noticed that the vget_limits calls were fixed. Please break them again. :-) Trey
Re: [vchkpw] adding domains error
If you have a ~vpopmail/etc/vlimits.default file, it should work. I'll look into having the install process create that file if it doesn't already exist. Should we update the code so that it doesn't generate an error if neither .qmailadmin-limits or vlimits.default exist? That would be good because I'm sure there are a lot of servers like ours out there that don't have either file in most of their existing domains. Trey
Re: [vchkpw] Panda Antivirus + qmail
If anyone is interested...even though this is offtopicthe english link is here: http://www.pandasoftware.com/download/linux/linux.asp Trey Yes, here is the link for the freeware linux version: http://www.pandasoftware.es/es/linux/linuxdown.asp Damn, I've just realized it was in spanishif anyone need help with it click on Acepto el acuerdo de licencia helps :) - Original Message - From: Rick Macdougall [EMAIL PROTECTED] To: Tanmaya Anand [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, September 14, 2003 5:48 PM Subject: Re: [vchkpw] Panda Antivirus + qmail Hi, ClamAV - http://clamav.sourceforge.net/ Qmail-Scanner - http://qmail-scanner.sourceforge.net/ Oh and Panda is not free, or at least I do not see a free version on their website. Regards, Rick Tanmaya Anand wrote: hi all, I have qmail+vpopmail+sqwebmail on my server. i have downloaded panda antivirus for linux(Which is free ;-)) i want that all the mails should be scanned by the server. Also, i want the vpopmail to have an option of online scan of attachments. Does any one has similiar experience. Also, if anyone knows any other antivirus software for linux which is free to use can be updated, plz do mail me abt the same. Thanks in advance Tanmaya
[vchkpw] web based prefs for spamassassin
There is a very nice looking package on Freshmeat (http://www.freshmeat.net) today that allows users to make changes to their Spamassassin preferences via the web. Has anyone tried using it with Vpopmail? Trey Nolen
Re: [vchkpw] Antivirus Scanner
Don't know if it would work for you, but we use qmail-scanner to call spamd/spamc for the spam tagging and have the spamd run on another machine. For the virus scanning, it calls sophie (which uses the Sophos engine) and it also supports networking, so we run it on another machine. Trey Nolen Yes I know that, but I do need to have the scanner in one machine and the mail program in another, and qmail-scanner although it does stop a lot of virus, it is not enough for me. (which by the way I am also using) I have seen the bitdefender, has anyone used that one? or also I have seen the panda software. Still I am not sure that panda works with qmail. Thanks Qmail-Scanner works well and gives you the ability to incorporate SPAM filtering On Wed, 2003-06-11 at 11:37, Guillermo Villasana Cardoza wrote: Hi guys, do anyone know a good antivirus scanner that can be installed on linux but not directly in the machine with the email server? and that works with qmail+vpopmail? eg: Firewall---Antivirus Mail scanner---Qmail+Vpopmail Mailserver Thanks again -- Ron Culler
Re: [vchkpw] Need suggestion
Have you checked to see if the domain has expired? Trey Nolen I have some email accounts have to be temporary denying to receive emails from internet users except intranet.. any body please give me suggestion or idea for this? many thanks in advance Regards Winan
Re: [vchkpw] Re: welcome message
This sure is a pain to do every time you update vpopmail. I sure hope this feature gets accepted into the distribution one day Trey Hello Werner, On Wednesday, January 8, 2003 at 1:41:56 AM you wrote: Is there a way to set a welcome message that is sent when a postmaster creates an e-mail account? Modify vpopmail sources for vadddomain not only creating Maildir but copying an e-mail to 'Maildir/new' too. -- Best regards Peter Palmreuther
Re: [vchkpw] Re: welcome message
It could be a compile option (like --enable-welcomemsg). We are an ISP and use it for new customers. We have a nice letter typed up that explains all the cool things that we have to offer that they wouldn't know about otherwise. Also, when we are setting up someone's email, it is nice to have an email waiting to be received so that you know it worked. Trey - Original Message - From: Brian Kolaci [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 9:38 AM Subject: Re: [vchkpw] Re: welcome message If you're going to put this in the distribution, make sure that you have to select an option to have the mail delivered. I'm sure many people would *not* want this message in their INBOX. We used to do this an about 85% of our customers complained, so it was removed. Brian Hi Trey, On Wed, 8 Jan 2003 07:56:54 -0600 Trey Nolen [EMAIL PROTECTED] wrote: Is there a way to set a welcome message that is sent when a postmaster creates an e-mail account? Modify vpopmail sources for vadddomain not only creating Maildir but copying an e-mail to 'Maildir/new' too. This sure is a pain to do every time you update vpopmail. I sure hope this feature gets accepted into the distribution one day Write the code, write it good, stable and secure, and submit it. Maybe it's merged with vpopmail-core and no rewrite will be necessary. -- Peter
Re: [vchkpw] Urgent Problem
qq errors are caused by qmailscanner, not vpopmail. Check your qmailscanner logs. You may be running out of memory (softlimits set too low). If you can't find anything in the logs, set the Debug variable to 1 in qmailscanner. There is information on this in the docs. Trey Nolen - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 03, 2002 10:57 PM Subject: [vchkpw] Urgent Problem Hi every one I have this issue that is stopping mail from being sent or received. RH 7.3 Vpop5.2 Qmail 1.03 Qmailadmin 1.0.2 This has happened before and I fixed it by cleaning files from the mail queue But no go this time. Will try and receive from outlook express as long as there is nothing in the mailbox. Trying to send just times out. If you try to send this from sqwebmail. You get error qmail-inject: fatal: qq read error Has any one come across any thing like this??? Any help would be appreciated. Regards Mick
more Qmailqueue and virus scan stuff
Recently I posted a question about getting qmailqueue to send mail through a virus scanner and a spam scanner. I found a patch that will do just that, so I thought I'd share it here since there has been a lot of virus talk lately. I am running Sophos Sweep. They have a pretty good deal for ISPs. I think for us it worked out to about $.20 per month. We are more than willing to pay that for the extra service. The auto updates work well. The spam scanner I am using is SpamAssassin found at spamassassin.taint.org. It is very agressive, and we have had a few legitimate emails get blocked, but it is VERY effective on spam. Since Procmail doesn't seem to work well with Vpopmail, we decided to use QMAILQUEUE to run everything through the scanners. This works, but does have the disadvantage that filters are not customizable per user. Here is the patch we used to get it to run the two scanners...it was written by a guy named Kobe Lenjou and posted to the Spamassassin list. Maybe it will be useful to some of you. Trey *** qmail-scanner-1.01/qmail-scanner-queue.template Thu Sep 6 23:12:20 2001 --- qmail-scanner-1.01-pattched/qmail-scanner-queue.template_with_spam Wed Nov 21 15:58:32 2001 *** *** 155,160 --- 155,168 my $uudecode_binary='UUDECODE_BINARY'; my $uudecode_pipe='UUDECODE_PIPE'; + #Kobe SpamAssasin Hack - if $spamcheck is 1 then spamcheck is done + my $spamcheck = 1; #Enabled + #my $spamcheck = 0; #Disabled + my $spamc='/var/qmail/tools/spamc -f '; + #These strings will be regexpd against the recieps var + my $spam_rec = 'EMAIL: PROTECTED, EMAIL: PROTECTED, publinet.be,moerman.co m'; + #End of part 1 of 2 of the SpamAssasin hack + #my ($uvscan_binary,$sweep_binary=$iscan_binary=$hbedv_binary=$avpdaemon_binar y)='; #my ($avp_binary=$fsecure_binary=$inocucmd_binary)='; *** *** 325,331 email_quarantine_report; } else { qmail_smtpd_check; ! qmail_requeue($env_returnpath,$env_recips,$scandir/$wmaildir/new/$file_id ); } alarm 0; }; --- 333,364 email_quarantine_report; } else { qmail_smtpd_check; ! #Mail passed all virus check, now do a spam check ! if ($spamcheck == 1) { ! my @spamusers = split(',',$spam_rec); ! my $spam_var; ! my $spam_flag = 0; ! foreach $spam_var (@spamusers) { ! $spam_var =~ s/ //mgi; ! debug(Spamuser: -.$spam_var.-); ! my $spamaddr = ($recips =~ /.*($spam_var).*/mi); ! debug(Find?: $spamaddr); ! if ($spamaddr == 1) { ! $spam_flag = 1; ! last; ! } ! } ! debug(Recieps: $recips); ! if ($spam_flag == 1) { ! debug(Now checking message for spam); ! debug(Executing: $spamc $scandir/$wmaildir/new/$file_id $scandir/$wmaildir/tmp/$file_id); ! system ($spamc $scandir/$wmaildir/new/$file_id $scandir/$ wmaildir/tmp/$file_id); ! rename ($scandir/$wmaildir/tmp/$file_id,$scandir/$wmaildir/ new/$file_id); ! } else { ! debug(Message NOT scanned for spam); ! } ! } ! qmail_requeue($env_returnpath,$env_recips,$scandir/$wmaildir/new/$file_id ) ; } alarm 0; };
Re: more Qmailqueue and virus scan stuff
Yes, but when you have 1000's of users, that is a LOT of .qmail files to update. Also, changes made in qmailadmin will blow away the part of the .qmail files that pipes it through the spam filter. This was basically the only way that I could find to run a system wide virus and spam filter. Trey - Original Message - From: Dallas Engelken [EMAIL PROTECTED] To: Trey Nolen [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, November 28, 2001 1:03 PM Subject: RE: more Qmailqueue and virus scan stuff This works, but does have the disadvantage that filters are not customizable per user. Here is the patch we used to get it to run the two scanners...it was written by a guy named Kobe Lenjou and posted to the Spamassassin list. Maybe it will be useful to some of you. Trey Can you not run your virus detection via QMAILQUEUE and then have option spam filtering that pipes through the users .qmail file?
Re: more Qmailqueue and virus scan stuff
Yeah, that works. We are using it. Just make your sendit.sh look like this: QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl export QMAILQUEUE exec /usr/sbin/qmail-inject -f $1 Trey - Original Message - From: Bill Shupp [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 28, 2001 1:29 PM Subject: Re: more Qmailqueue and virus scan stuff On Wednesday, November 28, 2001, at 01:24 PM, Dallas Engelken wrote: Is it possible to make SQWebmail utilize the QMAILQUEUE to do virus/spam scanning on web based email? I think you can edit sendit.sh to set that variable.. haven't done it myself, but that's what I recall... Regards, Bill
using procmail
I have vpopmail 5.0 running, and I'm trying to do some spam filtering. I want to do it for the entire mail server, so I created an /etc/procmailrc that basically pipes it through the spam filter, and then sends it to vdelivermail. Unfortunately, my promailrc is being ignored. I **REALLY** don't want to have to go through every user on every domain and put a .qmail file that would do the redirection. We have so many users, that this would just not be an option. If this is the only way to do it, we will just not block spam. I may even be so bitter, that we may start hosting spam sites. ;-) In other words, I **REALLY** need a solution. I have been watching the logs, and it seems that procmail is not even being called. We are running Debian, and have the qmail-procmail script available if that will help, but I haven't been able to get it to work. I've looked through the archives, and there are 21 messages containing procmail with very few responses. If procmail won't work, does anyone have another option for intercepting the mail between qmail and vdelivermail to pipe it through some filtering? Thanks for any help that you can give. Trey Nolen
fetchmail with vpopmail
I looked through the archives and there is some talk on this subject, and even this configuration, but I'm not sure what the answer was. Basically, the ISP is running Qmail, and has setup a catchall account for our whole domain. We use fetchmail to grab it from the ISPs POP account, and distribute it to our local server (also running Qmail). I am about to convert to vpopmail on our local machine, and want to continue doing the same, but before I convert, I want to make sure it will work, and what changes I'll need to make. Here is the current fetchmailrc on our server: defaults no dns fetchall smtpaddress ourdomain.com set invisiblepoll mail.ourisp.net: envelope "Delivered-To:" qvirtual "popuser-" localdomains ourdomain.comproto POP3 userpopuser with passpassword to * here no rewrite dropstatus Now, I have seen mention in the archives of a "multidrop mailbox" where you have "user foo there is * here" but I'm not sure exactly howthat would be used with this config. Can anyone shed some light on this? Thanks Trey Nolen
another compile problem
I'm getting this when compiling the new vpopmail: gcc -I. -I/usr/include/mysql -g -O2 -Wall -c vchkpw.c gcc -g -O2 -Wall -o vchkpw vchkpw.o libvpopmail.a -L/usr/lib/mysql -lmysqlcli ent -lz -lnsl -lcrypt -lm /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status make[2]: *** [vchkpw] Error 1 make[2]: Leaving directory `/usr/local/src/vpopmail-4.10.19' make[1]: *** [all-recursive] Error 1 This is on Debian 2.3. Does anyone know where lz could be found or what package it might be in? This server was originally 2.2, and vpopmail compiled, but I had to upgrade it so that I could use the new MySQL, and it seems to have broken some libraries. Trey Nolen [EMAIL PROTECTED]
vchkpw: setgid 0 failed errno 1
I've got vpopmail/qmailadmin installed on a Debian 2.2 system and am having a problem with vchkpw. I have done this install on other Debian systems configured the same way, and didn't have this problem. When I telnet into port 110, and put in my username and password, the connection immediately closes. No explaination is given by the host. In the logs, I get this: mail vpopmail[19213]: vchkpw: setgid 0 failed errno 1 user@domain:IP This is how I'm invoking qmail-pop3d: /usr/bin/tcpserver -g89 -u89 0 110 /usr/sbin/qmail-popupHOSTNAME \/home/vpopmail/bin/vchkpw /usr/sbin/qmail-pop3d Maildir 89 is the GID and the UID for the vpopmail user. The group is vchkpw. Mail is delivered to the Maildirs OK. I have also checked to make sure qmail-pop3d is working by invoking it with checkpassword and checking a POP account for a local user. Only when vchkpw is used do I have a problem. Any help would be much appreciated. Trey Nolen [EMAIL PROTECTED]
Re: vchkpw: setgid 0 failed errno 1
Just updated it. Same problem is still there. What version was this broken in? Maybe I could go BACK a few. Trey Nolen [EMAIL PROTECTED] - Original Message - From: Ken Jones [EMAIL PROTECTED] To: Trey Nolen [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, June 11, 2001 11:30 AM Subject: Re: vchkpw: setgid 0 failed errno 1 Try the new vpopmail-4.10.18.tar.gz I just updated it. This problem was reported this morning and looks like it was fixed. http://www.inter7.com/vpopmail/vpopmail-4.10.18.tar.gz Ken Trey Nolen wrote: I've got vpopmail/qmailadmin installed on a Debian 2.2 system and am having a problem with vchkpw. I have done this install on other Debian systems configured the same way, and didn't have this problem. When I telnet into port 110, and put in my username and password, the connection immediately closes. No explaination is given by the host. In the logs, I get this: mail vpopmail[19213]: vchkpw: setgid 0 failed errno 1 user@domain:IP This is how I'm invoking qmail-pop3d: /usr/bin/tcpserver -g89 -u89 0 110 /usr/sbin/qmail-popup HOSTNAME \ /home/vpopmail/bin/vchkpw /usr/sbin/qmail-pop3d Maildir 89 is the GID and the UID for the vpopmail user. The group is vchkpw. Mail is delivered to the Maildirs OK. I have also checked to make sure qmail-pop3d is working by invoking it with checkpassword and checking a POP account for a local user. Only when vchkpw is used do I have a problem. Any help would be much appreciated. Trey Nolen [EMAIL PROTECTED]
Re: vchkpw: setgid 0 failed errno 1
mail vpopmail[19213]: vchkpw: setgid 0 failed errno 1 user@domain:IP I bet it actually says setgid() failed. :-) Nope. It says what I put in the message. I cut and pasted it from my logs excpet for the user@domain part. I found the error you are referring to in the archives of this list and tried running it as root, but it didn't fix the problem. Apparently, the newest version(s) of vpopmail are broken. I was using 4.10.17 and Ken thought that updating to 4.10.18 would fix it, but it didn't, so there must still be a problem. I think I'm going to go back to 4.10.1, because I have that one working on another box very similar to this one. Trey Nolen [EMAIL PROTECTED] This is how I'm invoking qmail-pop3d: /usr/bin/tcpserver -g89 -u89 0 110 /usr/sbin/qmail-popup HOSTNAME \ /home/vpopmail/bin/vchkpw /usr/sbin/qmail-pop3d Maildir 89 is the GID and the UID for the vpopmail user. The group is vchkpw. Try removing -g89 -u89, so that vchkpw can run as root. -- Daniel Biddle [EMAIL PROTECTED]
vadddomain issues
Hi, I'm new to vpopmail and qmailadmin, but very well aquainted with Qmail. We are about to implement two new servers for which it vpopmail and qmailadmin will be well suited. However, I'm having some problems getting started. I've looked through the archives and have not been able to find any solutions to my present problems. I am trying to add my first virtual domain, and a I'm getting the following: /home/vpopmail/domains# /home/vpopmail/bin/vadddomain testdomain.com Please enter password for postmaster: enter password again: Error: Domain does not exist Vadddomain does place the name of the domain in both /var/qmail/control/rcpthosts and /var/qmail/control/virtualdomains as well as making the directory in /home/vpopmail/domains despite the error. I am not able to add users to the domain because I get the following: /home/vpopmail/bin# ./vadduser [EMAIL PROTECTED] Please enter password for [EMAIL PROTECTED]: enter password again: Error: Domain does not exist Now, if I try to add the domain again, I get this: /home/vpopmail/domains# /home/vpopmail/bin/vadddomain testdomain.com Please enter password for postmaster: enter password again: Error: Domain already exists Strange, huh? Now, if I try to DELETE the domain that either does or doesn't exist (depending on the error you believe), I get this: /home/vpopmail/bin# /home/vpopmail/bin/vdeldomain testdomain.com Error: Domain does not exist So, the consensus is that the domain doesn't exist...Any idea what might be going on? BTW, if I try to add the domain again after using the vdeldomain command, I get an error that the domain already exists!!! Trey Nolen [EMAIL PROTECTED] -- If you don't test it, it won't work. Guaranteed.