Re: [vchkpw] Re: Tom's fork of vpopmail (and qmailadmin)

2003-09-10 Thread Benjamin Tomhave, CISSP
 [EMAIL PROTECTED]
 QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
 Info on the Sniffter hand-held Network Tester: http://sniffter.com/





-- 
Benjamin Tomhave, CISSP
[EMAIL PROTECTED]



[vchkpw] what are qmail address extensions?

2003-08-20 Thread Benjamin Tomhave
Hello,

Was just looking through the configure help before installing 5.3.24 and was
wondering what qmail address extensions are?

Thank you,

-ben

---
Benjamin Tomhave, CISSP
Senior Systems Engineer
[EMAIL PROTECTED]
Sofast Communications  www.sofast.net




RE: [vchkpw] what are qmail address extensions?

2003-08-20 Thread Benjamin Tomhave
 Benjamin Tomhave wrote:
  Hello,
 
  Was just looking through the configure help before installing
 5.3.24 and was
  wondering what qmail address extensions are?

 Check out the man page for dot-qmail (here's a link to one online:
 http://resin.csoft.net/cgi-bin/man.cgi?section=5topic=dot-qmail)

 Search for EXTENSION ADDRESSES

Ok, this confuses me more than it helps.  Some specific questions...first,
I'm already using some .qmail files successfully (.qmail-default,
.qmail-user for mailing lists or forwards).  The configure help says the
address extensions support is disabled by default (at least in 5.3.24).
With it disabled, will this completely hose-up my current .qmail files?
Where I am apparently having trouble is with .qmail files setup with
forwards, etc., in user's home directories (same level as Maildir).  For
instance, /home/vpopmail/domains/domain.com/user/.qmail and
/home/vpopmail/domains/domain.com/user/Maildir are at the same level.  Would
enabling these extensions then allow me to make use of that .qmail file?  Or
is this something completely different?

Thanks!




RE: [vchkpw] vpopbull question

2003-08-18 Thread Benjamin Tomhave
No, there can't be a switch to do that because vpopbull doesn't do any
processing on the input, it only copies it into place.  It doesn't take much
to create a properly formatted email message.

 -Original Message-
 From: Evren Yurtesen [mailto:[EMAIL PROTECTED]
 Sent: Monday, August 18, 2003 6:06 AM
 To: Tom Walsh
 Cc: [EMAIL PROTECTED]
 Subject: RE: [vchkpw] vpopbull question


 thats nice but there could be also a nice switch to just set the
 date :) or insert the date headers...
 Thanks,
 Evren


 On Mon, 18 Aug 2003, Tom Walsh wrote:

  vpopbull expects a fully rfc compliant email message as its input.
 
  Make sure you have the email headers in place and correctly formatted.
 
  Also any aliased domains will have duplicate emails
 delivered Learned
  that one the hard way...
 
  Tom Walsh
  Network Administrator
  http://www.ala.net/
 
  ::-Original Message-
  ::From: Evren Yurtesen [mailto:[EMAIL PROTECTED]
  ::Sent: Monday, August 18, 2003 6:57 AM
  ::To: [EMAIL PROTECTED]
  ::Subject: [vchkpw] vpopbull question
  ::
  ::
  ::I have a funny question, unless I set the date in the email
 file that I
  ::provide to vpopbull, the email is dated that its sent at about 1970 :)
  ::or the mail client assumes so...
  ::Is there any way to set the date automatically?
  ::
  ::Evren
  ::
  ::
 
 
 






[vchkpw] user setup of forwards

2003-08-15 Thread Benjamin Tomhave
Hello,

(Cross-posting to vchkpw and qmailadmin mailing lists.)

I'm currently running qmailadmin 1.0.25 and vpopmail 5.3.20 (been waiting
for a 5.4 release).  When users login to qmailadmin with their personal,
non-postmaster accounts and create a forward, a .qmail file is created in
the account/ directory, at the same level as Maildir.  This does not appear
to be getting processed correctly as the messages appear to disappear into
oblivion (w/o so much as a bounce).  I've typically always manually setup
forward as .qmail-account in the domain's base directory, not through use of
.qmail files in the user's directory.

So, what I'm wondering is a couple things.  First, does my older version of
vpopmail not deal with .qmail files correctly in the user's account
directory?  Second, is use of the .qmail file the best/correct
implementation, or was this fixed in 1.0.26 (which I haven't had time to
compile yet) by reverting back to the .qmail-account format in the domain's
base directory?

Thank you,

-ben

---
Benjamin Tomhave, CISSP
Senior Systems Engineer
[EMAIL PROTECTED]
Sofast Communications  www.sofast.net




RE: [vchkpw] Re: user setup of forwards

2003-08-15 Thread Benjamin Tomhave
 It works for me, although I'm using vpopmail 5.3.23.  I don't know if
 it was broken in some earlier versions.  Are you sure the contents of the
 .qmail file are sensible?

Yep, the file appears to be created correctly (vpopmail:vchkpw chmod 600)
and the contents appear to be correct ([EMAIL PROTECTED]).  It just seems
that it's not being processed correctly.  Guess I'll try upgrading the most
current vpopmail devel version and see if this resolves the issue.




RE: [vchkpw] Re: user setup of forwards

