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


 Hi,

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

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

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

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

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

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

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

 This is my .qmail-default and corresponding mailfilter.

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

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

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

 And finally -v output from maildrop.

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

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

 Kind regards,

 Dougal








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

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


 Hi,

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

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


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







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

2005-06-29 Thread 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 Chris Godwin
no
#emerge maildrop -vp

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


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

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

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

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



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

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

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

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


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

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


 Hi,

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

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


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







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

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

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

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


 Chris,

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

 xen2 root # emerge maildrop -vp

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

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

 Total size of downloads: 0 kB
 xen2 root #



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

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

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

2005-06-29 Thread 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 Chris Godwin
try to re-edit the ebuild and set the group to vpopmail

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


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


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

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

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

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

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

Re: [vchkpw] 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:
   
   
  
 
 maildrop:_error_writing_to_mailbox.//usr/bin/maildrop

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

2005-06-29 Thread Charles J. Boening
How are you calling maildrop?  What's your filter file look like?  Could
it be something as simple as it's trying to deliver the email to the
wrong place?  Maybe a place where your user doesn't have permissions.


Charlie
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, June 29, 2005 1:20 PM
 To: vchkpw@inter7.com
 Subject: Re: [vchkpw] Problems with qmail/vpopmail/maildop
 
 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_deliv
  er_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

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

2005-06-29 Thread Charles J. Boening
I'll just reply to my own post ... Going back to read the original post
where all my questions are answered! :)  Been a long day!

How about having your maildrop script echo it's environment out to a
text file in /tmp.  Also how about appending any local variables to that
file as well.  Just a way to check and make sure they're all setup
correctly.


Charlie

 

 -Original Message-
 From: Charles J. Boening [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, June 29, 2005 2:38 PM
 To: vchkpw@inter7.com
 Subject: RE: [vchkpw] Problems with qmail/vpopmail/maildop
 
 How are you calling maildrop?  What's your filter file look 
 like?  Could it be something as simple as it's trying to 
 deliver the email to the wrong place?  Maybe a place where 
 your user doesn't have permissions.
 
 
 Charlie
  
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, June 29, 2005 1:20 PM
  To: vchkpw@inter7.com
  Subject: Re: [vchkpw] Problems with qmail/vpopmail/maildop
  
  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_deliv
   er_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