Re: [vchkpw] Why does Inter7 opt Qmail?

2005-07-05 Thread dballantyne
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] Why does Inter7 opt Qmail?

2005-07-05 Thread dballantyne
Maybe you have some other issues... 

 On Tuesday 05 July 2005 16:28, Ken Jones wrote:

 We like qmail for many reasons, mostly because it is efficent and
 it never breaks.

 I've had it stop running enough times that I run /etc/init.d/qmailq
 start
 every hour, just so that I can be sure it will continue (we get over 500K
 mail per day, and queues infuriate users).  It only quits maybe once a
 month
 or so, but luckily running /etc/init.d/qmailq doesn't break anything.

 never is a strong word, that's all. :)

 --

 Cheers,
 Steve  |President  Systems Administrator,  Kingston Online Services
|(e pluribus unix)  Multiple-T3/OC3  URL: http://www.kos.net/
|Business and Education partners in SouthEastern Ontario
|
|Through the firewall, out the router, down the OC3, across
 the
|backbone, bounced from satellite, it's nothing but net.





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





[vchkpw] Problems with qmail/vpopmail/maildop

2005-06-29 Thread dballantyne
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 dballantyne
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/configuring.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 dballantyne
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( $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
 

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

2005-06-29 Thread dballantyne
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
 {
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 

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

2005-06-29 Thread dballantyne
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 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 

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

2005-06-29 Thread dballantyne
Thats what I did, was just letting you know I was using a different group

 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: