Re: [vchkpw] [SPAM] block vpopmail brute force

2012-09-06 Thread Chris Stone
On Thu, Sep 6, 2012 at 1:44 AM, Hartmut Wernisch | Domaintechnik.at 
h...@domaintechnik.at wrote:

 I am using fail2ban (http://www.fail2ban.org/wiki/index.php/Main_Page).
 Maybe it is useful for you, too.


That's what I use too - works quite well - using this vpopmail.conf for the
filter configuration:

#---
# Fail2Ban configuration file
#
# Author: Chris Stone
#
# $Revision: 510 $
#

[Definition]

# Option:  failregex
# Notes.:  regex to match the password failures messages in the logfile. The
#  host must be matched by a group named host. The tag HOST
can
#  be used for standard IP/hostname matching and is only an alias
for
#  (?:::f{4,6}:)?(?Phost\S+)
# Values:  TEXT
#
failregex = vchkpw-pop3: password fail.+:HOST
vchkpw-submission: password fail.+:HOST
vchkpw-smtp: password fail.+:HOST
vchkpw-smtps: password fail.+:HOST
vpopmail user not found.+:HOST

# Option:  ignoreregex
# Notes.:  regex to ignore. If this regex matches, the line is ignored.
# Values:  TEXT
#
ignoreregex =
#---



Chris

-- 
Chris Stone
AxisInternet, Inc.
www.axint.net


!DSPAM:5048cc4334219044220722!


Re: [vchkpw] [SPAM] Problem with authentication

2012-04-07 Thread Chris Stone
On Sat, Apr 7, 2012 at 5:54 PM, David Leangen david.lean...@gmail.com wrote:
 The problem is with authentication.

 When I run my test:

 /var/qmail/bin/qmail-popup blah /home/vpopmail/bin/vhckpw pwd
 +OK 17922.1333842429@blah
 user t...@test.com
 +OK
 pass asdf
 -ERR authorization failed

So look at /var/log/maillog and what does it say about your test as
the reason for the failure?


Chris

-- 
Chris Stone
AxisInternet, Inc.
www.axint.net

!DSPAM:4f80da3934847311510756!



[vchkpw] vpopmail Authentication Problem

2006-04-19 Thread chris
Hello,
I am having trouble with user authentication. I am running Fedora
Core 5 on a Dell PowerEdge blade server with the latest (as of a
few days ago) versions of qmail, vpopmail, and qmailadmin.
I can log into qmailadmin just fine through Apache and I have
added a virtual domain and some virtual users. This is reflected
in my /var/qmail/ rchphosts and virtualdomain files. It is also
reflected in /home/vpopmail/.
The passwords for various users work in vpopmail but no where
else. I have tried telnetting to port 110 on the box and applying
crudentials but it always reports:

-ERR authorization failed

Here are my run scripts. Let me know what other information you
require. It may be important to note that this box does not have a
FQHN, instead, I have lied to it that it's name is
stormtrooper.ucdavis.edu, when there is in actuality another box
with that name (our old mail server). I cannot give it that proper
name until this box works, because we support hundreds of users
and cannot have an e-mail downage. The new blade's hostname is
stormtrooper and if I ping that name according to the box it
thinks it's 127.0.0.1, so I _think_ it's not a problem.

/service/qmail-pop3d/run:
#!/bin/sh
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \
localhost /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d
Maildir 21

/service/qmail-send/run:
#!/bin/sh
exec /var/qmail/rc

/service/qmail-smtpd/run:
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z $LOCAL
]; then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi
if [ ! -f /var/qmail/control/rcpthosts ]; then
echo No /var/qmail/control/rcpthosts!
echo Refusing to start SMTP listener because it'll create an open relay
exit 1
fi
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -l $LOCAL -x /etc/tcp.smtp.cdb -c
$MAXSMTPD \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21

I appreciate any help.

Chris Thielen
Network Programmer
Creative Media
http://creativemedia.ucdavis.edu/


Re: [vchkpw] vpopmail Authentication Problem

2006-04-19 Thread chris
About [EMAIL PROTECTED] (the user that works in
qmailadmin on my test box), I cannot log in using telnet localhost 110
with that account either.

I followed your commands to setuid for that program and issued qmailctl
stop, qmailctl start and tried again. Still the same auth errors.

Here are the versions I'm using:
Fedora Core 5 (2.6.16-1.2080_FC5smp, 32-bit i686)
netqmail-1.05 (qmail-1.03)
ezmlm-0.53
vpopmail-5.4.13
qmailadmin-1.2.9

I'm also running bincimap and squirrelmail but that's not really related
to these problems.

Any help is appreciated!

Chris Thielen
Network Programmer
Creative Media
University of California, Davis

 On 2006-04-19, at 1231, [EMAIL PROTECTED] wrote:
 I am having trouble with user authentication. I am running Fedora
 Core 5 on a Dell PowerEdge blade server with the latest (as of a
 few days ago) versions of qmail, vpopmail, and qmailadmin.

 specific version numbers? any patches applied on top of the source?

 I can log into qmailadmin just fine through Apache and I have
 added a virtual domain and some virtual users. This is reflected
 in my /var/qmail/ rchphosts and virtualdomain files. It is also
 reflected in /home/vpopmail/.
 The passwords for various users work in vpopmail but no where
 else. I have tried telnetting to port 110 on the box and applying
 crudentials but it always reports:

 -ERR authorization failed

 even for the same [EMAIL PROTECTED] account that you used with
 qmailadmin?

 Here are my run scripts. Let me know what other information you
 require. It may be important to note that this box does not have a
 FQHN, instead, I have lied to it that it's name is
 stormtrooper.ucdavis.edu, when there is in actuality another box
 with that name (our old mail server). I cannot give it that proper
 name until this box works, because we support hundreds of users
 and cannot have an e-mail downage. The new blade's hostname is
 stormtrooper and if I ping that name according to the box it
 thinks it's 127.0.0.1, so I _think_ it's not a problem.

 that's an /etc/hosts issue. both of the run scripts are using 0
 as the IP address, so the hostname shouldn't be an issue for starting
 the services. the one thing to note is that when you do throw the
 switch, i'm assuming that part of the process will be changing the
 machine's IP address to be the same as the old server... when you
 change the IP, you should restart any services which are listening
 for incoming connections.

 your pop3 service is running as root, so it shouldn't be a
 permissions issue... very strange.

 the smtp service is running as qmaild, which means that when qmail-
 smtpd runs vchkpw, it will try to run vchkpw as the qmaild user,
 which doesn't have permissions to read the vpasswd.cdb files (which
 contain the mailbox names and encrypted passwords.) there are two
 solutions for this problem:

 (1) run the qmail-smtpd service as the vpopmail user, which can cause
 issues with other qmail-smtpd add-ons (qmail-scanner, simscan, etc.)

 (2) make the ~vpopmail/bin/vchkpw binary setuid, so that no matter
 which userid starts it, it runs as the vpopmail user.

   # cd ~vpopmail/bin
   # chown vpopmail:vchkpw vchkpw
   # chmdo 6711 vchkpw

 neither solution is the best for everybody- the first one can cause
 issues with other programs, and the second one opens a hole which
 could potentially allow a local user to conduct a dictionary attack
 against mailbox passwords by running vchkpw directly. if you don't
 allow non-trusted people to run arbitrary commands on your machine
 (this includes CGI or PHP scripts as part of a web site) then the
 second option is a non-issue, and is in fact what i've been doing on
 my own server for several years.

 however, i have modified qmail-smtpd to check a cdb file when
 validating an AUTH command. i will be rolling a patch file for it,
 and writing a web page to document it, later this week.

 --
 | John M. Simpson - KG4ZOW - Programmer At Large |
 | http://www.jms1.net/   [EMAIL PROTECTED] |
 --
 | Mac OS X proves that it's easier to make UNIX  |
 | pretty than it is to make Windows secure.  |
 --






Re: [vchkpw] vpopmail Authentication Problem

2006-04-19 Thread chris
Solved. It was a softlimit problem.

 On 2006-04-19, at 1231, [EMAIL PROTECTED] wrote:
 I am having trouble with user authentication. I am running Fedora
 Core 5 on a Dell PowerEdge blade server with the latest (as of a
 few days ago) versions of qmail, vpopmail, and qmailadmin.

 specific version numbers? any patches applied on top of the source?

 I can log into qmailadmin just fine through Apache and I have
 added a virtual domain and some virtual users. This is reflected
 in my /var/qmail/ rchphosts and virtualdomain files. It is also
 reflected in /home/vpopmail/.
 The passwords for various users work in vpopmail but no where
 else. I have tried telnetting to port 110 on the box and applying
 crudentials but it always reports:

 -ERR authorization failed

 even for the same [EMAIL PROTECTED] account that you used with
 qmailadmin?

 Here are my run scripts. Let me know what other information you
 require. It may be important to note that this box does not have a
 FQHN, instead, I have lied to it that it's name is
 stormtrooper.ucdavis.edu, when there is in actuality another box
 with that name (our old mail server). I cannot give it that proper
 name until this box works, because we support hundreds of users
 and cannot have an e-mail downage. The new blade's hostname is
 stormtrooper and if I ping that name according to the box it
 thinks it's 127.0.0.1, so I _think_ it's not a problem.

 that's an /etc/hosts issue. both of the run scripts are using 0
 as the IP address, so the hostname shouldn't be an issue for starting
 the services. the one thing to note is that when you do throw the
 switch, i'm assuming that part of the process will be changing the
 machine's IP address to be the same as the old server... when you
 change the IP, you should restart any services which are listening
 for incoming connections.

 your pop3 service is running as root, so it shouldn't be a
 permissions issue... very strange.

 the smtp service is running as qmaild, which means that when qmail-
 smtpd runs vchkpw, it will try to run vchkpw as the qmaild user,
 which doesn't have permissions to read the vpasswd.cdb files (which
 contain the mailbox names and encrypted passwords.) there are two
 solutions for this problem:

 (1) run the qmail-smtpd service as the vpopmail user, which can cause
 issues with other qmail-smtpd add-ons (qmail-scanner, simscan, etc.)

 (2) make the ~vpopmail/bin/vchkpw binary setuid, so that no matter
 which userid starts it, it runs as the vpopmail user.

   # cd ~vpopmail/bin
   # chown vpopmail:vchkpw vchkpw
   # chmdo 6711 vchkpw

 neither solution is the best for everybody- the first one can cause
 issues with other programs, and the second one opens a hole which
 could potentially allow a local user to conduct a dictionary attack
 against mailbox passwords by running vchkpw directly. if you don't
 allow non-trusted people to run arbitrary commands on your machine
 (this includes CGI or PHP scripts as part of a web site) then the
 second option is a non-issue, and is in fact what i've been doing on
 my own server for several years.

 however, i have modified qmail-smtpd to check a cdb file when
 validating an AUTH command. i will be rolling a patch file for it,
 and writing a web page to document it, later this week.

 --
 | John M. Simpson - KG4ZOW - Programmer At Large |
 | http://www.jms1.net/   [EMAIL PROTECTED] |
 --
 | Mac OS X proves that it's easier to make UNIX  |
 | pretty than it is to make Windows secure.  |
 --






Re: [vchkpw] vpopmail extensions not working correctly

2006-02-28 Thread Chris Pugh
Er, Mike ..

Wouldn't that due to the fact that ..

home/vpopmail/domains/mydomain.com/.qmail-michael

and

home/vpopmail/domains/mydomain.com/.qmail-michael-testing

are two *entirely separate* accounts?


C.  



--- Michael Krieger [EMAIL PROTECTED] wrote:

 I am using 5.4.15 vpopmail and I've noticed that 
 extensions aren't quite working right.  If I send
 mail to  [EMAIL PROTECTED] I get mail going to my
 inbox and blackberry.   If I send mail to
 [EMAIL PROTECTED] I get mail going only
 to  my inbox.
   
   # cat
 /home/vpopmail/domains/mydomain.com/.qmail-michael 
   [EMAIL PROTECTED]
   [EMAIL PROTECTED] 
   
   qmail-send logs:
   bytes 1329 from [EMAIL PROTECTED] qp 7661 uid
 89
   starting delivery 77: msg 374730 to local
 [EMAIL PROTECTED]
   delivery 77: success: did_0+0+1/
   
   And that's it.  When I send to just 'michael', it
 then creates a  new message to remote
 [EMAIL PROTECTED], as it should.  but  sending
 to michael-testing doesn't.
   
   That doesn't seem right.
   -M
   
 



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[vchkpw] 571 Errors

2005-09-23 Thread Chris Holloway



Hello,

I am having some 
problems whenever people try to send to more than 15 people in the same 
email. They get back some variation of the 571 error, either 

