Re: [vchkpw] cdb -V- Sql

2007-03-24 Thread Matt Simerson
On Mar 24, 2007, at 4:36 AM, Peter Normann wrote: Quey wrote: I've read that use of SQL for vpopmail is really only advantageous when you get many domains. Not exactly. SQL is advantageous if you somewhere down the road want to implement a web based management system for administering acc

Re: [vchkpw] authdaemond and MySQL server has gone away

2005-07-11 Thread Matt Simerson
You might want to make sure that MySQL is started before authdaemond. Edit /usr/local/etc/rc.d/courier-authdaemond.sh and add this line: REQUIRE: LOGIN mysql-server To understand REQUIRE a little better, cd /usr/local/etc/rc.d and grep for REQUIRE in the startup files. It's purpose should

Re: [vchkpw] vpopmail authentications failing randomly

2005-05-26 Thread Matt Simerson
SOLVED! Read on On May 25, 2005, at 1:37 PM, Tom Collins wrote: On May 24, 2005, at 7:25 PM, Matt Simerson wrote: So, I turned to vmysql.c and noticed a timeout setting there that affects the mysql connection timeout. I bumped it up from 2 to 5, and it has reduced the failure frequency

[vchkpw] vpopmail authentications failing randomly

2005-05-24 Thread Matt Simerson
Problem: vpopmail authentications failing randomly grep vchkpw /var/log/maillog | grep -v success | grep dlb May 24 11:45:03 mail01 vpopmail[40833]: vchkpw-pop3: vpopmail user not found [EMAIL PROTECTED]:67.92.111.22 May 24 11:50:03 mail01 vpopmail[41401]: vchkpw-pop3: vpopmail user not found [

Re: [vchkpw] many roaming users

2005-05-21 Thread Matt Simerson
chen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc. [EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED] ``

Re: [vchkpw] courier-imap roaming-users problem

2005-02-04 Thread Matt Simerson
e users newer email clients that support SMTP AUTH and should be directed to use that instead. Matt `` Matt Simersonhttp://matt.simerson.net The Network People Inc. http://www.tnpi.biz The chief dang

Re: [vchkpw] temp-problems with vpopmail and finding users

2003-12-03 Thread Matt Simerson
My first guess is that you need to figure out why SQL queries to your server fail and you'll have the answer to your problem. Write a script that asks your server lots and lots of queries just like a busy mail server would. Check and verify the results and I'm sure you'll find some clues as

Re: [vchkpw] Courier IMAP & vchkpw problem

2003-06-17 Thread Matt Simerson
I'll bet this has to do with your MAXPERIP setting in /usr/local/etc/courier-imap/imapd All your connections for webmail access are arriving via localhost, and that limit is going to determine how many people you can have logged into imapd via 127.0.0.1 (webmail). Raise MAXPERIP and restart im

Re: [vchkpw] Inter7 mail server doesn't have reverse DNS!

2003-03-28 Thread Matt Simerson
On Thursday, March 27, 2003, at 06:28 PM, Raboo wrote: lol ya all :-) btw matt simerson, if you code hacks to make your smtpd do more loging like you said before that you have made it do logging of what kinds of blocks it does, please feel free to publish them if you like, if not allready

Re: [vchkpw] Inter7 mail server doesn't have reverse DNS!

2003-03-27 Thread Matt Simerson
On Thursday, March 27, 2003, at 01:35 PM, Tom Collins wrote: On Thursday, March 27, 2003, at 10:22 AM, Paul Theodoropoulos wrote: rather than trumping up your argument with etiquette fascism, how about pointing out a relevant RFC that backs up your [baseless] opinion that a mailserver must acc

Re: [vchkpw] Inter7 mail server doesn't have reverse DNS!

2003-03-27 Thread Matt Simerson
On Thursday, March 27, 2003, at 01:18 PM, Rick Updegrove wrote: - Original Message - From: "Matt Simerson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 27, 2003 7:21 AM Subject: [vchkpw] Inter7 mail server doesn't have reverse DNS! I star

Re: [vchkpw] About to release new devel version 5.3.20

2003-03-27 Thread Matt Simerson
On Tuesday, March 25, 2003, at 04:25 PM, Robin Bowes wrote: I'm about to release a new 5.3.20 devel version. Does anyone have any patches they would like to submit? No, but would it be difficult to move mysql options from vmysql.h to configure options, e.g. ./configure \ --with-mysql-update-

