[vchkpw] autoresponder does not replace subject line
Hi Guys: I wonder if someone can advise me on whether the 'autorepond 2.0.5' program downloaded from inter7 is broken. We're using it with Qmailadmin and find that although we've provided a subject line and 'from' address for the autoresponder the subject line is not replaced in the email back to the original sender. The email just comes back to the originator with 'Re:' added in front of the original subject. Isn't the autoresponder subject supposed to replace the original subject and not just show up in the body of the email? Is anyone else seeing this behavior? Best Regards, Jeff Koch !DSPAM:4af98fc832715451174373!
[vchkpw] Problem with autorespond
Hi All: We having a problem getting autorespond 2.0.5 to properly replace the 'from' and 'subject' header lines on emails that it sends back. The program is adding a 'from' and 'subject' header but they are showing up as part of the body of the returned email instead of in the header. Any ideas? Has anyone else seen this? I know the program used to work properly but it's been a while since we've actually tried it. We're using Bill's Toaster with the most recent Simscan, Clamav, SA, and qmailadmin. Thanks. Best Regards, Jeff Koch, Intersessions !DSPAM:4af6d7ca32711494516327!
[vchkpw] vpopmail valias wildcard support - every...@domain.com
Hi: In the case where a domain has, say, 100 email accounts, is there an easy way to configure a wildcard alias or mailinglist so that an email can be sent to everyone? Otherwise I can see that in a constantly changing organization it could be a lot of work to keep a mailing list or alias current. vpopbull would not work since the individual domains don't have that access. Thanks Best Regards, Jeff Koch !DSPAM:49f70f5b32681074618554!
Re: [vchkpw] Announcing ToasterAdmin, Net_Vpopmaild, Auth container
Hi Bill - please ignore my request for a link. At 03:45 AM 4/13/2008, you wrote: All, I'd like to announce ToasterAdmin, a new vpopmail administration tool which utilizes vpopmaild, allowing for remote administration of a vpopmail system (over tcp sockets). It is intended as an alternative to running QmailAdmin and VqAdmin separately, and will eventually be fully comprehensive. Here are some of the highlights: Design * Written in OOP PHP 5 using an MVC Framework for easy code maintenance * Uses the Smarty template engine for clear separation of logic from display * Uses several packages from PEAR to minimize local code requirements Current Features * Add/Remove Domains, Users, Forwards, and Auto-Responders * Modify Default Domain Limits * Search for Domains * Modify user mail routing and vacation messages * Add Alias Domains * Manage IP Maps * Internationalization support via gettext (translators needed!) Planned Features * Modify User Limits * Modify System Default Limits (vlimits.default) * EZMLM Support (must be supported by vpopmaild first) * simcontrol support URL: http://trac.merchbox.com/trac/toasteradmin ToasterAdmin is discussed on the [EMAIL PROTECTED] list. Please forward any questions there (I'm not an ongoing member of vchkpw@inter7.com ). While working on ToasterAdmin, I decided to put all of the base vpopmaild code in the PEAR package Net_Vpopmaild (based on work from Rick Widmer). Net_Vpopmaild's URL is http://pear.php.net/Net_Vpopmaild. Lastly, I added a Net_Vpopmaild auth container to PEAR's Auth framework (NetVPOPMaild). So if you need any PHP app to to authenticate off of your vpopmail user base running vpopmaild, you accomplish this very easily through PEAR Auth. URL: http://pear.php.net/Auth Cheers, Bill Shupp Best Regards, Jeff Koch, Intersessions !DSPAM:480223c8120501779553894!
Re: [vchkpw] Increasing number of pop3 connections
Thanks everybody At 10:28 AM 4/1/2008, you wrote: Jeff Koch wrote: Hi: We're hitting the limit on the number of pop3 connections. Anyone know how to increase it? Most qmail pop server connections are handled by the tcpserver program. See the -c option. It controls the maximum concurrent connections. http://cr.yp.to/ucspi-tcp/tcpserver.html -c n: Do not handle more than n simultaneous connections. If there are n simultaneous copies of prog running, defer acceptance of a new connection until one copy finishes. n must be a positive integer. Default: 40. Ken Jones Best Regards, Jeff Koch, Intersessions !DSPAM:47f24c74120501198120175!
[vchkpw] Increasing number of pop3 connections
Hi: We're hitting the limit on the number of pop3 connections. Anyone know how to increase it? Thanks Best Regards, Jeff Koch, Intersessions !DSPAM:47f24390120508916516595!
[vchkpw] commands in .qmail files
Anybody know how many command lines can be in a .qmail file? I'd like to see if we can a maildrop filter to a .qmail forward file. Would be used to allow user controlled spam preferences for .qmail forwards. Best Regards, Jeff Koch, Intersessions !DSPAM:47cb1d43120501050031336!
[vchkpw] dovecot procedure for toaster
I understand that Dovecot is a pretty good alternative to courier-imap. Has anyone put together a step-by-step procedure for installing Dovecot that replaces Bill's toaster page for Courier-IMAP ? Best Regards, Jeff Koch, Intersessions !DSPAM:477d213d310541811016713!
[vchkpw] OT - Preferred File Systems - I-RAM Drive
By the way, to give you an idea of the speed of the i-ram drive with the XFS file system we tar-zipped the entire /usr directory into an 811MB archive. It took 54 seconds to untar-unzip it on a 4GB I-Ram drive and 141 seconds on a Seagate 750 GB SATA drive with the ext3 filesystem in the same machine. The CPU is a Core-Duo 6400 with 4GB RAM. Straight file copies are even faster. Duplicating the same 811MB archive on the I-Ram took 13 seconds on the I-Ram drive and 43 seconds on the Seagate. My plan is to use the I-RAM for the following directories; var/qmail/queue var/qmail/simscan var/log maybe /tmp let me know if you guys think of any other directories that would benefit from the speedup. Also, since the i-ram's battery backup only lasts a few hours we added some startup scripts to rc.local that try mounting the i-ram and then test for the existence of some key files. If they don't exist or the i-ram can't be mounted we then we assume the RAM got erased and use parted to re-create the partitions and mkfs to add the xfs filesystem. Then we mount the i-ram drive and copy over and untar the directories that we backed up upon shutdown (and also backup every few hours). I think this approach should substantially speedup the mailserver and allow it to handle greater capacity. At 09:20 AM 12/22/2007, you wrote: Ed McLain wrote: As for recoveries after a hardware failure, I've only had to do 3 or 4. On one of them we had a buggy version of xfs_repair, and that caused some weirdness, but we had done a full dd before the restore to a secondary disk.. After upgrading xfs_repair we got back everything with no corruption that we could find.. Now, that's not to say that a man page didn't have null's in it, but everything we wanted was there and in tact. Man pages? You had existing files corrupted? Now that is something I have not had with ext3. As for XFS, I did lose one filesystem but I cannot pin it down to XFS code with certainty because that happened after a crash although I have not lost any ext3 filesystem due to a crash yet. In any case, my previous mail was about files that were created just prior to a crash or a power cut, not existing files. Existing files should not get corrupted. If a filesystem cannot guarantee integrity of existing files both in a data and metadata sense, then I'd say that is a candidate for 'untouchable'. When you are dealing with a mail queue, as the OP was asking about, you do want data integrity because once the mail has been queued, the sending side will deleted its copy as you have now assumed responsibility for delivery. This really means that only filesystems that do full journaling can meet such a criteria. If you do not mind losing whatever was very recently queued in the event of a crash/power cut, then go for XFS. Best Regards, Jeff Koch, Intersessions !DSPAM:476d7f49310544027043058!
Re: [vchkpw] OT - Preferred File Systems
We have 4GB's of RAM on the I-RAM which should be more than enough for the qmail queue and log files. I'll check out JFS. Thanks At 06:49 PM 12/21/2007, you wrote: Jeff Koch wrote: We're setting up a new mailserver with a Gigabyte i-ram drive to handle the qmail queue, and qmail logs. The i-ram drive uses standard DDR modules, has a battery backup and is lightning fast - much faster than solid state drives. We'll use SATA RAID for the maildirs and remainder of the server. I'd like to get some input on the best filesystem for the i-ram drive. EXT3 is out because writes are slowed to the speed of a hard drive. I'm leaning towards reiserfs or xfs. However, I've read (wikipedia) that reiserfs is easily corrupted. xfs seems the best. You mean using ext3 on the i-ram gets you the speed of a hard drive? try running ext3 with data=journal (full journal mode) and with noatime. xfs may have the best performance but its data integrity is the worst of all the filesystems available for Linux besides being one of the buggiest. It is the filesystem with the largest codebase there is and it is a filesystem that was ported to Linux with lots of workarounds to work with the Linux kernel. xfs only journals metadata so you will have an intact filesystem but you will get in files after a crash or after power loss. No, the i-ram will not make a difference for xfs will use main memory for data caching. Data will not get a chance to hit the i-ram in the event of a crash or a power cut. reiserfs assumes perfect media which is why it is easily corrupted. The i-ram will probably not give you that problem and besides, this is the qmail queue you are talking about. It probably will not store that much mail at all. I am amazed that you feel comfortable with just 1GB. I would have thought that maybe using the i-ram as an external journal for an ext3 filesystem on SATA disks in full journal mode would have been better. You can also give jfs a shot. It is robust and comes second in most filesystem tests whether they are reads, writes or writing time at least according to Bruce Guenter's maildir suitability benchmark. (google fsbench) Best Regards, Jeff Koch, Intersessions !DSPAM:476c614c310543838827298!
[vchkpw] OT - Preferred File Systems
We're setting up a new mailserver with a Gigabyte i-ram drive to handle the qmail queue, and qmail logs. The i-ram drive uses standard DDR modules, has a battery backup and is lightning fast - much faster than solid state drives. We'll use SATA RAID for the maildirs and remainder of the server. I'd like to get some input on the best filesystem for the i-ram drive. EXT3 is out because writes are slowed to the speed of a hard drive. I'm leaning towards reiserfs or xfs. However, I've read (wikipedia) that reiserfs is easily corrupted. xfs seems the best. Anyone have any comments of suggestions. Best Regards, Jeff Koch, Intersessions !DSPAM:476be8bd310544004610834!
Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc?
Shane - where do you set the IMAP server option? At 12:03 AM 12/21/2007, you wrote: On Thu, 2007-12-20 at 20:19 +0800, Christopher Chan wrote: > [EMAIL PROTECTED] wrote: > >> [EMAIL PROTECTED] wrote: > >>> Hi, > >>> > >>> > >>> Inspired by you discussion I moved from Courier to Dovecot yesterday. > >>> All took some 30 minutes and now it os waroking like a charm. > >>> > >> That is good. > > > > First advantage I noticed is that login failure take less time. With courier it took some 15-2- seconds before it said access denied. Now it is immediate. > > > > Say...did you have to apply a vpopmail patch? I did apply the patch by hand, but its not really needed. I must say that im totally impressed by the speed improvement on large Maildirs. Also for those moving from Bills toaster, you will also want to change the Imap server option to Dovecot and also set the Default Folder Prefix to none in squirrelmail. Shane Best Regards, Jeff Koch, Intersessions !DSPAM:476b5704310541915119535!
Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc?
Hi Remo - thanks - we'll give Dovecot a try. At 12:06 AM 12/20/2007, you wrote: here is the one I use: protocols = imap imaps listen = * disable_plaintext_auth = no shutdown_clients = yes syslog_facility = local7 #<-- Ensure this is set up in syslog conf ssl_disable = no login_user = dovecot login_dir = /home/dovecot/ login_max_connections = 4096 login_greeting = Italy1 IMAP Server # <-- CUSTOMISE FOR YOUR SITE ssl_cert_file = /usr/local/etc/ssl/italy1-cert.pem ssl_key_file = /usr/local/etc/ssl/italy1.pem first_valid_uid = 89 first_valid_gid = 89 protocol imap { listen = *:143 ssl_listen = *:993 #mail_plugins = quota imap_quota #login_greeting_capability = no mail_plugin_dir = /usr/local/lib/dovecot/imap imap_client_workarounds = outlook-idle } auth_process_size = 512 auth_cache_size = 512 auth_cache_ttl = 3600 auth default { mechanisms = plain # vpopmail authentication passdb vpopmail { #args = } # vpopmail userdb vpopmail { } user = root } dict { #quota = mysql:/etc/dovecot-dict-quota.conf } plugin { quota = maildir } Jeff Koch wrote: > > Hi Remo: > > That would be great. Please send the info to me at > [EMAIL PROTECTED] or you can send it to the list - I'm sure > lots of toaster folks would like to try it. > > Thanks. > > > At 11:21 PM 12/19/2007, you wrote: >> I just did that.. I can send you hte info of my conf for the dovecot >> >> Remo >> >> Jeff Koch wrote: >> > >> > We use Bill Shupp's toaster. Would anyone know whether Dovecot is an >> > easy replacement for Courier? >> > >> > >> > At 10:50 PM 12/19/2007, you wrote: >> >> I have to second, third, and fourth that. We moved from Courier to >> >> Dovecot and the performance change was dramatic. We have 5,000+ >> >> accounts on 2 clustered (active / active) servers utilizing GFS for >> >> the file system on a SAS SAN and the fact that Dovecot had built in >> >> support for clustered setups was a major plus. Had a few issues off >> >> the bat with POP3 UID's but quickly fixed that one thanks to Dovecots >> >> easy to change UID definitions. Don't think I'll ever change back. >> >> >> >> -- >> >> Ed McLain >> >> >> >> >> >> >> >> From: Rick Romero <[EMAIL PROTECTED]> >> >> Reply-To: >> >> Date: Wed, 19 Dec 2007 15:08:54 -0600 >> >> To: >> >> Conversation: [vchkpw] [OT] IMAP Servers: Dovecot or Binc? >> >> Subject: Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc? >> >> >> >> On Wed, 2007-12-19 at 11:11 -0800, Tom Collins wrote: >> >> > Courier-IMAP seems to be putting a heavy load on my server when >> >> > someone accesses a mailbox with a large number of messages in it. >> >> > >> >> > What's the preferred IMAP server for a machine that will have >> 100-200 >> >> > connections (plan for growth...) but may have an occasional mailbox >> >> > with 1000+ messages in it. I've searched the archives and tried to >> >> > google for "imap server performance" and "imap server comparison" >> but >> >> > haven't come up with much after an hour. >> >> >> >> > My impression is that Dovecot performs well, better than courier, >> but >> >> > I'm wondering if anyone can offer up some real-world numbers to help >> >> > me make my decision. >> >> >> >> Dovecot has really come out in the past year or so. I started with >> .99, >> >> I upgraded from Courier, but honestly it wasn't really up to date. >> >> >> >> Dovecot's indexing showed an immediate improvement on large mailboxes. >> >> With 1.0.5, the only issue I have is with a few older Mac clients. >> For >> >> me this affects about 4 out of 450 clients total. >> >> >> >> I don't have any numbers, but I've had at least 1500 messages in my >> >> INBOX, not including subfolders, with great performance. The >> change was >> >> so dramatic I didn't need any numbers. >> >> >> >> Rick >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > >> > Best Regards, >> > >> > Jeff Koch, Intersessions >> > >> > >> > >> > >> > >> > >> >> > > Best Regards, > > Jeff Koch, Intersessions > > > > > > Best Regards, Jeff Koch, Intersessions !DSPAM:4769fc00310541199778393!
Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc?
Hi Remo: That would be great. Please send the info to me at [EMAIL PROTECTED] or you can send it to the list - I'm sure lots of toaster folks would like to try it. Thanks. At 11:21 PM 12/19/2007, you wrote: I just did that.. I can send you hte info of my conf for the dovecot Remo Jeff Koch wrote: > > We use Bill Shupp's toaster. Would anyone know whether Dovecot is an > easy replacement for Courier? > > > At 10:50 PM 12/19/2007, you wrote: >> I have to second, third, and fourth that. We moved from Courier to >> Dovecot and the performance change was dramatic. We have 5,000+ >> accounts on 2 clustered (active / active) servers utilizing GFS for >> the file system on a SAS SAN and the fact that Dovecot had built in >> support for clustered setups was a major plus. Had a few issues off >> the bat with POP3 UID's but quickly fixed that one thanks to Dovecots >> easy to change UID definitions. Don't think I'll ever change back. >> >> -- >> Ed McLain >> >> >> >> From: Rick Romero <[EMAIL PROTECTED]> >> Reply-To: >> Date: Wed, 19 Dec 2007 15:08:54 -0600 >> To: >> Conversation: [vchkpw] [OT] IMAP Servers: Dovecot or Binc? >> Subject: Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc? >> >> On Wed, 2007-12-19 at 11:11 -0800, Tom Collins wrote: >> > Courier-IMAP seems to be putting a heavy load on my server when >> > someone accesses a mailbox with a large number of messages in it. >> > >> > What's the preferred IMAP server for a machine that will have 100-200 >> > connections (plan for growth...) but may have an occasional mailbox >> > with 1000+ messages in it. I've searched the archives and tried to >> > google for "imap server performance" and "imap server comparison" but >> > haven't come up with much after an hour. >> >> > My impression is that Dovecot performs well, better than courier, but >> > I'm wondering if anyone can offer up some real-world numbers to help >> > me make my decision. >> >> Dovecot has really come out in the past year or so. I started with .99, >> I upgraded from Courier, but honestly it wasn't really up to date. >> >> Dovecot's indexing showed an immediate improvement on large mailboxes. >> With 1.0.5, the only issue I have is with a few older Mac clients. For >> me this affects about 4 out of 450 clients total. >> >> I don't have any numbers, but I've had at least 1500 messages in my >> INBOX, not including subfolders, with great performance. The change was >> so dramatic I didn't need any numbers. >> >> Rick >> >> >> >> >> >> >> >> >> > > Best Regards, > > Jeff Koch, Intersessions > > > > > > Best Regards, Jeff Koch, Intersessions !DSPAM:4769f702310542060826897!
Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc?
We use Bill Shupp's toaster. Would anyone know whether Dovecot is an easy replacement for Courier? At 10:50 PM 12/19/2007, you wrote: I have to second, third, and fourth that. We moved from Courier to Dovecot and the performance change was dramatic. We have 5,000+ accounts on 2 clustered (active / active) servers utilizing GFS for the file system on a SAS SAN and the fact that Dovecot had built in support for clustered setups was a major plus. Had a few issues off the bat with POP3 UID's but quickly fixed that one thanks to Dovecots easy to change UID definitions. Don't think I'll ever change back. -- Ed McLain From: Rick Romero <[EMAIL PROTECTED]> Reply-To: Date: Wed, 19 Dec 2007 15:08:54 -0600 To: Conversation: [vchkpw] [OT] IMAP Servers: Dovecot or Binc? Subject: Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc? On Wed, 2007-12-19 at 11:11 -0800, Tom Collins wrote: > Courier-IMAP seems to be putting a heavy load on my server when > someone accesses a mailbox with a large number of messages in it. > > What's the preferred IMAP server for a machine that will have 100-200 > connections (plan for growth...) but may have an occasional mailbox > with 1000+ messages in it. I've searched the archives and tried to > google for "imap server performance" and "imap server comparison" but > haven't come up with much after an hour. > My impression is that Dovecot performs well, better than courier, but > I'm wondering if anyone can offer up some real-world numbers to help > me make my decision. Dovecot has really come out in the past year or so. I started with .99, I upgraded from Courier, but honestly it wasn't really up to date. Dovecot's indexing showed an immediate improvement on large mailboxes. With 1.0.5, the only issue I have is with a few older Mac clients. For me this affects about 4 out of 450 clients total. I don't have any numbers, but I've had at least 1500 messages in my INBOX, not including subfolders, with great performance. The change was so dramatic I didn't need any numbers. Rick Best Regards, Jeff Koch, Intersessions !DSPAM:4769ea78310547584220865!
[vchkpw] domain quotas
I remember reading on the list some time ago that domain quotas didn't work. Has this been fixed? If so, are there any doc's on how this works? Specifically when the domain quotas is reached who is notified? Best Regards, Jeff Koch
[vchkpw] vpopbul - excluding domains
Two questions on this program: 1. Can domains be excluded from receiving the bulletin instead of having to list every email address? 2. Does the mailing go to forwards as well as pop accounts? Thanks Best Regards, Jeff Koch
[vchkpw] filtering outgoing emails
Hi We are getting demands from large ISP's - Comcast, AOL, AT&T - that we spam filter all outgoing email. We're using simscan to filter incoming email but I think that misses email generated by our customers and autoresponders. Can it be accomplished by modifying /home/vpopmail/etc/tcp.smtp ? How are other qmail users handling this? Thanks in advance. Jeff Koch
[vchkpw] Mail Domain Aliases
Does anyone know if there is an easy way to setup a mail domain alias so that mail addressed to [EMAIL PROTECTED] goes into [EMAIL PROTECTED] I know I can do it by adding another rcpt host and adding lines to /users/assign but maybe there's an easier way. We also use qmailadmin. Thanks Best Regards, Jeff Koch,
Re: [vchkpw] mail quotas
We use Bill Shupp's Toaster with qmail, vpopmail and qmailadmin. You're saying quotas won't work with this combination and just vpopmail installed? At 04:39 PM 6/30/2005, you wrote: here's my two cents on this issue... maildirsize will not reset unless you use courier pop3d or qmail-pop3d with maildir++ patch. Otherwise peoples quotas will fill up and never go down unless you run a cron to remove maildirsize for every user. - Original Message ----- From: "Jeff Koch" <[EMAIL PROTECTED]> To: Sent: Thursday, June 30, 2005 3:37 PM Subject: [vchkpw] mail quotas > > Is there a command to force vpopmail to recalculate the maildirsize. We see > a few cases where it is out of sync with the actual bytes and message > count. Also, we see a few accounts that are over quota still are accepting > mail - especially dictionary attack spams. Can the system enforce strict > quotas and just not accept any mail when over quota. We had a account go > over 997MB due to dictionary attacks and they had set the account as the > default. > > TIA > > > Best Regards, > > Jeff Koch, > > Best Regards, Jeff Koch, Intersessions
[vchkpw] mail quotas
Is there a command to force vpopmail to recalculate the maildirsize. We see a few cases where it is out of sync with the actual bytes and message count. Also, we see a few accounts that are over quota still are accepting mail - especially dictionary attack spams. Can the system enforce strict quotas and just not accept any mail when over quota. We had a account go over 997MB due to dictionary attacks and they had set the account as the default. TIA Best Regards, Jeff Koch,
[vchkpw] dir_control
We copied over the vpopmail setup from one server to another and now we find that domains are not being spread out properly in the directory tree - they are just piling up in one branch. Does anyone know how and what to reset in order that domains be spread evenly in the tree? Thanks, Jeff Koch
RE: [vchkpw] chkusr on gateway mx?
We are doing exactly this with our gateway MX server. First we replicate the MySQL database then we use rsync running every 30 minutes to just sync the first couple of directory levels from the /home/vpopmail/domains/x/domain.com on the vpopmail server (this picks up the aliases, mailing lists and autoresponder names) and the /var/qmail/users/assign file. chkuser works perfectly at the MX server. SMTPROUTES sends everything to the vpop server. We do virus filtering and spam analysis on the MX server and the balance on the pop server. Basically, we just sync enough over to the MX server so chkuser can work. At 03:00 PM 2/14/2005, you wrote: Paul Theodoropoulos wrote: > is there any way to run chkusr on these 'gateway' MX servers? i use > MySQL authentication. The mysql server is the pop server, and i > replicate that on the primary MX (where the majority of mail comes > in). is there any way to 'hook' into the authentication info in the > replicated database directly? > that woudl be ideal, as it should be quite fast. > This isn't possible with the current version of chkuser. I'm wanting to do the exact same thing. Vpopmail currently needs access to 1) the authentication scheme (MySQL in your case) 2) the file system (to check the ~qmail/control files and .qmail- files for aliases and catchalls) Also, keep in mind that you can set up vpopmail/chkuser to check against the primary MySQL database. There is no need to replicate it. I've been told that the Antonio wants to build client/server functionality into chkuser but hasn't been able to find the time. I for one look forward to seeing it. Best Regards, Jeff Koch, Intersessions
Re: [vchkpw] limiting frequency of pop access
Hi Paul: We've tried that and found that most users either ignore the email, think it's a phishing attempt or don't know how to change the frequency with which their Outlook Express pops in. At 12:12 AM 2/7/2005, you wrote: At 08:23 PM 2/6/2005, you wrote: Does anyone know if there is a way to limit the frequency with which users pop in to check their email. We have a problem where hundreds of users are checking their email every minute and putting an excessive load on the server. We would like to refuse pop3 connections to a user unless ten minutes has passed. Thanks in advance for any help. it's not the solution you're looking for, but wouldn't it be better to send out a pop bulletin, asking customers to reduce the frequency with which they check for new mail? That's better than dealing with the tech support inquiries you'll get when customers start 'having trouble connecting to the pop server'. just imho Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com Best Regards, Jeff Koch, Intersessions
Re: [vchkpw] limiting frequency of pop access
Hi Rick: Sounds very interesting. I'll take a look at it. I don't think we'd like to continually lock users out but we would prefer to let them login to get their mail once the 10 minutes has expired. So if they check their email once every minute the patch would lock them out until the ten minutes was up and then let them in to get their email. At 11:51 PM 2/6/2005, you wrote: Jeff Koch wrote: Does anyone know if there is a way to limit the frequency with which users pop in to check their email. We have a problem where hundreds of users are checking their email every minute and putting an excessive load on the server. We would like to refuse pop3 connections to a user unless ten minutes has passed. Thanks in advance for any help. There is support for something like that in the CVS version of vpopmail. If you are using CDB, it is pretty well tested, and might be safe to use. MySQL is lightly tested, and appears to work. No other back ends have been tested. If you don't want to take that chance, you can look at the following patch to vchkpw.c for a way to install just that feature. http://cvs.sourceforge.net/viewcvs.py/vpopmail/vpopmail/vchkpw.c?r1=1.13&r2=1.14 If you change the source file to look like the right column, leaving out the #ifdef MIN_LOGIN_INTERVAL and associated #endifs it will add that ability. in the if(), change '< MIN_LOGIN_INTERVAL' to the '< {number of seconds}' you want to reject logins for. 600 seconds = 10 minutes, so maybe use 580 so if they set their mail clients to 10 minutes they are safe. This patch is nasty... as long as they check email every minute, they will NEVER receive it. They _must_ set their interval between checks to be longer than the time limit you specify, or every check after the first will fail. But then that is what you want them to do, right? Be prepared for lots of panic stricken users, and maybe a lynch mob. :) Eventually I want to put in a grace count which will allow someone to short cycle a few times before the penalty goes into effect. If you are expecting something important you can manually check say 5 to 10 times within the normal interval, but repeated short attempts will trigger the penalty delay. Best Regards, Jeff Koch, Intersessions
[vchkpw] limiting frequency of pop access
Does anyone know if there is a way to limit the frequency with which users pop in to check their email. We have a problem where hundreds of users are checking their email every minute and putting an excessive load on the server. We would like to refuse pop3 connections to a user unless ten minutes has passed. Thanks in advance for any help. Best Regards, Jeff Koch
Re: [vchkpw] webmail
Hi: Because IMHO the imap webmail solutions are agonizingly slow using the kinds of connections you are likely to see on the road. At 05:28 PM 6/3/2004, you wrote: Alexandre Vieira wrote: Hello folks, I heard that squirrelmail worked with POP3 accounts but in the website it only says that support IMAP. Is there any patch/plugin or something to make it work with POP3? If no, is there any other good webmail to use with POP3 servers? Thanks! You only have to install courier-imap to make squirrel work. It is a no-brainer installation. I'd recommend trying it. Why dont you want to use a pop3 only solution anyway? -Patrick Best Regards, Jeff Koch, Intersessions
[vchkpw] limiting frequency of user pop sessions
We have users that have their email clients set to check for new mail every minute. We ask them to check no more than once every 15 minutes but they don't listen. We are hitting close to 10K pop sessions/hour at peak and it is killing the server. Is there anything we can do to prevent them from popping so frequently? A patch maybe or a config entry? Thanks Best Regards, Jeff Koch
Re: [vchkpw] pop3 concurrency
Hi Chris: Sorry for not being clearer - but your answer was exactly what I was looking for. Thanks At 12:38 AM 5/26/2004, you wrote: On Wed, 26 May 2004, Jeff Koch wrote: > > Hi: > > pop3 sessions seem to be limited to a maximum of 40. Does anyone know how > this can be raised to 50? > > Thanks > > > Best Regards, > > Jeff Koch > I'm guessing you're talking about simultaneous POP3 connections? If you're using tcpserver, which I'm guessing you are since tcpserver's default connection limit is 40, you can use the -c option to set it to something higher. For full details on tcpserver, see the below URL: http://cr.yp.to/ucspi-tcp/tcpserver.html - Chris This email was created with 100% recycled electrons. ---- Best Regards, Jeff Koch, Intersessions
[vchkpw] pop3 concurrency
Hi: pop3 sessions seem to be limited to a maximum of 40. Does anyone know how this can be raised to 50? Thanks Best Regards, Jeff Koch
Re: [vchkpw] webmail
We've used Kim Holviala's Mailreader v2.3.26 for ages. It's not great but it works. At 06:29 PM 5/17/2004, you wrote: Hello folks, Ive been trying to find a webmail to use with qmail+vpopmail but im afraid that i couldnt find. I used squirrelwebmail for ages (IMAP) and now I wanted one for my pop server. If anyone is using some web-mail that seems to be good please give me a hint! Thanks for the help! Alex Best Regards, Jeff Koch, Intersessions
Re: [vchkpw] mysql-auth replicated databases
Hi Rick: Thanks for the help. We managed to get replication running and it seems to working. We stayed with MySQL 3.23.58 because we were unable to get the upgrade to MySQL version 4 to work. So now we have chkuser-mysql and virus scanning off-loaded to the front-end server. Next step is to offload the spamassassin but that should be easy since the mysql userprefs tables are being replicated also. At 01:21 PM 4/21/2004, you wrote: On Wed, 2004-04-21 at 12:08, Jeff Koch wrote: > In order to relieve the load from our main mailserver we offloaded chkuser > and virus scanning to a frontend mailserver. However, the front-end server > is not getting a fast enough response on the chkuser query from the mysql > server on the main mailserver and, at peaks loads, has started bouncing mails. > > We would like to have a slave copy of the mysql vpopmail DB on the > front-end mailserver to service chkuser queries directly. We need to keep > the slave database in sync with the master DB and would like to use mysql > replication. Can we get some opinions on how best to keep the DB's in sync? > Does replication work OK? Do we need to upgrade to MySQL version 4? Or can > we get away with rsync? I just did this in Feb. Upgrade both systems to MySQL version 4. Then follow this: http://dev.mysql.com/doc/mysql/en/Replication.html I personally did the LOAD DATA FROM MASTER to get the initial data set over to the slave. I also put some settings into the local /etc/my.cnf - I kept typing commands wrong within MySQL ;) Master: [mysqld] log-bin server-id=1 Slave:[mysqld] server-id=2 master-host=master.host.com master-user=user master-password=pass max_connections=800 I had a hell of a time trying to get a Master 3.x server, and a slave 4.x. I strongly recommend going with 4.x on both boxes. Once I upgraded the master, everything went smoothly. Rick > Thanks in advance for the advice and counsel. > > > Jeff Koch Best Regards, Jeff Koch, Intersessions
[vchkpw] mysql vlog
Our mysql vlog database seems to growing very large and now I'm not sure we even need it. Is there any way of stopping the vlogging without re-compiling vpopmail? I know we can go into mysql and delete records but since we are going to start replication we don't want the vlog transactions in the mysql update logs. Best Regards, Jeff Koch, Intersessions
[vchkpw] mysql-auth replicated databases
In order to relieve the load from our main mailserver we offloaded chkuser and virus scanning to a frontend mailserver. However, the front-end server is not getting a fast enough response on the chkuser query from the mysql server on the main mailserver and, at peaks loads, has started bouncing mails. We would like to have a slave copy of the mysql vpopmail DB on the front-end mailserver to service chkuser queries directly. We need to keep the slave database in sync with the master DB and would like to use mysql replication. Can we get some opinions on how best to keep the DB's in sync? Does replication work OK? Do we need to upgrade to MySQL version 4? Or can we get away with rsync? Thanks in advance for the advice and counsel. Jeff Koch
Re: [vchkpw] open-smtp.tmp.xxx files scattered about
Hi Michael: Thank you very much for the full story. I appreciate the help. At 09:22 PM 4/20/2004, you wrote: - Original Message - From: "Jeff Koch" <[EMAIL PROTECTED]> > > Michael - can you confirm that this only occurs with courier-imap? Because > we have two other mailservers with the same version of vpopmail that do not > have this problem - they are not running courier-imap. Is there any problem > deleting these files? Hi Jeff Up until fairly recently, the roaming user code in courier-imap was hardcoded off. This was because of a security bug in the vchkpw code that was being distributed with courier-imap. Earlier this year I fixed the vchkpw code in courier to remove the security bugs. Also at the same time I arranged for modifications to be made to the courier-imap ./configure scripts so that roaming user support in courier-imap would be automatically enabled based on whether this functionality had been enabled in vpopmail However, now that courier-imap is working properly, it exposed a bug in the roaming user code in vpopmail The bug was present when the following combination of features were enabled : * courier-imap with authdaemon * vpopmail with roaming users and not with SQL auth backend The bug resulted in temp files being created, and then never removed. Given enough time/logins, the directory/disk would completely fill with these temp files resulting in system failure. It is safe to delete any old examples of these tmp files from your hard disk (ie older than about 1 hour) I am not sure when the next builds of vpopmail are to be released, but it is possible for you to grab the patched builds direct from the CVS system with a command like this : to get the latest 5.4 build (5.4.4 pre-release) cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/vpopmail login (press enter when prompted for a password) cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/vpopmail checkout -r stable-5_4 vpopmail or to get the lastest 5.5 build (5.5.1 pre-release) cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/vpopmail login (press enter when prompted for a password) cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/vpopmail checkout vpopmail One other thing to note about courier-imap and vpopmail roaming users... If you enable authdaemon in courier, then imap-before-smtp will not work, as when courier is running in authdaemon mode, the IP address of the client is not available to the vchkpw code in courier. If you want to be able do imap-before-smtp, you have to compile courier --with-authvchkpw --without-authdaemon Michael. Best Regards, Jeff Koch, Intersessions
Re: [vchkpw] open-smtp.tmp.xxx files scattered about
Michael - can you confirm that this only occurs with courier-imap? Because we have two other mailservers with the same version of vpopmail that do not have this problem - they are not running courier-imap. Is there any problem deleting these files? At 05:09 PM 4/20/2004, you wrote: - Original Message - From: "Jeff Koch" <[EMAIL PROTECTED]> > > Hi: > > We just setup a new mailserver using Bill's Toaster and are now seeing > these strange files in the /home/vpopmail/etc directory: > > -rw-r--r--1 root root0 Apr 20 00:01 open-smtp.tmp.738 > -rw-r--r--1 root root0 Apr 16 01:38 open-smtp.tmp.739 > > They have zero size and do not seem to be expiring. We are using vpopmail > with roaming user support and courier-imap. We're not sure what's creating > these files. They don't exist on non-courier-imap mailservers. > > Any ideas on where they are coming from or what we did wrong? We can write > a cronjob to delete them but I thought I would ask in case we messed > something up. Yes its a bug in vpopmail Refer to my post from a few days ago (subject "authdaemon & vpopmail") The fix has been uploaded to the vpopmail CVS, so will be in the next release of vpopmail 5.4.x and 5.5.x Michael Best Regards, Jeff Koch, Intersessions
[vchkpw] open-smtp.tmp.xxx files scattered about
Hi: We just setup a new mailserver using Bill's Toaster and are now seeing these strange files in the /home/vpopmail/etc directory: -rw-r--r--1 root root0 Apr 20 00:01 open-smtp.tmp.738 -rw-r--r--1 root root0 Apr 16 01:38 open-smtp.tmp.739 They have zero size and do not seem to be expiring. We are using vpopmail with roaming user support and courier-imap. We're not sure what's creating these files. They don't exist on non-courier-imap mailservers. Any ideas on where they are coming from or what we did wrong? We can write a cronjob to delete them but I thought I would ask in case we messed something up. Thanks, Jeff Koch
[vchkpw] limiting user pop frequency
Our mailserver is getting close to 10,000 pops per hour during the business day. We notice that some users have their email programs set to check for new mail almost every minute. We tell them not to check any more frequently than every ten minutes. Is there some way on the server end to limit the ability of a user to pop in so frequently? Best Regards, Jeff Koch
Re: [vchkpw] domain quotas
Hi Tom: Soft quotas are OK - do they send out emails? If not, I guess we could write a script to check domain diskspace usuage. At 12:10 PM 4/12/2004, you wrote: On Apr 12, 2004, at 7:54 AM, Jeff Koch wrote: Are domain quotas working OK in the latest vpopmail release? To the best of my knowledge, domain quotas do not work. There was a time that they caused vdelivermail to crash, but now they just aren't enforced. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/ Best Regards, Jeff Koch, Intersessions
[vchkpw] domain quotas
Hi All: I'm thinking about implementing domain quotas on a new mailserver with qmailadmin and courier IMAP. Are domain quotas working OK in the latest vpopmail release? What should we be aware of in implementing this feature> Any booby traps with clients and users? How does the notification process work? Are these hard quotas or soft quotas? Are they supported by qmailadmin and squirrelmail? Thanks in advance. Best Regards, Jeff Koch
Re: [vchkpw] pros and cons of smtp auth and pop before smtp
I'll take a crack at it. At 07:28 AM 4/12/2004, you wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, Can anybody point it out to me the pros and cons of: 1. smtp auth - some users have continual trouble configuring their email clients for smtp-auth - conceptually a more elegant approach - can allow the smtp and pop servers to be on different machines if you use mysql-auth 2. pop before smtp? - creates problems with qmail-scanner. Servers authorized to relay skip qmail-scanner virus checks. - simpler and easier to setup. Thanks. - -- Fajar Priyanto | Reg'd Linux User #327841 | http://linux.arinet.org 18:27:38 up 9:50, Mandrake Linux release 9.2 (FiveStar) for i586 public key: https://www.arinet.org/fajar-pub.key -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAen1nkp5CsIXuxqURAsrHAJ9TQGI5ATNVH7TaUwLoVhVyJvKH+QCgvlON BGDFmqVjncW5pBi+41R2C3A= =mcA/ -END PGP SIGNATURE- Best Regards, Jeff Koch, Intersessions
[vchkpw] qmail send log errors
Hi - I know this is the wrong list for this but we do all muck around with qmail and this could be related to the vpopmail setup. I'm getting alot of these in the qmail-send log. I checked the directory permissions and ownerships for this domain and they look OK. Any ideas on how I can fix this? @40004064b9322da89364 starting delivery 642482: msg 7558279 to local [EMAIL PROTECTED] dmin.espyder-edeint.com @40004064b9322da8a6ec status: local 1/10 remote 2/20 @40004064b9322dce4f8c delivery 642482: deferral: Unable_to_chdir_to_maildir._(#4. 2.1)/ Best Regards, Jeff Koch, Intersessions
[vchkpw] pop before smtp - controlling open-smtp
Is there anyway to control the format of the record that gets added to /home/vpopmail/etc/open-smtp ? The record currently looks like: 216.250.211.80:allow,RELAYCLIENT="",RBLSMTPD="" 1080009393 We would like it to be: 216.250.211.80:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" 1080009393 This would allow us to insure we had virus-scanning on mail from popped IP's without permanently setting the QMAILQUEUE variable which then scans everything with a large overhead. Best Regards, Jeff Koch
[vchkpw] Enter Network Password
Hi: We have a user with Outlook 2003 as his mail client that keeps getting a popup window that asks him to enter a network username and password when he tries to pop in and get hia email. I'm sure he's got something wrong with his properties and I've gone over his settings 20 times with him on the phone. But he's at a remote location so I can't look over his shoulder. Has anyone seen this 'Enter network password' box? How do I get rid of it? Help! Best Regards, Jeff Koch
RE: [vchkpw] Have I screwed myself?
We used the toaster at shupp.org with the chkuser.mysql patch (see his home page) and vpopmail modified for mysql auth and it works great. At 06:40 AM 3/8/2004, you wrote: Alright, thanks. Does anyone else know how I can migrate from what Ive got now to vpopmail? Also, hows this going to work with any SMTP AUTH patch? Thanks, Chris Miller Compuville <http://www.compuville.net>www.compuville.net -- From: Shane Chrisp [mailto:[EMAIL PROTECTED] Sent: Sunday, March 07, 2004 9:45 PM To: [EMAIL PROTECTED] Subject: RE: [vchkpw] Have I screwed myself? Yes if you use vpopmail + the chkusr patch, you can prevent those messages from ever reaching the queue of your mail server. Im not familiair with a qmail + Checkpassword with the MySQL patch setup, so you may need to recompile qmail to get it all working nicely. See a few of the howto documents like <http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm>http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm or <http://www.shupp.org>http://www.shupp.org just to name 2 of the many howto's that are out there. Shane -- From: Chris Miller [mailto:[EMAIL PROTECTED] Sent: Monday, 8 March 2004 4:14 AM To: [EMAIL PROTECTED] Subject: [vchkpw] Have I screwed myself? Simple question: Have I screwed myself, and is it going to be possible to setup true multi domain hosting coming from what I have? My current setup is qmail + Checkpassword with the MySQL patch (from <http://iain.cx/qmail/mysql/>http://iain.cx/qmail/mysql/). It works great, but there is a major flaw with it. Lets say I setup an account to be <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] and another at <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] If I send mail to <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] or <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED], it will get to their mailbox. It should bounce, but it does not that is BAD. By using vchkpw, would that solve my problem? But how do I go about moving my current accounts in MySQL to work with the new schema of vchkpw? Also, is moving to vchkpw going to break my SMTP AUTH patch that I also use? Thanks, Chris Miller Compuville <http://www.compuville.net>www.compuville.net Best Regards, Jeff Koch, Intersessions
Re: [vchkpw] vpopmail and courier-imap many domains?
This is an interesting question. If true, where in the code can we force vpopmail to not add directory levels? At 03:39 PM 3/6/2004, you wrote: Hi, i have a little question about vpopmail and imap, i have been using it since a while but recently i got a problem, vpopmail has added new directory (0) and put all new domains in it , but the problem is that all domains there doesn t work with courier-imap, in fact imap only check the main directory of vpopmail (i have try the vchkpw2userdb to see and no domain that are in the 0 appear) has anyone got that problem and any solutions? thanks Best Regards, Jeff Koch, Intersessions
Re: [vchkpw] vpopmail and courier-imap
Forget squirrel-mail for the moment. When users of IMAP email clients like Outlook and Outlook Express setup their accounts on those programs we want them to only have to enter their email name and NOT their full email address as their account names. When IP-Domain mapping is enabled in vpopmail this works properly when configuring these clients for POP3 but not for IMAP. I'm asking if anyone knows if the vpopmail authentication method that works with IP-domain mapping carries through to courier-imap. I am asking the question here because courier-imap seems to be relying on the vchkpw authentication module. At 03:33 PM 3/6/2004, you wrote: On Sat, 2004-03-06 at 13:16, Jeff Koch wrote: > Is there a way to get vpopmail's IP-domain mapping to work with > courier-imap and IMAP clients? > > We're trying to use squirrel-mail/courier-imap and all the rest. IP-domain > mapping is working fine with POP3 clients but not IMAP. well, more than likely squirrelmail is only going to be connecting to one IP address, so IP mapping through courier-imap isn't the way to go there. Can you see if IP mapping is working directly with courier-imap by using an MUA? I think the problem in this case is your thinking, and not courier-imap. -Jeremy -- Jeremy Kitchen Systems Administrator [EMAIL PROTECTED] Kitchen @ #qmail on EFNet - Join the party! . Inter7 Internet Technologies, Inc. www.inter7.com 866.528.3530 toll free 847.492.0470 int'l 847.492.0632 fax GNUPG key ID: 93BDD6CE Best Regards, Jeff Koch, Intersessions
[vchkpw] vpopmail and courier-imap
Is there a way to get vpopmail's IP-domain mapping to work with courier-imap and IMAP clients? We're trying to use squirrel-mail/courier-imap and all the rest. IP-domain mapping is working fine with POP3 clients but not IMAP. Best Regards, Jeff Koch
Re: [vchkpw] Suggestions for improving performance
Hi Jeremy: Thanks for replying. We're using spamc in a maildrop filter called for each pop account (via qmailadmin's spam enable setting). User SA prefs are maintained by. MySQL Good suggestion on the catch-alls - we'll do a scan for accounts with many emails. We do have some with 10 to 15,000 emails. ReiserFS was not an option on RH8.0 unfortunately. We've got 28,000 emails in the queue - not preprocessed is zero. - concurrencyincoming = 30 - debugging is turned on for qmail-scan (seems to be the only way to generate a log of all messages processed) but the log is closed and zipped each night. - smtpd log shows we're using about 15 of the 30 incoming connections. - softlimit in /var/qmail/supervise/qmail-smtpd/run is 30MB - vpopmail is configured for MySQL auth with all domains in one table. - we use mfcheck and the checkuser patch (mysql) to drop questionable connections. I don't know what you mean by 'conf-split' or big-{ext-}. At 02:01 PM 2/27/2004, you wrote: On Fri, 2004-02-27 at 12:53, Jeff Koch wrote: > Does anybody have any suggestion for improving the performance of a > mailserver runnning qmail/vpopmail/qmailadmin/qmail-scanner/spamassassin? are you using spamd and having qmail-scanner call spamc? or is it calling spamassassin. if the latter, change it to spamd/spamc model, much more efficient. > We're using a 2.4Ghz P4 with 1GB RAM and a 40GB SCSI drive. The operating > system is a basic RH8.0 install with the ext3 journalling file system. > We're handling about 50K messages/day and seem to exhausting the > capabilities of the server. During peak periods CPU idle time reaches 0% > and load averages will exceed 10.0 with ext3 you have to be careful about catchall accounts, and accounts that nobody checks that get a lot of email. If there are say, 25000 messages in an account and it gets 100 messages per hour, that will bring your server performance down quite a bit. of course, using reiserfs on the mail store will fix that problem. I've had over 150k emails in one account with reiserfs, and the system wasn't even being phased as I pumped more mail at it (was load testing for a customer) > We would welcome any suggestions or URL's that you could point to - > particularly with respect to performance tuning that will work with qmail. what is the approximate queue load, and what is your conf-split value? do you have big-{ext-,}todo? -Jeremy -- Jeremy Kitchen Systems Administrator [EMAIL PROTECTED] Kitchen @ #qmail on EFNet - Join the party! . Inter7 Internet Technologies, Inc. www.inter7.com 866.528.3530 toll free 847.492.0470 int'l 847.492.0632 fax GNUPG key ID: 93BDD6CE Best Regards, Jeff Koch
[vchkpw] Suggestions for improving performance
Does anybody have any suggestion for improving the performance of a mailserver runnning qmail/vpopmail/qmailadmin/qmail-scanner/spamassassin? We're using a 2.4Ghz P4 with 1GB RAM and a 40GB SCSI drive. The operating system is a basic RH8.0 install with the ext3 journalling file system. We're handling about 50K messages/day and seem to exhausting the capabilities of the server. During peak periods CPU idle time reaches 0% and load averages will exceed 10.0 We've seen some recommendations ( http://people.redhat.com/alikins/system_tuning.html , for example) for changing hard disk and file system parameters mostly having to do with read/write caching and cache sizes and minumum delays before writing to disk but we have been afraid to try any of these for fear of making things worse. We would welcome any suggestions or URL's that you could point to - particularly with respect to performance tuning that will work with qmail. Thanks Best Regards, Jeff Koch
Re: [vchkpw] vpopmail - stunnel
Hi Tom: Thanks. That's interesting. So we can do encrypted smtp and pop or imap sessions without bothering with PGP? Any idea which email clients support that? At 01:00 PM 2/25/2004, you wrote: On Feb 25, 2004, at 9:43 AM, Jeff Koch wrote: I have started seeing stunnel processes owned by vpopmail in the process log. Can anyone explain what that's about? or should I be concerned? vpopmail 6977 0.0 0.0 3272 848 ?SFeb19 0:00 /usr/sbin/stunnel -f -p /var/qmail/control/servercert.pem -l /var/qma Probably POP, IMAP or SMTP over SSL. If you get a longer listing (ps auxw) you'd probably see that it's qmail-popup or qmail-smtpd running. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter handheld Network Tester: http://sniffter.com/ Best Regards, Jeff Koch, Intersessions
[vchkpw] vpopmail - stunnel
I have started seeing stunnel processes owned by vpopmail in the process log. Can anyone explain what that's about? or should I be concerned? vpopmail 6977 0.0 0.0 3272 848 ?SFeb19 0:00 /usr/sbin/stunnel -f -p /var/qmail/control/servercert.pem -l /var/qma Best Regards, Jeff Koch
Re: [vchkpw] vpopmail and qmail smtp-auth patch, cram-md5 problem
What email client do you use? At 08:29 AM 2/24/2004, you wrote: hi together, i have a problem with my vpopmail installation in conjunction with cram-md5. everything worked fine till i upgraded from vpopmail 5.4.0-pre2 to 5.4.1. i can´t use cram-md5 anymore and i always get the message vchkpw-smtp: password fail. up to now qmail patched with the smtp-auth patch did my cram-md5 authentification. what attracted my attention is that now i have to cram-md5 entries in the ehlo message from my qmail-server: ehlo example.com 250-mail.example.com 250-AUTH LOGIN CRAM-MD5 PLAIN 250-AUTH=LOGIN CRAM-MD5 PLAIN 250-STARTTLS 250-PIPELINING 250 8BITMIME thanks a lot! regards alexander gruber Best Regards, Jeff Koch, Intersessions
RE: [vchkpw] CRAM-MD5 smtp-auth vpopmail-5.4.0 and spamcontrol-2.2.9
What you say may be true. But I can tell you from our experience that Eudora cannot smtp authenticate unless cram-md5 is 'undef' in qmail-smtpd.c whereas Outlook can. At 02:17 AM 2/24/2004, you wrote: From: Jeff Koch [mailto:[EMAIL PROTECTED] > > > CRAM-MD5 (both with and without MySQL) breaks if you are > using Eudora as a mail client but otherwise works fine > with Outlook and Outlook Express. Neither of those does cram-md5, they talk auth login. David Best Regards, Jeff Koch, Intersessions
Re: [vchkpw] CRAM-MD5 smtp-auth vpopmail-5.4.0 and spamcontrol-2.2.9
CRAM-MD5 (both with and without MySQL) breaks if you are using Eudora as a mail client but otherwise works fine with Outlook and Outlook Express. Over the last several days we have built three mailservers using Bill's Toaster without mysql and also modified to use mysql. In each case we have had to manually turn off CRAM-MD5 by 'undef' CRAM-MD5 on line 45 of qmail-smtpd.c. and re-compiling qmail. This is a problem with qmail smtp-auth not vpopmail. (Actually it's a problem with Eudora.) At 01:04 AM 2/24/2004, you wrote: On Mon, 2004-02-23 at 22:58, Yuri Nosyrev wrote: [snip can't do cram-md5 with vpopmail 5.4.0 with mysql] > Is there any known troubles with CRAM-MD5 authentication method at > vpopmail-5.4.0 (cause I've heard about misfunctioning of this smtp-auth > method at vpopmail-5.4.0-rc1) ? I know for a fact it works with cdb backend, but I as well have not gotten it to work with mysql backend. I brought this up on the list a few weeks ago, and I am working on getting a test environment set up to get some information that might be useful for debugging. -Jeremy -- Jeremy Kitchen Systems Administrator [EMAIL PROTECTED] Kitchen @ #qmail on EFNet - Join the party! . Inter7 Internet Technologies, Inc. www.inter7.com 866.528.3530 toll free 847.492.0470 int'l 847.492.0632 fax GNUPG key ID: 93BDD6CE Best Regards, Jeff Koch, Intersessions
Re: [vchkpw] unable to parse this line
Maybe I'm wrong but I do not think there should be spaces between email addresses. At 05:47 AM 2/23/2004, you wrote: Hi all, I've recently been seeing a number of error messages in my qmail send logs, which relate to messages with multiple recipients. The email being sent gets delivered to some of the users on the list but not all. I've checked and doublechecked that the accounts are valid, but can't find any clues as to why its failing. I'm not even sure whether this is a vpopmail issue or a qmail-inject problem. Has anyone come across this? 2004-02-23 05:59:10.701648500 delivery 121519: success: vdelivermail:_valiases_processed/qmail-inject:_fatal:_unable_to_parse_this_line:/To:[EMAIL PROTECTED];[EMAIL PROTECTED];[EMAIL PROTECTED];[EMAIL PROTECTED];[EMAIL PROTECTED];[EMAIL PROTECTED]/did_0+0+1/ vpopmail version: 5.3.30 Many thanks Martin. Best Regards, Jeff Koch, Intersessions
Re: [vchkpw] vconvert deletes qmailadmin-limits?
Hi Tom: The only tables we see are: mysql> show tables; ++ | Tables_in_vpopmail | ++ | dir_control| | lastauth | | vlog | | vpopmail | ++ 4 rows in set (0.00 sec) Any ideas? At 03:00 PM 2/17/2004, you wrote: On Feb 17, 2004, at 11:18 AM, Jeff Koch wrote: After untarring the domains.tgz file and copying over the /qmail/control and /qmail/assign files we ran 'vconvert -c -m' and after the conversion we found vconvert had deleted all of the '.qmailadmin-limits' files. Is this a known bug or did we do something stupid? Did it move the limits into MySQL? -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter handheld Network Tester: http://sniffter.com/ Best Regards, Jeff Koch, Intersessions
[vchkpw] vconvert deletes qmailadmin-limits?
Hi: We transferred 600 domains and about 5000 mail accounts from a server using vpopmail with cdb to a new server using the latest 5.4.0 built with mysql for auth but no mysql aliases or limits. After untarring the domains.tgz file and copying over the /qmail/control and /qmail/assign files we ran 'vconvert -c -m' and after the conversion we found vconvert had deleted all of the '.qmailadmin-limits' files. Is this a known bug or did we do something stupid? Our configure directives were: ./configure --enable-logging=v --enable-clear-passwd --enable-auth-module=mysql --disable-mysql-limits --enable-mysql-logging Best Regards, Jeff Koch
Re: [vchkpw] QMAILQUEUE and Vpopmail
What am I missing here? We have qmailscanner running on two qmail/vpopmail/qmailadmin servers using the 5.4.0 version and we use the QMAILQUEUE variable in /home/vpopmail/etc/tcp.smtp. You need to follow the instructions in qmailscanner. At 03:10 PM 2/10/2004, you wrote: Tuesday 10 February 2004 19.21 skrev Jeremy Kitchen: 7> On Tue, 2004-02-10 at 12:17, Eduardo M. Bragatto wrote: > > From Qmail-Scanner FAQ (http://qmail-scanner.sourceforge.net/FAQ.php): > > > > "Q-S doesn't work with Vpopmail Vpopmail basically strips out > > environment variables set within the tcpserver SMTP rules file - > > specifically the QMAILQUEUE environment variable. As it is responsible > > for starting qmail-smtpd, that means Qmail-Scanner never gets called. > > This is really a bug with Vpopmail, but a workaround is to set > > QMAILQUEUE within /service/smtpd/run instead.(..)" > > > > This "bug" has been fixed in some recent version of vpopmail? > > it doesn't do it to the tcp.smtp file, it might in the open-smtp file, > but I'm not sure. > > versions 5.3.21 and 5.4.0 I can confirm this. How do I increase the buffer for this? I mean I could patch the source to have a huge line to feed the open-smtp and cdb file, but last time I tried this it didn't work. Any suggestions? Best Regards, Jeff Koch, Intersessions
[vchkpw] Upgrade and conversion to mysql problem Vpopmail 5.4.0
A few more details on our problem converting a vpopmail 5.4.0rc1 cdb system to vpopmail 5.4.0 using mysql. We built a brand new server running Bill's Toaster with vpopmail 5.4.0 with mysql and qmailadmin 1.2.0. Everything worked great mysql tables were working, mail was properly recieved and put in the rights places, we could pop in and get mail, we could send mail, etc. Qmailadmin was working just great with mysql. Then we tried to transfer over our 500 virtual domains and 2500 mail accounts. We tar-zipped the /home/vpopmail/domains directory and expanded it on the new server. We transferred over /var/qmail/control/assign and cdb and /var/qmail/control rcpthosts, morercpthosts, morercpthosts.cdb and virtualdomains. The we ran ./vconvert which seemed to properly convert the vpasswd files into the mysql tables. However, at this point we can send email to the server and it gets put into the correct maildir location (and chkuser.mysql.tdma patch is working), we can use 'vadddomain' to add domains and they get added to the mysql tables but 'vdominfo' does not work and the pop server won't let us in to pick up email. Any ideas how we could have screwed up this conversion? Were we supposed to delete the vpasswd files after converting to mysql? We are absolutely sure vpopmail was compiled with mysql support since that was working previously. Any advice would be appreciated. Best Regards, Jeff Koch
[vchkpw] Vconvert problem in 5.4.0 - help
Does anyone know if there is a problem in the vconvert program converting from cdb to mysql in vpopmail 5.4.0? After running vconvert across all domains here is the contents of the mysql vpopmail table: | pw_name| pw_domain | pw_passwd | pw_uid | pw_gid | pw_gecos | pw_dir| pw_shell| pw_clear_passwd | ++---+++++---+-+-+ | spam | emm15.org | $1$Squ80GTv$x/0r6Qqm51cxi0r3RborU1 | 1 | 0 | spam | /home/vpopmail/domains/5/emm15.org/spam | 20485760S,1000C | xxx | | postmaster | emm15.org | $1$ag6IlD6H$/USpGUDz5jaAOq7Mc72rH/ | 1 | 0 | Postmaster | /home/vpopmail/domains/5/emm15.org/postmaster | 20485760S,1000C | bxer| ++---+++++---+-+-+ But yet when I run 'vdominfo emm15.org' I get: orion:/home/vpopmail/bin# ./vdominfo emm15.org domain: emm15.org uid:89 gid:89 dir:/home/vpopmail/domains/5/emm15.org users: 0 It show 0 users when the mysql table shows 2 users. (I'm depressed.) Best Regards, Jeff Koch
[vchkpw] qmailadmin 1.2.0 and mysql problem
I'll simplify my previous email. We've installed vpopmail 5.4.0rc2 with mysql support and it works properly updating both email accounts and alias/forwards in the mysql database. We then compiled and installed qmailadmin 1.2.0 but it will only update email accounts in the mysql database. It is handling alias/forwards by writing .qmail files to the domain folders and it is NOT updating the mysql valias table. qmailadmin is also only displaying aliases from the .qmail entries in the domain folder and NOT reading the contents of the mysql valias table. Are these versions of vpopmail and qmailadmin supposed to have compatible Mysql support ? or could we have done something wrong in the install/compile/configuration? Any help would be appreciated. We'd like to get mysql support working with these new versions before we drop back to CDB. We also have autoresponder 2.0.4 and ezmlm-idx .40/.53 installed - could they be interfering with mysql support? Best Regards, Jeff Koch
[vchkpw] Problem with qm1.2.0,vp5.4.0rc2 with mysql
Hi All: I have a new RedHat 8.0 mailserver with fresh installs of qmail from Bill's toaster and vpopmail 5.4.0rc2 compiled with mysql support for email account and aliases and the checkuser.mysql.tmda patch from. After completing the vpopmail install I checked to make sure that vaddomain and valias were properly adding entries to the mysql database. We also sent test emails through to make sure the checkuser patch was checking the mysql vpopmail and valias tables for valid usernames before letting mail into the server. So vpopmail 5.4.0rc2 seems to be working fine with mysql. However, we then installed qmailadmin 1.2.0 and ran into a problem with the mysql databases. qmailadmin is properly adding and deleting email accounts from the mysql vpopmail table but it is not working at all with the mysql valias table. What I mean is that it is not reading and showing the aliases from mysql valias table and when we add and delete aliases with qmailadmin it has no effect on the valias table. In fact, adding an alias with qmailadmin adds it to the vpopmail/domain directory as if mysql had never been compiled in. It is almost as if qmailadmin was working with some program other than ~/vpopmail/bin/valias. Can anyone help explain what we did wrong and how we can fix qmailadmin to work properly with vpopmail/mysql? Thanks, Jeff Koch
[vchkpw] Pop before smtp bypasses qmail-scanner
Hi Jason: We are having a problem using qmail-scanner with vpopmail. It appears that when vpopmail is configured for roaming users (i.e. pop before smptd) the IP addresses of users that pop in get listed in tcp.smtp.cbd and are then bypassed by the qmail-scanner. A look at the 'open-smtp' file which is used along with tcp.smtp to build tcp.smtp.cdb shows entries like: 64.112.201.248:allow,RELAYCLIENT="",RBLSMTPD="" 1075391824 162.84.132.21:allow,RELAYCLIENT="",RBLSMTPD="" 1075391878 24.73.81.14:allow,RELAYCLIENT="",RBLSMTPD=""1075391923 Then, it seems, for the period of time these entries stay in the database email that comes from these IP addresses bypasses the qmail-scanner virus filter. Is there a way to correct this problem? It is letting viruses through our mailserver. Best Regards, Jeff Koch
Re: [vchkpw] Re: spamassassin patch ready ahead of schedule
Hi Ken: Is this going to be coordinated with qmailadmin? Currently we use qmailadmin to add some mail filtering code that calls spamc. Qmailadmin also has the Spam Detection enable box at the bottom. Will the patch interfere with this. We also, store the user spam prefs in a MySQL table - will this continue to work? Also, will this patch now allow spam filtering of mail delivered to remote forwards? Thanks, At 09:32 AM 1/20/2004, you wrote: On Monday 19 January 2004 9:43 pm, Jeff Koch wrote: > Is there an explanation of what this patch does somewhere? Not yet. It's fairly simple. It adds a new configuration option --enable-spamassassin. Then the vdelivermail program will call the spamc program with the right options unless the users no-spamassassin flag is turned on. spamd will then check if the user has a .spamassassin/user_prefs file or use the default settings for the server. Also adds a vmoduser -f option to turn off spam assassin for any one user. Best Regards, Jeff Koch
Re: [vchkpw] Courier-imap + vpopmail-5.4.0-rc2 + Roaming success
Hi Shane: We weren't able to get the MySQL alias table to be created and populated by ./valias commands. The only significant difference in our configuration was that we did not use mysql-limits. At 04:59 AM 1/20/2004, you wrote: Just letting the list know that I have managed to get the roaming users working with the vpopmail-5.4.0-rc2 and courier-imap-2.2.2.20040118 version of courier on a redhat 7.3 box. I noticed a post earlier saying that valias in MySQL wasn't working, however all of mine are working still as they did before. My compile time options for vpopmail were: ./configure --enable-rebuild-tcpserver-file=n --enable-roaming-users=y --enable-defaultquota=20971520S --enable-auth-module=mysql --enable-file-sync=n --enable-mysql-logging=y --enable-learn-passwords=y --enable-clear-passwd=y --enable-valias=y --enable-mysql-limits=y --enable-logging=v --enable-relay-clear-minutes=15 My courier options were: ./configure --with-trashquota --without-authpwd --without-authshadow --without-authpam --without-authuserdb --without-authcram --without-authldap --without-authmysql --without-authpgsql --without-authcustom --without-authdaemon --disable-root-check --with-redhat At first compile with vpopmail-5.4.0-rc1 I was getting the problem with the formatting of ip addresses in the relay table such as :::111.222.333 being put into the table. After a compile and install of vpopmail-5.4.0-rc2 and a make clean, configure and make/make install of courier again, all is working as expected. Shane Best Regards, Jeff Koch, Intersessions
[vchkpw] vpopmail-5.4.0-rc2 - Mysql valias not working
I just compiled and installed vpopmail-5.4.0-rc2 with mysql support for users and aliases. Using the valias command the mysql valias table is not being created and populated. the vpopmail, lastauth and dir-control tables seem OK. Here's the configuration report: vpopmail 5.4.0-rc2 Current settings --- vpopmail directory = /home/vpopmail uid = 89 gid = 89 roaming users = OFF --disable-roaming-users (default) password learning = OFF --disable-learn-passwords (default) md5 passwords = ON --enable-md5-passwords (default) file locking = ON --enable-file-locking (default) vdelivermail fsync = OFF --disable-file-sync (default) make seekable = ON --enable-make-seekable (default) clear passwd = ON --enable-clear-passwd (default) user dir hashing = ON --enable-users-big-dir (default) address extensions = OFF --disable-qmail-ext (default) ip alias = OFF --disable-ip-alias-domains (default) domain quotas = OFF --disable-domainquotas (default) auth module = mysql --enable-auth-module=mysql mysql replication = OFF --disable-mysql-replication (default) mysql logging = ON --enable-mysql-logging mysql limits = OFF --disable-mysql-limits (default) MySQL valias = ON --enable-valias auth inc = -I/usr/include/mysql auth lib = -L/usr/lib/mysql -lmysqlclient -lz system passwords = OFF --disable-passwd (default) pop syslog = log success and errors including passwords --enable-logging=v auth logging = ON --enable-auth-logging (default) all domains in one SQL table = --enable-many-domains (default) Am I missing something or is mysql valias support broken? Best Regards, Jeff Koch, Intersessions
[vchkpw] enable-file-sync
Could someone please explain the purpose of the following configure option in vpopmail: --enable-file-sync Enable file sync after each message is delivered We're having file system corruption problems with qmail/vpopmail (IDE hard disk, ext3 file system) and are wondering if this might help. Is there a downside to using this option? Best Regards, Jeff Koch
Re: [vchkpw] Re: spamassassin patch ready ahead of schedule
Is there an explanation of what this patch does somewhere? At 06:47 PM 1/19/2004, you wrote: Ken Jones writes: On Saturday 17 January 2004 6:03 pm, Raboo Treed wrote: is this a feature that will be added to vpopmail permantly?? if not now it should be in contrib on the stable i think Yep, it will be added permanently. Two questions: 1) Does this patch effect custom .qmail-default files? Or any other .qmail or .mailfilter files? 2) I saw on a previous post that spam filtering can be disabled for a specific user, but what about for an entire domain? Best Regards, Jeff Koch, Intersessions
[vchkpw] Vpopmail MySQL Table Layouts
Are the MySQL table layouts documented anywhere? I went all through the doc's and source but maybe someone could give me a pointer please. Thanks Best Regards, Jeff Koch
Fwd: Re: [vchkpw] checkuser patch
Thanks Nick - I guess the question is whether the checkuser patch will query the mysql database or whether it determines valid domains/users/aliases/mailinglists by querying /etc/control/assign. From reading the vpopmail.mysql docs it appears only the contents of vpasswd is stored in the mysql database which would not be sufficient to provide the functionality we need - since that would exclude aliases and mailinglists. At 04:33 PM 1/14/2004, you wrote: On Wed, 2004-01-14 at 15:26, Jeff Koch wrote: > We're setting up a smart-host mail router to just handle qmail scanning. > The mail will then go to the appropriate mailserver where spam filtering > will be done and the mail dropped into vpopmail accounts. > > We get about 50-60K spam emails per day that are addressed to real domains > but non-existent users. We need to be able to reject emails to non-existent > users at the entry to the smart host mail router so that we don't waste > time virus scanning them or delivering them to the mailservers. The > checkuser patch has the functionality to accomplish this as long as we > setup a mirror of vpopmail on the smart-host mail router. Why don't you just use vpopmail with users stored in mysql, then have each server query the mysql server? You can even use MySQL replication to run local read only copies of the database for efficiency. > So we'll use the > checkuser patch and setup domains and users with vpopmail on the smart host > mail router so that we can reject email to non-existent users. We'll write > some programs to keep vpopmail on the smart-host mail router in sync with > the vpopmails on the mailservers. This'd be called MySQL and replication. > > Of course if the checkuser patch could consult a mysql database instead it > would be cleaner but gotta live with what we have. If anyone has a better > solution let me know. > I run a cluster of qmail/vpopmail using mysql replication and NFS, and it all works flawlessly. I'm planning on integrating the chkuser patch shortly to start reducing the volume of queued bounces I have to deal with. > > > At 03:17 PM 1/14/2004, you wrote: > > >Can you explain better what are you trying to do? > > > >How the "patched qmail-smtpd" is run? > > > >Have both servers the same domains declared and the same "users data base"? > > > >Tonino > > > >At 14/01/2004 14/01/2004 -0500, Jeff Koch wrote: > > > >>We trying to setup a Smart Host mail router but kludge the checkuser > >>patch and vpopmail to verify the domain and user name before smpt'ing the > >>mail to the appropriate mailserver. However, we're getting stuck - the > >>server keeps trying to deliver the mail locally even though we have > >>smtproutes setup. > >> > >>We'd like to keep the junk from being pushed through the smarthost (we > >>get about 60K messages a day to non-existent usernames) - and the > >>checkuser patch seemed to be the answer. We thought that having > >>smtproutes setup would prevent local delivery. > >> > >>Does anyone know of any other patches or have any thoughts on how this > >>could be done? > >> > >> > >> > >>Best Regards, > >> > >>Jeff Koch, Intersessions > > > > > > [EMAIL PROTECTED]Interazioni di Antonio Nati > >http://www.interazioni.it [EMAIL PROTECTED] > > > > > > Best Regards, > > Jeff Koch, Intersessions > Best Regards, Jeff Koch, Intersessions Best Regards, Jeff Koch, Intersessions
Re: [vchkpw] checkuser patch
We're setting up a smart-host mail router to just handle qmail scanning. The mail will then go to the appropriate mailserver where spam filtering will be done and the mail dropped into vpopmail accounts. We get about 50-60K spam emails per day that are addressed to real domains but non-existent users. We need to be able to reject emails to non-existent users at the entry to the smart host mail router so that we don't waste time virus scanning them or delivering them to the mailservers. The checkuser patch has the functionality to accomplish this as long as we setup a mirror of vpopmail on the smart-host mail router. So we'll use the checkuser patch and setup domains and users with vpopmail on the smart host mail router so that we can reject email to non-existent users. We'll write some programs to keep vpopmail on the smart-host mail router in sync with the vpopmails on the mailservers. Of course if the checkuser patch could consult a mysql database instead it would be cleaner but gotta live with what we have. If anyone has a better solution let me know. At 03:17 PM 1/14/2004, you wrote: Can you explain better what are you trying to do? How the "patched qmail-smtpd" is run? Have both servers the same domains declared and the same "users data base"? Tonino At 14/01/2004 14/01/2004 -0500, Jeff Koch wrote: We trying to setup a Smart Host mail router but kludge the checkuser patch and vpopmail to verify the domain and user name before smpt'ing the mail to the appropriate mailserver. However, we're getting stuck - the server keeps trying to deliver the mail locally even though we have smtproutes setup. We'd like to keep the junk from being pushed through the smarthost (we get about 60K messages a day to non-existent usernames) - and the checkuser patch seemed to be the answer. We thought that having smtproutes setup would prevent local delivery. Does anyone know of any other patches or have any thoughts on how this could be done? Best Regards, Jeff Koch, Intersessions [EMAIL PROTECTED]Interazioni di Antonio Nati http://www.interazioni.it [EMAIL PROTECTED] ---- Best Regards, Jeff Koch, Intersessions
Re: [vchkpw] checkuser patch
Exactly - I tried it and it works perfectly. Thanks to both of you. At 03:06 PM 1/14/2004, you wrote: Tom Collins wrote: On Jan 14, 2004, at 12:47 PM, Jeff Koch wrote: We trying to setup a Smart Host mail router but kludge the checkuser patch and vpopmail to verify the domain and user name before smpt'ing the mail to the appropriate mailserver. However, we're getting stuck - the server keeps trying to deliver the mail locally even though we have smtproutes setup. If I recall correctly, if the domain is in control/virtualhosts, then it will be delivered locally. Hi, And reading through the qmail-chkuser patch and the vpopmail source code, it appears that if the domain is in rcpthosts (or morercpthosts) and in the users/assign file, but not in virtualdomains, then it *should* function as you want it to. Note I haven't tested this, I just looked at how the chkuser patch checked for a local domain and how vpopmail vget_real_domain function worked. Regards, Rick Best Regards, Jeff Koch, Intersessions
[vchkpw] checkuser patch
We trying to setup a Smart Host mail router but kludge the checkuser patch and vpopmail to verify the domain and user name before smpt'ing the mail to the appropriate mailserver. However, we're getting stuck - the server keeps trying to deliver the mail locally even though we have smtproutes setup. We'd like to keep the junk from being pushed through the smarthost (we get about 60K messages a day to non-existent usernames) - and the checkuser patch seemed to be the answer. We thought that having smtproutes setup would prevent local delivery. Does anyone know of any other patches or have any thoughts on how this could be done? Best Regards, Jeff Koch, Intersessions
Re: [vchkpw] Re: Best FileSystem
Because I had understood that qmail uses the inode numbers for mail queue storage and I was not sure if hardware or software RAID(5) systems duplicated inode contents. At 01:49 PM 1/8/2004, Stephen Fulton wrote: At 11:46 AM 08/01/2004 -0500, Jeff Koch wrote: Also, will RAID work with qmail/vpopmail? Why wouldn't it? You're really asking the wrong question though. Search the Qmail list for in-depth answers. -- Stephen. Best Regards, Jeff Koch, Intersessions
Re: [vchkpw] Re: Best FileSystem
Hi Mario: Why are you using ext2 for /var/qmail/queue? I am using ext3 - could that be what my trouble is. Also, will RAID work with qmail/vpopmail? At 08:27 AM 1/8/2004, Mario Junior wrote: I had a lot of problems with reiserfs, including 2 forced reinstallations. But it was probably because at that time I didn't realize that qmail queue doesn't like modern file systems (because sync). Nowadays, ext3 and ext2(only for /var/qmail/queue) do a good on my systems. I'm very happy with that combination. Em Thursday 08 January 2004 09:36, Eduardo Jaime Quiros Batres escreveu: > there is a patch for qmail to correct the way Linux filesystem work and how > BSD filesystem works. If I'm not mistaken, qmail was developed for BSD and > I did have some problem with reiserFS until I applied the patch > > Juan Hernandez writes: > > Depending on your needs you'd better consider twice a raid file > > system... If it's a single server, stick with reiserFS, it's been > > working for almost 3 years flawlessly in my systems > > > > Juan > > > > -Original Message- > > From: Jeff Koch [mailto:[EMAIL PROTECTED] > > Sent: jueves, 08 de enero de 2004 0:21 > > To: [EMAIL PROTECTED] > > Subject: [vchkpw] Best FileSystem > > > > > > Hi: > > > > We're using RH8.0 and the ext3 journalling filesystem with vpopmail. We > > have been getting filesystem errors (lost inodes) and are wondering > > whether > > ext3 is appropriate for qmail/vpopmail and what the best filesystem > > might > > be for this application. Is anyone using RAID with qmail/vpopmail? > > > > > > > > Best Regards, > > > > Jeff Koch, Intersessions -- Mário Viana Barbosa --- Network Admin SecrelNet ISP - Brazil Best Regards, Jeff Koch, Intersessions
[vchkpw] Best FileSystem
Hi: We're using RH8.0 and the ext3 journalling filesystem with vpopmail. We have been getting filesystem errors (lost inodes) and are wondering whether ext3 is appropriate for qmail/vpopmail and what the best filesystem might be for this application. Is anyone using RAID with qmail/vpopmail? Best Regards, Jeff Koch, Intersessions
Re: [vchkpw] Re: Re-injection of email from .qmail-default
Hi Peter: This sounds wonderful. Hopefully, serialmail won't get confused and try to deliver the message locally. We'll give it a try. At 02:16 PM 10/8/2003, you wrote: Hello Jeff, On Wednesday, October 8, 2003 at 5:04:03 PM you wrote (at least in part): > We would like to know if it is possible to re-inject mail for delivery by > smtp after vpopmail has dropped it into a domain's .qmail-default file. > Basically, we're trying to setup a mailserver that stores messages for some > domains but routes messages by smtp for others AFTER performing some > operations on them by commands within the .qmail-default file. > We do not want to forward the messages to an email address but instead want > to route them using smtp to another mailserver willing to accept email for > that domain. You shouldn't store them in '.qmail-default', but in a Maildir where .qmail-default directs them to (it would be unwise to store them in the file containing /the/ delivery instructions). With this setup you can send the mails in this Maildir out via SMTP by using 'maildirsmtp' tool from 'serialmail' package[1]. This should be sufficient according to what you've written, IF you don't mind "performing some operations" on multiple files (as Maildir stores each mail in a new file) instead of one 'Mailbox' file. [1]: http://cr.yp.to/serialmail.html -- Best regards Peter Palmreuther In the morning, laughing happy fish heads, in the evening, floating in the soup... They can't play baseball, they don't wear sweaters, Best Regards, Jeff Koch, Intersessions
[vchkpw] Re-injection of email from .qmail-default
We've have searched the mailing lists archives on this list and several other but have not found the answer to this question. Maybe someone can advise. We would like to know if it is possible to re-inject mail for delivery by smtp after vpopmail has dropped it into a domain's .qmail-default file. Basically, we're trying to setup a mailserver that stores messages for some domains but routes messages by smtp for others AFTER performing some operations on them by commands within the .qmail-default file. We do not want to forward the messages to an email address but instead want to route them using smtp to another mailserver willing to accept email for that domain. Any suggestions would be appreciated. Best Regards, Jeff Koch
[vchkpw] command to set catch-alls
Is there any way to use the commands in /home/vpopmail/bin to setup domain catch-all accounts? We're trying to automate conversions from sendmail's virtusertable and are stuck on the catch-all accounts. Best Regards, Jeff Koch
[vchkpw] Why support imap?
It seems that the qmail, vpopmail, qmailadmin people tend to recommend squirrelmail and sqwebmail. However, these are both imap clients. Our initial reaction is to prefer (in order to save bandwidth, cpu cycles and disk space) pop3 and have users keep their mail folders on their local PC's. Why do you all like the imap web email clients? Are there any pop3 only web email clients that you guys would recommend? Best Regards, Jeff Koch
Re: [vchkpw] using spamassassin....
Hi Rick: Does this work in conjunction with qmailadmin? I thought qmailadmin overwrote the entries in qmail-default. Best Regards, Jeff Koch -- On Thu, 14 Nov 2002, Rick Macdougall wrote: > Hi, > > I personally run it right from .qmail-default with no extra settings like > qmail-scanner.pl etc. > > I used to run it from qmail-scanner.pl but the over head was just too much > considering I do smtp forwarding for some domains, other domains didn't want > it, etc etc. > > Right now I can configure it for each domain seperately and I remove the > overhead of scanning each and every message that comes into our system. > > As well, running it from qmail-scanner.pl loses the ability to do per user > config's. Something our users really wanted. > > Regards, > > Rick > > - Original Message - > From: "Brendan McAlpine" <[EMAIL PROTECTED]> > To: "Rick Macdougall" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Thursday, November 14, 2002 12:50 PM > Subject: Re: [vchkpw] using spamassassin > > > Do you use Spamassassin in conjunction with any other software or > scripts, such as qmail-scanner, etc.? > > Can I just run Spamassassin on its own? > > Brendan > On Wednesday, November 13, 2002, at 02:09 PM, Rick Macdougall wrote: > > > Hi, > > > > We use it in .qmail-default for domains that want it and set the > > required_hits to 30. > > > > Users can then manage required_hits, white list, black list etc via a > > PHP > > web page. > > > > Regards, > > > > Rick > > > > - Original Message - > > From: "Brendan McAlpine" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Wednesday, November 13, 2002 2:03 PM > > Subject: [vchkpw] using spamassassin > > > > > > Can anyone point me in the right direction for any resources regarding > > installing and using spamassassin with qmail? > > > > Basically I want to be able to use spamassassin on certain mailboxes > > and not others on the system, and be able to add the ability to use the > > filtering as new accounts are added. > > > > TIA > > > > Brendan > > > > > > > > > > > > > >
[vchkpw] Unable to deliver locally
Our /var/log/qmail logs are littered with entries like this: @40003dc01764097a5a7c starting delivery 2439317: msg 2405158 to local [EMAIL PROTECTED] @40003dc01764097ae334 status: local 1/10 remote 0/20 @40003dc01761323a21a4 status: local 2/10 remote 0/20 @40003dc0176139ee2d64 delivery 2439314: deferral: Unable_to_chdir_to_maildir._(#4.2.1) Can there be something wrong with our vpopmail installation that is preventing qmail from finding/chdir/delivering messages to 'root' and the local server? This also happens to messages addressed to 'postmaster' on the local machine. Otherwise, mail addressed to virtual domain email accounts are delivered fine. Best Regards, Jeff Koch Intersessions.com --
Re: [vchkpw] Vpopmail/qmail spam filter using SpamAssassin (andother stuff)
Problem with qmail-scanner is that it does not allow the Spam preferences to be controlled on a per domain or per user basis. Best Regards, Jeff Koch Intersessions.com -- On Mon, 26 Aug 2002, Iain wrote: > On Mon, 26 Aug 2002 03:20, Jon Coulter wrote: > > Out of my pure hatred for spam, love for qmail/vpopmail/perl, and > > dislike of the complexity of all current 'spam filtering' > > implementations for qmail (and/or vpopmail), I decided to write my own > > perl app to do all the things I wanted (and more) when filtering email. > > > > What's wrong with qmail-scanner ? > > -- > PGP info: http://www.myspinach.org/~iain/pgpinfo.html >
Re: [vchkpw] Vpopmail/qmail spam filter using SpamAssassin (andother stuff)
Hi Jon: This is wonderful. The options you've added are great. One question. Is there a way to automatically setup the .qmail- file whenever qmailadmin adds a new user? Best Regards, Jeff Koch Intersessions.com -- On Mon, 26 Aug 2002, Jon Coulter wrote: > Out of my pure hatred for spam, love for qmail/vpopmail/perl, and > dislike of the complexity of all current 'spam filtering' > implementations for qmail (and/or vpopmail), I decided to write my own > perl app to do all the things I wanted (and more) when filtering email. > > Using procmail and the standard spamassassin methods required patches > for qmail (seekable patch) and all kinds of other ridicules setup, and > then still didn't work with vpopmail (at least I couldn't get it to). So > I thought, "Why are we hacking up source codes and changing how stuff is > processed to accomplish this? After all, qmail's mentality is chaining > programs together to complete the task, so why don't we filter this > way?" > > So here is my spam-filter.pl script, been in production for quite some > time with me, and I haven't had any problems. There is quite detailed > usage file ( http://www.ledscripts.com/dev/install.txt ) plus reading > the source itself will likely tell you a lot. Anyhow, you can get it at: > > http://www.ledscripts.com/dev/vpopmail-spam-filter.html > > Please try and comment. I really think its implementations like this > that will finally help some of us clean up our mailboxes :) > > By the way, this is not something that should be used on a heavy-load > machine. If interest is high enough, I'll do something similar to what > the spamassassin people did with spamd/spamc. > > Anyway, good luck! > > Jon Coulter > [EMAIL PROTECTED] >
[vchkpw] Blocking IP's
I don't know whether this is a question for this list but we would like to give each virtual domain the option of blocking email from certain IP addresses before the mail was accepted for their pop accounts. How can we do this? Best Regards, Jeff Koch --
[vchkpw] Blocking Mail from IP addresses
Hi Guys: What's the recommended method for blocking email from a particular IP addresses or ranges of IP addresses on a per virtual domain basis. Best Regards, Jeff Koch Intersessions.com --
Re: [vchkpw] Tutorial for setting up qmail + vpopmail + SpamAssassin
Hi Jeremy: Nice job with the toaster. I have a question - since you're activating SpamAssassin on a per domain basis what is the purpose of installing qmail-scanner? I thought qmail-scanner handled anti-virus and Spam only on a low-level basis - as email enters the server - without regard to the domain. Best Regards, Jeff Koch Intersessions.com -- On Mon, 19 Aug 2002, Jeremy Oddo wrote: > Me again. I have made a few small modifications/corrections to my > "near-key-by-key" tutorial for getting a mail toaster up and running. > It's based off of Bill Shupp's Toaster. It includes SpamAssassin > integration. > > I've also changes the URL. Go to: http://www.jerfu.com/toaster > > Comments, suggestions, etc. are welcome! > > Jeremy > > >