"571 sorry, reached maximum number 
of recipients for one session (#5.7.1 - chkuser)\r\n"or
"571 sorry, you 
are violating our security policies (#5.7.1 - chkuser)\r\n" 
is their any way to change the maximum 
number without re-compiling anything?

Thanks,

Chris Holloway
Network Technician
THUMBTECHS CORPORATION
8205 Camp Bowie West # 110
Fort Worth, TX 76116
(817) 923-2419



Re: [vchkpw] vacation messages

2005-07-08 Thread Chris Godwin
vpopmail supports piping mail to autoresponder, autoresponder does the
vacationing. You could write a script that does the sql operations for you.
This is easilydone using a php shell script. You're pretty much on your own
with this one as there are now projects that links horde vacation with
autorepsonder.

- Original Message - 
From: Andrew Preece [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Friday, July 08, 2005 1:39 PM
Subject: [vchkpw] vacation messages


 Hey all,

 I'm trying to set up vacation messages, and I'd like to use the horde
 vacation plugin, as we already have all of our users well versed in horde.

 In the docs for vacation, it says that it supports an SQL based vacation
 message, as long as your mail server supports it.

 Does vpopmail supports this? As we already use MySQL for  all of our user
 information, it would be convenient.

 Thanks,
 Andrew.






Re: [vchkpw] vacation messages

2005-07-08 Thread Chris Godwin
Okay I'll try to spell it out for you

When setting a vacation message you've got to set the .qmail file for the
user to pipe the email to a program. Normally it's autoresponder. But what
you're going to have to do is pipe it to a custom script written by you in a
language that can execute sql queries(php, perl, python, et cetera). That
script is going to have to read the vacation message from the sql table and
then email the person back. When I said you're on you own I meant it, I
assumed that also implied that there would be no documentation on it. If you
have qmailadmin, make a test email account and set a vacation message. then
look at the dot qmail file to see how autoresponder works.
- Original Message - 
From: Andrew Preece [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Friday, July 08, 2005 2:26 PM
Subject: RE: [vchkpw] vacation messages


 vpopmail supports piping mail to autoresponder, autoresponder does the
 vacationing.

 I'm not seeing any really clear cut documentation on how to do this.
 Do I just change the .qmail-default file, and then it just works for
 whomever has an autoresponder entry in the database?

 Thanks,
 Andrew.






Re: [vchkpw] vacation messages

2005-07-08 Thread Chris Godwin
That's actually very good. I'd make a cron job to check the db entries. then
every five minutes it would write the dot qmail files based on what the db
says. btw how's horde working out. I was thinking of using it.

More on the script, the script should write indevidual dot qmailfiles for
each user in their home dirs that way compatability with qmailadmin isn't
broken.


- Original Message - 
From: Andrew Preece [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Friday, July 08, 2005 2:55 PM
Subject: RE: [vchkpw] vacation messages



 Okay I'll try to spell it out for you

 You spell very well ;)

 Do you think it would work if I wrote a program to check if the recipient
 has an autoresponder entry in the DB, and if they do, do an autoresponder
 thing.

 So I'm thinking that the qmail-default could look something like
 |checkforawaymessage
 |vdelivermail etc...

 That way, I'd never have to edit the users .qmail file.






Re: [vchkpw] Why does Inter7 opt Qmail?

2005-07-05 Thread Chris Godwin
dude, yahoo uses qmail, nuff said!
- Original Message - 
From: [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Tuesday, July 05, 2005 1:39 PM
Subject: Re: [vchkpw] Why does Inter7 opt Qmail?


 I cannot name any company name but I used to work for a large
 telecommunications provider. They are world leader for supplying mobile
 operators with core network solutions like SMS and WAP. While designing
 their MMS solution they had to choose an MTA to handle all the email
 involved in MMS. Of all the options, they choose qmail becuase it was
 secure, scalable and very reliable. Also their idea of scalable and
 reliale is 99.999% uptime and 200 msg/sec.

 That secures qmail as my mail server, always!!

 -Dougal


  On Tue, 5 Jul 2005 15:05:22 -0300
  Bruno Negrão [EMAIL PROTECTED] wrote:
 
  does your boss have a rationale for his doubts, or are they based
  upon a  'gut' feeling? usually doubts arise based upon shortcomings.
  what  shortcoming does your boss see in qmail (note, small 'q' - it
  is not  Qmail).
 
  OK. He wants to know if there is a tendency on the market for some
  other  mailserver. He asks me what mailservers the biggest linux/Unix
  distributors  are using on their products. For example, what's the
  mailserver shipped  with RedHat, Solaris, Mandrake, Debian, etc?  I
  really don't know. I  believe all of them are shipped only with
  Sendmail, but I'm not sure on  this actually.
 
  Debian (and Ubuntu - based on Debian) and FreeBSD all use Exim by
  default. I'm not sure about any Linux distros other than Debian.
 
  I've seen a couple ISPs and such before that use sendmail - but that was
  simply a mandate from the higher ups that didn't know anything about
  mail servers. Evidently Sendmail was the only software name they
  recognized, so they decided it needed to be the only one used in their
  company - none of the techs liked it.
 
  Personally, I think sticking with qmail is a pretty good choice.
 
  HTH,
  Jacob
 







Re: [vchkpw] mail relay problems ...

2005-06-30 Thread Chris Godwin
gentoo is great, but the developers handleing the ebuilds for vpopmail and
qmail need to freakin chill on the custom crap... I see it as forcing me to
go from source on everything.

- Original Message - 
From: Henti Smith [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Thursday, June 30, 2005 1:15 PM
Subject: [vchkpw] mail relay problems ...


 This is pretty much in responce to Jeffrey A Schmidt's mail called can't
relay any more posted on Fri, 15 Apr 2005 17:28:34 -0700

 Jeffrey,

 Gentoo has once again made HUGE changes to a package without informing
it's users thereof before allowing the package to install.

 this is from the ebuild :

 einfo Use of vpopmail's tcp.smtp[.cdb] is also deprecated now, consider
 einfo using net-mail/relay-ctrl instead.

 incase you're wondering what this means ...

 from the install section:

 econf \
 ##SNIP##
 --disable-tcp-rules-prog --disable-tcpserver-file --disable-roamin
g-users \
 || die

 # TCPRULES for relaying is now considered obsolete, use relay-ctrl
instead





#--enable-tcprules-prog=/usr/bin/tcprules --enable-tcpserver-file=/etc/tcp.s
mtp \
 #--enable-roaming-users=y --enable-relay-clear-minutes=60 \
 #--disable-rebuild-tcpserver-file \

 They have disabled roaming users aka relaying in vpopmail. You need to
emerge relay-ctrl instead.
 Or work around this ..

 for a howto : http://gentoo-wiki.com/HOWTO_Setup_QMAIL_RELAY-CTRL_VPOPMAIL

 -- 
 Henti Smith
 [EMAIL PROTECTED]
 +27 82 958 2525
 http://www.geekware.co.za

 DISCLAIMER :

 Unauthorised use of characters, images, sounds, odors, severed limbs,
noodles, wierd dreams, strange looking fruit, oxygen, and certain parts of
Jupiter are strictly forbidden.  If I find you violating, or molesting my
property in any way, I will employ a pair of burly convicts to find you,
kidnap you, and perform god-awful sexual experiments on you until you lose
the ability to sound out vowels.  I don't know why you are still reading
this, but by doing so you have proven that you have far too much time on
your hands, and you should go plant a tree, or read a book or something.
 - http://www.ctrlaltdel-online.com/





Re: [vchkpw] mail relay problems ...

2005-06-30 Thread Chris Godwin
problems with qmailrocks-- vpopmail mail quota system is broken because of
no maildir++ patch and few patches that enable chkuser and others,
qmailscannerqueue is a freakin mem hog. Uses qscanqueue or simscan. If you
use simscan, clamav's out of date warning will cause a hard smtp error on
the client end, you must not enable custom smtp rejection messages.

- Original Message - 
From: [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Thursday, June 30, 2005 2:42 PM
Subject: Re: [vchkpw] mail relay problems ...


 The BEST howto: Was using this for ages before I made the crazy leap to
 gentoo ebuild. May have to move back soon!!

 http://qmailrocks.org/



  On Thu, 30 Jun 2005 14:19:18 -0500
  Jeremy Kitchen [EMAIL PROTECTED] wrote:
 
  solution: don't use gentoo's qmail ebuilds.
 
  where is a decent howto these days ... since I HAVE to get my vpopmail
  working with relay on pop as it was before ..
  right now it's  broken.
 
  I've been saying this all over the place for well over a year now.
 
  yeah ... things are getting a little out of hand ..
  --
  Henti Smith
  [EMAIL PROTECTED]
  +27 82 958 2525
  http://www.geekware.co.za
 
  DISCLAIMER :
 
  Unauthorised use of characters, images, sounds, odors, severed limbs,
  noodles, wierd dreams, strange looking fruit, oxygen, and certain parts
of
  Jupiter are strictly forbidden.  If I find you violating, or molesting
my
  property in any way, I will employ a pair of burly convicts to find you,
  kidnap you, and perform god-awful sexual experiments on you until you
lose
  the ability to sound out vowels.  I don't know why you are still reading
  this, but by doing so you have proven that you have far too much time on
  your hands, and you should go plant a tree, or read a book or something.
  - http://www.ctrlaltdel-online.com/
 







Re: [vchkpw] mail relay problems ...

2005-06-30 Thread Chris Godwin
the only way to avoid double bounces is chkuser patch. Postfix is find for a
few domains, less control imho. simscan has a spamassasin.pl patch that
enables peruser sa checking with vpopmail.
- Original Message - 
From: Henti Smith [EMAIL PROTECTED]
To: vchkpw@inter7.com
Cc: [EMAIL PROTECTED]
Sent: Thursday, June 30, 2005 2:45 PM
Subject: Re: [vchkpw] mail relay problems ...


 On Thu, 30 Jun 2005 19:42:28 - (GMT)
 [EMAIL PROTECTED] wrote:

  The BEST howto: Was using this for ages before I made the crazy leap to
  gentoo ebuild. May have to move back soon!!

 sadly .. after all this .. and the missions I have been through to get any
kind of decent spam/virus protection going
 the problem with bouncing to spoofed spam accounts causing double
bounces, I'm looking at switching to postfix.

 I love qmail/vpopmail I just wish they could make adding some features
easer then right now .. it's just tomuch of a hastle to keep up.

 --
 Henti Smith
 [EMAIL PROTECTED]
 +27 82 958 2525
 http://www.geekware.co.za

 DISCLAIMER :

 Unauthorised use of characters, images, sounds, odors, severed limbs,
noodles, wierd dreams, strange looking fruit, oxygen, and certain parts of
Jupiter are strictly forbidden.  If I find you violating, or molesting my
property in any way, I will employ a pair of burly convicts to find you,
kidnap you, and perform god-awful sexual experiments on you until you lose
the ability to sound out vowels.  I don't know why you are still reading
this, but by doing so you have proven that you have far too much time on
your hands, and you should go plant a tree, or read a book or something.
 - http://www.ctrlaltdel-online.com/





Re: [vchkpw] mail relay problems ...

2005-06-30 Thread Chris Godwin
All I know is that I installed simscan and chose clamav as the viral
scanner. The error message that shows as follows:
odin clamav # clamscan
LibClamAV Warning: 
LibClamAV Warning: ***  This version of the ClamAV engine is outdated.  ***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/faq.html ***
LibClamAV Warning: 
LibClamAV Warning: 
LibClamAV Warning: ***  This version of the ClamAV engine is outdated.  ***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/faq.html ***
LibClamAV Warning: 
/var/log/clamav/freshclam.log: OK
/var/log/clamav/clam-update.log: OK
which is from clamscan NOT freshclam is read by simscan as an error when
using custom smtp rejection compiled in. Not answering your question as why
these things happen. Just stating that they just happen.

- Original Message - 
From: Rick Macdougall [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Thursday, June 30, 2005 3:03 PM
Subject: Re: [vchkpw] mail relay problems ...


 Chris Godwin wrote:

 problems with qmailrocks-- vpopmail mail quota system is broken because
of
 no maildir++ patch and few patches that enable chkuser and others,
 qmailscannerqueue is a freakin mem hog. Uses qscanqueue or simscan. If
you
 use simscan, clamav's out of date warning will cause a hard smtp error on
 the client end, you must not enable custom smtp rejection messages.
 
 
 
 Uhhh, why would the out of date warning (that comes from freshclam)
 cause a hard smtp error on the client end ?

 I use it on a lot of machines and I've never had that problem.

 Regards,

 Rick






Re: [vchkpw] mail quotas

2005-06-30 Thread Chris Godwin
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: vchkpw@inter7.com
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,






Re: [vchkpw] [qmr] imapd: chdir Permission denied

2005-06-30 Thread Chris Godwin
perms do you have on the folders? what distro, using packages or source?

- Original Message - 
From: James McMillan [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Thursday, June 30, 2005 3:48 PM
Subject: [vchkpw] [qmr] imapd: chdir Permission denied


 Ok, it's been about a week now of upgrading my box.  I've changed from 
 vpasswd cdb's to the mysql auth type.  I've imported all my old 
 mail/domains/users/etc.  Everything seems good, and I was planning to do 
 the flip this weekend...  well, everything but imap.
 
 noticed trying to login with squirrelmail, it rejected every user.  
 vuserinfo is succesful, but my maillog states the following:
 
 Jun 30 15:37:03 minoru imapd: chdir 
 /usr/local/vpopmail/domains/xxx.com/postmaster: Permission denied
 Jun 30 15:40:20 minoru imapd: chdir 
 /usr/local/vpopmail/domains/xxx.com/postmaster: Permission denied
 Jun 30 15:41:38 minoru imapd: chdir 
 /usr/local/vpopmail/domains/xxx.com/mint: Permission denied
 
 imap is running as root
 
 minoru# ps axfu | grep cour
 root   512  0.0  0.2  1252   864 con- I 3:25PM   0:00.05 
 [couriertcpd]
 root   515  0.0  0.1  1212   712 con- I 3:25PM   0:00.03 
 /usr/local/sbin/courierlogger imapd
 root   522  0.0  0.2  1252   864 con- I 3:25PM   0:00.02 
 [couriertcpd]
 root   524  0.0  0.1  1208   672 con- I 3:25PM   0:00.02 
 /usr/local/sbin/courierlogger imapd-ssl
 
 and the directory is 700 vpopmail:vchkpw
 
 Any clues?
 
 
 



Re: [vchkpw] mail relay problems ...

2005-06-30 Thread Chris Godwin
clamav isn't the problem. Wait a month and your output will look like this.
This happens when clamav wants you to update clamd and whatever. That's fine
but the admin might not get to it as soon as it becomes outdated, but with
this issue mail smtp breaks immediatly so the admin is forced to update
clamav the very second the scanning engine becomes outdated. I first
discovered this when I got a custom smtp rejection full of astisks
**, it was the first line of clamscans output. as soon as
I update clamscan simscan's smtp sessions work.

- Original Message - 
From: Rick Macdougall [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Thursday, June 30, 2005 3:43 PM
Subject: Re: [vchkpw] mail relay problems ...


 Chris Godwin wrote:

 All I know is that I installed simscan and chose clamav as the viral
 scanner. The error message that shows as follows:
 odin clamav # clamscan
 LibClamAV Warning:

 LibClamAV Warning: ***  This version of the ClamAV engine is outdated.
***
 LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/faq.html
***
 LibClamAV Warning:

 LibClamAV Warning:

 LibClamAV Warning: ***  This version of the ClamAV engine is outdated.
***
 LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/faq.html
***
 LibClamAV Warning:

 /var/log/clamav/freshclam.log: OK
 /var/log/clamav/clam-update.log: OK
 which is from clamscan NOT freshclam is read by simscan as an error when
 using custom smtp rejection compiled in. Not answering your question as
why
 these things happen. Just stating that they just happen.
 
 
 Strange,

 inexia1:/var/src# clamscan
 /var/src/linux-2.4.27.tar.bz2: OK

 --- SCAN SUMMARY ---
 Known viruses: 36123
 Engine version: 0.85.1
 Scanned directories: 1
 Scanned files: 1
 Infected files: 0
 Data scanned: 48.07 MB
 Time: 21.658 sec (0 m 21 s)

 no warnings for me. (0.85.1 and freshclam does warn me), besides simscan
 uses clamdscan.

 Very strange, did you use any special compile options with clamav ?  I'd
 like to see where this might happen so we can apply a patch to simscan
 if needed.

 Regards,

 Rick






Re: [vchkpw] [qmr] imapd: chdir Permission denied

2005-06-30 Thread Chris Godwin
tough one...
- Original Message - 
From: James McMillan [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Thursday, June 30, 2005 4:10 PM
Subject: Re: [vchkpw] [qmr] imapd: chdir Permission denied


  and the directory is 700 vpopmail:vchkpw
 
 FreeBSD, source



Re: [vchkpw] [qmr] imapd: chdir Permission denied

2005-06-30 Thread Chris Godwin
if you ported /home/vpopmail/domains over from another box then you need to
chown vpopmail:vchkpw on all the /home/vpopmail dirs
owner and groups arent saved to files, uid and gid are.
- Original Message - 
From: James McMillan [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Thursday, June 30, 2005 4:31 PM
Subject: Re: [vchkpw] [qmr] imapd: chdir Permission denied


 Ok, just for fun...   I chmod -R 777 the postmaster dir.

 Then I logged in, and sent a mail, and back, then checked the new
 permissions.

 Now the directory shows uid 89, which is my old mailservers uid for
 vpopmail.  The new server's vpopmail uid 1008.

 It seems that the uid is statically compiled somewhere  I just don't
 know where.
 G

 Chris Godwin wrote:

 tough one...
 - Original Message - 
 From: James McMillan [EMAIL PROTECTED]
 To: vchkpw@inter7.com
 Sent: Thursday, June 30, 2005 4:10 PM
 Subject: Re: [vchkpw] [qmr] imapd: chdir Permission denied
 
 
 
 
 and the directory is 700 vpopmail:vchkpw
 
 
 FreeBSD, source
 
 
 
 
 
 
 


 -- 

 James McMillan
 V.P. Of Information Technology
 www.TheNetMark.com
 412 New Broadway
 Brooklawn, NJ 08030
 888.767.8750 X106






Re: [vchkpw] Problems with qmail/vpopmail/maildop

2005-06-29 Thread Chris Godwin
The first question that comes to mind is, did you compile maildrop from src
or did you let portage to it for you? the guide you mentioned uses ebuilds,
ebuilds that replace Maildir with .maildir in the source of courier,
vpopmail, and qmail. Maildrop from source might not know about this change.
- Original Message - 
From: [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Wednesday, June 29, 2005 1:41 PM
Subject: [vchkpw] Problems with qmail/vpopmail/maildop


 Hi,

 I am having problems trying to get maildrop working in my mail server.
 Have been using this configuration on a Redhat box for over a year and
 recently moved to a Gentoo solution. Getting maildrop to work is the only
 part that is failing.

 To build the server, I have used the following gentoo documentation:
 http://www.gentoo.org/doc/en/qmail-howto.xml

 Everything is running well but I get permission problems when I try to
 introduce maildrop. I am getting the following errors in the qmail-send
 logs:

 @400042bdac521ae5d764 new msg 1109815
 @400042bdac521ae5e704 info msg 1109815: bytes 1568 from
 [EMAIL PROTECTED] qp 2638 uid 210
 @400042bdac521d5d0954 starting delivery 4890: msg 1109815 to local
 [EMAIL PROTECTED]
 @400042bdac521d5dfb84 status: local 1/10 remote 0/20
 @400042bdac522a5dbdc4 delivery 4890: deferral:

maildrop:_error_writing_to_mailbox.//usr/bin/maildrop:_Unable_to_deliver_to_
mailbox./
 @400042bdac522a5dcd64 status: local 0/10 remote 0/20

 I have checked the permissions of all the maildrop related files and the
 maildir:

 xen2 qmail-send # ls -la /usr/bin/maildrop
 -rwxr-x---  1 vpopmail mail 166816 May 18 19:25 /usr/bin/maildrop
 xen2 qmail-send # ls -la /etc/maildrop/mailfilter
 -rw---  1 vpopmail vpopmail 545 May 18 20:28 /etc/maildrop/mailfilter

 This is my .qmail-default and corresponding mailfilter.

 xen2 qmail-send # cat /var/vpopmail/domains/hippotje.com/.qmail-default |

 /usr/bin/maildrop /etc/maildrop/mailfilter

 xen2 qmail-send # cat /etc/maildrop/mailfilter
 import EXT
 import HOST
 import HOME
 MAX = 15
 VHOME=`/var/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]
 VPOP=| /var/vpopmail/bin/vdelivermail '' bounce-no-mailbox
 JUNKFOLDER=.Spam
 if ($VHOME)
 {
`test -d $VHOME/.maildir/$JUNKFOLDER`
if( $RETURNCODE != 1 )
{
   if ( $SIZE  262144 )
   {
  exception {
 xfilter /usr/bin/spamc -f -u [EMAIL PROTECTED]
  }
   }
}
if (/^X-Spam-Flag: *YES/)
{
   to $VHOME/.maildir/$JUNKFOLDER/
}
else
{
   to $VHOME/.maildir/
}
 }
 else
 {
to $VPOP
 }

 And finally -v output from maildrop.

 xen2 root # maildrop -v
 maildrop 1.8.0 Copyright 1998-2004 Double Precision, Inc.
 GDBM extensions enabled.
 Courier Authentication Library extension enabled.
 Maildir quota extension enabled.
 This program is distributed under the terms of the GNU General Public
 License. See COPYING for additional information.
 xen2 root #

 Does anybody have any advice? This is the key to my complete mail server!!
 I don't know if this is maildrop or vpopmail or qmail causing me the
 issue.

 Kind regards,

 Dougal








Re: [vchkpw] Problems with qmail/vpopmail/maildop

2005-06-29 Thread Chris Godwin
Man, I don't know, maildrop is pretty cut and dry. The compile options are
proper, what is the specific issue that you're having, basically give me a
scenario error messages, logs. Also paste the output from emerge
maildrop -vp.
- Original Message - 
From: [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Wednesday, June 29, 2005 2:07 PM
Subject: Re: [vchkpw] Problems with qmail/vpopmail/maildop


 Hi,

 I complied maildrop from the ebuild. Nothing has been compliled from raw
 source. I have opened up the ebuild and checked the compile options. They
 are as follows:

 ./configure
 --prefix=/usr
 --host=i686-pc-linux-gnu
 --mandir=/usr/share/man
 --infodir=/usr/share/info
 --datadir=/usr/share
 --sysconfdir=/etc
 --localstatedir=/var/lib
 --with-devel
 --disable-tempdir
 --enable-syslog=1
 --enable-use-flock=1
 --enable-maildirquota
 --enable-use-dotlock=1
 --enable-restrict-trusted=1
 --enable-trusted-users=apache dspam root mail daemon postmaster qmaild
 mmdf vmail
 --enable-maildrop-uid=root
 --enable-maildrop-gid=mail
 --with-default-maildrop=./.maildir/
 --enable-sendmail=/usr/sbin/sendmail
 --cache-file=/var/tmp/portage/maildrop-1.8.0-r3/work/maildrop-1.8.0/co
nfiguring.cache
  --with-db=gdbm


  The first question that comes to mind is, did you compile maildrop from
  src
  or did you let portage to it for you? the guide you mentioned uses
  ebuilds,
  ebuilds that replace Maildir with .maildir in the source of courier,
  vpopmail, and qmail. Maildrop from source might not know about this
  change.
  - Original Message -
  From: [EMAIL PROTECTED]
  To: vchkpw@inter7.com
  Sent: Wednesday, June 29, 2005 1:41 PM
  Subject: [vchkpw] Problems with qmail/vpopmail/maildop
 
 
  Hi,
 
  I am having problems trying to get maildrop working in my mail server.
  Have been using this configuration on a Redhat box for over a year and
  recently moved to a Gentoo solution. Getting maildrop to work is the
  only
  part that is failing.
 
  To build the server, I have used the following gentoo documentation:
  http://www.gentoo.org/doc/en/qmail-howto.xml
 
  Everything is running well but I get permission problems when I try to
  introduce maildrop. I am getting the following errors in the qmail-send
  logs:
 
  @400042bdac521ae5d764 new msg 1109815
  @400042bdac521ae5e704 info msg 1109815: bytes 1568 from
  [EMAIL PROTECTED] qp 2638 uid 210
  @400042bdac521d5d0954 starting delivery 4890: msg 1109815 to local
  [EMAIL PROTECTED]
  @400042bdac521d5dfb84 status: local 1/10 remote 0/20
  @400042bdac522a5dbdc4 delivery 4890: deferral:
 
 
maildrop:_error_writing_to_mailbox.//usr/bin/maildrop:_Unable_to_deliver_to_
  mailbox./
  @400042bdac522a5dcd64 status: local 0/10 remote 0/20
 
  I have checked the permissions of all the maildrop related files and
the
  maildir:
 
  xen2 qmail-send # ls -la /usr/bin/maildrop
  -rwxr-x---  1 vpopmail mail 166816 May 18 19:25 /usr/bin/maildrop
  xen2 qmail-send # ls -la /etc/maildrop/mailfilter
  -rw---  1 vpopmail vpopmail 545 May 18 20:28
  /etc/maildrop/mailfilter
 
  This is my .qmail-default and corresponding mailfilter.
 
  xen2 qmail-send # cat /var/vpopmail/domains/hippotje.com/.qmail-default
  |
 
  /usr/bin/maildrop /etc/maildrop/mailfilter
 
  xen2 qmail-send # cat /etc/maildrop/mailfilter
  import EXT
  import HOST
  import HOME
  MAX = 15
  VHOME=`/var/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]
  VPOP=| /var/vpopmail/bin/vdelivermail '' bounce-no-mailbox
  JUNKFOLDER=.Spam
  if ($VHOME)
  {
 `test -d $VHOME/.maildir/$JUNKFOLDER`
 if( $RETURNCODE != 1 )
 {
if ( $SIZE  262144 )
{
   exception {
  xfilter /usr/bin/spamc -f -u [EMAIL PROTECTED]
   }
}
 }
 if (/^X-Spam-Flag: *YES/)
 {
to $VHOME/.maildir/$JUNKFOLDER/
 }
 else
 {
to $VHOME/.maildir/
 }
  }
  else
  {
 to $VPOP
  }
 
  And finally -v output from maildrop.
 
  xen2 root # maildrop -v
  maildrop 1.8.0 Copyright 1998-2004 Double Precision, Inc.
  GDBM extensions enabled.
  Courier Authentication Library extension enabled.
  Maildir quota extension enabled.
  This program is distributed under the terms of the GNU General Public
  License. See COPYING for additional information.
  xen2 root #
 
  Does anybody have any advice? This is the key to my complete mail
  server!!
  I don't know if this is maildrop or vpopmail or qmail causing me the
  issue.
 
  Kind regards,
 
  Dougal
 
 
 
 
 
 
 







Re: [vchkpw] Problems with qmail/vpopmail/maildop

2005-06-29 Thread Chris Godwin
no
#emerge maildrop -vp

- Original Message - 
From: [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Wednesday, June 29, 2005 2:21 PM
Subject: Re: [vchkpw] Problems with qmail/vpopmail/maildop


 It has been killing me too! The basic issue I have is that as soon as I
 change my .qmail-default to use maildrop it returns the following error:

 @400042bdac521ae5d764 new msg 1109815
 @400042bdac521ae5e704 info msg 1109815: bytes 1568 from
 [EMAIL PROTECTED]
 qp 2638 uid 210
 @400042bdac521d5d0954 starting delivery 4890: msg 1109815 to local
 hippotje.
 [EMAIL PROTECTED]
 @400042bdac521d5dfb84 status: local 1/10 remote 0/20
 @400042bdac522a5dbdc4 delivery 4890: deferral:
 maildrop:_error_writing_to_ma
 ilbox.//usr/bin/maildrop:_Unable_to_deliver_to_mailbox./

 All I can think of is permissions. But i have checked them all.

 xen2 root # maildrop -vp
 maildrop 1.8.0 Copyright 1998-2004 Double Precision, Inc.
 GDBM extensions enabled.
 Courier Authentication Library extension enabled.
 Maildir quota extension enabled.
 This program is distributed under the terms of the GNU General Public
 License. See COPYING for additional information.
 xen2 root #



  Man, I don't know, maildrop is pretty cut and dry. The compile options
are
  proper, what is the specific issue that you're having, basically give me
a
  scenario error messages, logs. Also paste the output from emerge
  maildrop -vp.
  - Original Message -
  From: [EMAIL PROTECTED]
  To: vchkpw@inter7.com
  Sent: Wednesday, June 29, 2005 2:07 PM
  Subject: Re: [vchkpw] Problems with qmail/vpopmail/maildop
 
 
  Hi,
 
  I complied maildrop from the ebuild. Nothing has been compliled from
raw
  source. I have opened up the ebuild and checked the compile options.
  They
  are as follows:
 
  ./configure
  --prefix=/usr
  --host=i686-pc-linux-gnu
  --mandir=/usr/share/man
  --infodir=/usr/share/info
  --datadir=/usr/share
  --sysconfdir=/etc
  --localstatedir=/var/lib
  --with-devel
  --disable-tempdir
  --enable-syslog=1
  --enable-use-flock=1
  --enable-maildirquota
  --enable-use-dotlock=1
  --enable-restrict-trusted=1
  --enable-trusted-users=apache dspam root mail daemon postmaster
  qmaild
  mmdf vmail
  --enable-maildrop-uid=root
  --enable-maildrop-gid=mail
  --with-default-maildrop=./.maildir/
  --enable-sendmail=/usr/sbin/sendmail

   --cache-file=/var/tmp/portage/maildrop-1.8.0-r3/work/maildrop-1.8.0/co
  nfiguring.cache
   --with-db=gdbm
 
 
   The first question that comes to mind is, did you compile maildrop
  from
   src
   or did you let portage to it for you? the guide you mentioned uses
   ebuilds,
   ebuilds that replace Maildir with .maildir in the source of courier,
   vpopmail, and qmail. Maildrop from source might not know about this
   change.
   - Original Message -
   From: [EMAIL PROTECTED]
   To: vchkpw@inter7.com
   Sent: Wednesday, June 29, 2005 1:41 PM
   Subject: [vchkpw] Problems with qmail/vpopmail/maildop
  
  
   Hi,
  
   I am having problems trying to get maildrop working in my mail
  server.
   Have been using this configuration on a Redhat box for over a year
  and
   recently moved to a Gentoo solution. Getting maildrop to work is the
   only
   part that is failing.
  
   To build the server, I have used the following gentoo documentation:
   http://www.gentoo.org/doc/en/qmail-howto.xml
  
   Everything is running well but I get permission problems when I try
  to
   introduce maildrop. I am getting the following errors in the
  qmail-send
   logs:
  
   @400042bdac521ae5d764 new msg 1109815
   @400042bdac521ae5e704 info msg 1109815: bytes 1568 from
   [EMAIL PROTECTED] qp 2638 uid 210
   @400042bdac521d5d0954 starting delivery 4890: msg 1109815 to
  local
   [EMAIL PROTECTED]
   @400042bdac521d5dfb84 status: local 1/10 remote 0/20
   @400042bdac522a5dbdc4 delivery 4890: deferral:
  
  
 
maildrop:_error_writing_to_mailbox.//usr/bin/maildrop:_Unable_to_deliver_to_
   mailbox./
   @400042bdac522a5dcd64 status: local 0/10 remote 0/20
  
   I have checked the permissions of all the maildrop related files and
  the
   maildir:
  
   xen2 qmail-send # ls -la /usr/bin/maildrop
   -rwxr-x---  1 vpopmail mail 166816 May 18 19:25 /usr/bin/maildrop
   xen2 qmail-send # ls -la /etc/maildrop/mailfilter
   -rw---  1 vpopmail vpopmail 545 May 18 20:28
   /etc/maildrop/mailfilter
  
   This is my .qmail-default and corresponding mailfilter.
  
   xen2 qmail-send # cat
  /var/vpopmail/domains/hippotje.com/.qmail-default
   |
  
   /usr/bin/maildrop /etc/maildrop/mailfilter
  
   xen2 qmail-send # cat /etc/maildrop/mailfilter
   import EXT
   import HOST
   import HOME
   MAX = 15
   VHOME=`/var/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]
   VPOP=| /var/vpopmail/bin/vdelivermail '' bounce-no-mailbox
   JUNKFOLDER=.Spam
   if ($VHOME)
   {
  `test -d $VHOME/.maildir/$JUNKFOLDER`
  if( 

Re: [vchkpw] Problems with qmail/vpopmail/maildop

2005-06-29 Thread Chris Godwin
OH HERE'S THE PROBLEM


./configure --prefix=/usr/local --exec-prefix=/usr/local --enable-maildrop-u
id=root --enable-maildrop-gid=vchkpw --enable-maildirquota
look at the uid and the gid that i have verses what you have. you are going
to have to change the ebuild, what I would recoment is that you make what is
called an overlay.
insturctions here: http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild

- Original Message - 
From: [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Wednesday, June 29, 2005 2:07 PM
Subject: Re: [vchkpw] Problems with qmail/vpopmail/maildop


 Hi,

 I complied maildrop from the ebuild. Nothing has been compliled from raw
 source. I have opened up the ebuild and checked the compile options. They
 are as follows:

 ./configure
 --prefix=/usr
 --host=i686-pc-linux-gnu
 --mandir=/usr/share/man
 --infodir=/usr/share/info
 --datadir=/usr/share
 --sysconfdir=/etc
 --localstatedir=/var/lib
 --with-devel
 --disable-tempdir
 --enable-syslog=1
 --enable-use-flock=1
 --enable-maildirquota
 --enable-use-dotlock=1
 --enable-restrict-trusted=1
 --enable-trusted-users=apache dspam root mail daemon postmaster qmaild
 mmdf vmail
 --enable-maildrop-uid=root
 --enable-maildrop-gid=mail
 --with-default-maildrop=./.maildir/
 --enable-sendmail=/usr/sbin/sendmail
 --cache-file=/var/tmp/portage/maildrop-1.8.0-r3/work/maildrop-1.8.0/co
nfiguring.cache
  --with-db=gdbm


  The first question that comes to mind is, did you compile maildrop from
  src
  or did you let portage to it for you? the guide you mentioned uses
  ebuilds,
  ebuilds that replace Maildir with .maildir in the source of courier,
  vpopmail, and qmail. Maildrop from source might not know about this
  change.
  - Original Message -
  From: [EMAIL PROTECTED]
  To: vchkpw@inter7.com
  Sent: Wednesday, June 29, 2005 1:41 PM
  Subject: [vchkpw] Problems with qmail/vpopmail/maildop
 
 
  Hi,
 
  I am having problems trying to get maildrop working in my mail server.
  Have been using this configuration on a Redhat box for over a year and
  recently moved to a Gentoo solution. Getting maildrop to work is the
  only
  part that is failing.
 
  To build the server, I have used the following gentoo documentation:
  http://www.gentoo.org/doc/en/qmail-howto.xml
 
  Everything is running well but I get permission problems when I try to
  introduce maildrop. I am getting the following errors in the qmail-send
  logs:
 
  @400042bdac521ae5d764 new msg 1109815
  @400042bdac521ae5e704 info msg 1109815: bytes 1568 from
  [EMAIL PROTECTED] qp 2638 uid 210
  @400042bdac521d5d0954 starting delivery 4890: msg 1109815 to local
  [EMAIL PROTECTED]
  @400042bdac521d5dfb84 status: local 1/10 remote 0/20
  @400042bdac522a5dbdc4 delivery 4890: deferral:
 
 
maildrop:_error_writing_to_mailbox.//usr/bin/maildrop:_Unable_to_deliver_to_
  mailbox./
  @400042bdac522a5dcd64 status: local 0/10 remote 0/20
 
  I have checked the permissions of all the maildrop related files and
the
  maildir:
 
  xen2 qmail-send # ls -la /usr/bin/maildrop
  -rwxr-x---  1 vpopmail mail 166816 May 18 19:25 /usr/bin/maildrop
  xen2 qmail-send # ls -la /etc/maildrop/mailfilter
  -rw---  1 vpopmail vpopmail 545 May 18 20:28
  /etc/maildrop/mailfilter
 
  This is my .qmail-default and corresponding mailfilter.
 
  xen2 qmail-send # cat /var/vpopmail/domains/hippotje.com/.qmail-default
  |
 
  /usr/bin/maildrop /etc/maildrop/mailfilter
 
  xen2 qmail-send # cat /etc/maildrop/mailfilter
  import EXT
  import HOST
  import HOME
  MAX = 15
  VHOME=`/var/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]
  VPOP=| /var/vpopmail/bin/vdelivermail '' bounce-no-mailbox
  JUNKFOLDER=.Spam
  if ($VHOME)
  {
 `test -d $VHOME/.maildir/$JUNKFOLDER`
 if( $RETURNCODE != 1 )
 {
if ( $SIZE  262144 )
{
   exception {
  xfilter /usr/bin/spamc -f -u [EMAIL PROTECTED]
   }
}
 }
 if (/^X-Spam-Flag: *YES/)
 {
to $VHOME/.maildir/$JUNKFOLDER/
 }
 else
 {
to $VHOME/.maildir/
 }
  }
  else
  {
 to $VPOP
  }
 
  And finally -v output from maildrop.
 
  xen2 root # maildrop -v
  maildrop 1.8.0 Copyright 1998-2004 Double Precision, Inc.
  GDBM extensions enabled.
  Courier Authentication Library extension enabled.
  Maildir quota extension enabled.
  This program is distributed under the terms of the GNU General Public
  License. See COPYING for additional information.
  xen2 root #
 
  Does anybody have any advice? This is the key to my complete mail
  server!!
  I don't know if this is maildrop or vpopmail or qmail causing me the
  issue.
 
  Kind regards,
 
  Dougal
 
 
 
 
 
 
 







Re: [vchkpw] Problems with qmail/vpopmail/maildop

2005-06-29 Thread Chris Godwin
leave everything in the ebuild except you need to change the gid to vchkpw,
no promises but this is a big discrepency that might be causing it.
- Original Message - 
From: [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Wednesday, June 29, 2005 2:30 PM
Subject: Re: [vchkpw] Problems with qmail/vpopmail/maildop


 Chris,

 Thank you. I will look into that right now. Also what about the restricted
 users setting?

 xen2 root # emerge maildrop -vp

 These are the packages that I would merge, in order:

 Calculating dependencies ...done!
 [ebuild   R   ] mail-filter/maildrop-1.8.0-r3  +berkdb -debug +gdbm -ldap
 +mysql -postgres 0 kB

 Total size of downloads: 0 kB
 xen2 root #



  OH HERE'S THE PROBLEM
 
 
  ./configure --prefix=/usr/local --exec-prefix=/usr/local
  --enable-maildrop-u
  id=root --enable-maildrop-gid=vchkpw --enable-maildirquota
  look at the uid and the gid that i have verses what you have. you are
  going
  to have to change the ebuild, what I would recoment is that you make
what
  is
  called an overlay.
  insturctions here: http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild
 
  - Original Message -
  From: [EMAIL PROTECTED]
  To: vchkpw@inter7.com
  Sent: Wednesday, June 29, 2005 2:07 PM
  Subject: Re: [vchkpw] Problems with qmail/vpopmail/maildop
 
 
  Hi,
 
  I complied maildrop from the ebuild. Nothing has been compliled from
raw
  source. I have opened up the ebuild and checked the compile options.
  They
  are as follows:
 
  ./configure
  --prefix=/usr
  --host=i686-pc-linux-gnu
  --mandir=/usr/share/man
  --infodir=/usr/share/info
  --datadir=/usr/share
  --sysconfdir=/etc
  --localstatedir=/var/lib
  --with-devel
  --disable-tempdir
  --enable-syslog=1
  --enable-use-flock=1
  --enable-maildirquota
  --enable-use-dotlock=1
  --enable-restrict-trusted=1
  --enable-trusted-users=apache dspam root mail daemon postmaster
  qmaild
  mmdf vmail
  --enable-maildrop-uid=root
  --enable-maildrop-gid=mail
  --with-default-maildrop=./.maildir/
  --enable-sendmail=/usr/sbin/sendmail

   --cache-file=/var/tmp/portage/maildrop-1.8.0-r3/work/maildrop-1.8.0/co
  nfiguring.cache
   --with-db=gdbm
 
 
   The first question that comes to mind is, did you compile maildrop
  from
   src
   or did you let portage to it for you? the guide you mentioned uses
   ebuilds,
   ebuilds that replace Maildir with .maildir in the source of courier,
   vpopmail, and qmail. Maildrop from source might not know about this
   change.
   - Original Message -
   From: [EMAIL PROTECTED]
   To: vchkpw@inter7.com
   Sent: Wednesday, June 29, 2005 1:41 PM
   Subject: [vchkpw] Problems with qmail/vpopmail/maildop
  
  
   Hi,
  
   I am having problems trying to get maildrop working in my mail
  server.
   Have been using this configuration on a Redhat box for over a year
  and
   recently moved to a Gentoo solution. Getting maildrop to work is the
   only
   part that is failing.
  
   To build the server, I have used the following gentoo documentation:
   http://www.gentoo.org/doc/en/qmail-howto.xml
  
   Everything is running well but I get permission problems when I try
  to
   introduce maildrop. I am getting the following errors in the
  qmail-send
   logs:
  
   @400042bdac521ae5d764 new msg 1109815
   @400042bdac521ae5e704 info msg 1109815: bytes 1568 from
   [EMAIL PROTECTED] qp 2638 uid 210
   @400042bdac521d5d0954 starting delivery 4890: msg 1109815 to
  local
   [EMAIL PROTECTED]
   @400042bdac521d5dfb84 status: local 1/10 remote 0/20
   @400042bdac522a5dbdc4 delivery 4890: deferral:
  
  
 
maildrop:_error_writing_to_mailbox.//usr/bin/maildrop:_Unable_to_deliver_to_
   mailbox./
   @400042bdac522a5dcd64 status: local 0/10 remote 0/20
  
   I have checked the permissions of all the maildrop related files and
  the
   maildir:
  
   xen2 qmail-send # ls -la /usr/bin/maildrop
   -rwxr-x---  1 vpopmail mail 166816 May 18 19:25 /usr/bin/maildrop
   xen2 qmail-send # ls -la /etc/maildrop/mailfilter
   -rw---  1 vpopmail vpopmail 545 May 18 20:28
   /etc/maildrop/mailfilter
  
   This is my .qmail-default and corresponding mailfilter.
  
   xen2 qmail-send # cat
  /var/vpopmail/domains/hippotje.com/.qmail-default
   |
  
   /usr/bin/maildrop /etc/maildrop/mailfilter
  
   xen2 qmail-send # cat /etc/maildrop/mailfilter
   import EXT
   import HOST
   import HOME
   MAX = 15
   VHOME=`/var/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]
   VPOP=| /var/vpopmail/bin/vdelivermail '' bounce-no-mailbox
   JUNKFOLDER=.Spam
   if ($VHOME)
   {
  `test -d $VHOME/.maildir/$JUNKFOLDER`
  if( $RETURNCODE != 1 )
  {
 if ( $SIZE  262144 )
 {
exception {
   xfilter /usr/bin/spamc -f -u [EMAIL PROTECTED]
}
 }
  }
  if (/^X-Spam-Flag: *YES/)
  {
 to $VHOME/.maildir/$JUNKFOLDER/
  }
  else

Re: [vchkpw] Problems with qmail/vpopmail/maildop

2005-06-29 Thread Chris Godwin
try to re-edit the ebuild and set the group to vpopmail

- Original Message - 
From: [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Wednesday, June 29, 2005 3:00 PM
Subject: Re: [vchkpw] Problems with qmail/vpopmail/maildop


 Well, still no joy. Still getting the following in the error logs and I
 have used the local ebuild, as seen from maildrop permissions. BTW I have
 group vpopmail not vchkpw. This is making me go insane!!


 @400042c2fd140fb556e4 new msg 1109851
 @400042c2fd140fb70c64 info msg 1109851: bytes 1579 from
 [EMAIL PROTECTED] qp 4749 uid 210
 @400042c2fd141302e3d4 starting delivery 792: msg 1109851 to local
 [EMAIL PROTECTED]
 @400042c2fd141302eba4 status: local 1/10 remote 0/20
 @400042c2fd141bd0f6cc delivery 792: deferral:

maildrop:_error_writing_to_mailbox.//usr/bin/maildrop:_Unable_to_deliver_to_
mailbox./

 xen2 qmail-send # ls -la /usr/bin/maildrop
 -rws--x--x  1 root vpopmail 167988 Jun 29 15:52 /usr/bin/maildrop
 xen2 qmail-send #

  leave everything in the ebuild except you need to change the gid to
  vchkpw,
  no promises but this is a big discrepency that might be causing it.
  - Original Message -
  From: [EMAIL PROTECTED]
  To: vchkpw@inter7.com
  Sent: Wednesday, June 29, 2005 2:30 PM
  Subject: Re: [vchkpw] Problems with qmail/vpopmail/maildop
 
 
  Chris,
 
  Thank you. I will look into that right now. Also what about the
  restricted
  users setting?
 
  xen2 root # emerge maildrop -vp
 
  These are the packages that I would merge, in order:
 
  Calculating dependencies ...done!
  [ebuild   R   ] mail-filter/maildrop-1.8.0-r3  +berkdb -debug +gdbm
  -ldap
  +mysql -postgres 0 kB
 
  Total size of downloads: 0 kB
  xen2 root #
 
 
 
   OH HERE'S THE PROBLEM
  
  
   ./configure --prefix=/usr/local --exec-prefix=/usr/local
   --enable-maildrop-u
   id=root --enable-maildrop-gid=vchkpw --enable-maildirquota
   look at the uid and the gid that i have verses what you have. you are
   going
   to have to change the ebuild, what I would recoment is that you make
  what
   is
   called an overlay.
   insturctions here:
  http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild
  
   - Original Message -
   From: [EMAIL PROTECTED]
   To: vchkpw@inter7.com
   Sent: Wednesday, June 29, 2005 2:07 PM
   Subject: Re: [vchkpw] Problems with qmail/vpopmail/maildop
  
  
   Hi,
  
   I complied maildrop from the ebuild. Nothing has been compliled from
  raw
   source. I have opened up the ebuild and checked the compile options.
   They
   are as follows:
  
   ./configure
   --prefix=/usr
   --host=i686-pc-linux-gnu
   --mandir=/usr/share/man
   --infodir=/usr/share/info
   --datadir=/usr/share
   --sysconfdir=/etc
   --localstatedir=/var/lib
   --with-devel
   --disable-tempdir
   --enable-syslog=1
   --enable-use-flock=1
   --enable-maildirquota
   --enable-use-dotlock=1
   --enable-restrict-trusted=1
   --enable-trusted-users=apache dspam root mail daemon postmaster
   qmaild
   mmdf vmail
   --enable-maildrop-uid=root
   --enable-maildrop-gid=mail
   --with-default-maildrop=./.maildir/
   --enable-sendmail=/usr/sbin/sendmail
 

  --cache-file=/var/tmp/portage/maildrop-1.8.0-r3/work/maildrop-1.8.0/co
   nfiguring.cache
--with-db=gdbm
  
  
The first question that comes to mind is, did you compile maildrop
   from
src
or did you let portage to it for you? the guide you mentioned uses
ebuilds,
ebuilds that replace Maildir with .maildir in the source of
  courier,
vpopmail, and qmail. Maildrop from source might not know about
this
change.
- Original Message -
From: [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Wednesday, June 29, 2005 1:41 PM
Subject: [vchkpw] Problems with qmail/vpopmail/maildop
   
   
Hi,
   
I am having problems trying to get maildrop working in my mail
   server.
Have been using this configuration on a Redhat box for over a
year
   and
recently moved to a Gentoo solution. Getting maildrop to work is
  the
only
part that is failing.
   
To build the server, I have used the following gentoo
  documentation:
http://www.gentoo.org/doc/en/qmail-howto.xml
   
Everything is running well but I get permission problems when I
  try
   to
introduce maildrop. I am getting the following errors in the
   qmail-send
logs:
   
@400042bdac521ae5d764 new msg 1109815
@400042bdac521ae5e704 info msg 1109815: bytes 1568 from
[EMAIL PROTECTED] qp 2638 uid 210
@400042bdac521d5d0954 starting delivery 4890: msg 1109815 to
   local
[EMAIL PROTECTED]
@400042bdac521d5dfb84 status: local 1/10 remote 0/20
@400042bdac522a5dbdc4 delivery 4890: deferral:
   
   
  
 
maildrop:_error_writing_to_mailbox.//usr/bin/maildrop:_Unable_to_deliver_to_
mailbox./
@400042bdac522a5dcd64 status: local 0/10 remote 0/20
   
I have

Re: [vchkpw] forwarding mails

2005-05-26 Thread Chris Pugh
 Payal Rathod wrote:
  How in the world am I suppossed to forward mails
 in qmail+vpopmail setup?

 # pwd
 /home/vpopmail/domains/example.net
  
  # echo [EMAIL PROTECTED]  .qmail-rp
  
  This does not work.

This is the correct format. With the right 
permissions no reason why it shouldn't work.
 
  Neither this does,
  # echo [EMAIL PROTECTED]  rp/.qmail

  ( scratches head..  )

 What are perms and ownership of the .qmail- files?

--- DAve [EMAIL PROTECTED] wrote:
I have mine scripted to be 644 and vpopmail:vchkpw
at creation.

They work tickety-boo as below,

-rw---  vpopmail vchkpw .qmail-rp

If it's really giving you grief, why not use
qmailadmin to set them?

HTH

Chris.



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/


Re: [vchkpw] Anyone using vpopmail 5.4.11?

2005-05-20 Thread Chris Pugh
Seems fine at the moment. Butthen, I'm probably not
bullying it enough .. :o)

Regards,


Chris.

--- Tom Collins [EMAIL PROTECTED] wrote:
 Has anyone been using (or even testing) vpopmail
 5.4.11?  I haven't gotten much in the way of 
 feedback on it, and I waswondering if some 
 brave souls out there were successfully using it.




__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 


Re: [vchkpw] Authentication problem

2005-05-12 Thread Chris Godwin
your mail client is probably trying 3 different login types before it tries
plain.
- Original Message - 
From: Nikodemus Karlsson [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Thursday, May 12, 2005 9:42 AM
Subject: [vchkpw] Authentication problem


 Hi,
 I've set up a qmail server with vpopmail and vchkpw authentication on a
 Gentoo box. When I try to send mail through the smtp server from a remote
 host, I have to authenticate 3 times before I come through. My
 /var/log/messages files looks like this during the authentications:

 May 12 15:57:15 jupiter vpopmail[15822]: vchkpw-smtp: password fail
 [EMAIL PROTECTED]:82.182.88.166
 May 12 15:57:23 jupiter vpopmail[15824]: vchkpw-smtp: password fail
 [EMAIL PROTECTED]:82.182.88.166
 May 12 15:57:31 jupiter vpopmail[15826]: vchkpw-smtp: password fail
 [EMAIL PROTECTED]:82.182.88.166
 May 12 15:57:36 jupiter vpopmail[15828]: vchkpw-smtp: (PLAIN) login
 success [EMAIL PROTECTED]:82.182.88.166

 I have a ssl certificate (servercert.pem) in the qmail control directory,
 and according to the instructions on the Gentoo web site
 (http://www.gentoo.org/doc/en/qmail-howto.xml), I would be able to
 authenticate with ssl/tls. But the log says plain...

 What can cause these passwords fails (yes, I type the correct passwords),
 and how do I get a ssl connection?

 TIA
 Nikodemus





Re: [vchkpw] VPOPMAIL 5.4.10 configuration doesn't create a single vpopmail table

2005-05-12 Thread Chris Godwin
of course



Re: [vchkpw] vpopmail and vpopmaild

2005-05-12 Thread Chris Godwin
I use it stably.



Re: [vchkpw] VPOPMAIL 5.4.10 configuration doesn't create a single vpopmail table

2005-05-12 Thread Chris Godwin
5.5.3 does

- Original Message - 
From: [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Thursday, May 12, 2005 2:13 PM
Subject: Re: [vchkpw] VPOPMAIL 5.4.10 configuration doesn't create a single
vpopmail table


 Thanks for confirming that.
 I was able to create a single vpopmail table running make distclean
first.
 (Thanks to Tom Collins response).
 After that my qmailadmin stopped authenticating as well as imp, even the
user
 was there and password was correct and all services were up. I rolled back
to
 the individual tables per domain.  Does new vpopmail 5.5.x has mysql
driver for
 the multiple domains/tables setup?




Re: [vchkpw] undefined entry in smtpd-log - vmysql: error creating table 'valias'

2005-05-11 Thread Chris Godwin
Wierd.

- Original Message - 
From: Dirk Tanneberger [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Wednesday, May 11, 2005 3:19 AM
Subject: Re: [vchkpw] undefined entry in smtpd-log - vmysql: error creating
table 'valias'


 when i do SELECT * FROM valias; on vpopmail host, i see an output like
this:
 +---+---++
 | alias | domain| valias_line|
 +---+---++
 | tanne | envia-tel.net | [EMAIL PROTECTED] |

 There is no problem. I can get data from valias-table.
 When i do valias -s [EMAIL PROTECTED], i see the following:
 [EMAIL PROTECTED] - [EMAIL PROTECTED]
 This looks also ok.

 regards
 Dirk


 Am 10.05.2005 18:51 schrieb Chris Godwin:
  My first action would be to login to the mysql server from the box that
  vpopmail is on. See if you can run this query SELECT * FROM valias;.
  Sometimes if your mysql server is on another box host permissions can
get
  fowled up.
  - Original Message - 
  From: Dirk Tanneberger [EMAIL PROTECTED]
  To: vchkpw@inter7.com
  Sent: Tuesday, May 10, 2005 10:05 AM
  Subject: Re: [vchkpw] undefined entry in smtpd-log - vmysql: error
creating
  table 'valias'
 
 
 
 Well it is clear what the problem is. Have you granted privilages to
the
 
   user vpopmail in your mysql database? Have you edited
   /home/vpopmail/etc/vpopmail.mysql?
 
 /home/vpopmail/etc/vpopmail.mysql is edited correctly and
 user vpopmail in my mysql database has not enough privileges to do this.
 He has only the rights for read and write in the table.
 This should be enough for an incoming only server, or?
 I'm wondering what is the reason that vmysql will create this table?
 The only tool that works during the smtp-session is chkuser, or?
 
 regards
 Dirk Tanneberger
 
 Am 10.05.2005 14:24 schrieb Chris Godwin:
 
 Well it is clear what the problem is. Have you granted privilages to
the
 user vpopmail in your mysql database? Have you edited
 /home/vpopmail/etc/vpopmail.mysql?
 
 - Original Message - 
 From: Dirk Tanneberger [EMAIL PROTECTED]
 To: vchkpw@inter7.com
 Sent: Tuesday, May 10, 2005 2:32 AM
 Subject: [vchkpw] undefined entry in smtpd-log - vmysql: error creating
 table 'valias'
 
 
 
 
 hello,
 
 i'm using a server for incoming mail only, with the following
software:
 - netqmail-1.05
 - vpopmail-5.4.10 with mysql-server on other host
 - chkuser-2.0.8b-release
 - qmail-scanner-1.25
 
 vpopmail-configure-options:
 
 
 
 
./configure --enable-roaming-users=y --enable-auth-module=mysql --enable-mys
 
 ql-replication=y \
 
 

--enable-incdir=/space/software/mailserver/mysql-standard-4.0.24-pc-linux
-
 
 gnu-i686/include \
 
 

--enable-libdir=/space/software/mailserver/mysql-standard-4.0.24-pc-linux
-
 
 gnu-i686/lib \
 
 

--enable-relay-clear-minutes=60 --enable-logging=v --enable-clear-passwd=
y
 
 \
 
 

--enable-valias=y --enable-auth-logging=y --disable-passwd --disable-md5-
p
 
 asswords
 
 
 in my smtpd-log i see sometimes a entry like this:
 +
 @400042804ea611514bd4 vmysql: error creating table 'valias':
create
 
 command denied to user: '[EMAIL PROTECTED]' for table 'valias'
 
 
 +
 user vpopmail has no rights to create the valias-table on remote
 
  mysql-db,
 
 that's right, but
 
 
 on remote mysql-db valias-tables already exists.
 
 What is the reason that vmysql will create this table and where can i
 
  shut
 
 up this action?
 
 
 Thanks for any answer.
 
 
 regards
 
 Dirk Tanneberger
 
 
 
 
 




Re: [vchkpw] vipmap

2005-05-10 Thread Chris Godwin
Awww c'mon. None of you have ever had any problems with vipmap?
- Original Message - 
From: Chris Godwin
To: vchkpw@inter7.com
Sent: Monday, May 09, 2005 3:31 PM
Subject: Re: [vchkpw] vipmap


one more tidbit. I'm using courier-imap(s) and courier-pop3d(s) as my
listening daemons.

- Original Message - 
From: Chris Godwin
To: vchkpw@inter7.com
Sent: Monday, May 09, 2005 3:29 PM
Subject: [vchkpw] vipmap


I've just trouble shot for hours on why this doesn't work. I've discovered
on my own that courier reports all ips in ipv6 format. I thought this was
the root of my problem. I found a patch for an old vpopmail version that
patches vipmap.c. I nanoed into vpopmail.c and realized that the patch had
already been added to the stable version. Now i'm running vpopmail version
5.4.7 and I cannot get ip-alias-domains to work. I'm not asking what the
problem could be I just need a place to start troubleshooting. We will be
micrating 4000 accounts from a box users qmail install to a virtual users
install and need this info as soon as possible.

Thank you for you attention to this matter.
Chris Godwin.




Re: [vchkpw] undefined entry in smtpd-log - vmysql: error creating table 'valias'

2005-05-10 Thread Chris Godwin
My first action would be to login to the mysql server from the box that
vpopmail is on. See if you can run this query SELECT * FROM valias;.
Sometimes if your mysql server is on another box host permissions can get
fowled up.
- Original Message - 
From: Dirk Tanneberger [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Tuesday, May 10, 2005 10:05 AM
Subject: Re: [vchkpw] undefined entry in smtpd-log - vmysql: error creating
table 'valias'


  Well it is clear what the problem is. Have you granted privilages to the
   user vpopmail in your mysql database? Have you edited
   /home/vpopmail/etc/vpopmail.mysql?

 /home/vpopmail/etc/vpopmail.mysql is edited correctly and
 user vpopmail in my mysql database has not enough privileges to do this.
 He has only the rights for read and write in the table.
 This should be enough for an incoming only server, or?
 I'm wondering what is the reason that vmysql will create this table?
 The only tool that works during the smtp-session is chkuser, or?

 regards
 Dirk Tanneberger

 Am 10.05.2005 14:24 schrieb Chris Godwin:
  Well it is clear what the problem is. Have you granted privilages to the
  user vpopmail in your mysql database? Have you edited
  /home/vpopmail/etc/vpopmail.mysql?
 
  - Original Message - 
  From: Dirk Tanneberger [EMAIL PROTECTED]
  To: vchkpw@inter7.com
  Sent: Tuesday, May 10, 2005 2:32 AM
  Subject: [vchkpw] undefined entry in smtpd-log - vmysql: error creating
  table 'valias'
 
 
 
 hello,
 
 i'm using a server for incoming mail only, with the following software:
 - netqmail-1.05
 - vpopmail-5.4.10 with mysql-server on other host
 - chkuser-2.0.8b-release
 - qmail-scanner-1.25
 
 vpopmail-configure-options:
 
 
 
./configure --enable-roaming-users=y --enable-auth-module=mysql --enable-mys
  ql-replication=y \
 

--enable-incdir=/space/software/mailserver/mysql-standard-4.0.24-pc-linux-
 
  gnu-i686/include \
 

--enable-libdir=/space/software/mailserver/mysql-standard-4.0.24-pc-linux-
 
  gnu-i686/lib \
 

--enable-relay-clear-minutes=60 --enable-logging=v --enable-clear-passwd=y
 
  \
 

--enable-valias=y --enable-auth-logging=y --disable-passwd --disable-md5-p
 
  asswords
 
 
 in my smtpd-log i see sometimes a entry like this:
 +
 @400042804ea611514bd4 vmysql: error creating table 'valias': create
 
  command denied to user: '[EMAIL PROTECTED]' for table 'valias'
 
 +
 user vpopmail has no rights to create the valias-table on remote
mysql-db,
 
  that's right, but
 
 on remote mysql-db valias-tables already exists.
 
 What is the reason that vmysql will create this table and where can i
shut
 
  up this action?
 
 Thanks for any answer.
 
 
 regards
 
 Dirk Tanneberger
 
 
 




[vchkpw] Vpopmail + courier-authlib-0.55

2005-05-10 Thread Chris Akins
Having a hard time getting courier authlib to compile with vpopmail installed.
Used the following config options:
./configure --prefix=/usr/local/courier-authlib --without-authpam 
--without-authldap --without-authpwd --without-authmysql 
--without-authpgsql --without-authshadow --without-authuserdb 
--without-authcustom --without-authcram --without-authdaemon 
--with-authvchkpw --with-mailuser=vpopmail --with-mailgroup=vchkpw

Configure works without error.  However the make breaks in the middle with 
the following:

fgets   0x170e 
/home/vpopmail/lib/libvpopmail.a(vauth.o)
fgets   0x172c 
/home/vpopmail/lib/libvpopmail.a(vauth.o)
fgets   0x17a2 
/home/vpopmail/lib/libvpopmail.a(vauth.o)
fgets   0x1812 
/home/vpopmail/lib/libvpopmail.a(vauth.o)
fgets   0x1882 
/home/vpopmail/lib/libvpopmail.a(vauth.o)
fgets   0x18f2 
/home/vpopmail/lib/libvpopmail.a(vauth.o)
fgets   0x1924 
/home/vpopmail/lib/libvpopmail.a(vauth.o)
fgets   0x1cc3 
/home/vpopmail/lib/libvpopmail.a(vauth.o)
fgets   0x60c 
/home/vpopmail/lib/libvpopmail.a(vlimits.o)
rewind  0x4cd 
/home/vpopmail/lib/libvpopmail.a(vauth.o)
usleep  0x1274 
/home/vpopmail/lib/libvpopmail.a(maildirquota.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `libauthvchkpw.la'
Current working directory /root/software/courier-authlib-0.55
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /root/software/courier-authlib-0.55
*** Error code 1
make: Fatal error: Command failed for target `all'

Anyone know how I can get courier-auth to work with vpopmail?
Chris Akins
System Admin
Alpha Internet
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 5/10/2005



[vchkpw] Vpopmail + courier-authlib-0.55

2005-05-10 Thread Chris Akins


I am getting compile errors in courier-authlib-0.55 when I compile with
the --with-authvchkpw 
option. I can compile it with vpopmail integration turned off
just fine. Is there a minimum verision of vpopmail needed to
successfully compile courier-authlib-0.55 with it? I am currently
running vpopmail version 5.4.3 Any help would be
appreciated.


Chris Akins
System Admin
Alpha Internet




No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 5/10/2005


[vchkpw] vipmap

2005-05-09 Thread Chris Godwin



I've just trouble shot for hours on why this 
doesn't work. I've discovered on my own that courier reports all ips in ipv6 
format. I thought this was the root of my problem. I found a patch for an old 
vpopmail version that patches vipmap.c. I nanoed into vpopmail.c and realized 
that the patch had already been added to the stable version. Now i'm running 
vpopmail version 5.4.7 and I cannot get ip-alias-domains to work. I'm not asking 
what the problem could be I just need a place to starttroubleshooting. We 
will be micrating 4000 accounts from a box users qmail install to a virtual 
users install and need this info as soon as possible.

Thank you for you attention to this 
matter.
Chris Godwin.


Re: [vchkpw] vipmap

2005-05-09 Thread Chris Godwin



one more tidbit. I'm using courier-imap(s) and 
courier-pop3d(s) as my listening daemons.


  - Original Message - 
  From: 
  Chris 
  Godwin 
  To: vchkpw@inter7.com 
  Sent: Monday, May 09, 2005 3:29 PM
  Subject: [vchkpw] vipmap
  
  I've just trouble shot for hours on why this 
  doesn't work. I've discovered on my own that courier reports all ips in ipv6 
  format. I thought this was the root of my problem. I found a patch for an old 
  vpopmail version that patches vipmap.c. I nanoed into vpopmail.c and realized 
  that the patch had already been added to the stable version. Now i'm running 
  vpopmail version 5.4.7 and I cannot get ip-alias-domains to work. I'm not 
  asking what the problem could be I just need a place to 
  starttroubleshooting. We will be micrating 4000 accounts from a box 
  users qmail install to a virtual users install and need this info as soon as 
  possible.
  
  Thank you for you attention to this 
  matter.
  Chris 
Godwin.


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

2005-02-06 Thread Chris Moody

Newer version of courier-imap will no longer be able to write the IPs 
into the relay table. This is because all authentication has now been 
moved out of courier (and sqwebmail) and into the courier-authlib 
package. As has always been the case, authdaemon doesn't support POP 
before SMTP. That's why I chose never to use authdaemon.

Now that courier no longer supports POP before SMTP via the authvchkpw 
module, it's just one more good reason not to use courier-imap for 
POP3 services. Use qmails pop3d instead. That way POP users still get 
roaming access.  IMAP users are users newer email clients that support 
SMTP AUTH and should be directed to use that instead.
I have overcome this via the relay-ctrl package.  My roaming users don't 
roam very often, but -do- (and are required to) use DDNS.  Via their 
DDNS record, I can easily access their machine if need be...but I digress.

I have written a -simple- perl cron that reverse queries their name/ip 
mapping, and updates the relay-ctrl directory of the allowed ip's that 
can relay.  This way, I'm still using courier. (not that qmail-pop is 
bad, I've used it too...just have courier in this case)

Just my approach.
-Chris


Re: [vchkpw] Custom Maildir Structure

2004-11-30 Thread Chris Ess
 Yes.  I'm suggesting that we could use directory names outside of the
 user namespace so that you could have bigdir support and one-character
 email addresses at the same time.

 It would be difficult to handle existing domains though...  There would
 need to be a lot of directory renaming and updating of the user
 database to pull it off.

This is probably a silly idea but...  You could always write a dot-file,
e.g. .domain-version, that contains the 'version number' of the domain
layout.  If the file doesn't exist of if the 'version number' is, say, 1,
vpopmail uses the old convention for bigdir.  If the 'version number' is,
say, 2, vpomail uses the new convention.  A program could be written to
convert between domain versions.

The advantage to this is that it wouldn't automatically require conversion
for new domains when vpopmail is upgraded.  The disadvantages are that it
may be overly complex/complicated and, well, it does seem rather silly.

(That said, I use something like this on a website so I can track the
versions of the SQL schemas so I can pass along intelligent upgrade
scripts to the website maintainer.)

Sincerely,


Chris Ess
System Administrator / CDTT (Certified Duct Tape Technician)


RE: [vchkpw] Qmail queue

2004-11-03 Thread Chris Odell

  Matt Simerson makes a tool called qqtool . This has many options including
what your asking for. 

 -Original Message-
 From: Andrew Averin [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, November 03, 2004 8:39 AM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] Qmail queue
 
 Hi all,
 How could I clean qmail queue manually
 Thank in advance.
  
 
 
 
 mailto:[EMAIL PROTECTED]
 



[vchkpw] Vpopmail w/ MySQL still checking vpasswd.cdb w/ qmail-smtpd

2004-10-28 Thread Chris Marks








We've migrated to a MySQL backend which works great for pop and IMAP,
but
incoming mail to the qmail-smtpd stills has to check the vpasswd.cdb if there
is no .qmail-user file. We compiled and installed vpopmail, then qmail (
with
./config-fast etc) I assumed the vpopmail libs would get picked up and
reflect
the authmysql usage. Am I missing something obvious here? Feel free to
drop a
boot to my melon if so. We've had to use old vmkpasswd's and mod the
vpasswd
for virtual domains then mkpasswd with the old binary to get it to work. Vpopmail-5.4.7,
qmail-1.03 TIA








---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.782 / Virus Database: 528 - Release Date: 10/22/2004
 


Re: [vchkpw] /var/qmail/queue/lock/trigger pipe is missing

2004-10-06 Thread Chris A. Kalin
Adrian Pircalabu wrote:
Most probably, something / someone messed up with your /var/qmail/queue
directory. IMHO the most secure way to solve your problem is to recreate
queue directory. So, stop qmail services, back up your qmail
installation, change to qmail source tree, run'make setup check' and,
eventually, restore your initial backed-up files excluding, of course,
the queue directory.
Or you could run queue-fix ( 
http://www.netmeridian.com/e-huss/queue-fix.tar.gz ) on it, which should 
fix your problem with a minimum of fuss.  At least, it works well for me.


Re: [vchkpw] Modifying accounts with PHP

2004-09-28 Thread Chris Ess
On Tue, 28 Sep 2004, a.h.s. boy wrote:

 I installed vpopmail with MySQL support, without valias support (as
 seems to be recommended). I've written some PHP scripts that can create
 and modify email accounts by direct interface with MySQL, but I'm
 looking for ways to do more administration of vpopmail -- creating
 aliases, adding domains, etc.

I used to have an issue with valias but that has been fixed in newer
versions of vpopmail.

If you use valias, adding and deleting aliases is as simple as
manipulating rows in the table.

As mentioned on this list at the beginning of the month, you can
essentially add users by adding a row to the table for your users (usually
vpopmail) with an empty home directory.  When an email is first delivered
or the account is checked via POP3 or IMAP, the directory field is
populated and the directory is set up.  (Emails from this thread are also
in the README.mysql file in vpopmail 5.4.7.)

There is unfortunately no like mechanism for deleting users as far as I
know.

Adding/deleting domains requires modifying qmail control files so these
would need to be done as root (unless you want to play ownership games
with said files).

There is work underway to create a vpopmail daemon that can parse requests
from PHP scripts or other sources and make the appropriate changes.  My
understanding is that the existing PHP vpopmail extension has been
obsoleted in favour of a new set that will use the daemon.

 Since .qmail files needs to be owned by vpopmail:vchkpw, and the v*
 applications need to run as root, I can't really have Apache/PHP try to
 accomplish any of that stuff directly. What I'm thinking right now is
 that I could write out formatted text files to a specific directory,
 then have a cron job (running as root) that parses them and executes
 various commands: vadddomain, valias, etc.

That would work.  I do something vaguely like that for deleting users
through my vpopmail admin module for squirrelmail already.  (Really what I
do is put the information for the deleted user into a separate table and
take the user out of the vpopmail table.  A perl script then handles
archiving/deleting the user data.)

Another method, advocated by some people, is to run a separate copy of
apache with the user vpopmail and group vchkpw.  I don't like this
solution at all.  (Which is why I ended up writing my own admin module.
Maybe my boss will let me distribute it.  I must remember to ask him...)
There's always suexec (and mod_phpsuexec) but I don't like that solution
much either.

Sincerely,


Chris Ess
System Administrator / CDTT (Certified Duct Tape Technician)


Re: [vchkpw] Vpopmail migration

2004-09-21 Thread Chris Ess
 I've a mail server which I've installed qmail1.03 with vpopmail-5.2.1,
 MySQL 3.23 and qmailadmin.  All email users are stored in MySQL's
 vpopmail database (in vpopmail.vpopmail table).  Yes, 1 table for all
 users in different domains.  Now, I am migrating everything to another
 machine.

 On that machine, I've installed netqmail, vpopmail 5.4 and MySQL 4.0.
 Everything goes fine.  But in the final stages, I need to migrate all
 user accounts with their passwords, sql tables, domains and their leave
 mail on servers' mails to the new machine.  I can't find any docs about
 migration, backup and restore to a new server.  Can anyone help me?  I
 am installing everything on RedHat's Fedora Core 2.

Here's my stab at it:

On the new server, add all of the domains with vadddomain.  This
takes care of the domains.

Then, when done, drop the vpopmail table and clear out the contents of
/home/vpopmail/domains This will be replaced below.

On the old server, generate a dump of the vpopmail table with mysqldump.
Import this into your other server.  This takes care of the passwords and
SQL tables.

Assuming all of your users are virtual, you should then be able to just
tar up the contents of /home/vpopmail/domains (or whatever you use) and
then untar in the equivalent directory on the other server.  That should
take care of the email and directory structure.


Warning: I have never used this process in practice and, well, it may not
work as expected.  I'm pretty sure someone else has better directions.

Sincerely,


Chris Ess
System Administrator / CDTT (Certified Duct Tape Technician)


Re: [vchkpw] QMail + Vpopmail vs. Postfix + Cyrus IMAP

2004-09-09 Thread Chris Ess
On Thu, 9 Sep 2004, Jesse Guardiani wrote:

 On Thursday 09 September 2004 11:20 am, Paul Theodoropoulos wrote:
  What, precisely, is gained by supporting postfix? i don't see the point.

 Postfix is a MODERN sendmail replacement. Qmail is not. You don't need
 to patch Postfix. Patches suck. :)

(in re 'MODERN')
I disagree.  Despite the age of the original code base, qmail is still a
modern and viable replacement for sendmail.  However, it's not very
featureful -- which is fine for replacing most versions of sendmail
anyway.  I believe that the majority of sendmail installations do not use
STARTTLS or SMTP AUTH.

(in re patches)
Funny.  I've never thought so.

One thing I like about having to patch qmail is the ability to decide at
compile-time what extensions I want to use.  This allows me to limit the
amount of unused code compiled into my MTA.  (In the era of modern
computing and the prevalence of CPU's well over 2GHz, this may not mean a
lot.  However, I run qmail on a 50MHz SparcStation LX and I'm a bit picky
about what goes into it.)  Having only ever compiled Postfix once (and
many moons ago at that), I do not know if the same option is present
there.


But I'm wandering off topic for the vpopmail list.

Ooh...  While we're at it, we could add vpopmail support for sendmail...
^_~

Sincerely,


Chris Ess
System Administrator / CDTT (Certified Duct Tape Technician)


Re: [vchkpw] vpopmail + billing server integration

2004-09-08 Thread Chris Ess
 I'd like to connect via an encrypted shell, like SSH, but I'd
 also like the connection to be persistent, to avoid connection
 costs for batch operations. I'd also like to provide a FIFO
 queue mechanism so that if the mail server reboots, anyone
 working on the billing server won't get error messages when
 they attempt to provision services. Then, when the mail server
 comes back up, the SSH tunnel is re-established and the
 queued operations begin to execute.

 However, so far in my google searches I haven't seen anything
 that would help me implement a persistent SSH connection
 with a FIFO queue.

 Can anyone give me tips?

Have you considered

1. A VPN between the two?

2. Using an on-demand connection method rather than a persistent method?

3. Just connecting to a dedicated socket or service rather than SSH?

4. The security issues inherent in connecting your billing server to your
mailserver?


To keep this topic vaguely vpopmail-related, have you considered keeping
all of the necessary vpopmail information (or at least most of it) in a
MySQL database or some other separate data repository and having something
on your billing server update that?  (Or, alternatively, why not run the
MySQL database on your billing server if you go that route?  That gets
around the connection issues mentioned above although it does not fix any
possible security issues.)

Sincerely,


Chris Ess
System Administrator / CDTT (Certified Duct Tape Technician)


Re: [vchkpw] vpopmail + billing server integration

2004-09-08 Thread Chris Ess
On Wed, 8 Sep 2004, Jesse Guardiani wrote:

 On Wednesday 08 September 2004 11:19 am, Chris Ess wrote:
[behold, the power of mail scissors!  snip snip]

  Have you considered
 
  1. A VPN between the two?

 solves encryption, but not persistence. Also, that's a rather heavy-weight
 solution.

I didn't say it was a clean or nice solution, did I? ^_^

This was to deal with connecting the two servers in my mind.  I realized
afterwards that this wouldn't be necessary.  It's been a long week already
(and I had Monday off too).

  2. Using an on-demand connection method rather than a persistent method?

 Trying to avoid it. Our CSRs see the billing server pause while the hook
 executes to provision a service. I want to keep that pause time to a minimum.

That depends on if a scripted SSH connection or whatever you use takes a
long time to execute.

When I used it, the Net::SSH perl module is pretty fast and added
negligible time.

  3. Just connecting to a dedicated socket or service rather than SSH?

 Not secure, and how would that work? I thought vpopmail's only manipulation
 system is either SQL or command line based...

It would work however you want it to.  This suggestion would require
building your own methods (or finding something someone else has done).
You could make it as secure or as insecure as you like.

You might also want to look at the vpopmail daemon in development.  (Which
reminds me that I need to subscribe to that list.)

  4. The security issues inherent in connecting your billing server to your
  mailserver?

 Sure. People do it all the time, right?

It's not my favorite idea and not one I would implement myself if I had a
choice -- but, then again, I'm very used to the idea of the accounting and
technical departments being separate and us techs not getting access to
the accounting systems or data.

  To keep this topic vaguely vpopmail-related, have you considered keeping
  all of the necessary vpopmail information (or at least most of it) in a
  MySQL database or some other separate data repository and having something
  on your billing server update that?

 It's been suggested. I'm not happy with that solution though. I'd rather keep
 it command line based.

Okay.  Then you're pretty much chained to the SSH solution unless you want
to craft another one.

  (Or, alternatively, why not run the
  MySQL database on your billing server if you go that route?

 Kills scalability. Bad solution.

I suggested this because this would create the illusion of persistence.
I'd much rather run it on a different server altogether.

I don't know if I'd say it kills scalability though.  You can run a
qmail/vpopmail server cluster based around a MySQL database without too
much of a problem.

Sincerely,


Chris Ess
System Administrator / CDTT (Certified Duct Tape Technician)


Re: [vchkpw] vpopmail + billing server integration

2004-09-08 Thread Chris Ess
On Wed, 8 Sep 2004, Ken Jones wrote:

 Hi,

 Here is something we built into vpopmail for sites like yours.

 Use mysql on the email server. Have the billing system
 insert an entry in the vpopmail table, leaving the directory
 field blank. vpopmail will automatically create the users
 directory and update the database when any program
 tries to deliver mail to the user, or authenticate as the user.

That's really neat!  I didn't realize you could do this.  (Now someone
will tell me that it's in the documentation that I seem to've not read
recently.)

(I know this is getting offtopic...) So I could use an INSERT statement in
SQL instead of vadduser?  Or am I not understanding this correctly?

Sincerely,


Chris Ess
System Administrator / CDTT (Certified Duct Tape Technician)


[vchkpw] Re: vpopmail + billing server integration

2004-09-08 Thread Chris Ess
On Wed, 8 Sep 2004, Ken Jones wrote:

 On Wednesday 08 September 2004 12:25 pm, Chris Ess wrote:

[snip]

 It is probably in the mailing list archives. I'm not sure if anyone has
 updated the documentation.

I wonder if a group of us should get together and update the
documentation with all of the neat things mentioned on the mailing list.
(Alternatively, I wonder if we'd ever have the time...)

  (I know this is getting offtopic...) So I could use an INSERT
  statement in SQL instead of vadduser?  Or am I not understanding this
  correctly?
 That is the idea. A while back some folks wanted to hook up their billing
 systems to vpopmail. Basicly they would insert into the vpopmail sql table.
 The only thing they couldn't do easily was create the hashed directory path.
 So we put in vpopmail code to check if the path is blank and automatically
 create the new path and update the database.

Okay.  Makes sense.

 You will also need to set the encrypted password using mysql's CRYPT
 function. Mysql's standard encryption functions are not compatible with
 unix/linux.

Yep.  I'm not sure how far I trust MySQL's ENCRYPT() function since I've
had issues with MD5 passwords and the crypt() function in Perl.  The
'Change MySQL Password' plugin for squirrelmail at
http://www.squirrelmail.org/plugin_view.php?id=25 includes an MD5 password
algorithm in PHP which works pretty nicely.

I'll have to test out the functionality of the INSERT.  I have a vpopmail
admin plugin for squirrelmail (have to ask my boss if I can distribute it
so don't ask me for a copy yet) that uses a set-uid vadduser to handle
adding users.  I'd love to get rid of that.

While I'm thinking about it, I can use a DELETE query to remove the row
for a user and then queue a job (I'll worry about how to set this up) to
archive/delete the user's mail, right?

Sincerely,


Chris Ess
System Administrator / CDTT (Certified Duct Tape Technician)


Re: [vchkpw] allowing users to change their own passwords

2004-09-05 Thread Chris Pugh
Jim,

My har'pennyworth ..

Most of the webmail interfaces out there that overlay
qmail/vpopmail, allow users to modify their mail
account password.  Some are easy to install, some not
.. it sort of very much depends on the kind of access
your provider ( by all means name them, off-list if 
you wish ), gives you..

Cheers,


Chris.
 
--- Charles M. Gerungan [EMAIL PROTECTED]
wrote:

 Hello Jim,
 
 Sat, 4 Sep 2004 22:15:07 -0400 UTC,  Jim Clark
 wrote:
 
 JC Well, the thing is I don't have access to
 vpopmail directly - my web hosting
 JC service controls that. And I want the actual
 mailbox user to be able to
 JC change their own password. I went to the
 qmailadmin page and the demo showed
 JC an interface that looked more like an
 administrator interface rather than a
 JC mailbox user interface - which I already have
 from my hosting provider. Did
 JC I miss something?
 
 Maybe. Did you log in as postmaster or as a regular
 mail user? For
 the postmaster for that domain, yes, it is an admin
 interface.
 
 -- 
 Regards, Charles.
 

 ATTACHMENT part 2 application/pgp-signature 





___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush


[vchkpw] vpopmail = 5.4.2 (sybase vulnerability) (fwd)

2004-08-19 Thread Chris Ess
I don't know if this is even relevant anymore (i.e. has been fixed) but
this showed up on bugtraq yesterday.  Figured I should pass it along, just
in case.

Sincerely,


Chris Ess
System Administrator / CDTT (Certified Duct Tape Technician)

-- Forwarded message --
Date: 17 Aug 2004 10:44:52 -
From: Jérôme ATHIAS [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: vpopmail = 5.4.2 (sybase vulnerability)



Bug: format string and buffer overflow (sybase)
Product: vpopmail = 5.4.2 (sybase vulnerability)
Author: Werro [EMAIL PROTECTED]
Realease Date : 12/08/04
Risk: Low
Vendor status: Vendor is in a big shit :)
Reference: http://web-hack.ru/unl0ck/advisories/


Overview:
vpopmail is a set of programs for creating and managing
multiple virtual domains on a qmail server.

Details:
Bugs were founded in SyBase. In vsybase.c file.

---\
 char dirbuf[156];  \__Vulnerability___
 ...   
|
 if ( strlen(dir)  0 )
|
 { 
|
 sprintf(dirbuf,%s/%s/%s, dom_dir,dir,user); 
|
 ^^^ - buffer overflow 
|
 }else{
|
 sprintf(dirbuf, %s/%s, dom_dir, user);  
|
 ^^^ - buffer overflow 
|
 } 
|
 ...   
|
   
|
 if ( site_size == LARGE_SITE ) {  
|
sprintf( SqlBuf, LARGE_INSERT, domstr, 
|
user, pass, pop, gecos, dirbuf, quota);
|
^^^ - format string
|
} else {   
|
sprintf( SqlBuf, SMALL_INSERT, 
|
SYBASE_DEFAULT_TABLE,  user, domain, pass, pop, gecos, dirbuf, quota); 
|
}   ^^^ - format string  
__|
/
Two vulnerability : format string and buffer overflow.
Latest Version is Vulnerable.

To avoid this bugs, you must use snprintf() with format like %s.

12/08/04.
(c) by unl0ck team.
http://web-hack.ru/unl0ck



Re: [vchkpw] vpopmail = 5.4.2 (sybase vulnerability) (fwd)

2004-08-19 Thread Chris Ess
On Thu, 19 Aug 2004, Tom Collins wrote:

[...]

 I've also contacted the publisher of the original report (but have not
 posted a followup to bugtraq since I'm not a subscriber).

I can post one if you and Mr. Athias would like.  (I think that between
the three of us, the proper people to follow up are either yourself or Mr.
Athias.  Personally, I'd just end up linking to the email on the list
archives since that seems the proper thing to do.  Also, I don't think you
have to be a subscriber to post to bugtraq.  I could be wrong though.)

Sincerely,


Chris Ess
System Administrator / CDTT (Certified Duct Tape Technician)


Re: [vchkpw] Help with VpopMail 5.4.5 install!

2004-08-04 Thread Chris Pugh
Iain,

Vpopmail install can't find the mysql header files.
Usually in /mysql/include/mysql for a standard
install.
( Could be elsewhere, sorry don't use Redhat. )

Either include them in your PATH, or copy the lot
to a directory that is in your path, say /usr/bin  
Then the install should wizz through without a hitch.
HTH.

Incidentally, why are you using MySQL 3.23, since we
are now on 4.0.20?

Slange!


Chris.

PS Greetings from south of the border. ;-)

--- Iain Morrison [EMAIL PROTECTED] wrote:

 Hi I am currently trying to install VPopmail 5.4.5
 and I get the following
 errors:
 
 ---
 
 vauth.c:33:19: mysql.h: No such file or directory
 vauth.c:40: syntax error before mysql_update
 vauth.c:40: warning: type defaults to `int' in
 declaration of `mysql_update'
 vauth.c:40: warning: data definition has no type or
 storage class
 vauth.c:41: syntax error before mysql_read_getall
 vauth.c:41: warning: type defaults to `int' in
 declaration of
 `mysql_read_getall
 '
 vauth.c:41: warning: data definition has no type or
 storage class
 vauth.c:59: syntax error before '*' token
 vauth.c:59: warning: type defaults to `int' in
 declaration of `res_update'
 vauth.c:59: warning: data definition has no type or
 storage class
 vauth.c:60: syntax error before '*' token
 vauth.c:60: warning: type defaults to `int' in
 declaration of
 `res_read_getall'
 vauth.c:60: warning: data definition has no type or
 storage class
 vauth.c:68: syntax error before row
 vauth.c:68: warning: type defaults to `int' in
 declaration of `row'
 vauth.c:68: warning: data definition has no type or
 storage class
 vauth.c:69: syntax error before row_getall
 vauth.c:69: warning: type defaults to `int' in
 declaration of `row_getall'
 vauth.c:69: warning: data definition has no type or
 storage class
 vauth.c: In function `vauth_open_update':
 vauth.c:203: warning: implicit declaration of
 function `mysql_init'
 vauth.c:204: warning: implicit declaration of
 function `mysql_options'
 vauth.c:204: `MYSQL_OPT_CONNECT_TIMEOUT' undeclared
 (first use in this
 function)
 vauth.c:204: (Each undeclared identifier is reported
 only once
 vauth.c:204: for each function it appears in.)
 vauth.c:207: warning: implicit declaration of
 function `mysql_real_connect'
 vauth.c:217: warning: implicit declaration of
 function `mysql_select_db'
 vauth.c:221: warning: implicit declaration of
 function `mysql_query'
 vauth.c:226: warning: implicit declaration of
 function `mysql_error'
 vauth.c:226: warning: format argument is not a
 pointer (arg 3)
 vauth.c: In function `vauth_adduser':
 vauth.c:394: warning: format argument is not a
 pointer (arg 3)
 vauth.c: In function `vauth_getpw':
 vauth.c:444: warning: format argument is not a
 pointer (arg 3)
 vauth.c:448: warning: implicit declaration of
 function `mysql_store_result'
 vauth.c:448: warning: assignment makes pointer from
 integer without a cast
 vauth.c:453: warning: implicit declaration of
 function `mysql_num_rows'
 vauth.c:454: warning: implicit declaration of
 function `mysql_free_result'
 vauth.c:472: warning: implicit declaration of
 function `mysql_fetch_row'
 vauth.c:473: subscripted value is neither array nor
 pointer
 -
 
 The system I am running this on is running RedHat
 Enterprise 3 (Kernel
 2.4.21-15.0.3.ELsmp) with 2Gb Ram.
 
 I have installed MySQL 3.23.58 and this is working
 properly. In addition I
 have setup Qmail and Qmail-Scanner with no problems.
 
 I guess that I must be missing a command line switch
 or something but I
 cannot find any help on the Internet :-(
 
 Before I issue the Make command I am entering the
 following configure
 settings:
 
 ./configure --disable-roaming-users \
 --enable-logging=p \
 --disable-passwd \
 --enable-clear-passwd \
 --disable-domain-quotas \
 --enable-auth-module=mysql \
 --disable-many-domains \
 --enable-auth-logging \
 --enable-msql-logging \
 --enable-valias \
 --disable-mysql-limits \
 --enable-incdir=/usr/lib/mysql
 
 And Ideas or points I should do or have known! are
 most welcome. I look
 forward to your reply's.
 
 Best regards,
 
 Iain Morrison
 

**
 This email and any files transmitted with it are
 confidential and
 intended solely for the use of the individual or
 entity to whom they
 are addressed. If you have received this email in
 error please notify
 the system manager.
 
 This footnote also confirms that this email message
 has been swept by
 Network Associates Virus Scan for the presence of
 computer viruses.

**
 
 




__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


Re: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin

2004-07-27 Thread Chris A. Kalin
Ken Jones wrote:
Anyone interested in trying simscan before I release it?
If you are interested, please email me directly and I'll send you a tar ball.
Absolutely.  I'd love to test it on our test mail machine.  :)
Thanks in advance!
Chris Kalin


Re: [vchkpw] What's the better Webmail for Vpopmail?

2004-07-27 Thread Chris Pugh

Just to add chuck another item into the melting 
pot... ;-)

 I look at SQuirelmail but it needs IMAP and I'd not
 like to install a new service.

Try http://ilohamail.org, has it's own integral
IMAP should you decide to try it.  Works directly
with Qmail/ Vpopmail and the source is there for 
you to meddle with as well.

 I look also at Openwebmail but I didn't find a
 distribution integrated with QMail/VPopmail.
 Is there one?

I've tried quite a few interfaces out there, 
including Openwebmail, all of which seem to 
overlay quite well except are maybe just a 
wee bit fiddly to install from source.

 Or are there other webmails more advanced than
 SQWebmail?

I'd say, lots.  You are spoilt for choice. ;-)

Cheers,


Chris.

 --






__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


Re: [vchkpw] [semi-OT] which is more portable?

2004-07-15 Thread Chris Ess
  grep vpopmail /etc/passwd | awk -F : '{print $6}'
 
  or
 
  grep vpopmail /etc/passwd | cut -d':' -f6

I would think that cut would be more portable.  However, every machine
I've used has had some variant of awk installed too.

You might want to consider using 'grep ^vpopmail' or even 'grep
^vpopmail:' rather than 'grep vpopmail' to ensure that you're only getting
the 'vpopmail' user.  (I have a server in which we've had to transparently
migrate users who were set up under sendmail so we have users whose home
directories are under the vpopmail directory.  Nasty, I know.)  The one
catch is that I don't know if 'grep ^string' is supported in all versions
of 'grep'.

  Reason I'm asking is I'm making some minor modifications to the Makefile
  for the chkuser patch and I want to make sure they're as absolutely
  portable as possible before releasing it to the masses.

 also, while on the topic of portability, I noticed that djb does not include
 ANY variable substitutions (only backtick ` ` substitutions) in his Makefile.
 I'm curious if this is also for portability reasons.  Anyone aware of any
 implementations of the 'make' program that don't understand variable
 substitions in Makefiles, or any situations (lack of /bin/sh compatible
 shell, perhaps?) that might make variable substitutions not possible?

I don't know of any portability concerns in this regard.  I wonder if this
is just a design choice.

Sincerely,


Chris Ess
System Administrator / CDTT (Certified Duct Tape Technician)


Re: [vchkpw] [semi-OT] which is more portable?

2004-07-15 Thread Chris Ess
[snip]

 right, which is why it's better to just specify it in conf-vpopmail.
 However, I'm having trouble getting that value into a variable in a
 Makefile, so I'm thinking that just setting it at the top and pointing
 documentation to change it would be best.

Why not just use the backtick substitutions like you pointed out djb does?
This gets around dealing with Makefile variables and prevents people from
needing to edit the Makefile.

Sincerely,


Chris Ess
System Administrator / CDTT (Certified Duct Tape Technician)


[vchkpw] Bounce Messages with Certain Attachments

2004-06-16 Thread Chris Miller








I would like to setup qmail to bounce messages with *.vbs,
*.scr and a few other attachments. If a message gets sent to a user on my
system with an attachment like that, I want to bounce it back to the sender
letting them know it was undeliverable because of the attachment.



Is this possible? If so, how?



Thanks,



Chris Miller

Compuville
www.compuville.net










Re: [vchkpw] Aliases

2004-06-06 Thread chris . houtomo
at the moment I have
a console built in
php that talks to
vpopmail directly. I
am trying to figure
out what I need to
do if I were to
create aliases for
the pop accounts
that I have created
because I don't
think there is a
straight forward
command like
vadduser. Do you
have any ideas? I
have also found a
function in php
vpopmail_add_user_alias().
Have you ever used
this before?

Regards

 


[EMAIL PROTECTED]
wrote:
 
  How do I
manage/create
aliases for an email
account created with
vpopmail? Please
  Help
 
 You can do it the
easy way, or the
hard way...
 
 
 The easy way: 
(Requires a web
server on the mail
server machine.)
 

http://sourceforge.net/projects/qmailadmin/
 
 
 The hard way:
 
 Create .qmail
files in the domain
directory of the
domain where you
 want the alias. 
There many
possibilities for
the .qmail files, so
if
 you want to go
this way, please be
more specific about
what you want the
 alias to do.  It
usually works best
if you give specific
examples.
 
 
 
 





[vchkpw] Aliases

2004-06-05 Thread chris . houtomo
How do I manage/create aliases for an email account created with vpopmail? Please
Help




[vchkpw] qmailadmin question

2004-06-01 Thread Chris Miller








When I setup a user in qmailadmin and check the Spam
detection? box, it adds |preline /usr/local/bin/maildrop
/etc/mailfilter to their ~/.qmail. This is great, except I need it to be
something different. Where do I set what the Spam detection box adds to a users
.qmail file?



Thanks,



Chris Miller

Compuville
www.compuville.net










RE: [vchkpw] User-managed mailing lists in virtual hosting environment?

2004-05-20 Thread Chris Odell

  Why no check out Matt Simersons site for the FreeBSD Toaster.
http://www.tnpi.biz 

 -Original Message-
 From: Michael Bellears [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, May 20, 2004 2:54 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [vchkpw] User-managed mailing lists in virtual 
 hosting environment?
 
  Complicating things (apparently) is that our mail server is 
 separate 
  from the Web server on which we provide clients'
  virtual hosts:  I am hoping to be able to allow a customer 
 to create 
  (say) [EMAIL PROTECTED] (but ezmlm-web appears to want 
 to use the 
  canonical hostname for the mail server as the RHS of the email 
  address).
  
  Is there some other choice I might plausibly make to support such 
  lists?
 
 I don't know if this will be applicable in your environment, 
 but qmailadmin (http://www.inter7.com/qmailadmin.html) has 
 mailing list management functionalities.
 
 HTH,
 MB
 



RE: [vchkpw] Any ideas

2004-05-17 Thread Chris Odell

  Check your password for sql. 

 -Original Message-
 From: Mark Matrafajlo [mailto:[EMAIL PROTECTED] 
 Sent: Monday, May 17, 2004 11:08 AM
 To: vpop
 Subject: [vchkpw] Any ideas
 
 
  Please enter password for [EMAIL PROTECTED]:
  enter password again:
  vmysql: sql error[c]: MySQL server has gone away
  vmysql: sql error[c]: MySQL server has gone away
  vmysql: sql error[b]: MySQL server has gone away
  vmysql: sql error[3]: MySQL server has gone away
  vmysql: sql error[2]: MySQL server has gone away Failed while 
  attempting to add user to auth backend
  Error: no auth connection
 
 I had set it up to use mysql as the backend and now it just 
 doesn't work anyone have any ideas of whats goin on
 
 Thx
 Mark
 



RE: [vchkpw] Problem

2004-05-13 Thread Chris Miller
When you say freezeing, what exactly do you mean?

Thanks,
 
Chris Miller
Compuville
www.compuville.net


-Original Message-
From: Simon [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 13, 2004 2:29 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Problem

Hopefully someone can help me with this. I am running Red Hat Linux 9.0,
qmail, courier-imap-2.2.1, and vpopmail-5.2.1. For the past six months
everything has been running smoothly almost no problems whatsoever. I have
about 20 different domains using vpopmail. Recently, the mail has been
freezing. Starting and stopping qmail seems to clear the problem up. I don't
know if this is a vpopmail issue or a qmail issue. I've checked the que and
everything has been processed. One of the domains did have a catch all
account which they stopped using.  Any suggestions would be appreciated.

Simon





[vchkpw] SMTP Slowness

2004-04-26 Thread Chris Miller








Now Ive got another problem with SMTP. When I try to
connect, it takes FOREVER to send the welcome message. Go ahead and telnet into
rhost1.zfx.com on port 25 and issue a HELO, and youll see what I mean.
Just give it a few minutes before you do anything and youll see. After
the initial wait, things are fine, but that first part takes forever. I thought
that it could be something with DNS, but everything seems fine with DNS. The
hostname and reverse DNS entries for the box are in there, and the DNS servers
on the server are set correctly so it should be able to resolve its self
pretty quickly (the DNS server it uses is on the local box, as is the zone for
the domain).



Any idea??



Thanks,



Chris Miller

Compuville
www.compuville.net










RE: [vchkpw] Major SMTP AUTH Issues

2004-04-26 Thread Chris Miller
Thanks, that fixed it. However, now SMTP is really slow (see my other
message that should be coming through in a few minutes).

Thanks,
 
Chris Miller
Compuville
www.compuville.net

-Original Message-
From: Jeremy Kister [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 26, 2004 1:52 AM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] Major SMTP AUTH Issues

On Sunday, April 25, 2004 9:17 PM, Chris Miller wrote:
 I'm having major issues with SMTP AUTH. Currently, if a user authenticates
they are allowed to relay. The problem is
 even if the user authenticates incorrectly, they are allowed to relay. I'm
sure it's something in my qmail-smtpd run script,
 so I'm pasting it below:

this has been discussed extensively, but...

you are probably using Krzysztof Dabrowski's qmail-smtpd-auth-0.31 patch

either patch your qmail with Erwin Hoffmann's
http://www.fehcom.de/qmail/auth/qmail-smtpd-auth-043_tgz.bin
or fix your run script:

exec /usr/local/bin/softlimit -m 300
  /usr/local/bin/tcpserver -v -R -l $LOCAL \
   -x /etc/tcp.smtp.cdb -c $MAXSMTPD \
   -u $VPOPUID -g $VPOPGID 0 smtp \
   /var/qmail/bin/qmail-smtpd $LOCAL /var/vpopmail/bin/vchkpw /bin/true
21

I recommend Erwin's fixup, as it has bug fixes and updated functionality

you may also want to investigate using the -H flag for tcpserver.

Jeremy Kister
http://jeremy.kister.net/





RE: [vchkpw] SMTP Slowness

2004-04-26 Thread Chris Miller
No, qmail-smtpd.

Thanks,
 
Chris Miller
Compuville
www.compuville.net


-Original Message-
From: Rick Romero [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 26, 2004 10:47 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] SMTP Slowness

On Mon, 2004-04-26 at 08:42, Chris Miller wrote:
 Now I've got another problem with SMTP. When I try to connect, it
 takes FOREVER to send the welcome message. Go ahead and telnet into
 rhost1.zfx.com on port 25 and issue a HELO, and you'll see what I
 mean. Just give it a few minutes before you do anything and you'll
 see. After the initial wait, things are fine, but that first part
 takes forever. I thought that it could be something with DNS, but
 everything seems fine with DNS. The hostname and reverse DNS entries
 for the box are in there, and the DNS servers on the server are set
 correctly so it should be able to resolve it's self pretty quickly
 (the DNS server it uses is on the local box, as is the zone for the
 domain).

 Any idea??

Are you running rblsmtpd?

  
 
 Thanks,
 
  
 
 Chris Miller
 
 Compuville
 www.compuville.net
 
  






Re: [vchkpw] vpopmail + postfix

2004-04-26 Thread Chris Ess
On Fri, 23 Apr 2004, X-Istence wrote:

 Paulo Fragoso wrote:
  Hi,
 
  How can we setup vpopmail to work with Postfix? Is necessary have qmail
  installed too?
 
  Thanks,
  Paulo.

 vpopmail was created for qmail only, postfix and qmail are two different
 MTA's so this is not a solution you can use with postfix.

See this sentence from http://www.inter7.com/vpopmail.html :

Inter7 has developed vpopmail (vchkpw), a free GPL software package, to
provide an easy way to manage virtual email domains and non /etc/passwd
email accounts on your qmail or Postfix mail servers.

So it looks like there should be a way to get it to work with Postfix.
(Or someone needs to fix the page.)

There's even a link for a short howto on the Inter7 page:
http://www.inter7.com/vpopmail/postfix.txt

That said, I have never used vpopmail with Postfix, nor do I ever plan to,
so I can't vouch whether or not any of the above is accurate beyond face
value.

Sincerely,


Chris Ess
System Administrator / CDTT (Certified Duct Tape Technician)


RE: [vchkpw] Re: SMTP Slowness

2004-04-26 Thread Chris Miller
I just tested it again and timed it. 10 seconds until I get the banner from
the time I connect and issue the EHLO command. That's unacceptable, it
should be nearly instant. It's not like this is a slow box or anything (dual
xeon box, it's got some ummph).

Any ideas as to why the long delay?

Also, you wanted me to run the command ps auxwww |grep '[t]cpserver
.*qmail-smtpd':

vpopmail  3628  0.0  0.1  2104 1328 ?S07:48   0:00
/usr/local/bin/tcpserver -v -R -l rhost1.zfx.com -x /etc/tcp.smtp.cdb -c 50
-u 89 -g 89 0 smtp /var/qmail/bin/qmail-smtpd rhost1.zfx.com
/var/vpopmail/bin/vchkpw /bin/true

Thanks,
 
Chris Miller
Compuville
www.compuville.net


-Original Message-
From: Peter Palmreuther [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 26, 2004 2:55 PM
To: Chris Miller in vpop
Subject: [vchkpw] Re: SMTP Slowness

Hello Chris,

On Monday, April 26, 2004 at 3:42:40 PM you wrote (at least in part):

 Now I've got another problem with SMTP. When I try to connect, it takes
 FOREVER to send the welcome message. Go ahead and telnet into
rhost1.zfx.com
 on port 25 and issue a HELO, and you'll see what I mean.

Both, connecting and issuing a EHLO (or HELO), is just a matter of
seconds from here.

 I thought that it could be something with DNS, but everything seems
 fine with DNS. The hostname and reverse DNS entries for the box are
 in there, and the DNS servers on the server are set correctly so it
 should be able to resolve it's self pretty quickly (the DNS server
 it uses is on the local box, as is the zone for the domain).

Well, it nevertheless could be a DNS related problem. The self
referring reverse entries are not that much of a matter. What takes
time most times this behavior is seen is reverse resolving of
connecting client. So what's your 'tcpserver ... qmail-smtpd'
invocation line[1]?

[1]: ps auxwww |grep '[t]cpserver .*qmail-smtpd'
-- 
Best regards
Peter Palmreuther

Progress is made on alternate Fridays.





RE: [vchkpw] Re: SMTP Slowness

2004-04-26 Thread Chris Miller
Awesome, that did it. Thanks a bunch!

Thanks,
 
Chris Miller
Compuville
www.compuville.net


-Original Message-
From: Rick Morris [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 26, 2004 4:47 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Re: SMTP Slowness

You haven't set the -H flag, so by default it's trying to look up the remote

hostname in DNS for $TCPREMOTEHOST

This may take a long time if reverse DNS isn't set up properly for the host 
connecting.

On Monday 26 April 2004 12:23, Chris Miller wrote:
 I just tested it again and timed it. 10 seconds until I get the banner
from
 the time I connect and issue the EHLO command. That's unacceptable, it
 should be nearly instant. It's not like this is a slow box or anything
 (dual xeon box, it's got some ummph).

 Any ideas as to why the long delay?

 Also, you wanted me to run the command ps auxwww |grep '[t]cpserver
 .*qmail-smtpd':

 vpopmail  3628  0.0  0.1  2104 1328 ?S07:48   0:00
 /usr/local/bin/tcpserver -v -R -l rhost1.zfx.com -x /etc/tcp.smtp.cdb -c
50
 -u 89 -g 89 0 smtp /var/qmail/bin/qmail-smtpd rhost1.zfx.com
 /var/vpopmail/bin/vchkpw /bin/true

 Thanks,

 Chris Miller
 Compuville
 www.compuville.net


 -Original Message-
 From: Peter Palmreuther [mailto:[EMAIL PROTECTED]
 Sent: Monday, April 26, 2004 2:55 PM
 To: Chris Miller in vpop
 Subject: [vchkpw] Re: SMTP Slowness

 Hello Chris,

 On Monday, April 26, 2004 at 3:42:40 PM you wrote (at least in part):
  Now I've got another problem with SMTP. When I try to connect, it takes
  FOREVER to send the welcome message. Go ahead and telnet into

 rhost1.zfx.com

  on port 25 and issue a HELO, and you'll see what I mean.

 Both, connecting and issuing a EHLO (or HELO), is just a matter of
 seconds from here.

  I thought that it could be something with DNS, but everything seems
  fine with DNS. The hostname and reverse DNS entries for the box are
  in there, and the DNS servers on the server are set correctly so it
  should be able to resolve it's self pretty quickly (the DNS server
  it uses is on the local box, as is the zone for the domain).

 Well, it nevertheless could be a DNS related problem. The self
 referring reverse entries are not that much of a matter. What takes
 time most times this behavior is seen is reverse resolving of
 connecting client. So what's your 'tcpserver ... qmail-smtpd'
 invocation line[1]?

 [1]: ps auxwww |grep '[t]cpserver .*qmail-smtpd'

-- 
Rick Morris
Network Manager
WeDoHosting.com
101-4226 Commerce Circle
Victoria  BC  V8Z 6N6

ph: +1 250 479 1595
fax: +1 250 479 1517

[EMAIL PROTECTED]
http://www.wedohosting.com





[vchkpw] Major SMTP AUTH Issues

2004-04-25 Thread Chris Miller








Im having major issues with SMTP AUTH. Currently, if
a user authenticates they are allowed to relay. The problem is even if the user
authenticates incorrectly, they are allowed to relay. Im sure its
something in my qmail-smtpd run script, so Im pasting it below:



#!/bin/sh



# QMAILDUID=`id -u qmaild`

# NOFILESGID=`id -g qmaild`

VPOPUID=`id -u vpopmail`

VPOPGID=`id -g vpopmail`

MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`

LOCAL=`head -1 /var/qmail/control/me`



if [ -z $VPOPUID -o -z $VPOPGID -o
-z $MAXSMTPD -o -z $LOCAL ]; then

 echo VPOPUID, VPOPGID, MAXSMTPD or LOCAL is unset in

 echo /var/qmail/supervise/qmail-smtpd/run

exit 1

fi



if [ ! -f /var/qmail/control/rcpthosts ]; then

 echo No /var/qmail/control/rcpthosts!

 echo Refusing to start SMTP listener because it'll
create an open relay

exit 1

fi

 exec /usr/local/bin/softlimit -m 300
/usr/local/bin/tcpserver -v -R -l $LOCAL -x /etc/tcp.smtp.cdb -c
$MAXSMTPD -u $VPOPUID -g $VPOPGID 0 smtp \

 /var/qmail/bin/qmail-smtpd /var/vpopmail/bin/vchkpw /bin/true
21



Thanks,



Chris Miller

Compuville
www.compuville.net










RE: [vchkpw] pros and cons of smtp auth and pop before smtp

2004-04-12 Thread Chris Miller
Personally, I feel better knowing that each user authenticates before they
send mail with SMTP AUTH rather then keeping an ad-hoc list of IPs that have
POP-ed their mail in the last x-minutes. But that would be covered in Jeff's
conceptually a more elegant approach bullet.

Thanks,
 
Chris Miller
Compuville
www.compuville.net

-Original Message-
From: Jeff Koch [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 12, 2004 10:48 AM
To: [EMAIL PROTECTED]
Subject: 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 






RE: [vchkpw] domain quotas

2004-04-12 Thread Chris Miller
I too would like to know the same information along those lines. Are the
quotas in qmail a way to control actual disk quotas on the file system,
meaning I'd have to have quota support in my kernel before I use this
feature, or is this just something ad-hoc that vpopmail has done at a
higher level than the file system quotas?

Thanks,
 
Chris Miller
Compuville
www.compuville.net


-Original Message-
From: Jeff Koch [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 12, 2004 10:55 AM
To: [EMAIL PROTECTED]
Subject: [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] roaming.

2004-04-07 Thread Chris Miller
It's POP-before-SMTP. Personally, I like the idea of SMTP AUTH better, but
both work...

Thanks,
 
Chris Miller
Compuville
www.compuville.net

-Original Message-
From: Jasmine [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 06, 2004 9:21 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] roaming.

What exactly are roaming users?

Jasmine





RE: [vchkpw] incdir

2004-04-07 Thread Chris Miller








When you configure, include enable-incdir=/path/to/MySQL/include/directory/



Mine was /usr/local/mysql/include/





Thanks,



Chris Miller

Compuville
www.compuville.net















From: Jasmine
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 06, 2004
10:43 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] incdir







I get this error whilst configuring vpopmail;











configure: error: Unable to find your MySQL inc dir, specify
--enable-incdir.





what does it mean? I chose to use mysql authentication.











Jaz.










RE: [vchkpw] Which File System?

2004-04-07 Thread Chris Miller
I've had awful experiences with reiserfs. I've had many reisterfs file
systems totally bomb on me -- not fun. Personally, I use XFS when possible
and find it to be the fastest and most stable file system on the planet.
Never had a problem with it.

Ext3 is good too.

Thanks,
 
Chris Miller
Compuville
www.compuville.net


-Original Message-
From: Shane Chrisp [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 07, 2004 11:55 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Which File System?

Hi All,

 Im in the process of setting up a new server with a large disk array
of sata disks running on debian and im wondering if I should stick with
ext3 or go with reiserFS. Whats your experiences been either way?

cheers

Shane





[vchkpw] mbox to maildir

2004-03-30 Thread Chris Miller








Not sure if this is the right place to post this or not. If
its not, feel free to slap me.\



I have several mailboxes in the mbox format (traditional one
file in /var/spool/mail/username). I need to convert these to maildir format. Ive
seen the maildir2mbox, but thats going the wrong way. I need
mbox2maildir.



Thanks,



Chris Miller

Compuville
www.compuville.net










RE: [vchkpw] MySQL has gone away

2004-03-28 Thread Chris Miller








Well guys, Ive made progress on
this. If I change the IP to my external IP rather than localhost it works. So
apparently, its looking for the socket in the wrong place.



Where does it pull the path of the socket
from?





Thanks,



Chris Miller

Compuville
www.compuville.net













From: Chris Miller
[mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 27, 2004
2:15 PM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] MySQL has
gone away





I am using 5.4.0, which is the latest
version. I was using an older version before, but I ditched it and am
reinstalling it.





Thanks,



Chris Miller

Compuville
www.compuville.net













From: Remo Mattei
[mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 27, 2004
2:13 PM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] MySQL has
gone away





The version of vpopmail you are using is
not using the file for password you need to modify the vmysql.c or .h I
cant remember which one so make sure either you are using the latest
version or modify that file and then recompile..









Remo Mattei 
NetworkSecurity Engineer 
cell 801-808-unix 
email [EMAIL PROTECTED] 















From: Chris
Miller [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 27, 2004
12:03 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] MySQL has gone
away





Heres what I get when I try
to add a domain:



[/var/vpopmail/bin]# ./vadddomain
test.com

Please enter password for
postmaster:

enter password again:

vmysql: sql error[c]: MySQL server
has gone away

vmysql: sql error[b]: MySQL server
has gone away

vmysql: sql error[3]: MySQL server
has gone away

vmysql: sql error[c]: MySQL server
has gone away

vmysql: sql error[c]: MySQL server
has gone away

vmysql: sql error[b]: MySQL server
has gone away

vmysql: sql error[3]: MySQL server
has gone away

vmysql: sql error[2]: MySQL server
has gone away

Failed while attempting to add user
to auth backend

Error: (vadduser) no auth connection



[/var/vpopmail/etc]# cat
vpopmail.mysql

localhost|0|vpopmail|***|vpopmail



My password has odd characters in
it, specifically the + character. Could that cause anything to
break?



I have tried connecting manually
with the username/password in that file, and I can get in fine.





Thanks,



Chris Miller

Compuville
www.compuville.net










[vchkpw] SMTP AUTH with vchkpw

2004-03-28 Thread Chris Miller








Below is the run script that supervise uses
for qmail-smtpd. Notice now it uses /bin/checkpassword which is patched for MySQL
support. However, Im moving to vchkpw, so how would I go about changing the
script so that SMTP AUTH will work?



[/var/qmail/supervise/qmail-smtpd]# cat run

#!/bin/sh



QMAILDUID=`id -u qmaild`

NOFILESGID=`id -g qmaild`

MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`

LOCAL=`head -1 /var/qmail/control/me`



if [ -z $QMAILDUID -o -z $NOFILESGID
-o -z $MAXSMTPD -o -z $LOCAL ]; then

 echo QMAILDUID $QMAILDUID, NOFILESGID $NOFILESGID,
MAXSMTPD $MAXSMTPD, or LOCAL $LOCAL is unset in

 echo /var/qmail/supervise/qmail-smtpd/run

 exit 1

fi



if [ ! -f /var/qmail/control/rcpthosts ]; then

 echo No /var/qmail/control/rcpthosts!

 echo Refusing to start SMTP listener because
it'll create an open relay

 exit 1

fi



exec /usr/local/bin/softlimit -m 1000
/usr/local/bin/tcpserver -v -R -l $LOCAL -u $QMAILDUID -x
/etc/tcp.smtp.cdb -c $MAXSMTPD -g $NOFILESGID 0 smtp \

 /var/qmail/bin/qmail-smtpd rhost1.zfx.com
/bin/checkpassword /bin/true 21





Thank you!



Thanks,



Chris Miller

Compuville
www.compuville.net

423.276.6692










RE: [vchkpw] SMTP AUTH with vchkpw

2004-03-28 Thread Chris Miller
Thank you.

Thanks,
 
Chris Miller
Compuville
www.compuville.net


-Original Message-
From: Werner Amon [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 28, 2004 3:53 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] SMTP AUTH with vchkpw

Chris Miller schrieb:

Below is the run script that supervise uses for qmail-smtpd. Notice now
it
uses /bin/checkpassword which is patched for MySQL support. However, I'm
moving to vchkpw, so how would I go about changing the script so that SMTP
AUTH will work?

 

[/var/qmail/supervise/qmail-smtpd]# cat run

#!/bin/sh

 

QMAILDUID=`id -u qmaild`

NOFILESGID=`id -g qmaild`

MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`

LOCAL=`head -1 /var/qmail/control/me`

 

if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z $LOCAL
];
then

  echo QMAILDUID $QMAILDUID, NOFILESGID $NOFILESGID, MAXSMTPD $MAXSMTPD, or
LOCAL $LOCAL is unset in

  echo /var/qmail/supervise/qmail-smtpd/run

  exit 1

fi

 

if [ ! -f /var/qmail/control/rcpthosts ]; then

  echo No /var/qmail/control/rcpthosts!

  echo Refusing to start SMTP listener because it'll create an open relay

  exit 1

fi

 

exec /usr/local/bin/softlimit -m 1000 /usr/local/bin/tcpserver -v -R -l
$LOCAL -u $QMAILDUID -x /etc/tcp.smtp.cdb -c $MAXSMTPD -g $NOFILESGID
0 smtp \

/var/qmail/bin/qmail-smtpd rhost1.zfx.com /bin/checkpassword /bin/true
21

 

 

Thank you!

 

Thanks,

 

Chris Miller

Compuville
www.compuville.net

423.276.6692

 

  

Change

QMAILDUID and NOFILESGID from qmaild to vpopmail

and change

/var/qmail/bin/qmail-smtpd rhost1.zfx.com /bin/checkpassword /bin/true 21

to

/var/qmail/bin/qmail-smtpd rhost1.zfx.com /home/vpopmail/bin/vchkpw
/bin/true 21

this should work

Werner





[vchkpw] Learning Passwords

2004-03-28 Thread Chris Miller








With the learning passwords feature enabled, does that set users
passwords to the one they supply whenever they check their mail for the very
first time? When Im adding a user, will it automatically overwrite the
password that I enter?



Thanks,



Chris Miller

Compuville
www.compuville.net










[vchkpw] vpopmail database?

2004-03-27 Thread Chris Miller








I just installed vpopmail and Im using MySQL support.
I added the database vpopmail and user vpopmail and gave the user rights to the
database. Now what? I cant find anything that documents the schema of
the database. Do I have to manually create tables, or is there a SQL file
somewhere that has the structure of the tables in the database?



Also, my current setup uses the MySQL PASSWORD() function to
store passwords encrypted. Am I going to be able to use this with vpopmail? I disable
storing passwords in clear text, so Im assuming that it will use the
same function to encrypt passwords  correct?



Thanks,



Chris Miller

Compuville
www.compuville.net










RE: [vchkpw] vpopmail database?

2004-03-27 Thread Chris Miller








I just realized that. I was using 5.2.1,
but Im installing 5.4.0 right now -- MUCH more info with this version. I
think Ill figure it out okay from here. J



Thanks!!





Thanks,



Chris Miller

Compuville
www.compuville.net













From: Remo Mattei
[mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 27, 2004
1:23 PM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] vpopmail
database?





You need to read the readme file for MySQL
which is in the tar file.









Remo Mattei 
NetworkSecurity Engineer 
cell 801-808-unix 
email [EMAIL PROTECTED] 















From: Chris
Miller [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 27, 2004
11:11 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] vpopmail
database?





I just installed vpopmail and
Im using MySQL support. I added the database vpopmail and user vpopmail
and gave the user rights to the database. Now what? I cant find anything
that documents the schema of the database. Do I have to manually create tables,
or is there a SQL file somewhere that has the structure of the tables in the
database?



Also, my current setup uses the
MySQL PASSWORD() function to store passwords encrypted. Am I going to be able
to use this with vpopmail? I disable storing passwords in clear text, so
Im assuming that it will use the same function to encrypt passwords
 correct?



Thanks,



Chris Miller

Compuville
www.compuville.net










RE: [vchkpw] vpopmail database?

2004-03-27 Thread Chris Miller








Does vpopmail use the PASSWORD() function
in MySQL to store passwords? I need this, since my current setup uses this
method and I want to move accounts over without many problems.





Thanks,



Chris Miller

Compuville
www.compuville.net













From: Chris Miller
[mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 27, 2004
1:21 PM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] vpopmail
database?





I just realized that. I was using 5.2.1,
but Im installing 5.4.0 right now -- MUCH more info with this version. I
think Ill figure it out okay from here. J



Thanks!!





Thanks,



Chris Miller

Compuville
www.compuville.net













From: Remo Mattei
[mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 27, 2004
1:23 PM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] vpopmail
database?





You need to read the readme file for MySQL
which is in the tar file.









Remo Mattei 
NetworkSecurity Engineer 
cell 801-808-unix 
email [EMAIL PROTECTED] 















From: Chris
Miller [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 27, 2004
11:11 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] vpopmail
database?





I just installed vpopmail and
Im using MySQL support. I added the database vpopmail and user vpopmail
and gave the user rights to the database. Now what? I cant find anything
that documents the schema of the database. Do I have to manually create tables,
or is there a SQL file somewhere that has the structure of the tables in the
database?



Also, my current setup uses the
MySQL PASSWORD() function to store passwords encrypted. Am I going to be able
to use this with vpopmail? I disable storing passwords in clear text, so
Im assuming that it will use the same function to encrypt passwords
 correct?



Thanks,



Chris Miller

Compuville
www.compuville.net










[vchkpw] MySQL has gone away

2004-03-27 Thread Chris Miller








Heres what I get when I try to add a domain:



[/var/vpopmail/bin]# ./vadddomain test.com

Please enter password for postmaster:

enter password again:

vmysql: sql error[c]: MySQL server has gone away

vmysql: sql error[b]: MySQL server has gone away

vmysql: sql error[3]: MySQL server has gone away

vmysql: sql error[c]: MySQL server has gone away

vmysql: sql error[c]: MySQL server has gone away

vmysql: sql error[b]: MySQL server has gone away

vmysql: sql error[3]: MySQL server has gone away

vmysql: sql error[2]: MySQL server has gone away

Failed while attempting to add user to auth backend

Error: (vadduser) no auth connection



[/var/vpopmail/etc]# cat vpopmail.mysql

localhost|0|vpopmail|***|vpopmail



My password has odd characters in it, specifically the +
character. Could that cause anything to break?



I have tried connecting manually with the username/password
in that file, and I can get in fine.





Thanks,



Chris Miller

Compuville
www.compuville.net










RE: [vchkpw] SMTP AUTH

2004-03-27 Thread Chris Miller
Is it safe to use 0.31 with vpopmail-5.4.0?

Thanks,
 
Chris Miller
Compuville
www.compuville.net


-Original Message-
From: Erwin Hoffmann [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 22, 2004 12:12 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [vchkpw] SMTP AUTH

Hi,

dont use the version 0.32 of the smtp-auth patch; it's not gonna work with
vpopmail 5.4.x.

Read: http://www.fehcom.de/qmail/smtpauth.html

regards.
--eh.

At 14:38 22.03.04 +0100, [EMAIL PROTECTED] wrote:
Am Mo, 2004-03-22 um 14.30 schrieb Chris Miller:
 Does vpopmail come with SMTP AUTH? Is there a compatable patch out
 there?
Try this one:
qmail-smtpd-auth, http://members.elysium.pl/brush/qmail-smtpd-auth/,

Gruss,
Peter.

 
-- 
[EMAIL PROTECTED], gpg -key 
http://blackhole.pca.dfn.de:11371/pks/lookup?op=getsearch=0x690A1AC2




Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/
Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24




RE: [vchkpw] MySQL has gone away

2004-03-27 Thread Chris Miller








I am using 5.4.0, which is the latest
version. I was using an older version before, but I ditched it and am
reinstalling it.





Thanks,



Chris Miller

Compuville
www.compuville.net













From: Remo Mattei
[mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 27, 2004
2:13 PM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] MySQL has
gone away





The version of vpopmail you are using is
not using the file for password you need to modify the vmysql.c or .h I cant
remember which one so make sure either you are using the latest version or
modify that file and then recompile..









Remo Mattei 
NetworkSecurity Engineer 
cell 801-808-unix 
email [EMAIL PROTECTED] 















From: Chris
Miller [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 27, 2004
12:03 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] MySQL has gone
away





Heres what I get when I try
to add a domain:



[/var/vpopmail/bin]# ./vadddomain
test.com

Please enter password for
postmaster:

enter password again:

vmysql: sql error[c]: MySQL server
has gone away

vmysql: sql error[b]: MySQL server
has gone away

vmysql: sql error[3]: MySQL server
has gone away

vmysql: sql error[c]: MySQL server
has gone away

vmysql: sql error[c]: MySQL server
has gone away

vmysql: sql error[b]: MySQL server
has gone away

vmysql: sql error[3]: MySQL server
has gone away

vmysql: sql error[2]: MySQL server
has gone away

Failed while attempting to add user
to auth backend

Error: (vadduser) no auth connection



[/var/vpopmail/etc]# cat
vpopmail.mysql

localhost|0|vpopmail|***|vpopmail



My password has odd characters in
it, specifically the + character. Could that cause anything to
break?



I have tried connecting manually
with the username/password in that file, and I can get in fine.





Thanks,



Chris Miller

Compuville
www.compuville.net










RE: [vchkpw] SMTP AUTH

2004-03-27 Thread Chris Miller
Yes, it does get me in. Let me try escaping the +.

Thanks,
 
Chris Miller
Compuville
www.compuville.net


-Original Message-
From: Shane Chrisp [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 27, 2004 2:19 PM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] SMTP AUTH

does mysql -D vpopmail -user=vpopmail --password=pass  get you in as well?

Im guessing you might need to escape the \+ sign or your permissions on the
vpopmail.mysql file are wrong.

-rw-r-1 vpopmail vchkpw235 Sep  4  2003 vpopmail.mysql

Shane.

-Original Message-
From: Chris Miller [mailto:[EMAIL PROTECTED] 
Sent: Sunday, 28 March 2004 3:04 AM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] SMTP AUTH

Is it safe to use 0.31 with vpopmail-5.4.0?

Thanks,
 
Chris Miller
Compuville
www.compuville.net


-Original Message-
From: Erwin Hoffmann [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 22, 2004 12:12 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [vchkpw] SMTP AUTH

Hi,

dont use the version 0.32 of the smtp-auth patch; it's not 
gonna work with
vpopmail 5.4.x.

Read: http://www.fehcom.de/qmail/smtpauth.html

regards.
--eh.

At 14:38 22.03.04 +0100, [EMAIL PROTECTED] wrote:
Am Mo, 2004-03-22 um 14.30 schrieb Chris Miller:
 Does vpopmail come with SMTP AUTH? Is there a compatable patch out
 there?
Try this one:
qmail-smtpd-auth, http://members.elysium.pl/brush/qmail-smtpd-auth/,

Gruss,
Peter.

 
-- 
[EMAIL PROTECTED], gpg -key 
http://blackhole.pca.dfn.de:11371/pks/lookup?op=getsearch=0x690A1AC2




Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/
Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24








RE: [vchkpw] SMTP AUTH

2004-03-27 Thread Chris Miller
Nope, same error...

-rw-r-1 vpopmail vchkpw 41 Mar 27 14:24 vpopmail.mysql


Thanks,
 
Chris Miller
Compuville
www.compuville.net


-Original Message-
From: Shane Chrisp [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 27, 2004 2:19 PM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] SMTP AUTH

does mysql -D vpopmail -user=vpopmail --password=pass  get you in as well?

Im guessing you might need to escape the \+ sign or your permissions on the
vpopmail.mysql file are wrong.

-rw-r-1 vpopmail vchkpw235 Sep  4  2003 vpopmail.mysql

Shane.

-Original Message-
From: Chris Miller [mailto:[EMAIL PROTECTED] 
Sent: Sunday, 28 March 2004 3:04 AM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] SMTP AUTH

Is it safe to use 0.31 with vpopmail-5.4.0?

Thanks,
 
Chris Miller
Compuville
www.compuville.net


-Original Message-
From: Erwin Hoffmann [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 22, 2004 12:12 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [vchkpw] SMTP AUTH

Hi,

dont use the version 0.32 of the smtp-auth patch; it's not 
gonna work with
vpopmail 5.4.x.

Read: http://www.fehcom.de/qmail/smtpauth.html

regards.
--eh.

At 14:38 22.03.04 +0100, [EMAIL PROTECTED] wrote:
Am Mo, 2004-03-22 um 14.30 schrieb Chris Miller:
 Does vpopmail come with SMTP AUTH? Is there a compatable patch out
 there?
Try this one:
qmail-smtpd-auth, http://members.elysium.pl/brush/qmail-smtpd-auth/,

Gruss,
Peter.

 
-- 
[EMAIL PROTECTED], gpg -key 
http://blackhole.pca.dfn.de:11371/pks/lookup?op=getsearch=0x690A1AC2




Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/
Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24








RE: [vchkpw] SMTP AUTH

2004-03-27 Thread Chris Miller
Nope, Same problem.

Is there any way to have it use a socket at '/var/run/mysqld/mysqld.sock'
instead of over TCP/IP? 

Thanks,
 
Chris Miller
Compuville
www.compuville.net


-Original Message-
From: Shane Chrisp [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 27, 2004 2:31 PM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] SMTP AUTH

try changing the 0 in the file to 3306 like

localhost|3306|vpopmail|pass|vpopmail 

Shouldn't have any effect but who knows. I have also had 
issues where ive needed to connect to the ip of the machine
rather than localhost due to a few crazy mysql dns bugs. Adding
the details to the hosts file sometimes fixes that one too.

Shane

-Original Message-
From: Chris Miller [mailto:[EMAIL PROTECTED] 
Sent: Sunday, 28 March 2004 3:24 AM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] SMTP AUTH

Nope, same error...

-rw-r-1 vpopmail vchkpw 41 Mar 27 14:24 vpopmail.mysql


Thanks,
 
Chris Miller
Compuville
www.compuville.net


-Original Message-
From: Shane Chrisp [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 27, 2004 2:19 PM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] SMTP AUTH

does mysql -D vpopmail -user=vpopmail --password=pass  get you 
in as well?

Im guessing you might need to escape the \+ sign or your 
permissions on the
vpopmail.mysql file are wrong.

-rw-r-1 vpopmail vchkpw235 Sep  4  2003 vpopmail.mysql

Shane.

-Original Message-
From: Chris Miller [mailto:[EMAIL PROTECTED] 
Sent: Sunday, 28 March 2004 3:04 AM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] SMTP AUTH

Is it safe to use 0.31 with vpopmail-5.4.0?

Thanks,
 
Chris Miller
Compuville
www.compuville.net


-Original Message-
From: Erwin Hoffmann [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 22, 2004 12:12 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [vchkpw] SMTP AUTH

Hi,

dont use the version 0.32 of the smtp-auth patch; it's not 
gonna work with
vpopmail 5.4.x.

Read: http://www.fehcom.de/qmail/smtpauth.html

regards.
--eh.

At 14:38 22.03.04 +0100, [EMAIL PROTECTED] wrote:
Am Mo, 2004-03-22 um 14.30 schrieb Chris Miller:
 Does vpopmail come with SMTP AUTH? Is there a compatable patch out
 there?
Try this one:
qmail-smtpd-auth, http://members.elysium.pl/brush/qmail-smtpd-auth/,

Gruss,
Peter.

 
-- 
[EMAIL PROTECTED], gpg -key 
http://blackhole.pca.dfn.de:11371/pks/lookup?op=getsearch=0x690A1AC2




Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/
Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24












RE: [vchkpw] SMTP AUTH

2004-03-27 Thread Chris Miller
Well, my connection file is correct. So why is it still saying MySQL Server
has gone away?

Thanks,
 
Chris Miller
Compuville
www.compuville.net


-Original Message-
From: Michael Bowe [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 27, 2004 6:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] SMTP AUTH

It is my understanding that :

MYSQL CONNECTION SETTINGS FOR VPOPMAIL
Line 1 defines the connection to use for database reads,
Line 2 defines the connection to use for database updates/writes.

If you omit line 2, then the same settings will be
used for both read and write.

settings for each line:
host|port|user|password|database

eg
localhost|0|root|secret|vpopmail

Note:
The value of host may be either a hostname or an IP address.
If host is 'localhost', then sockets (Unix) or named pipes (Windows)
will be used instead of TCP/IP to connect to the server.

Michael.

- Original Message - 
From: Chris Miller [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, March 28, 2004 5:43 AM
Subject: RE: [vchkpw] SMTP AUTH


 Nope, Same problem.
 
 Is there any way to have it use a socket at '/var/run/mysqld/mysqld.sock'
 instead of over TCP/IP? 
 
 Thanks,
  
 Chris Miller
 Compuville
 www.compuville.net
 
 
 -Original Message-
 From: Shane Chrisp [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, March 27, 2004 2:31 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [vchkpw] SMTP AUTH
 
 try changing the 0 in the file to 3306 like
 
 localhost|3306|vpopmail|pass|vpopmail 
 
 Shouldn't have any effect but who knows. I have also had 
 issues where ive needed to connect to the ip of the machine
 rather than localhost due to a few crazy mysql dns bugs. Adding
 the details to the hosts file sometimes fixes that one too.
 
 Shane
 
 -Original Message-
 From: Chris Miller [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, 28 March 2004 3:24 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [vchkpw] SMTP AUTH
 
 Nope, same error...
 
 -rw-r-1 vpopmail vchkpw 41 Mar 27 14:24 vpopmail.mysql
 
 
 Thanks,
  
 Chris Miller
 Compuville
 www.compuville.net
 
 
 -Original Message-
 From: Shane Chrisp [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, March 27, 2004 2:19 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [vchkpw] SMTP AUTH
 
 does mysql -D vpopmail -user=vpopmail --password=pass  get you 
 in as well?
 
 Im guessing you might need to escape the \+ sign or your 
 permissions on the
 vpopmail.mysql file are wrong.
 
 -rw-r-1 vpopmail vchkpw235 Sep  4  2003 vpopmail.mysql
 
 Shane.
 
 -Original Message-
 From: Chris Miller [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, 28 March 2004 3:04 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [vchkpw] SMTP AUTH
 
 Is it safe to use 0.31 with vpopmail-5.4.0?
 
 Thanks,
  
 Chris Miller
 Compuville
 www.compuville.net
 
 
 -Original Message-
 From: Erwin Hoffmann [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 22, 2004 12:12 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: [vchkpw] SMTP AUTH
 
 Hi,
 
 dont use the version 0.32 of the smtp-auth patch; it's not 
 gonna work with
 vpopmail 5.4.x.
 
 Read: http://www.fehcom.de/qmail/smtpauth.html
 
 regards.
 --eh.
 
 At 14:38 22.03.04 +0100, [EMAIL PROTECTED] wrote:
 Am Mo, 2004-03-22 um 14.30 schrieb Chris Miller:
  Does vpopmail come with SMTP AUTH? Is there a compatable patch out
  there?
 Try this one:
 qmail-smtpd-auth, http://members.elysium.pl/brush/qmail-smtpd-auth/,
 
 Gruss,
 Peter.
 
  
 -- 
 [EMAIL PROTECTED], gpg -key 
 http://blackhole.pca.dfn.de:11371/pks/lookup?op=getsearch=0x690A1AC2
 
 
 
 
 Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/
 Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24
 
 
 
 
 
 
 
 
 
 
 




RE: [vchkpw] MySQL has gone away

2004-03-27 Thread Chris Miller
Somehow, the subject of this conversation has gotten changed the
original subject was MySQL has gone away. Please make sure all future
messages related to this problem have this subject, NOT SMTP AUTH as that is
a different problem.

Thanks,
 
Chris Miller
Compuville
www.compuville.net


-Original Message-
From: Chris Miller [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 27, 2004 8:39 PM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] SMTP AUTH

Well, my connection file is correct. So why is it still saying MySQL Server
has gone away?

Thanks,
 
Chris Miller
Compuville
www.compuville.net


-Original Message-
From: Michael Bowe [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 27, 2004 6:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] SMTP AUTH

It is my understanding that :

MYSQL CONNECTION SETTINGS FOR VPOPMAIL
Line 1 defines the connection to use for database reads,
Line 2 defines the connection to use for database updates/writes.

If you omit line 2, then the same settings will be
used for both read and write.

settings for each line:
host|port|user|password|database

eg
localhost|0|root|secret|vpopmail

Note:
The value of host may be either a hostname or an IP address.
If host is 'localhost', then sockets (Unix) or named pipes (Windows)
will be used instead of TCP/IP to connect to the server.

Michael.

- Original Message - 
From: Chris Miller [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, March 28, 2004 5:43 AM
Subject: RE: [vchkpw] SMTP AUTH


 Nope, Same problem.
 
 Is there any way to have it use a socket at '/var/run/mysqld/mysqld.sock'
 instead of over TCP/IP? 
 
 Thanks,
  
 Chris Miller
 Compuville
 www.compuville.net
 
 
 -Original Message-
 From: Shane Chrisp [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, March 27, 2004 2:31 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [vchkpw] SMTP AUTH
 
 try changing the 0 in the file to 3306 like
 
 localhost|3306|vpopmail|pass|vpopmail 
 
 Shouldn't have any effect but who knows. I have also had 
 issues where ive needed to connect to the ip of the machine
 rather than localhost due to a few crazy mysql dns bugs. Adding
 the details to the hosts file sometimes fixes that one too.
 
 Shane
 
 -Original Message-
 From: Chris Miller [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, 28 March 2004 3:24 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [vchkpw] SMTP AUTH
 
 Nope, same error...
 
 -rw-r-1 vpopmail vchkpw 41 Mar 27 14:24 vpopmail.mysql
 
 
 Thanks,
  
 Chris Miller
 Compuville
 www.compuville.net
 
 
 -Original Message-
 From: Shane Chrisp [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, March 27, 2004 2:19 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [vchkpw] SMTP AUTH
 
 does mysql -D vpopmail -user=vpopmail --password=pass  get you 
 in as well?
 
 Im guessing you might need to escape the \+ sign or your 
 permissions on the
 vpopmail.mysql file are wrong.
 
 -rw-r-1 vpopmail vchkpw235 Sep  4  2003 vpopmail.mysql
 
 Shane.
 
 -Original Message-
 From: Chris Miller [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, 28 March 2004 3:04 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [vchkpw] SMTP AUTH
 
 Is it safe to use 0.31 with vpopmail-5.4.0?
 
 Thanks,
  
 Chris Miller
 Compuville
 www.compuville.net
 
 
 -Original Message-
 From: Erwin Hoffmann [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 22, 2004 12:12 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: [vchkpw] SMTP AUTH
 
 Hi,
 
 dont use the version 0.32 of the smtp-auth patch; it's not 
 gonna work with
 vpopmail 5.4.x.
 
 Read: http://www.fehcom.de/qmail/smtpauth.html
 
 regards.
 --eh.
 
 At 14:38 22.03.04 +0100, [EMAIL PROTECTED] wrote:
 Am Mo, 2004-03-22 um 14.30 schrieb Chris Miller:
  Does vpopmail come with SMTP AUTH? Is there a compatable patch out
  there?
 Try this one:
 qmail-smtpd-auth, http://members.elysium.pl/brush/qmail-smtpd-auth/,
 
 Gruss,
 Peter.
 
  
 -- 
 [EMAIL PROTECTED], gpg -key 
 http://blackhole.pca.dfn.de:11371/pks/lookup?op=getsearch=0x690A1AC2
 
 
 
 
 Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/
 Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24
 
 
 
 
 
 
 
 
 
 
 






[vchkpw] SMTP AUTH

2004-03-22 Thread Chris Miller








Does vpopmail come with SMTP AUTH? Is there a compatable
patch out there?



Thanks,



Chris Miller

Compuville
www.compuville.net










[vchkpw] reinstall of vpopmail

2004-03-15 Thread Chris
I had to reinstall vpopmail 5.2.1 and now I am having various problems with
my setup.  I can log in to existing mailboxes and most of them get mail.
Some of them don't though.  If I erase and recreate them they work again.

However, forwards are not at all working anymore.  I can create them, but
they don't appear, and worse, old ones do not work and the mail is not
bounce, but blackholed somewhere.

Any advice, this is a big problem here...

I'm using vpopmail with mysql

Thanks

Chris



RE: [vchkpw] reinstall of vpopmail

2004-03-15 Thread Chris
I'm sorry, this is resolved.  I had a DNS issue so the mail was not
forwarding properly.  Thanks anyway though.

Chris

-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Monday, March 15, 2004 8:53 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] reinstall of vpopmail


I had to reinstall vpopmail 5.2.1 and now I am having various problems with
my setup.  I can log in to existing mailboxes and most of them get mail.
Some of them don't though.  If I erase and recreate them they work again.

However, forwards are not at all working anymore.  I can create them, but
they don't appear, and worse, old ones do not work and the mail is not
bounce, but blackholed somewhere.

Any advice, this is a big problem here...

I'm using vpopmail with mysql

Thanks

Chris




[vchkpw] Weird problems

2004-03-15 Thread Chris
I reinstalled vpopmail 5.2.1 and now I am having some problems with
qmailadmin and sqwebmail.  Qmailadmin (1.0.6) will add email accounts, but
cannot add alias/forwards.  It appears that it works, but the forwards don't
appear.

Additionally, sqwebmail does not work properly.  Users log in and in the
upper right, they see [EMAIL PROTECTED] instead of their correct
domain name.  They can see their messages, but cannot delete/move them.
However, some users do see their correct [EMAIL PROTECTED].  Those users
can use their mail normally.  I can find no rhyme or reason to who can and
can't do this.  If I erase their account and recreate it, the problem goes
away.

Thanks,


Chris



Re: [vchkpw] Vpopmail shared library patch

2004-03-11 Thread Chris Ess
On Thu, 11 Mar 2004, Ken Jones wrote:
 On Thursday 11 March 2004 4:22 pm, Tom Collins wrote:

[snip]

  I'm not sure that there's a need to disable the shared library option
  -- I'd like to always build it.

 I'd like to be able to disable shared libraries.
 I like not having run time linking each time vchkpw and vdelivermail
 are run. I'd rather link once at compile time. Makes it just-a-bit-more
 efficent. The only thing it would save me is recompiling vpopmail dependent
 libraries on an update, and that's not a big deal for me.

I see where Mr. Jones is coming from and I agree.  However, I also see
where having a shared library could be better.  (See, for instance, the
recurring theme on this list of I just recompiled vpopmail and now
qmail doesn't work/users can't authenticate through courier-imap/other
stuff is broken now.)

Perhaps, for a 'best of both worlds' (or 'horrible compromise') idea,
maybe we should have configure switches so that we can build static vchkpw
and vdelivermail binaries (since these are the two most run programs under
vpopmail as far as I can see) and yet still build the shared library for
linking with other binaries, including vadddomain, qmailadmin, courier's
authvchkpw module, etc.  I think that any performance hit we might take by
making vadddomain and the other binaries link against the shared library
would be tolerable.

Sincerely,


Chris Ess
System Administrator / CDTT (Certified Duct Tape Technician)


RE: [vchkpw] Have I screwed myself?

2004-03-08 Thread Chris Miller








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
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.htmor

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/).
It works great, but there is a major flaw with it. Lets say I setup an account
to be [EMAIL PROTECTED] and another at [EMAIL PROTECTED]. If I send mail to [EMAIL PROTECTED] or [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
www.compuville.net












  1   2   3   4   >