[vchkpw] qmail-tap patch + spamcontrol

2005-06-30 Thread Ronald Chan
Hi everyone,

has anyone from you guys know is there a modified qmail-tap patch that
can be integrate with spamcontrol found in
 www.fehcom.de/qmail/spamcontrol.htm i really want to integrate it since
spamcontrol patch is a rock solid code for me,

My current setup is

OpenBSD 3.7 with Qmail-1.0.3 + spamcontrol patch + vpopmail + qmail-scanner.

Thanks in advance

God Bless

Ronald Chan



[vchkpw] mail relay problems ...

2005-06-30 Thread Henti Smith
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-roaming-users \
|| die

# TCPRULES for relaying is now considered obsolete, use relay-ctrl instead
#--enable-tcprules-prog=/usr/bin/tcprules 
--enable-tcpserver-file=/etc/tcp.smtp \
#--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 dballantyne
Also for anyone else running qmail/vpopmail on  a Gentoo system and using
the SMTP-AUTH patch, a change from r13 to r15 will break your setup unless
you update your USE flags. It is related to notlsbeforeauth feature.

See the following posting for more details:
http://forums.gentoo.org/viewtopic-t-339867-highlight-smtpauth.html

Be warned anyone running qmail/vpopmail on Gentoo r15 is a bit of a
headache when upgrading.

-Dougal


 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-roaming-users \
 || die

 # TCPRULES for relaying is now considered obsolete, use relay-ctrl
 instead
 #--enable-tcprules-prog=/usr/bin/tcprules
 --enable-tcpserver-file=/etc/tcp.smtp \
 #--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
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] qmail-tap patch + spamcontrol

2005-06-30 Thread Erwin Hoffmann
Hi,

At 15:56 30.06.2005 +0800, Ronald Chan wrote:
Hi everyone,

has anyone from you guys know is there a modified qmail-tap patch that
can be integrate with spamcontrol found in
 www.fehcom.de/qmail/spamcontrol.htm i really want to integrate it since
spamcontrol patch is a rock solid code for me,

My current setup is

OpenBSD 3.7 with Qmail-1.0.3 + spamcontrol patch + vpopmail + qmail-scanner.

Please tell me more about the qmail-tab patch. What is it ? Where to find ?

regards.
--eh.

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


Re: [vchkpw] mail relay problems ...

2005-06-30 Thread Henti Smith
On Thu, 30 Jun 2005 13:33:05 -0500
Chris Godwin [EMAIL PROTECTED] wrote:

 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.

no kidding .. my primary vhost server is now completely borked ... 

I can't get this working again ... and I don't knwo what I'm doing wrong .. 

shows you how long ago I did a manual vpop install. 

I basically did this .. : 

removed this from ebuild

--disable-tcp-rules-prog --disable-tcpserver-file 
--disable-roaming-users \
|| die

added

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

but still can't get the relay cdb to get rebuilt after pop

any suggestions ... ? 

H 

-- 
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 Henti Smith
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 Jeremy Kitchen
On Thursday 30 June 2005 02:30 pm, Henti Smith wrote:
 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.

www.lifewithqmail.org