Re: [vchkpw] Inter7 mail server doesn't have reverse DNS!

2003-03-27 Thread Matt Simerson
Oh my, Nick top-posted. Quickly, someone call out the firing squad. Where you choose to reply to in a message body is a matter of personal preference. It is NOT a breach of email etiquette to prefer a way other than your personal preference. In a list thread, many tend to prefer a top-post a

Re: [vchkpw] Inter7 mail server doesn't have reverse DNS!

2003-03-27 Thread Matt Simerson
On Thursday, March 27, 2003, at 10:35 AM, Ron Guerin wrote: On Thu, 2003-03-27 at 10:21, Matt Simerson wrote: Apparently a server named "ns1.inter7.com" is doing the delivery for the vchkpw mailing list. This wouldn't be a problem except that it doesn't have reverse DNS

[vchkpw] Inter7 mail server doesn't have reverse DNS!

2003-03-27 Thread Matt Simerson
Apparently a server named "ns1.inter7.com" is doing the delivery for the vchkpw mailing list. This wouldn't be a problem except that it doesn't have reverse DNS. I started blocking connections to my mail server from servers who don't have DNS and my vpopmail and qmailadmin list traffic stopped.

[vchkpw] vpopmail 5.3.1[6,9] logging

2003-03-27 Thread Matt Simerson
I'm not exactly sure when it quit but I've noticed that authentications via vchkpw are no longer logged. Vpopmail is configured as follows and my pop3 daemon is qmail, run as shown below. I've also attempted logging via syslog (rather than multilog) and I still get no authentication logging.

Re: [vchkpw] NFS shared

2003-03-15 Thread Matt Simerson
Sharing the tcp.smtp.cdb file over TCP is not a good idea. Once your traffic starts picking up, you'll have all sorts of problems with that. Check out the writeup I have on exactly this scenario: http://matt.simerson.net/computing/mail/qmail/qmail.toaster.open- smtp_writeup.txt. There are

Re: [vchkpw] feature request: -r option to vpasswd

2003-03-12 Thread Matt Simerson
That wheel has already been invented. Check out ~vpopmail/bin/vmkpasswd Matt On Wednesday, March 12, 2003, at 09:06 PM, Andrew Kohlsmith wrote: I'd like to request a feature (I'll probably supply a patch in a few days anyway) which would add an -r (regenerate) option to vpasswd to take the e

Re: [vchkpw] Re: feature request qmail-smtpd-chkusr