2003-08-15 Thread Benjamin Tomhave
 What's your qmail log file say?

 If the contents are just a forward, no mail is going to be saved locally
 for that account, are you sure the remote account ([EMAIL PROTECTED]) is
 *not* receiving the mail?

I just setup a test account, [EMAIL PROTECTED], and then logged into
qmailadmin and setup a forward to go to my work account,
[EMAIL PROTECTED]  I sent an email from my work account to my test
account, and I see the below information.  Possibly of interest is that the
.Spam folder was dynamically created, meaning that despite having the
forward in place (in the .qmail file) maildrop is still being called and
SpamAssassin is being run against the message.  I'm currently doing spam
filtering with maildrop on a domain-wide level, not on a per-user level, and
I'm wondering if maildrop is not able to process the .qmail file correctly?
In the case of valid mail, the list thing the mailfilter would do is deliver
to [EMAIL PROTECTED].

@40003f3d02b0186e054c new msg 229974
@40003f3d02b0186f7094 info msg 229974: bytes 975 from
[EMAIL PROTECTED] qp 4017 uid 505
@40003f3d02b018987c64 starting delivery 1963824: msg 229974 to local
[EMAIL PROTECTED]
@40003f3d02b018997e34 status: local 1/50 remote 3/100
@40003f3d02b20f450114 delivery 1963824: success: did_0+0+1/
@40003f3d02b20f451884 status: local 0/50 remote 3/100
@40003f3d02b20f452054 end msg 229974




RE: [vchkpw] Re: user setup of forwards

2003-08-15 Thread Benjamin Tomhave
 Where is maildrop being called?  In the .qmail-default file of the
 sofast.net domain?  What's it look like?

.qmail-default in the sofast.net domain root -- it's the standard call of
maildrop ../mailfilter within that file.

 And is the test message you sent in the [EMAIL PROTECTED] mailbox?

No, the message disappeared into the void, never the be seen again.




RE: [vchkpw] Re: user setup of forwards

2003-08-15 Thread Benjamin Tomhave
 Do you have just maildrop or /usr/local/bin/maildrop?  That might
 not be on vpopmail's path.  Is /usr/local/bin/maildrop actually there?
 If you cd into the sofast.net domain then cd .. and do an ls,
 do you see mailfilter in the listing?

As already stated, this solution has been working for approximately 6
months.  Mail is being delivered perfectly.  Spam filtering is great.  The
only problem that has occurred is with forwards created in .qmail files
placed in an account's base directory alongside the Maildir/ directory.

 Oh, and have you done a mailq do see if they really have vanished or if
 they're deferred?

I showed you the complete log chain before, it says the message is
delivered, no deferral occurs, and there's nothing in the local queue.




[vchkpw] maildirsize file in Maildir/

2003-08-14 Thread Benjamin Tomhave
Hello,

Can anybody explain the purpose of the maildirsize folder in an account's
Maildir/ with a mysql-based vpopmail install?  It seems kind of redundant to
me that there should be a static file with quota information such as is
contained in maildirsize since quota info is maintained (partially or
wholly?) in the vpopmail database.  I ran into a situation this week where I
modified a user's quota in the db and it didn't take as far as courier-imap
was concerned until I removed the maildirsize file, thus causing it to be
regenerated.  Wondering if something needs to be fixed so that issues like
this won't occur in the future?

Thank you,

-ben

---
Benjamin Tomhave, CISSP
Senior Systems Engineer
[EMAIL PROTECTED]
Sofast Communications  www.sofast.net




[vchkpw] is there a max user quota value?

2003-08-14 Thread Benjamin Tomhave
Hello,

Is there currently a max user quota value?  I have an employee who has
temporarily boosted their account quota to 5G (very excessive) in order to
transfer their mail from Outlook to Evolution via IMAP.  Running vuserinfo
indicates the correct quota size and says only 7% used, but courier-imap is
blocking the transfer and reporting that the user has exceeded quota.  I was
wondering if something might be broken in an API that the quota info is
being misreported to courier-imap?

Thanks,

-ben

---
Benjamin Tomhave, CISSP
Senior Systems Engineer
[EMAIL PROTECTED]
Sofast Communications  www.sofast.net




[vchkpw] change request

2003-07-22 Thread Benjamin Tomhave
I have a minor change request for future releases:  Could a flag be added to
remove the permission/ownership fixing at the end, or at least add a prompt
that allows one to opt-out?  I recently reinstall 5.3.20 due to a weird
permission issue and I have other files stored in /home/vpopmail/domains
than just my vpopmail domains (it's an NFS mount, so a good place for
joining logs, etc.).  The file/directory ownership/permission changes hosed
that stuff, which took me a while to then sort out.

Thank you!

-ben

---
Benjamin Tomhave, CISSP
Senior Systems Engineer
[EMAIL PROTECTED]
Sofast Communications  www.sofast.net




RE: [vchkpw] vpopmail-5.3.21

2003-07-18 Thread Benjamin Tomhave