then if you want to install vpopmail, just read vpopmail's INSTALL file, it's 
fairly straightforward.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
[EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
  GnuPG Key ID: 481BF7E2 ++ qmail wiki @ qmailwiki.org !!


pgpVo2b5bUquk.pgp
Description: PGP signature


Re: [vchkpw] mail relay problems ...

2005-06-30 Thread dballantyne
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 Henti Smith
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
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 Jeremy Kitchen
On Thursday 30 June 2005 02:42 pm, [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!!

 http://qmailrocks.org/

i disagree.

It throws WAY too much stuff at the novice user.

I can't tell you how many people come into #qmail asking for help with some 
obscure problem because of qmailrocks.org and they have absolutely 0 clue 
what they have on their system.

We also get plenty of calls about it here.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
[EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
  GnuPG Key ID: 481BF7E2 ++ qmail wiki @ qmailwiki.org !!


pgpvY0VR1pfBO.pgp
Description: PGP signature


Re: [vchkpw] mail relay problems ...

2005-06-30 Thread Rick Macdougall

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 relay problems ...

2005-06-30 Thread dballantyne
I don't consider myself much of a code man or guru on mail servers but
when I choose qmail, I know I have to get my sleeves rolled up and get
stuck in..

Also when making your own mail server, shouldn't you have a little idea of
what you are getting into...

Just my ten cents..


 On Thursday 30 June 2005 02:42 pm, [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!!

 http://qmailrocks.org/

 i disagree.

 It throws WAY too much stuff at the novice user.

 I can't tell you how many people come into #qmail asking for help with
 some
 obscure problem because of qmailrocks.org and they have absolutely 0 clue
 what they have on their system.

 We also get plenty of calls about it here.

 -Jeremy

 --
 Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies,
 Inc.
 [EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
   kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
   GnuPG Key ID: 481BF7E2 ++ qmail wiki @ qmailwiki.org !!





Re: [vchkpw] mail relay problems ...

2005-06-30 Thread Henti Smith
On Thu, 30 Jun 2005 14:49:26 -0500
Chris Godwin [EMAIL PROTECTED] wrote:

 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.

I'll try chkuser and simscan ... 

I was using qmailscanner before .. which was a nightmare ..memoery hog and 
death ritual ;P 

H 


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






[vchkpw] [qmr] imapd: chdir Permission denied

2005-06-30 Thread James McMillan
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?




[vchkpw] mail quotas

2005-06-30 Thread Jeff Koch


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] 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 Rick Macdougall

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] 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 James McMillan

and the directory is 700 vpopmail:vchkpw


FreeBSD, source



Chris Godwin wrote:


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?



   





 




--

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



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 DAve

James McMillan wrote:
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?


I must be one of the few who had no issues getting 
Courier/SquirrelMail/Vpopmail to work. I just followed the instructions 
to the letter. Though Courier likes to hang up on large mail boxes now 
and then, it works.


However, we are switching to Binc. It runs in daemontools, uses vchkpw 
for auth, is faster, was a piece of cake to set up on the dev box. I can 
recompile/upgrade any part of vpopmail without having to mess with my 
imap server.


I would give it a try if you have the time.

I followed the website instructions at, 
http://lifewithbincimap.org/index.php/Main/LifeWithBincIMAP


I didn't and don't like the idea of a symlink in every Maildir, so to 
get squirrelmail/vpopmail/qmail working I looked here,

http://marc.theaimsgroup.com/?l=vchkpwm=107402176525985w=4

DAve





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

2005-06-30 Thread James McMillan

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] mail relay problems ...

2005-06-30 Thread Jeremy Kitchen
On Thursday 30 June 2005 03:07 pm, [EMAIL PROTECTED] wrote:
 I don't consider myself much of a code man or guru on mail servers but
 when I choose qmail, I know I have to get my sleeves rolled up and get
 stuck in..

 Also when making your own mail server, shouldn't you have a little idea of
 what you are getting into...

 Just my ten cents..

yes, and LWQ explains how the system works, and doesn't throw 5 million things 
at you, that you probably have never used, don't know how to use, or how to 
fix if they break or don't work on the first try.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
[EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
  GnuPG Key ID: 481BF7E2 ++ qmail wiki @ qmailwiki.org !!


pgp1Yi41onuKm.pgp
Description: PGP signature


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] [qmr] imapd: chdir Permission denied

2005-06-30 Thread Jeremy Kitchen
On Thursday 30 June 2005 04:31 pm, James McMillan wrote:
 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.

it's in the /var/qmail/users/assign file.

Generally when you migrate between systems you should make sure all relevant 
information (uids, paths to binaries/directories, etc) are all the same as 
they were on the old system.  Otherwise you will have problems like the one 
you are experiencing now.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
[EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
  GnuPG Key ID: 481BF7E2 ++ qmail wiki @ qmailwiki.org !!


pgpRJWm0BZFAU.pgp
Description: PGP signature


Re: [vchkpw] block non-relay from remote to local?

2005-06-30 Thread Jeremy Kitchen
On Thursday 30 June 2005 03:24 pm, Paul Theodoropoulos wrote:
 okay, i'm probably having a brain fart on this, so bear with me.

 i have a customer who is coming online tomorrow. they preconfigured
 their addresses on the server some time ago through our qmailadmin
 interface (for the record, vpopmail 5.4.10, qmailadmin 1.2.7). my
 structure is this: three incoming MX-only servers. one proxy server
 the MX servers forward on to to do spam/virus scanning, then pushed
 to the POP/IMAP/Webmail server where customers do their thang.
 tcpserver patched with Matt Simerson's mysql patch so that the relay
 queries don't hammer the tcp.smtp.cdb file. all works dandy.

 the customer has *not* pointed the MX for their domain to us yet.
 that will happen tonight. however, the customer has reported that
 several of their accounts have received virus-laden email. it took a
 while to figure it out - apparently the virus is hitting our POP
 server, which is not an MX, and I guess happened to be bearing
 viruses intended for the domain that *is* set up on the server - so
 the server dutifully delivered the 'messages'.

it's probably set up as mail.example.com, where example.com is the domain that 
is being pointed over to the new system.

simply remove the domain from the rcpthosts file on the non-MX servers and no 
mail will be able to come in for that domain there.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
[EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
  GnuPG Key ID: 481BF7E2 ++ qmail wiki @ qmailwiki.org !!


pgpd5aPOsFy8n.pgp
Description: PGP signature


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

2005-06-30 Thread James McMillan
Thanks, I actually just ran into that before you wrote, but how do i 
update the assign.cdb file?


Jeremy Kitchen wrote:


On Thursday 30 June 2005 04:31 pm, James McMillan wrote:
 


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.
   



it's in the /var/qmail/users/assign file.

Generally when you migrate between systems you should make sure all relevant 
information (uids, paths to binaries/directories, etc) are all the same as 
they were on the old system.  Otherwise you will have problems like the one 
you are experiencing now.


-Jeremy

 




--

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



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

2005-06-30 Thread Jeremy Kitchen
On Thursday 30 June 2005 04:39 pm, James McMillan wrote:
 Thanks, I actually just ran into that before you wrote, but how do i
 update the assign.cdb file?

man -M /var/qmail/man qmail-newu

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
[EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
  GnuPG Key ID: 481BF7E2 ++ qmail wiki @ qmailwiki.org !!


pgp7C9ZbzFZEV.pgp
Description: PGP signature


[vchkpw] SMTP auth ....

2005-06-30 Thread Henti Smith
I've upgraded to vpopmail (5.4.6) and decided to switch to smtp auth .. since I 
couldn't get roaming working anyway. 

I'm still getting rcpthosts errors, 

where do I check how relay-ctrl and how it does things. 

I'm fighting a loosing battle here ... 

I followed the instructions on 
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] qmail-tap patch + spamcontrol

2005-06-30 Thread Ken Jones
On Thursday 30 June 2005 2:24 pm, Erwin Hoffmann wrote:
 Hi,

 At 15:56 30.06.2005 +0800, Ronald Chan wrote:
 Hi everyone,
 
 has anyone from you guys know is there a modified qmail-tap patch that
 can be integrate with spamcontrol found in
  www.fehcom.de/qmail/spamcontrol.htm i really want to integrate it since
 spamcontrol patch is a rock solid code for me,
 
 My current setup is
 
 OpenBSD 3.7 with Qmail-1.0.3 + spamcontrol patch + vpopmail +
  qmail-scanner.

 Please tell me more about the qmail-tab patch. What is it ? Where to find

http://www.inter7.com/?page=qmailtap

It gives you greater control than stock qmail in archiving email messages.

Ken Jones


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

2005-06-30 Thread James McMillan

Thanks Jeremy.  that did the trick.

Jimmy

Jeremy Kitchen wrote:


On Thursday 30 June 2005 04:39 pm, James McMillan wrote:
 


Thanks, I actually just ran into that before you wrote, but how do i
update the assign.cdb file?
   



man -M /var/qmail/man qmail-newu

-Jeremy

 




--

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



Re: [vchkpw] SMTP auth ....

2005-06-30 Thread dballantyne
If you are using an ebuild for qmail, can you send the output of the
following command to the list:

# emerge -vp qmail



 I've upgraded to vpopmail (5.4.6) and decided to switch to smtp auth ..
 since I couldn't get roaming working anyway.

 I'm still getting rcpthosts errors,

 where do I check how relay-ctrl and how it does things.

 I'm fighting a loosing battle here ...

 I followed the instructions on
 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] [qmr] imapd: chdir Permission denied

2005-06-30 Thread DAve

James McMillan wrote:

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


FreeBSD reserves the uid and gid of 89 just for vpopmail and vchkpw. It 
would be a good idea to use them to avoid ports conflicts later down the 
road.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/dads-uid-and-gids.html

DAve




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
  





 








Re: [vchkpw] SMTP auth ....

2005-06-30 Thread Henti Smith
On Thu, 30 Jun 2005 21:53:22 - (GMT)
[EMAIL PROTECTED] wrote:

 If you are using an ebuild for qmail, can you send the output of the
 following command to the list:
 
 # emerge -vp qmail

[ebuild   R   ] mail-mta/qmail-1.03-r15  -noauthcram -notlsbeforeauth 
(-selinux) +ssl 0 kB


-- 
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] block non-relay from remote to local?

2005-06-30 Thread Paul Theodoropoulos


At 02:26 PM 6/30/2005, Jeremy Kitchen wrote:
 the customer has *not*
pointed the MX for their domain to us yet.
 that will happen tonight. however, the customer has reported
that
 several of their accounts have received virus-laden email. it took
a
 while to figure it out - apparently the virus is hitting our
POP
 server, which is not an MX, and I guess happened to be bearing
 viruses intended for the domain that *is* set up on the server -
so
 the server dutifully delivered the 'messages'.
it's probably set up as mail.example.com, where example.com is the domain
that 
is being pointed over to the new system.
i wish it were that simple. here's the header, with assorted bits
obfuscated for customer privacy:

Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 12860 invoked from network); 22 Jun 2005 04:13:34
-
Received: from unknown (HELO scapevelocity.com) (210.18.120.34)
 by pop.smileglobal.com with SMTP; 22 Jun 2005 04:13:34 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Hello
Date: Wed, 22 Jun 2005 09:41:35 +0530
MIME-Version: 1.0
Content-Type: multipart/mixed;

boundary==_NextPart_000_0013_06F33F3E.1EC6B4FD
X-Priority: 3
X-MSMail-Priority: Normal
that's the entire header, no more, no less. 
simply remove the domain from
the rcpthosts file on the non-MX servers and no 
mail will be able to come in for that domain there.
well, sure, i could do that, but then when they cut over here it'll
bollox everything up. the domain has to be in rcpthosts on the POP server
- heck, vpopmail maintains the rcpthosts/morercpthosts automatically on
the POP server. I'm not clear how the server would accept new incoming
mail for the domain from my own servers once the MX does cut over here if
there's no entry in rcpthosts.

Paul Theodoropoulos

http://www.anastrophe.com

http://www.smileglobal.com




Re: [vchkpw] block non-relay from remote to local?

2005-06-30 Thread Jeremy Kitchen
On Thursday 30 June 2005 05:24 pm, Paul Theodoropoulos wrote:
 simply remove the domain from the rcpthosts file on the non-MX servers and
  no mail will be able to come in for that domain there.

 well, sure, i could do that, but then when they cut over here it'll
 bollox everything up. the domain has to be in rcpthosts on the POP
 server - heck, vpopmail maintains the rcpthosts/morercpthosts
 automatically on the POP server. I'm not clear how the server would
 accept new incoming mail for the domain from my own servers once the
 MX does cut over here if there's no entry in rcpthosts.

you would just tell your POP server to allow relaying from the MX servers.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
[EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
  GnuPG Key ID: 481BF7E2 ++ qmail wiki @ qmailwiki.org !!


pgpmXL8fn5Kdt.pgp
Description: PGP signature


Re: [vchkpw] mail quotas

2005-06-30 Thread Tom Collins

On Jun 30, 2005, at 1:37 PM, Jeff Koch wrote:
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.


Old bug in vdelivermail -- it wouldn't do quota checks on the catchall 
mailbox.


To force a maildirsize recalculation, just delete the maildirsize file.

I have a new vdelivermail in a read-to-release 5.4.12 that I need to 
upload to SourceForge.  I still consider it somewhat beta, but 5.4.12's 
vdelivermail might be more reliable than 5.4.10 (the last release 
before my re-write).


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [vchkpw] block non-relay from remote to local?

2005-06-30 Thread Paul Theodoropoulos

At 03:35 PM 6/30/2005, Jeremy Kitchen wrote:

 well, sure, i could do that, but then when they cut over here it'll
 bollox everything up. the domain has to be in rcpthosts on the POP
 server - heck, vpopmail maintains the rcpthosts/morercpthosts
 automatically on the POP server. I'm not clear how the server would
 accept new incoming mail for the domain from my own servers once the
 MX does cut over here if there's no entry in rcpthosts.

you would just tell your POP server to allow relaying from the MX servers.


okay, i presume then that there's a way to add permanent relay 
entries into the mysql database. i'll have to do a little research. 
what about vpopmail's insistence on maintaining the 
rcpthosts/morercpthosts files? will i have to manually delete the 
files after each new domain is added to the server? sorry for all the 
questions.



Paul Theodoropoulos
http://www.anastrophe.com
http://www.smileglobal.com




RE: [vchkpw] qmail-tap patch + spamcontrol

2005-06-30 Thread Brian Lanier
-Original Message-
From: Ken Jones [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 30, 2005 2:39 PM
To: vchkpw@inter7.com
Subject: Re: [vchkpw] qmail-tap patch + spamcontrol

On Thursday 30 June 2005 2:24 pm, Erwin Hoffmann wrote:
 Hi,

 At 15:56 30.06.2005 +0800, Ronald Chan wrote:
 Hi everyone,
 
 has anyone from you guys know is there a modified qmail-tap patch
that
 can be integrate with spamcontrol found in
  www.fehcom.de/qmail/spamcontrol.htm i really want to integrate it since
 spamcontrol patch is a rock solid code for me,
 
 My current setup is
 
 OpenBSD 3.7 with Qmail-1.0.3 + spamcontrol patch + vpopmail +
  qmail-scanner.

 Please tell me more about the qmail-tab patch. What is it ? Where to
find

http://www.inter7.com/?page=qmailtap

It gives you greater control than stock qmail in archiving email messages.

Ken Jones

How do you handle BCC entries using qmail-tap? My C is limited to very basic
understanding, so I see it runs some regex checks but against what?

In the past when using the QUEUE_EXTRA code, I noticed I lost the envelope
recipient as a variable for use($EXT and $HOST). It got changed to whatever
I set up under QUEUE_EXTRA. Because of that I couldn't grab BCC emails.
$SENDER was still set just fine.

Thanks 

Brian



Re: [vchkpw] mail relay problems ...

2005-06-30 Thread Tom Collins

On Jun 30, 2005, at 12:30 PM, Henti Smith wrote:

where is a decent howto these days


http://shupp.org/toaster/

I use it every time I build a new hosting server (every 3 years or so).

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: 
sniffter.com




Re: [vchkpw] qmail-tap patch + spamcontrol

2005-06-30 Thread Jeremy Kitchen
On Thursday 30 June 2005 05:50 pm, Brian Lanier wrote:
 -Original Message-
 From: Ken Jones [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 30, 2005 2:39 PM
 To: vchkpw@inter7.com
 Subject: Re: [vchkpw] qmail-tap patch + spamcontrol
 
 On Thursday 30 June 2005 2:24 pm, Erwin Hoffmann wrote:
  Hi,
 
  At 15:56 30.06.2005 +0800, Ronald Chan wrote:
  Hi everyone,
  
  has anyone from you guys know is there a modified qmail-tap patch
 
 that
 
  can be integrate with spamcontrol found in
   www.fehcom.de/qmail/spamcontrol.htm i really want to integrate it
   since spamcontrol patch is a rock solid code for me,
  
  My current setup is
  
  OpenBSD 3.7 with Qmail-1.0.3 + spamcontrol patch + vpopmail +
   qmail-scanner.
 
  Please tell me more about the qmail-tab patch. What is it ? Where to
 
 find
 
 http://www.inter7.com/?page=qmailtap
 
 It gives you greater control than stock qmail in archiving email messages.
 
 Ken Jones

 How do you handle BCC entries using qmail-tap? My C is limited to very
 basic understanding, so I see it runs some regex checks but against what?

BCC is just an extra envelope recipient that isn't in the headers.

qmail-tap uses the envelope information, and ignores headers.

 In the past when using the QUEUE_EXTRA code, I noticed I lost the envelope
 recipient as a variable for use($EXT and $HOST). It got changed to whatever
 I set up under QUEUE_EXTRA. Because of that I couldn't grab BCC emails.
 $SENDER was still set just fine.

that will occur here as well, because this is basically an extension to the 
QUEUE_EXTRA code, and just adds a recipient to queued messages.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
[EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
  GnuPG Key ID: 481BF7E2 ++ qmail wiki @ qmailwiki.org !!


pgpWUoD8zI8T5.pgp
Description: PGP signature


Re: [vchkpw] block non-relay from remote to local?

2005-06-30 Thread Jeremy Kitchen
On Thursday 30 June 2005 05:44 pm, Paul Theodoropoulos wrote:
 At 03:35 PM 6/30/2005, Jeremy Kitchen wrote:
   well, sure, i could do that, but then when they cut over here it'll
   bollox everything up. the domain has to be in rcpthosts on the POP
   server - heck, vpopmail maintains the rcpthosts/morercpthosts
   automatically on the POP server. I'm not clear how the server would
   accept new incoming mail for the domain from my own servers once the
   MX does cut over here if there's no entry in rcpthosts.
 
 you would just tell your POP server to allow relaying from the MX servers.

 okay, i presume then that there's a way to add permanent relay
 entries into the mysql database.

no need for this, just edit your tcp.smtp file and add a static entry.

 i'll have to do a little research. 
 what about vpopmail's insistence on maintaining the
 rcpthosts/morercpthosts files? will i have to manually delete the
 files after each new domain is added to the server? 

well, you want to make sure at least rcpthosts EXISTS, but it can be empty.  
if you add a new domain to the system you will have to go and manually remove 
it from the file, but vpopmail won't completely rebuild the file with all of 
the domains for you.

 sorry for all the questions.

YOU SHOULD BE!

just kidding ;)

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
[EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
  GnuPG Key ID: 481BF7E2 ++ qmail wiki @ qmailwiki.org !!


pgppp5Anqxy1x.pgp
Description: PGP signature


Re: [vchkpw] block non-relay from remote to local?

2005-06-30 Thread Paul Theodoropoulos

At 04:01 PM 6/30/2005, you wrote:

 okay, i presume then that there's a way to add permanent relay
 entries into the mysql database.

no need for this, just edit your tcp.smtp file and add a static entry.


i wish - except for this config option when i built vpopmail:
--disable-rebuild-tcpserver-file \

neither my /service/smtpd/tcp.cdb nor /u1/etc/tcp.smtp.cdb are being accessed.


well, you want to make sure at least rcpthosts EXISTS, but it can be empty.
if you add a new domain to the system you will have to go and manually remove
it from the file, but vpopmail won't completely rebuild the file with all of
the domains for you.


cool.


 sorry for all the questions.

YOU SHOULD BE!

just kidding ;)


well, hopefully this little conversation will help out some other 
poor soul, so it's not been a total loss!



Paul Theodoropoulos
http://www.anastrophe.com
http://www.smileglobal.com




RE: [vchkpw] qmail-tap patch + spamcontrol

2005-06-30 Thread Brian Lanier

-Original Message-
From: Jeremy Kitchen [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 30, 2005 3:59 PM
To: vchkpw@inter7.com
Subject: Re: [vchkpw] qmail-tap patch + spamcontrol


--- snip ---

 How do you handle BCC entries using qmail-tap? My C is limited to very
 basic understanding, so I see it runs some regex checks but against what?

BCC is just an extra envelope recipient that isn't in the headers.

qmail-tap uses the envelope information, and ignores headers.

Ok... I had that part about BCC only existing in the envelope... 


 In the past when using the QUEUE_EXTRA code, I noticed I lost the
envelope
 recipient as a variable for use($EXT and $HOST). It got changed to
whatever
 I set up under QUEUE_EXTRA. Because of that I couldn't grab BCC emails.
 $SENDER was still set just fine.

that will occur here as well, because this is basically an extension to the
QUEUE_EXTRA code, and just adds a recipient to queued messages.

-Jeremy


My understanding was that the when addressed to someone on the BCC line it
simply existed as roughly [EMAIL PROTECTED] I thought each message only had one
envelope recipient so that to have the message go to multiple parties you
got multiple messages in the queue each with a different envelope recipient.
Am I way off on my understanding here? If so, is there an environment
variable that stores the BCC field or are we saying the same thing only
different. Currently I am migrating my logging down into my maildrop file to
catch the envelope recipients due to fact that queue_extra changes what I
know as the envelope recipient to log, which is set up as a an alias that
runs maildrop with a special filter file. If I can do it all at once and at
the queue level that would be great. My method doesn't seem to be the most
efficient yet it does work.

I think I am missing a piece here and I don't even know what to ask about...
I hope this makes enough sense...

Brian




[vchkpw] pop-before-smtp and chkuser

2005-06-30 Thread Igor Grinchenko
Hello everyone,

I have a pop-before-smtp server running vpopmail 5.4.5. That server only serves 
clients that supply a valid login/password pair.
Some clients, however, started abusing this system by sending tons of spam 
which gets us blacklisted in various RBL DBs.
what I'm trying to do is use CHKUSER_RCPTLIMIT option to at least limit the 
number of emails that gets sent at once.

it seems like for that I need to have the following line in tcp.smtp.cdb for 
every entry: RELAYCLIENT=,RBLSMTPD=,CHKUSER_RCPTLIMITsome number
since vpopmail only creates RELAYCLIENT=,RBLSMTPD= - it seems like the only 
way is to hack vpopmail.c around line 2526.

another way is to hack chkuser to hardcode some value to 
CHKUSER_RCPT_LIMIT_VARIABLE instead of looking at the env variable from the cdb 
file.

which way should I go? I don't think I'll have a problem modifying either 
source code, since it seems like a pretty straightforward change.

am I missing some other, simplier way?

-- 
Igor




Re: [vchkpw] mail quotas

2005-06-30 Thread Rick Macdougall

Tom Collins wrote:


On Jun 30, 2005, at 1:37 PM, Jeff Koch wrote:

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.



Old bug in vdelivermail -- it wouldn't do quota checks on the catchall 
mailbox.


To force a maildirsize recalculation, just delete the maildirsize file.

I have a new vdelivermail in a read-to-release 5.4.12 that I need to 
upload to SourceForge.  I still consider it somewhat beta, but 
5.4.12's vdelivermail might be more reliable than 5.4.10 (the last 
release before my re-write).


Just FYI,

I've been running 5.4.12 since Tom had me test the new changes.  I've 
had no problems with it (yet) and I've stressed it quite a bit in testing.


Regards,

Rick



Re: [vchkpw] SMTP auth ....

2005-06-30 Thread Henti Smith
On Fri, 1 Jul 2005 00:00:26 +0200
Henti Smith [EMAIL PROTECTED] wrote:

 On Thu, 30 Jun 2005 21:53:22 - (GMT)
 [EMAIL PROTECTED] wrote:
 
  If you are using an ebuild for qmail, can you send the output of the
  following command to the list:
  
  # emerge -vp qmail
 
 [ebuild   R   ] mail-mta/qmail-1.03-r15  -noauthcram -notlsbeforeauth 
 (-selinux) +ssl 0 kB

Ok guys .. got it all working ... 

For mail-mta/qmail-1.03-r15 you need notlsbeforeauth set in make.conf
Also in your /var/qmail/control/conf-smtpd 

QMAIL_SMTP_POST=${QMAIL_SMTP_CHECKPASSWORD} ${QMAIL_SMTP_POST}

Usually there is a ${QMAIL_SMTP_AUTHHOST} before CHECKPASS, but this is not 
needed or it gives you a permission error

vmysql can't read settings /var/vpopmail/etc/vpopmail.mysql

FYI +:) 


-- 
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] pop-before-smtp and chkuser

2005-06-30 Thread Igor Grinchenko
I went ahead and tried modifying chkuser. these two little quick and dirty 
changes seem to make it work. I'm still open to hearing alternatives (if there 
are any).

--- ../chkuser-2.0.8b-release/chkuser.c 2004-12-08 17:10:36.0 -0800
+++ chkuser.c   2005-06-30 17:10:44.192650158 -0700
@@ -435,15 +435,10 @@
 #endif
 
 #if defined CHKUSER_RCPT_LIMIT_VARIABLE
-maxrcpt_string = env_get (CHKUSER_RCPT_LIMIT_VARIABLE);
-if (maxrcpt_string) {
-maxrcpt_limit = atoi (maxrcpt_string);
+maxrcpt_limit = CHKUSER_RCPT_LIMIT_VARIABLE;
 if (maxrcpt_limit  1) {
 maxrcpt_limit = 0;
 }
-} else {
-maxrcpt_string = ;;
-}
 #endif
 
 #if defined CHKUSER_WRONGRCPT_LIMIT_VARIABLE



--- ../chkuser-2.0.8b-release/chkuser_settings.h2004-12-08 
17:10:36.0 -0800
+++ chkuser_settings.h  2005-06-30 17:01:28.512240856 -0700
@@ -160,7 +160,7 @@
  * The first reached, between CHKUSER_RCPT_LIMIT_VARIABLE and 
CHKUSER_WRONGRCPT_LIMIT_VARIABLE,
  * makes chkuser rejecting everything else
  */
-#define CHKUSER_RCPT_LIMIT_VARIABLE CHKUSER_RCPTLIMIT
+#define CHKUSER_RCPT_LIMIT_VARIABLE 25
 
 /*
  * Uncomment to define a variable which contains the max unknown recipients 
number

-- 
Igor


On Thu, Jun 30, 2005 at 04:21:24PM -0700, Igor Grinchenko wrote:
- Hello everyone,
- 
- I have a pop-before-smtp server running vpopmail 5.4.5. That server only 
serves clients that supply a valid login/password pair.
- Some clients, however, started abusing this system by sending tons of spam 
which gets us blacklisted in various RBL DBs.
- what I'm trying to do is use CHKUSER_RCPTLIMIT option to at least limit the 
number of emails that gets sent at once.
- 
- it seems like for that I need to have the following line in tcp.smtp.cdb for 
every entry: RELAYCLIENT=,RBLSMTPD=,CHKUSER_RCPTLIMITsome number
- since vpopmail only creates RELAYCLIENT=,RBLSMTPD= - it seems like the 
only way is to hack vpopmail.c around line 2526.
- 
- another way is to hack chkuser to hardcode some value to 
CHKUSER_RCPT_LIMIT_VARIABLE instead of looking at the env variable from the cdb 
file.
- 
- which way should I go? I don't think I'll have a problem modifying either 
source code, since it seems like a pretty straightforward change.
- 
- am I missing some other, simplier way?
- 
- -- 
- Igor
- 
- 


Re: [vchkpw] mail quotas

2005-06-30 Thread Jeff Koch


We use Bill Shupp's Toaster with qmail, vpopmail and qmailadmin. You're 
saying quotas won't work with this combination and just vpopmail installed?


At 04:39 PM 6/30/2005, you wrote:

here's my two cents on this issue...
maildirsize will not reset unless you use courier pop3d or qmail-pop3d with
maildir++ patch. Otherwise peoples quotas will fill up and never go down
unless you run a cron to remove maildirsize for every user.

- Original Message -
From: Jeff Koch [EMAIL PROTECTED]
To: 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,




Best Regards,

Jeff Koch, Intersessions