2003-03-12 Thread Matt Simerson
Very nice work Tonino. I've taken a look at your patch and I like it. Fortunately for me, last week I moved my last "system users" domain into vpopmail so all my mail domains are virtual. Having done that, I can actually use your patch now. I've build it into my Mail Toaster Mega-Patch (ver

Re: [vchkpw] Configure options for MySQL support?

2003-02-28 Thread Matt Simerson
I now do this with my mail toaster setup (http://matt.simerson.net/computing/mail/toaster/). When you run the perl script (toaster_setup.pl -s vpopmail) it asks you a bunch of questions and then rewrites vmysql.h with your answers instead of the default values. Then it runs ./configure with the

Re: [vchkpw] Re: Defines on the command line.

2003-02-08 Thread Matt Simerson
OK, I attempted to pass them via make: make -DMYSQL_UPDATE_SERVER=\"db.simerson.net\" -DMYSQL_UPDATE_USER=\"vpopmail\" -DMYSQL_UPDATE_PASSWD=\"secret\" -DMYSQL_READ_SERVER=\"localhost\" -DMYSQL_READ_USER=\"vpopmail\" -DMYSQL_READ_PASSWD=\"secret\" but that didn't work. So, I set the CFLAGS env

[vchkpw] Defines on the command line.

2003-02-08 Thread Matt Simerson
I'm sure I'm about to display my ignorance of C but: Is there a way to override the values find in a .h file from the command line? Specifically, I want to pass along a couple defines to set the MYSQL_MASTER_PASSWD and related fields from vmysql.h without having to edit the vmysql.h file itself

Re: [vchkpw] Re: SMTP-AUTH, yet again...

2002-12-05 Thread Matt Simerson
Kit, you're reinventing the wheel! Yes, there are significant problems with simply merging together a bunch of the qmail patches. It took me quite some time to get all the patches I wanted to play nicely together. Now that it's done, feel free to use it: http://matt.simerson.net/computing/mail

Re: [vchkpw] Qmail AntiSpaming

2002-10-18 Thread Matt Simerson
I've been working on integrating SpamAssassin into my FreeBSD mail toaster setup (and it'll work similarly with Bill's or any other vpopmail setup). One of the biggest problems I've found is the lack of "good" vpopmail support in SpamAssassin. I've hacked it up and added some of my own code to

Re: [vchkpw] Check Space Usage

2002-10-14 Thread Matt Simerson
On Wednesday, October 9, 2002, at 08:43 PM, Justin R. Miller wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Said Matt Simerson on Wed, Oct 09, 2002 at 03:30:55PM -0400: > >> Otherwise, Doug's heading down the right path. Write yourself a script >>

Re: [vchkpw] Check Space Usage

2002-10-09 Thread Matt Simerson
This is a valid argument for having each domain created/owned by an unprivileged system user. When you do that, you have handy tools like repquota to help you manage your disk space usage. When used in conjunction with a perl script, I can format and report the disk space for 10,000 domains i

Re: [vchkpw] vpopmail vpasswd file difference(s) between 4.9.10 and 5.3.8 (convert from cdb to mysql)

2002-10-09 Thread Matt Simerson
_passwd=\"$f[1]\", pw_uid=\"$f[2]\", pw_gid=\"$f[3]\", pw_gecos=\"$f[4]\", pw_dir=\"$f[5]\", pw_shell=\"$f[6]\""; my $sth = $dbh->prepare($query); $sth->execute; my $x = $DBI::errstr;

Re: [vchkpw] vpopmail vpasswd file difference(s) between 4.9.10 and 5.3.8

2002-09-25 Thread Matt Simerson
25, 2002, at 11:18 AM, H. D. Lee wrote: > Hi Matt, > > On 2002.09.24_16:03:52_+, Matt Simerson wrote: >> Everything on the new system works just fine except the vconvert >> function. Can anyone verify that vconvert actually does work? > > Yes, it actually works.

[vchkpw] vpopmail vpasswd file difference(s) between 4.9.10 and 5.3.8

2002-09-24 Thread Matt Simerson
I'm rebuilding a dinosaur mail server that I built a couple years ago. It's running vpopmail 4.9.10 using cdb authentication. I'm upgrading to 5.3.8 with MySQL authentication. I've build out the new 5.3.8 system and cluster of machines. It's all up, running and happy. I've NFS mounted all the

Re: [vchkpw] Using tcpserver/mysql

2002-09-09 Thread Matt Simerson
On Friday, September 6, 2002, at 07:10 AM, David Phillips wrote: > Paul Fries writes: >> Yeah I have been really pulling my hair out over that one. =) With as >> many Pop-3 connections/sec that our servers handle I thought that I >> would make things a little smoother if Vpopmail didn't write t

Re: [vchkpw] Using tcpserver/mysql

2002-09-05 Thread Matt Simerson
Paul, You are exactly correct. Even when using my patch, vpopmail continues to update the tcp.smtp.cdb file. There's one reason for that. The first is that my suggestion for adding a --dont-update-tcprulesfile=true was never implemented. Granted, it would only benefit a few users (really bi

RE: vpopmail w/sqwebmail

2001-12-05 Thread Matt Simerson
Title: Message Gee, I think so. One of my mail systems has 6,000 domains and way more users than that.   Someone even went through the bother of documenting how to do it at http://matt.simerson.net/computing/qmail/qmail.toaster.shtml   Matt   PS: Version 2.0 of the recipe will be fin

vpopmail auth question

2001-10-01 Thread Matt Simerson
Just wondering really quickly, what types of encryption does vpopmail use? I'm guessing that on FreeBSD, if I have the default set to MD5, then vpopmail will only be able to verify MD5 passwords. Is that correct? If so, how do I extend it to support DES as well (like FreeBSD's crypt routines)?

RE: vpop and pine..

2001-07-18 Thread Matt Simerson
> Sent: Wednesday, July 18, 2001 2:16 PM > To: Matt Simerson; [EMAIL PROTECTED] > Subject: RE: vpop and pine.. > > > Nice suggestion, but that would just open up a world of hurt > on a multi user > spectrum :) > > -Original Message- > From: Matt Simerso

RE: vpop and pine..

2001-07-18 Thread Matt Simerson
Hardcore unix veterans don't use PINE. :-P Hardcore folks won't use anything that doesn't use vi as it's editor. I'm not hardcore, I've only been using unix for 12 years so I use pine because a) I've already hacked it to support Maildir b) It supports POP/IMAP accessing my other mailboxes c)

RE: spammers forging From: addresses

2001-07-17 Thread Matt Simerson
I fixed this the easy way. Instead of deleting the offending account I disable and and route all the mail for that domain to my "special" mailbox for spam (/dev/null). This is _much_ less expensive than bouncing the messages. Matt > -Original Message- > From: Scott Ramshaw [mailto:[EMAIL

RE: Hardware platform

2001-06-13 Thread Matt Simerson
Title: OT: Hardware platform It all depends on a lot of factors, most important ones being the speed of your disk(s), the drive layout, drive optimizations, MTA performance optimizations, activity of users, and a whole bunch more factors. I wouldn't put many more than 10,000 on any one syste

RE: Port of Matt SImerson's Mysql Relay + cdb auth patchtovpopm ail-4.9.10

2001-06-11 Thread Matt Simerson
Oh, _that's_ what you did. Yes, you were correct. You should probably refer to the version of my toaster recipe when you specify what you did. Then I can figure it out better. I have systems that use each type of recipe (full mysql & relay only mysql) and once the replication is all sorted out f

RE: Port of Matt SImerson's Mysql Relay + cdb auth patch tovpopm ail-4.9.10

2001-06-08 Thread Matt Simerson
I don't understand what you've done javier. My patches are already available for 4.9.10 and working just fine. What have you done to the patches that are difference than mine? Also, very soon a few of my patches will be integrated into vpopmail. That will remove the need to use some of my patches

RE: Error trying to compile + new mysql replication release

2001-06-05 Thread Matt Simerson
> -Original Message- > From: Ken Jones [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 05, 2001 3:01 AM > To: Gabriel Ambuehl > Cc: [EMAIL PROTECTED] > Subject: Re: Error trying to compile + new mysql replication release > > I guess we could do that. It would be easier to impliment a > l

RE: Migrating users

2001-05-31 Thread Matt Simerson
Hey, it looks like you're in the same boat I'm in... I pity you. ;-) We've purchased another company and they're using Iplanet as well. I've already architected several qmail/vpopmail/sqwebmail/MySQL/courier-imap clusters and we're currently migrating accounts off NTmail (ugly!) systems, old qm

RE: mysql high availability

2001-05-30 Thread Matt Simerson
e want connections to return to the first MySQL server we can have tcpserver periodically attempt to reconnect to the primary SQL server. Matt > -Original Message- > From: Sean C Truman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 30, 2001 12:52 PM > To: Matt Simerson; Ken

RE: mysql high availability

2001-05-30 Thread Matt Simerson
I've been down this road and that's a terrible way to do it. Why? Because for every SMTP connection you have to initiate a connection to the database. That's expensive. What you really want to do is have the tcpserver program make a persistent connection to the database and query it for every SMTP

RE: Vpopmail+Qmail -- pop3 has lost it's mind!

2001-05-30 Thread Matt Simerson
Make sure the clocks are syncronized on all the POP servers. Having incorrect or out of sync dates will cause such fun stuff. Matt > -Original Message- > From: David Gartner [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 30, 2001 10:28 AM > To: [EMAIL PROTECTED] > Subject: Vpopmail+Q

Incomplete Feature (vmysql & qmailadmin)

2001-05-15 Thread Matt Simerson
Hi Ken (et al), I've found another place where the multiple UID/GID feature isn't quite completely implemented. I've built another mail toaster with qmail/vpopmail/qmailadmin and each domain is a unique UID/GID. The main difference is that I am using MySQL authentication on this one. I've got the

RE: Couple of problems..

2001-04-26 Thread Matt Simerson
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 26, 2001 1:53 PM > To: [EMAIL PROTECTED] > Subject: Couple of problems.. > > Well, this definitely didn't go over as smoothly as I had hoped..and of course, > no one called to let me know th

Items of interest

2001-04-25 Thread Matt Simerson
Hi all, RFC 2821 and 2822 are official now: ftp://ftp.isi.edu/in-notes/rfc2821.txt ftp://ftp.isi.edu/in-notes/rfc2822.txt They replace the 821 and 822 RFC's for SMTP mail servers and services and message formatting and make for some very interesting and insightful bedtime reading. The

Bug fix and feature request.

2001-04-20 Thread Matt Simerson
Ken (et al), I have a couple modifications I'd like to see in vpopmail-4.9.11. I haven't seen any of this in the changelogs yet... First: Bug fix. Fix the vdelivermail crashing problem I described a while back: postmaster set's user account bob as default delivery. user dele

RE: Converting to MySQL

2001-04-11 Thread Matt Simerson
I've written a perl script that goes through and counts every individual user in every vpassword file on the system (to see how many users exist). It would be pretty easy to parse through all the vpassword files and dump the contents into a MySQL table. I've been tempted to do this but myself (co

RE: HELP, I'm on the ORBS list

2001-04-10 Thread Matt Simerson
Go to google, type in "qmail anti-spam" and hit enter. Learn the tools you use, it'll keep surprises from biting thee squarely in the Matt > -Original Message- > From: Calvin Crutcfield [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 10, 2001 12:30 AM > To: vchkpwd > Subject: HELP,

RE: /tcpserver error message

2001-04-09 Thread Matt Simerson
Since FreeBSD changed the default shell (/bin/sh) to tcsh, the "\" character that normally tells the shell interpreter to keep reading the current command off the next line is somewhat broken. Simple fix, remove the \ character and put the entire last line (exec.smtpd) on one line. Matt > -

RE: Whats going on?

2001-04-03 Thread Matt Simerson
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 02, 2001 5:44 PM > To: Daniel Hardaker > Cc: [EMAIL PROTECTED] > Subject: Re: Whats going on? > > > On Tue, 3 Apr 2001, Daniel Hardaker wrote: > > > : Ken, > > : > > : Did you install an in

RE: Whats going on?

2001-04-02 Thread Matt Simerson
Ken, Did you install an intelligence filter. ;-) My messages get right through. Matt > -Original Message- > From: Daniel Hardaker [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 02, 2001 4:31 PM > To: [EMAIL PROTECTED] > Subject: Whats going on? > > > Just wondered whats going on w

RE: 4.9.9 (16/03 version) core dump. URGENT.

2001-03-26 Thread Matt Simerson
Yes, this is a problem and I've asked Ken to fix it and he replied that qmailadmin would be a good place to fix this. I expected to see it in qmailadmin-0.43 but in the copy I downloaded on Friday it wasn't mentioned in the ChangeLog. Matt > -Original Message- > From: Chris Chan [mailt

RE: How many Deliveries?

2001-03-26 Thread Matt Simerson
How many processes can your machine handle?  How fast is your IDE drive, how much other crap are you running on the server. There is no single answer to your question other than "it depends" and it depends on a lot of stuff. With only 500 domains, your concurrent settings are probably just f

RE: vpopmail and smtp-after-pop

2001-03-26 Thread Matt Simerson
More importantly is the contents of your tcp.smtp file. If you've got a 0.0.0.0 in there, or just a default :RELAYCLIENT line, then you are allowing everyone to relay. I've got a hacked version of tcpserver that will check the SQL table directly for each SMTP session to determine if that IP is all

Mail toaster HOW-TO updated

2001-03-16 Thread Matt Simerson
Hi vpopmailers, I've updated my mail toaster recipe at http://matt.simerson.net/computing/qmail.toaster.shtml. The primary differences are: 1) includes code modifications to vpopmail to use MySQL for ONLY the open-smtp relay feature. 2) includes code modifications to tcpserver to query a

Qmailadmin allows deletion of default mail account

2001-03-15 Thread Matt Simerson
Currently qmailadmin will allow a user to specify a default (catch all) account and then delete that default mailbox. This of cource causes vdelivermail to crash when attempting to deliver messages. This could be fixed in one of two ways. a) don't allow a default account to be deleted b) if

Feature request and error with vmoduser program

2001-03-12 Thread Matt Simerson
I have two issues: The first is a feature request for the vmoduser program. It appears that at present there is no way to disable qmailadmin. This would be a most welcome addition to the vmoduser program and hopefully more people than I would find it useful to be able to easily disable a domains q

RE: Vpopmail & Pine

2001-03-12 Thread Matt Simerson
Pine works just fine as POP3 or IMAP client so have your users configure PINE on the shell server to access their email via POP or IMAP. How much easier can it be? Matt > -Original Message- > From: Tim Hunter [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 12, 2001 11:06 AM > To: [EMAI

RE: Is there a way to make imap before smtp just like popbefore smtp?

2001-02-28 Thread Matt Simerson
I noticed this behaviour yesterday with Courier IMAP. When you run configure on courier, it attempts to see if the open_smtp_relay function is present in the vpopmail library. On my system it is. I hack up vpopmail so that I still use .cdb files for authentication but I stuff the open_smtp_relay i

RE: Virtual User, symlink, Mutt...

2001-02-23 Thread Matt Simerson
--- > From: Kit Halsted [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 23, 2001 4:16 PM > To: Matt Simerson; '[EMAIL PROTECTED]' > Subject: RE: Virtual User, symlink, Mutt... > > > At 1:40 PM -0700 2/23/01, Matt Simerson wrote: > >Does it have to be Mutt

RE: vpopmail and sqwebmail running as root

2001-02-23 Thread Matt Simerson
iday, February 23, 2001 3:05 PM > To: Dan Phoenix > Cc: Matt Simerson; [EMAIL PROTECTED]; '[EMAIL PROTECTED]' > Subject: Re: vpopmail and sqwebmail running as root > > > Dan Phoenix wrote: > > > > Complete bullshit pardon the termsplease provide doc

Sqwebmail and scaling beyond big to REALLY big.

2001-02-23 Thread Matt Simerson
Hi List, I have an interesting little story that all of you might find quite interesting. It has a happy ending but I'd also like a little feedback from the rest of you on other possible solutions to this. Six months ago I built, and pushed into production a mail server, running on 5 FreeBSD 4.1

RE: Virtual User, symlink, Mutt...

2001-02-23 Thread Matt Simerson
Does it have to be Mutt or can he use Pine? Matt > -Original Message- > From: Kit Halsted [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 23, 2001 11:25 AM > To: Ken Jones > Cc: [EMAIL PROTECTED] > Subject: Re: Virtual User, symlink, Mutt... > > > Sorry, I really should have been m

RE: Torture test Vpopmail + Qmail

2001-02-09 Thread Matt Simerson
While this isn't the "nicest" method of getting a server hammered, you can forge a bunch of emails with from and reply-to addresses of "[EMAIL PROTECTED]" and then use some spamming software to mail out a few hundred thousand messages. Within minutes you'll get 10's or hundreds of mail servers bou

RE: qmailloganalyzer

2001-02-08 Thread Matt Simerson
That is pretty cool. I have something cool too. :-) I have a perl script that collects all the files, does some processing on them, feeds the results into cricket (for pretty graphs), and then gzips and archives the log files away. http://admin.mail.safeserver.com/admin/cricket/mail.html Ignore

vpassword file recovery script/program

2001-01-25 Thread Matt Simerson
OK, I remember someone posting a link to a script or program that restores a users vpasswd file. Can anyone post that link? I can't seem to find it. Failing that, I'll have a perl script before long that rebuilds it. Matt

RE: Symbolic links with aliasing of domains.

2001-01-22 Thread Matt Simerson
I for one really like that feature. All the accounts on my system are based upon a system UID/GID. Within that users home dir is the domains dir which has a list of all their domains. Since all their domains are symlinked there, it's a handy dir to glob for that info. I for one prefer it that w

RE: mysql or not.

2001-01-22 Thread Matt Simerson
files or MySQL it's pretty easy for me to hack together tweaks that I need to make all the parts of my mail server play nicely together. Matt > -Original Message- > From: Chris Shenton [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 22, 2001 12:22 PM > To: Matt

RE: mysql or not.

2001-01-22 Thread Matt Simerson
Well, I found the breaking point of vpopmail's open-smtp feature to be about 1500 domains (in an NFS environment). The actual breaking point isn't really related to the amount of domains/users but rather how many and how freqently your clients open POP/IMAP sessions. I was forced to move away from

RE: FreeBSD Cryptography 101 - WAS - RE: vchkpw lackingauthentic atio n security

2001-01-19 Thread Matt Simerson
One of the coolest things FreeBSD has done is include a little intelligence in their DES crypt libraries. When checking a password (against the system password files or MySQL) the DES libraries determine whether they're checking a MD5 or DES password. Unfortanately, the reverse is not true. The M

RE: vpopmail lacks authentication security

2001-01-19 Thread Matt Simerson
e to do it, you wouldn't have. So, not only are you rude and inconsiderate, but now I know that you're a liar too. > I later posted to the list about the fact that vpopmail only uses DES. Matt > Simerson said "it is silly to say that DES is insecure" and I disagreed. He

RE: vchkpw ssl addition

2001-01-19 Thread Matt Simerson
This is cool, and stunnel does work quite well (I use it elsewhere) but it's much easier to just install Courier IMAP which includes a qmail (Maildir) happy version of a POP3, POP3-SSL, IMAP, and IMAP-SSL server. What advantage is there to using qmail's POP3 daemon with stunnel over Courier IMAP's

RE: HardQuota Bug in all Vpopmail versions

2001-01-18 Thread Matt Simerson
With all due respect, I did some of my own testing of vpopmail last year and found that then, the quota mechanism didn't work (I was able to send more than the quota's worth of messages using small messages (and a perl script to send it rapidly). I chose instead to use system quotas and multiple

RE: vchkpw lacking authentication security

2001-01-17 Thread Matt Simerson
> -Original Message- > From: Tamer Hassan [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 16, 2001 8:24 PM > To: Matt Simerson > Subject: Re: vchkpw lacking authentication security > > Dear Mattt, > > Matt Simerson writes: > > > I can't se

RE: vchkpw lacking authentication security

2001-01-16 Thread Matt Simerson
I can't see how that could possibly be construed as a security drawback. POP is inherently insecure in the first place (sending clear text passwords across the net) and password sniffing is much more of a problem (and the easiest way to collect passwords) than people cracking passwords. So, unle

RE: Secure SMTP/POP3

2001-01-09 Thread Matt Simerson
That program is named "stunnel". :-) Matt -Original Message- From: Ken Jones [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 09, 2001 7:44 AM To: Artem Koutchine Cc: [EMAIL PROTECTED] Subject: Re: Secure SMTP/POP3 Artem Koutchine wrote: > > Hi! > > I'd like to know how to setup so

Solved: Problem with open-smtp file locking over NFS.

2000-12-23 Thread Matt Simerson
I've been griping about this for some time and Ken implemented a new feature in 4.9.7 that helped alleviate the problem a little bit but because there is no real file locking over NFS, I was still have problems with my ~vpopmail/etc/open-smtp file getting overwritten by other processes as users si

Compile Error when using --enable-mysql=y

2000-12-13 Thread Matt Simerson
Hey, anyone know why I get this error when attempting to compile any program (in this case qmailadmin but also with courier IMAP). Vpopmail 4.9.6-1 compiles cleanly and installs just fine but whenever I compile anything against the vpopmail library it complains as follows: cm# make make all-recu

Unexplainable vpopmail behavior with smtp relaying.

2000-12-11 Thread Matt Simerson
Then, every time someone pops in and authenticates, the follow happens: 1) vpopmail asks for an exclusive lock on the ~vpopmail/etc/open-smtp.lock file 2) it will wait for the lock, once it gets it, it will continue 3) it adds the pop users IP into

Don't sweat the small stuff.

2000-12-07 Thread Matt Simerson
Ken (et al), First, and foremost, why do you care what the script kiddies on #openbsd say about your code? Seriously. Most of the people that loiter around on irc channels are either extremely competent people who have gravy jobs and can sit around and talk about all the cool stuff they've done.

RE: VpopMail + sPOP3

2000-12-05 Thread Matt Simerson
The other option here is to use the pop3s (and pop3) server that ships with Courier IMAP which authenticates using the vchkpw method and handles all that fun stuff for you. Matt > -Original Message- > From: Ken Jones [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 05, 2000 12:34 PM

RE: Bug in qmailadmin 0.39

2000-12-05 Thread Matt Simerson
> -Original Message- > From: Ken Jones [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 05, 2000 9:06 AM > To: Matt Simerson > Cc: 'Brumm Dominik'; '[EMAIL PROTECTED]' > Subject: Re: Bug in qmailadmin 0.39 > > > Matt Simerson wrote:

vpopmail system user feature breaks mail users ability tochange passwords

2000-11-30 Thread Matt Simerson
Using vpopmail 4.9.6, qmailadmin 0.39, sqwebmail 1.0.3, and courier-imap 1.2.2. Sqwebmail and Courier-IMAP are both compiled using the new preauthvchkpw.c file. I'm using vpopmail's feature so that each domain is created under a unique system user name. So, domain.com is owned by sytem user "d

qmailadmin problem

2000-11-16 Thread Matt Simerson
OK, I think I've stumbled onto a bug in qmailadmin 0.39. I'm using vpopmail-4.9.6 with the system username feature so that each maildomain belongs to a system password entry. When attempting to use the "change password" feature within qmailadmin, on any domain that's not listed in the rcpthosts

RE: problems with starting qmail/vpopmail

2000-11-13 Thread Matt Simerson
Try the updated version of that document at http://matt.simerson.net/computing/qmail.toaster.shtml. It's got a whole bunch more FreeBSD specific stuff, and it's continually updated as I make improvements to my mail system. Someday when I get all my custom scripts finished up that automagically pr

RE: Directory Structure.

2000-11-03 Thread Matt Simerson
There's a couple ways to do this and I opted for the easy way, I set up a user mapping in /home and wrote a quick perl script to create my a/aa/, a/ab/ tree structure. Then I use FreeBSD's pw utility to create the user and hand it my custom path name. Matt > -Original Message- > From: Ch

vdelivermail behavior question

2000-10-17 Thread Matt Simerson
I would like to see a new option available to the vdelivermail program. Currently it can be given a parameter such as "bounce-no-mailbox" or a directory to deliver messages to. I'd like to be able to deliver messages that have no match in the vpasswd file to a filename (/dev/null in particular). H

RE: courier-imap authentication and vpopmail 4.9.5

2000-10-15 Thread Matt Simerson
tuff like write up scripts that feed the log files through the processors and graph how many messages the servers are handling, cpu load, and network activity in something pretty like MRTG. Matt -Original Message----- From: Matt Simerson [mailto:[EMAIL PROTECTED]] Sent: Sunday, October 15,

RE: quota question on 4.9.5

2000-10-15 Thread Matt Simerson
I've installed the new vpopmail 4.9.5 and created a couple users under system users other than vpopmail and they work just fine for mail delivery and pop but neither sqwebmail nor courier-imap will authenticate users whose UID/GID is not vpopmail/vchkpw. Courier-imap has it's own authentication m

Install error with qmail-admin.

2000-10-11 Thread Matt Simerson
When installing qmail-admin on FreeBSD, the install script attempts to chgrp some things to group "root" which doesn't exist on FreeBSD. Changing the Makefile to reflect the proper root group (wheel) solves the problem. Matt

RE: Roaming users woes

2000-10-04 Thread Matt Simerson
Change the invocation of your SMTP server from "-x /home/vpopmail/etc/tcp.smtp.cdb" back to the default "-x /etc/tcp.smtp.cdb" and that should do it for you. This assumes that you did NOT override the default /etc/tcp.smtp database when you invoked "configure" while compiling vpopmail.   Wh

FW: Quota's aren't working.

2000-09-22 Thread Matt Simerson
et up wrong. To set up the quota I've tried a couple things. The first is using the vpopmail command "vsetuserquota" to set it. It makes the change to the users quota as witnessed by my custom values: serv1# cat vpasswd matt:fX8ZRwcdjpN2g:1:0:Matt Simerson:/home/vpopmail/domains/

RE: Stats

2000-09-21 Thread Matt Simerson
Well, you know... If you're using daemontools, it's pretty easy to have it trigger a script every time your log file reaches a predefined limit. This script can process the logs (using qmail's optional tools) and you could easily feed that output through whichever of the z* tools that spits out w