Sourceforge worked a-ok for me. Maybe the mirror 
you chose was broken. Try a different one, perhaps?

  -Original Message-From: John Johnson 
  [mailto:[EMAIL PROTECTED]Sent: Friday, July 18, 2003 4:26 
  PMTo: [EMAIL PROTECTED]Subject: [vchkpw] 
  vpopmail-5.3.21
  Ok, I can't locate vpopmail-5.3.21.tar.gz anyplace.. Not on Inter7, 
  Sourceforge errors
  out when I try to download it and it's not on shupp.org. Is there 
  anyplace I can get it?
  
  -John
  


RE: [vchkpw] Merging Maildirs

2003-07-17 Thread Benjamin Tomhave
Title: Message



It 
doesn't have to overwrite files. And why wouldn't it see "hidden" folders 
(by which, I'm assuming you mean folders starting with "."). I've done 
this in the past and it seems to work fine. Test it on the side, just to 
be safe and sure, but I believe you can just do "cp -R --reply=no user1/Maildir 
user2/".

  -Original Message-From: Joe Howard 
  [mailto:[EMAIL PROTECTED]Sent: Thursday, July 17, 2003 4:01 
  PMTo: [EMAIL PROTECTED]Subject: [vchkpw] Merging 
  Maildirs
  I have searched the mailing list archives but haven't been able to 
  find anything on my subject.
  
  I have two maildirs that both contain emails and folders and I want 
  to merge all of the email into one maildir. I am hoping that someone has had 
  to deal with this before and has already writen a script or program that will 
  do it. I know that I could just 'cp' the maildir to the other but that will 
  overwrite the files. 'cp' also doesn't pick up the hidden folder dirs. I was 
  thinking about writing a shell script with a 'for loop' to copy all the files 
  and dirs but I just hope that someone has already done that work.
  
  Thanks,
  Joe H.


RE: [vchkpw] Merging Maildirs

2003-07-17 Thread Benjamin Tomhave
Title: Message



Sorry, 
also might want to put in the --preserve flag to save yourself having to fix 
permissions and ownerships later on. So, that would 
be:
cp -R 
--preserve --reply=no user1/Maildir user2/

  -Original Message-From: Benjamin Tomhave 
  [mailto:[EMAIL PROTECTED]Sent: Thursday, July 17, 2003 4:05 
  PMTo: Joe HowardCc: [EMAIL PROTECTED]Subject: 
  RE: [vchkpw] Merging Maildirs
  It doesn't have to overwrite files. And why wouldn't it see 
  "hidden" folders (by which, I'm assuming you mean folders starting with 
  "."). I've done this in the past and it seems to work fine. Test 
  it on the side, just to be safe and sure, but I believe you can just do "cp -R 
  --reply=no user1/Maildir user2/".
  
-Original Message-From: Joe Howard 
[mailto:[EMAIL PROTECTED]Sent: Thursday, July 17, 2003 4:01 
PMTo: [EMAIL PROTECTED]Subject: [vchkpw] Merging 
Maildirs
I have searched the mailing list archives but haven't been able 
to find anything on my subject.

I have two maildirs that both contain emails and folders and I 
want to merge all of the email into one maildir. I am hoping that someone 
has had to deal with this before and has already writen a script or program 
that will do it. I know that I could just 'cp' the maildir to the other but 
that will overwrite the files. 'cp' also doesn't pick up the hidden folder 
dirs. I was thinking about writing a shell script with a 'for loop' to copy 
all the files and dirs but I just hope that someone has already done that 
work.

Thanks,
Joe H.


RE: [vchkpw] Forwarding....

2003-07-07 Thread Benjamin Tomhave
I didn't follow your thread before, but this is all elementary qmail
configuration.  What was the problem?  Are you familiar with qmailadmin,
because it does all of this for you through a compiled CGI GUI (soon to be
PHP-based, with a little luck).

 -Original Message-
 From: Bill Sappington [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 07, 2003 11:10 AM
 To: 'vpopmail list'
 Subject: [vchkpw] Forwarding


 Ok so after wading through documentation that didn;t document so
 very damn
 well, and the snide remarks from a few people on this list and suffering
 through the whole It was hard to write so it should be hard to use
 attitude this works for forwarding.

 The following assumes a standard Qmail install on Linux, a
 standard install
 of Vpopmail.

 Standard install will create: /home/vpopmail/domains

 Within the domains directory a sub-driectory for each domain you put onto
 the system is created it:


 New Domain = MyNewDomain.Com

 So you will have the following directory structure:

 /home/vpopmail/domains/MyNewDomain.com

 for the obligitory postmaster you will have:

 /home/vpopmail/domains/MyNewDomain.com/postmaster

 within the above you will have

 /home/vpopmail/domains/MyNewDomain.com/postmaster/MailDir

 within Maildir you will have three directories:  new, cur  tmp

 *=*=*=*=*=*=*=*=*=*=*= THE DEFAULT FORWARD *=*=*=*=*=*=*=*=*=*=*=*

 Create a user for the domain MyNewDomain.com, ie: 'info' and you
 will have:

 /home/vpopmail/domains/MyNewDomain.com/info/MailDir

 within Maildir you will have three directories:  new, cur  tmp

 within the directory: /home/vpopmail/domains/MyNewDomain.com execute the
 ls -all command
 and you will see the file '.qmail-default'.  This file handles all e-mail
 comming to this domain that has no valid destination.  The
 contents of this
 file are:

 | /home/vpopmain/bin/vdelivermail '' bounce

 To make all e-mail without a valid destination in MyNewDomain.com go to a
 specific user, replace the word 'bounce' with the fully qualified address
 of the person you want it to go to.  This can be ANYONE!  Inside
 or outside
 your domain.

 So suppose you want all e-mail with no valid destination at
 MyNewDomain.com
 to go to your mailbox on hotmail.com change the line to look like this:

 | /home/vpopmain/bin/vdelivermail '' [EMAIL PROTECTED]

 This is the Catch All!

 *=*=*=*=*=*=*=*=*=*=*=*= THE INDIVIDUAL FORWARD
 *=*=*=*=*=*=*=*=*=*=*=*=*=*=

 To forward for a specific user create a file in the DOMAIN directory:

 /home/vpopmail/domains/MyNewDomain.com

 name it .qmail-[user name of the person in this domain for which
 you would
 like to do forwarding]

 So in the above example, I have a domain called 'MyNewDomain.com' and a
 user named 'info'.  If I want to forward ALL e-mail for the user
 'info' to
 my hotmail address I would use a text editor such as pico since its very
 simple to use and execute the following command:

 pico /home/vpopmail/domains/MyNewDomain.com/.qmail-info

 Then add the following to the file:

 [EMAIL PROTECTED]

 Save the file and I have just created the forwarding rule for the
 individual user.

 = end
 






RE: [vchkpw] getting local mails via pop3

2003-06-25 Thread Benjamin Tomhave
I'm a little confused here...why would you be continuing to use local
accounts if you've installed vpopmail?  I'm not an authority and not certain
about this, but it seems to me that it has to be one or the other, not both.

 -Original Message-
 From: Gonzo [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 25, 2003 10:40 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] getting local mails via pop3


 Hello.

 I have qmail and vpopmail installed.
 Getting mails for virtual domains works well, but not for local users.
 pop3d runs as root (so it has access to /etc/passwd), but I don't know
 why this error occurs when I wan't to get my local mail via POP3:

 The client gets:

 -ERR authorization failed

 Syslog prints:

 Jun 25 18:39:41 base vpopmail[24197]: vchkpw: vpopmail user not found
 phi@:10.200.10.1

 I'm running the client from the internal machine 10.200.10.1, thats
 why the IP is in the logs.
 phi definitly exists in /etc/passwd.

 Any ideas?

 Gonzo






[vchkpw] proper catchall format?

2003-06-17 Thread Benjamin Tomhave
Hello,

What's the proper format for setting up a catchall account in the
.qmail-default?  I have seen both of the below formats used.  However, when
I move to using maildrop with a customized mailfilter file, the latter
works, but the former does not (in the case where [EMAIL PROTECTED] is a
forward, anyway -- I have not tried this with [EMAIL PROTECTED] being an
account).  If both are ok, any idea why the first one would not work
anymore?

| /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]
OR
| /home/vpopmail/bin/vdelivermail ''
/home/vpopmail/domains/domain.com/catchall

Thank you,

-ben

---
Benjamin Tomhave, CISSP
Senior Systems Engineer
[EMAIL PROTECTED]
Sofast Communications  www.sofast.net




RE: [vchkpw] VPOPMAIL 5.3 release

2003-06-17 Thread Benjamin Tomhave
I was going to say check the archives but they seem to be broken...???

A 5.4 stable release was just discussed at the beginning of this month.  I
don't know where you get March from, either, as 5.3.20 devel was released
4/10/2003 according to the Inter7 devel web site.  I've been running 5.3.20
for several weeks on a cluster with good success, so it is likely quite
deployable and probably not too far off from the 5.4 stable release.

 -Original Message-
 From: Mike Miller [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 16, 2003 3:07 PM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] VPOPMAIL 5.3 release


 Hi Folks,
   So I've been watching this list for some time as well as the
 development
 page, just itching to try out some of the new features available and
 reworking of many things.  I am building another few racks of servers for
 use in production, and am seeing the vpopmail 5.3 is still in development
 phase.

   The last changelog entry is March, and it's seemingly fairly
 still in the
 past few months.  Any indication on a potential release?  Any thoughts on
 whether it's stable enough to be used in production at this point?

 Thanks in advance
 -M

 _
 Protect your PC - get McAfee.com VirusScan Online
 http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963






[vchkpw] vpopbull WARNING

2003-06-13 Thread Benjamin Tomhave
If you choose to run vpopbull, I highly advise doing su vpopmail first.
If you run vpopbull as root, it will insert a file owned by root, and this
will essentially kill vpopmail (POP3 retrieval) until you can recursively
chown the files to the correct owner:group.  Just wanted to make others
aware of what just befell me.

---
Benjamin Tomhave, CISSP
Senior Systems Engineer
[EMAIL PROTECTED]
Sofast Communications  www.sofast.net




[vchkpw] modifying .qmail-default breaks delivery

2003-03-28 Thread Benjamin Tomhave
Hello,

This might be a qmail question, not a vpopmail question, but thought I'd
start here first.  Please point me away if appropriate.  I am working on a
new mail system (based on RH8), based mostly on Bill's toaster scripts.  I
have qmail 1.03 + vpopmail 5.3.19 w/ mysql + qmail-scanner (clamav,
SpamAssassin) + maildrop 1.5.2.  Under default configs, with qmail-scanner
running, everything works swell.  However, as soon as I modify the
.qmail-default file to be | maildrop ../mailfilter where the mailfilter
contains:

VPOP=| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
to $VPOP

...then mail delivery ceases to work.  I started out with a full-fledged
mailfilter script, but have simplified to the above just to verify that the
handoff works correctly.

Does anybody have any ideas on why switching to this would break delivery?
I'm wondering if my maildrop is buggy or something.  I'm working with v1.5.2
on a RH8 platform, compiled clean last week.  No upgrading involved.
Permissions all appear good.  All files/dirs are owned by vpopmail:vchkpw,
the .qmail-default is chmod 600 and the mailfilter is in
/home/vpopmail/domains and is chmod 400.  Just at a complete loss here and
nearing wit's end...

Thank you,

-ben


Benjamin Tomhave, Senior Systems Engineer
[EMAIL PROTECTED]
Sofast Communications  www.sofast.net




RE: [vchkpw] modifying .qmail-default breaks delivery

2003-03-28 Thread Benjamin Tomhave
A little additional information...it was suggested that I try to su to
vpopmail and run the maildrop command...here's what I got from that:


When I compiled, I used the following configure options, and not that
seekable is enabled (by default)

 -Original Message-
 From: Benjamin Tomhave [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 1:59 PM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] modifying .qmail-default breaks delivery


 Hello,

 This might be a qmail question, not a vpopmail question, but thought I'd
 start here first.  Please point me away if appropriate.  I am working on a
 new mail system (based on RH8), based mostly on Bill's toaster scripts.  I
 have qmail 1.03 + vpopmail 5.3.19 w/ mysql + qmail-scanner (clamav,
 SpamAssassin) + maildrop 1.5.2.  Under default configs, with qmail-scanner
 running, everything works swell.  However, as soon as I modify the
 .qmail-default file to be | maildrop ../mailfilter where the mailfilter
 contains:

 VPOP=| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
 to $VPOP

 ...then mail delivery ceases to work.  I started out with a full-fledged
 mailfilter script, but have simplified to the above just to
 verify that the
 handoff works correctly.

 Does anybody have any ideas on why switching to this would break delivery?
 I'm wondering if my maildrop is buggy or something.  I'm working
 with v1.5.2
 on a RH8 platform, compiled clean last week.  No upgrading involved.
 Permissions all appear good.  All files/dirs are owned by vpopmail:vchkpw,
 the .qmail-default is chmod 600 and the mailfilter is in
 /home/vpopmail/domains and is chmod 400.  Just at a complete loss here and
 nearing wit's end...

 Thank you,

 -ben

 
 Benjamin Tomhave, Senior Systems Engineer
 [EMAIL PROTECTED]
 Sofast Communications  www.sofast.net






RE: [vchkpw] modifying .qmail-default breaks delivery

2003-03-28 Thread Benjamin Tomhave
Sorry for the 3rd postfreakin' Outlook translates CTRL-ENTER to be send
the message now...gotta get rid of this Windows garbage... X-(  ANYWAY

The maildrop command test ran as su vpopmail resulted in:
[EMAIL PROTECTED] bentest.com]$ echo  | /usr/bin/maildrop ../mailfilter
vdelivermail: no EXT environment varilable

This is particularly distressing, I think, since shouldn't the EXT and HOST
variables be present?

Here's my configure line and results:

[EMAIL PROTECTED] vpopmail-5.3.19]#
./configure --enable-roaming-users=y --enable-tcpserver-file=/home/vpopmail/
etc/tcp.smtp --enable-relay-clear-minutes=180 --enable-auth-logging=y --enab
le-mysql-logging=n --enable-logging=v --enable-default-domain=sofast.net --e
nable-mysql=y --enable-mysql-replication=y --enable-valias=y --enable-defaul
tquota=1000 --enable-clear-passwd=n
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-unknown-linux
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for POSIXized ISC... no
checking how to run the C preprocessor... (cached) gcc -E
checking for AIX... no
yes
checking for floor in -lm... (cached) yes
checking for compress in -lz... (cached) yes
checking for crypt in -lcrypt... (cached) yes
checking for gethostbyaddr in -lnsl... (cached) yes
checking for getsockname in -lsocket... (cached) no
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/varargs.h... (cached) no
checking for working const... (cached) yes
checking for size_t... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for getcwd... (cached) yes
checking for mkdir... (cached) yes
checking for strdup... (cached) yes
checking for strstr... (cached) yes
checking for fdatasync... (cached) yes
checking for sigaction... (cached) yes
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
   vpopmail 5.3.19
Current settings
---

vpopmail directory = /home/vpopmail
   uid = 90
   gid = 90
  ip alias = OFF --enable-ip-alias-domains=n (default)
address extentions = OFF --enable-qmail-ext=n (default)
 roaming users = ON  --enable-roaming-users=y
tcpserver file = /home/vpopmail/etc/tcp.smtp
open_smtp file = /home/vpopmail/etc/open-smtp
user quota = 1000 -enable-hardquota=1000
 domain quotas = OFF --enable-domainquotas=n (default)
   auth module = mysql --enable-mysql=y
 mysql replication = ON  --enable-mysql-replication=y
table optimization = many domains --enable-many-domains=y (default)
  system passwords = OFF --enable-passwd=n (default)
  file locking = ON  --enable-file-locking=y (default)
 file sync = OFF --enable-file-sync=n disable vdelivermail fsync
 (default)
 make seekable = ON  --enable-make-seekable=y (default)
  auth logging = ON  --enable-auth-logging=y (default)
 mysql logging = OFF --enable-mysql-logging=n (default)
  clear passwd = OFF --enable-clear-passwd=n
 users big dir = ON  --enable-users-big-dir=y (default)
 valias processing = ON  --enable-valias=y
  mysql limits = OFF --enable-mysql-limits=n (default)
pop syslog = log success and errors including passwords
 --enable-logging=v
default domain = sofast.net --enable-default-domain=sofast.net
  auth inc = -I/usr/include/mysql
  auth lib = -L/usr/lib/mysql  -lmysqlclient -lz


 -Original Message-
 From: Benjamin Tomhave [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 2:06 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [vchkpw] modifying .qmail-default breaks delivery


 A little additional information...it was suggested that I try to
 su to vpopmail and run the maildrop command...here's what I got from that:


 When I compiled, I used the following configure options, and not
 that seekable is enabled (by default)

  -Original Message-
  From: Benjamin Tomhave [mailto:[EMAIL PROTECTED]
  Sent: Friday, March 28, 2003 1:59 PM
  To: [EMAIL PROTECTED]
  Subject: [vchkpw] modifying .qmail-default breaks delivery
 
 
  Hello,
 
  This might be a qmail question, not a vpopmail question, but thought I'd
  start here

[vchkpw] what's --enable-file-sync for?

2003-03-21 Thread Benjamin Tomhave
Hello,

After a few hours of googling, I'm at a loss.  What is
the --enable-file-sync flag for?  In a previous build, according to my
notes, I set it to =y.  However, it appears that =n is the default and that
most people configure that way.  I for one am using a mysql backend, so
perhaps they're related?  If anybody could set me straight, would appreciate
it.

Thank you!

-ben


Benjamin Tomhave, Senior Systems Engineer
[EMAIL PROTECTED]
Sofast Communications  www.sofast.net




RE: [vchkpw] Spam Assassin implementation

2003-03-19 Thread Benjamin Tomhave
I would suggest checking out http://qmail-scanner.sourceforge.net/ in order
to learn about how qmail-scanner is setup and to help you figure out what's
being called, etc.

 -Original Message-
 From: John McGivern [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 19, 2003 4:18 PM
 To: Jonas Pasche; [EMAIL PROTECTED]
 Subject: RE: [vchkpw] Spam Assassin implementation


 Well,  I think however the UNIX guy set this up before that it
 does actually work - somehow (I'm obviously a little light on the
 UNIX stuff compared to you guys!)  I know that if these people
 weren't getting mail I would be in big trouble so they are
 receiving mail.  And I know from looking in the queue that spam
 messages are getting bounced back.

 I don't really know how to find out how the spam assassin is
 being called.  I don't really know anything about qmail-scanner
 either.  I guess I need to do some research on that.  I would
 just like to understand the whole process and know it is set up
 properly because obviously it isn't set up properly :0 ;)

 Any ideas on where to start would be appreciated!

 Thanks,

 John McGivern

 -Original Message-
 From: Jonas Pasche [mailto:[EMAIL PROTECTED]
 Sent: March 19, 2003 2:38 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [vchkpw] Spam Assassin implementation


 Hi John,

  Somebody else had set this up a while ago - I think it is working but
  I'm not sure if it is affecting other mail deliveries.

 Oh well, it is...

  Basically I have spam assassin installed and I have a .qmail-default
  in every domain folder on my server.  It looks  like this:
 
  | /var/qmail/bin/preline -d /var/qmail/bin/bouncesaying \
  [message to bounce back if not SPAM]
  | /home/vpopmail/bin/vdelivermail ' ' bounce-no-mailbox

 The first line simply bounces _everything_ back to the sender, telling
 him it is spam. You don't actually call any SpamAssassin program in your
 .qmail-default file - how do you expect SpamAssassin to be actually used
 in your setup? ;-)

  Does this look like it should work okay with spam assassin?

 Definitely not.

  I notice others .qmil-default files look a little different.

 Theirs might be hopefully working ;-)

 Personally, I'd prefer qmail-scanner to mark all messages with a spam
 analysis header, and then use dot-qmail filtering to sort them out
 later. Try out this, if your mail server supports qmail-scanner with
 SpamAssassin integration. You'll need the 822mess package from DJB to
 get the 822field program.

 $ cat .qmail-default
 | bouncesaying I don't want your spam 822field X-Spam-Flag  /dev/null
 | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

 It's 822field in this case that checks for the presence of the
 X-Spam-Flag header. If it's present, it bounces the message back to the
 sender. If not, it continues with the next delivery instruction.

 Please be aware that qmailadmin occasionally rewrites .qmail-default,
 causing your manual filtering rules to disappear!

 Jonas








RE: [vchkpw] tcp.smtp file perms/owns for -enable-roaming-users?

2003-03-10 Thread Benjamin Tomhave
In my setup, I see the tcp.smtp.cdb file getting updated regularly, seeming
to indicate perhaps that the pop-before-smtp may actually be working.  Is
there anyway to verify the contents of the cdb file to see if it actually
matches with the current relay table contents?

 -Original Message-
 From: Jonas Pasche [mailto:[EMAIL PROTECTED]
 Sent: Sunday, March 09, 2003 8:27 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [vchkpw] tcp.smtp file perms/owns for
 -enable-roaming-users?


 Hi Jesse,

  I may just be mouthing off again, but I gather from the last
 paragraph in
  INSTALL that vpopmail may not even bother with vpopmail/etc/tc.smtp and
  open-smtp anymore.

 vpopmail never writes to tcp.smtp. It need read access to that file when
 building tcp.smtp.cdb.

 vpopmail writes open-smtp if you have configured it for roaming users,
 but without MySQL support.

 vpopmail writes tcp.smtp.cdb, if you have configured it for roaming
 users, independent of wheter you have enabled MySQL support or not.

  I think the default may be to assume that since you're
  using MySQL, you should use Matt Simerson's tcpserver-mysql
 patch. The relay
  table is certainly populated in my database, but the
 vpopmail/etc/tcp.smtp.cdb
  is NOT generated.

 I bet on write permissions.

  Personally, I don't have any qualms about vpopmail defaulting to MySQL
  based tcpserver relay control when I'm using MySQL.

 It actually doesn't.

  However, I strongly
  disagree with the INSTALL wording if that's the case! It makes it sound
  like Matt's patch is only suggested, but it honestly seems to
 be REQUIRED
  when mysql support is enabled in vpopmail.

 The INSTALL file is right. Don't blame it just because your setup didn't
 work. You simply didn't care about the permissions on tcp.smtp.cdb -
 it's obvious that vpopmail can't write to that file if it's only
 writable by root while you don't have vchkpw running as root.

 Jonas






[vchkpw] tcp.smtp file perms/owns for -enable-roaming-users?

2003-03-06 Thread Benjamin Tomhave
Hello,

Apologies if this is already answered elsewhere -- I didn't see it.  What
should the file permissions and ownership be for the tcprules tcp.smtp file
in order to enable vpopmail pop-before-smtp roaming user support?  In other
words, for qmail/vpopmail to temporarily add an IP address for
pop-before-stmp temp-relay support, what setup do I need?

Thank you,

-ben


Benjamin Tomhave, Senior Systems Engineer
[EMAIL PROTECTED]
Sofast Communications  www.sofast.net




[vchkpw] where to get dev releases?

2003-02-19 Thread Benjamin Tomhave
Hello,

This is probably a stupid question, but where can I find the dev releases of
vpopmail?  I was only able to find a download link for the current stable
release on the inter7 web site.

Thank you,

-ben


Benjamin Tomhave, Senior Systems Engineer
[EMAIL PROTECTED]
Sofast Communications  www.sofast.net





[vchkpw] building vpopmail w/ qmail rpm instead of src?

2003-02-18 Thread Benjamin Tomhave
Has anybody tried building vpopmail with one of the man qmail RPMs out
there?  Would such an approach work?  Without creating my own RPMs or
kickstart, looking for methods to decrease install time in preparation for
cluster builds/deployments.

Thank you,

-ben


Benjamin Tomhave, Senior Systems Engineer
[EMAIL PROTECTED]
Sofast Communications  www.sofast.net





[vchkpw] switching database servers

2003-02-14 Thread Benjamin Tomhave
Hello,

If I want to switch from using localhost to another remote host for my
vpopmail, does that require a rebuild/recompile, or is there a configurable
parameter somewhere that can be modified to make that adjustment?  My notes
seem to imply that the only way to change this is by editting the proper
values in the vmysql.h file.

Thank you,

-ben


Benjamin Tomhave, Senior Systems Engineer
[EMAIL PROTECTED]
Sofast Communications  www.sofast.net





RE: [vchkpw] switching database servers

2003-02-14 Thread Benjamin Tomhave
What would it take for this to be a configurable parameter instead of a
compiled-in parameter?  In other words, would it be possible to add a config
file, read at startup, from, say vpopmail/etc or qmail/control or similar?
It seems to me that this would make a lot more sense than requiring the
server, user and password to be compiled into the program itself.

 -Original Message-
 From: Clayton Weise [mailto:[EMAIL PROTECTED]]
 Sent: Friday, February 14, 2003 1:47 PM
 To: 'Benjamin Tomhave'; [EMAIL PROTECTED]
 Subject: RE: [vchkpw] switching database servers


 Recompile.  And do it from fresh source, don't just do a make clean and
 reconfigure it.

 -Clayton

 -Original Message-
 From: Benjamin Tomhave [mailto:[EMAIL PROTECTED]]
 Sent: Friday, February 14, 2003 10:41 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] switching database servers


 Hello,

 If I want to switch from using localhost to another remote host for my
 vpopmail, does that require a rebuild/recompile, or is there a
 configurable
 parameter somewhere that can be modified to make that adjustment?
  My notes
 seem to imply that the only way to change this is by editting the proper
 values in the vmysql.h file.

 Thank you,

 -ben

 
 Benjamin Tomhave, Senior Systems Engineer
 [EMAIL PROTECTED]
 Sofast Communications  www.sofast.net











[vchkpw] DEAD THREAD RE: [vchkpw] switching database servers

2003-02-14 Thread Benjamin Tomhave
Ok, I started it, I wish to kill it.  All points well made, though a bit
ruder than necessary.  I'll compile against a hostname that is configured
into /etc/hosts and life will be grand.  Thank you.  BTW, I'm disappointed
nobody compared file read for looking up a sql server vs. file read for
looking up hostname.  Can't imagine that would be much different, and thus
doesn't really gain you much in performance.  Just a thought.  Again,
thank you for the responses.


 Hi Andrew !!

 I guess You did not read the whole story :-)
 It's not about shutting down deliveries.
 It's not even about compiling vpopmail...

 It's a comparison of having a vpopmail SQL configfile
 vs. compiled in SQL config (vmysql.h)

 Please read the story, I'm tired... bye...

  Original Message -
 Date: 15-Feb-2003 05:00:47 +0100
 From: Andrew Kohlsmith [EMAIL PROTECTED]
 To:  [EMAIL PROTECTED]
 Subject: Re: [vchkpw] switching database servers

  5 min * 60 sec/min = 300 sec
  300 sec / .02 sec/delivery = 15000 deliveries

 Why on earth would you shut down delivery for the compile?

 time to make install: 30 seconds
 30 sec / .02 sec/delivery = 1500 deliveries

 that's one order of magnitude, assuming that you need the full 30
 seconds
 to
 do a shutdown/make install/startup.  I would believe you could get
 this
 down
 by another order of magnitude with a simple script -- making your
 total  deliveries on the order of 150-250.

 Speaking from experience on a mid-volume mail server (about a thousand
  deliveries per hour) -- qmail compensates perfectly.  In my case I'm
 also  running every message though spamc and procmail *and* an
 antivirus scan
 (Rav
 antivirus) -- You get a 1min load spike of about 22-30 which goes away
 within
 a minute and you're back down to normal levels.

  What about all POP/IMAP connections ?
  Many users gets maybe less than 10 emails a day but they
  do POP their mailbox every 5 (or less) minutes !!!

 You schedule it during a normal maintenance window.  Not many people
 are
 up
 and about at 4am.  And also speaking from experience, people will get
 an  error, go hmm and try again.  By that time you're back up and
 nothing  happens.

 And if you really needed to look like you were always up, you'd have
 already
 written a very quick and dirty pop/imap server which just replied
 yup,  password good, no messages to any query.

 Regards,
 Andrew





-- 
Benjamin Tomhave, Senior Systems Engineer
[EMAIL PROTECTED]
Sofast Communicationswww.sofast.net






[vchkpw] field defs for .dir-control?

2003-02-05 Thread Benjamin Tomhave
I was wondering if anybody knew what the field definitions are for the
.dir-control file, or more appropos to me, what the varias fields in the
dir-control table mean.  I show the follow column headers, but this really
doesn't speak to what the values should typically be set to.  This is the
only item that I have not reviewed wrt the vadduser blowups I've been
experiencing with some domains.

| domain  | cur_users | level_cur | level_max | level_start0 | level_start1
| level_start2 | level_end0 | level_end1 | level_end2 | level_mod0 |
level_mod1 | level_mod2 | level_index0 | level_index1 | level_index2 |
the_dir |

Thank you,

-ben


Benjamin Tomhave, Senior Systems Engineer
[EMAIL PROTECTED]
Sofast Communications  www.sofast.net





RE: [vchkpw] field defs for .dir-control?

2003-02-05 Thread Benjamin Tomhave
Nevermind, I figured out the problem!  Apparently somehow, some way the
the_dir column on broken domains had NULL inserted, instead of just
being blank.  I updated the field and viola! the problem is solved!

 -Original Message-
 From: Benjamin Tomhave [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 05, 2003 1:42 PM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] field defs for .dir-control?


 I was wondering if anybody knew what the field definitions are for the
 .dir-control file, or more appropos to me, what the varias fields in the
 dir-control table mean.  I show the follow column headers, but this really
 doesn't speak to what the values should typically be set to.  This is the
 only item that I have not reviewed wrt the vadduser blowups I've been
 experiencing with some domains.

 | domain  | cur_users | level_cur | level_max | level_start0 |
 level_start1
 | level_start2 | level_end0 | level_end1 | level_end2 | level_mod0 |
 level_mod1 | level_mod2 | level_index0 | level_index1 | level_index2 |
 the_dir |

 Thank you,

 -ben

 
 Benjamin Tomhave, Senior Systems Engineer
 [EMAIL PROTECTED]
 Sofast Communications  www.sofast.net







[vchkpw] vadduser blows up for one domain

2003-01-27 Thread Benjamin Tomhave
Hello,

I have a strange situation.  As of sometime recent, for only one domain,
vadduser is blowing up, dropping core.  This is with qmail 1.03 and vpopmail
5.2.  I can add users with other domains, and everything seems to be setup
correctly for this domain.  Recreating this domain from scratch is a
last-ditch option only due to account content and number of users that would
have to be recreated.  If desired, I can send a copy of the core file (or at
least strings on it).

Any ideas or suggestions on how to resolve this issue are greatly
appreciated.

Thank you,

-ben


Benjamin Tomhave, Senior Systems Engineer
[EMAIL PROTECTED]
Sofast Communications  www.sofast.net