RE: [toaster] Urgent: preline: fatal: unable to run /usr/bin/maildrop: file does not exist

2008-05-01 Thread Qmail List
 preline: fatal: unable to run /usr/bin/maildrop: file does not exist

Where is your maildrop?



Re: [toaster] Urgent: preline: fatal: unable to run /usr/bin/maildrop: file does not exist

2008-05-01 Thread Shane Chrisp
On Thu, 2008-05-01 at 11:54 -0400, JP Maxwell / Gmail wrote:
 /usr/bin/maildrop:

Have you installed maildrop? Is it in /usr/bin or is it
in /usr/local/bin perhaps?



Re: [toaster] Urgent: preline: fatal: unable to run /usr/bin/maildrop: file does not exist

2008-05-01 Thread JP Maxwell / Gmail
Well, that's the same thing, I can't seem to find it...  did I miss a step?

On Thu, May 1, 2008 at 11:58 AM, Qmail List [EMAIL PROTECTED] wrote:

  preline: fatal: unable to run /usr/bin/maildrop: file does not exist

 Where is your maildrop?




Re: [toaster] Urgent: preline: fatal: unable to run /usr/bin/maildrop: file does not exist

2008-05-01 Thread JP Maxwell / Gmail
Is it something that should have been installed w/ the toaster or should I
already have it?

I see the package available via apt - I could just install it?

On Thu, May 1, 2008 at 12:00 PM, JP Maxwell / Gmail [EMAIL PROTECTED]
wrote:

 Well, that's the same thing, I can't seem to find it...  did I miss a
 step?


 On Thu, May 1, 2008 at 11:58 AM, Qmail List [EMAIL PROTECTED] wrote:

   preline: fatal: unable to run /usr/bin/maildrop: file does not exist
 
  Where is your maildrop?
 
 



RE: [toaster] Urgent: preline: fatal: unable to run /usr/bin/maildrop: file does not exist

2008-05-01 Thread Qmail List
 Is it something that should have been installed w/ the toaster or should I
already have it? 

Shupp's toaster does not come with it. You can try yum or something




Re: [toaster] Urgent: preline: fatal: unable to run /usr/bin/maildrop: file does not exist

2008-05-01 Thread Shane Chrisp
On Thu, 2008-05-01 at 12:02 -0400, JP Maxwell / Gmail wrote:
 Is it something that should have been installed w/ the toaster or
 should I already have it? 

No its up to you to get it if you want it.

 I see the package available via apt - I could just install it?
 
 On Thu, May 1, 2008 at 12:00 PM, JP Maxwell / Gmail
 [EMAIL PROTECTED] wrote:
 Well, that's the same thing, I can't seem to find it...  did I
 miss a step?
 
 
 
 On Thu, May 1, 2008 at 11:58 AM, Qmail List
 [EMAIL PROTECTED] wrote:
  preline: fatal: unable to run /usr/bin/maildrop:
 file does not exist
 
 
 Where is your maildrop?
 
 
 
 



Re: [toaster] Urgent: preline: fatal: unable to run /usr/bin/maildrop: file does not exist

2008-05-01 Thread Rick Macdougall

JP Maxwell / Gmail wrote:

Well, that's the same thing, I can't seem to find it...  did I miss a step?

On Thu, May 1, 2008 at 11:58 AM, Qmail List [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


  preline: fatal: unable to run /usr/bin/maildrop: file does not exist

Where is your maildrop?




The toaster does not include maildrop.  You'll need to install that 
yourself.


Regards,

Rick



Re: [toaster] Urgent: preline: fatal: unable to run /usr/bin/maildrop: file does not exist

2008-05-01 Thread JP Maxwell / Gmail
Thank you all!  Sorry for the seemingly obvious question.

On Thu, May 1, 2008 at 12:25 PM, Rick Macdougall [EMAIL PROTECTED]
wrote:

 JP Maxwell / Gmail wrote:

  Well, that's the same thing, I can't seem to find it...  did I miss a
  step?
 
  On Thu, May 1, 2008 at 11:58 AM, Qmail List [EMAIL PROTECTED]mailto:
  [EMAIL PROTECTED] wrote:
 
   preline: fatal: unable to run /usr/bin/maildrop: file does not
  exist
 
 Where is your maildrop?
 
 
 
 The toaster does not include maildrop.  You'll need to install that
 yourself.

 Regards,

 Rick




Re: [toaster] Urgent: preline: fatal: unable to run /usr/bin/maildrop: file does not exist

2008-05-01 Thread JP Maxwell / Gmail
Ok - after installing maildrop via apt-get the bounces stopped.  But, e-mail
does not seem to get delivered now.  I noticed that it does work fine for
new accounts I create, it's only the migrated accounts that seem to have
problems. The migrated accounts all seem to have this in the log files, does
anyone know what it indicates?

did_0+0+1

I also noticed that the migrated accounts have a .qmail file w/

| preline /usr/bin/maildrop

I am going to try to remove that and see if it fixes this.  Thanks again for
your help.

On Thu, May 1, 2008 at 12:38 PM, JP Maxwell / Gmail [EMAIL PROTECTED]
wrote:

 Thank you all!  Sorry for the seemingly obvious question.

 On Thu, May 1, 2008 at 12:25 PM, Rick Macdougall [EMAIL PROTECTED]
 wrote:

  JP Maxwell / Gmail wrote:
 
   Well, that's the same thing, I can't seem to find it...  did I miss a
   step?
  
   On Thu, May 1, 2008 at 11:58 AM, Qmail List [EMAIL PROTECTED]mailto:
   [EMAIL PROTECTED] wrote:
  
preline: fatal: unable to run /usr/bin/maildrop: file does not
   exist
  
  Where is your maildrop?
  
  
  
  The toaster does not include maildrop.  You'll need to install that
  yourself.
 
  Regards,
 
  Rick
 
 



RE: [toaster] Urgent: preline: fatal: unable to run /usr/bin/maildrop: file does not exist

2008-05-01 Thread Qmail List

 | preline /usr/bin/maildrop

Just wondering. Where are u going to pipe the mails to?




Re: [toaster] Urgent: preline: fatal: unable to run /usr/bin/maildrop: file does not exist

2008-05-01 Thread JP Maxwell / Gmail
I am not sure - maybe something used to work this way in an older toaster?
Since I am migrating to a new build, I wonder if it works differently.

Is there some place I could look to find that out?

On Thu, May 1, 2008 at 2:54 PM, Qmail List [EMAIL PROTECTED] wrote:


  | preline /usr/bin/maildrop

 Just wondering. Where are u going to pipe the mails to?





RE: [toaster] Urgent: preline: fatal: unable to run /usr/bin/maildrop: file does not exist

2008-05-01 Thread Qmail List
 I am not sure - maybe something used to work this way in an older
toaster?  Since I am migrating to a new build, I 
 wonder if it works differently.  

You might need a mailfilter. Please google for it



Re: [toaster] Urgent: preline: fatal: unable to run /usr/bin/maildrop: file does not exist

2008-05-01 Thread JP Maxwell / Gmail
Hmm - ok, not sure.  I did google mailfilter, but it didn't seem too
helpful

p
courier-maildrop
- Courier mail server - mail delivery
agent
i
maildrop
- mail delivery agent with filtering abilities

I installed maildrop from the above list - I'm assuming I didn't want the
courier-maildrop.

Pardon my ignorance.  Everything does seem to work by removing that line
from the .qmail files - I'm actually just trying to learn what the problem
was.

Thanks for your help.

On Thu, May 1, 2008 at 3:08 PM, Qmail List [EMAIL PROTECTED] wrote:

  I am not sure - maybe something used to work this way in an older
 toaster?  Since I am migrating to a new build, I
  wonder if it works differently.

 You might need a mailfilter. Please google for it




Re: [toaster] Urgent: preline: fatal: unable to run /usr/bin/maildrop: file does not exist

2008-05-01 Thread Bill Shupp

On May 1, 2008, at 12:21 PM, JP Maxwell / Gmail wrote:

Hmm - ok, not sure.  I did google mailfilter, but it didn't seem too  
helpful


p   courier- 
maildrop 
- Courier 
 mail server - mail delivery agent
i
maildrop 
- mail 
 delivery agent with filtering abilities


I installed maildrop from the above list - I'm assuming I didn't  
want the courier-maildrop.


Pardon my ignorance.  Everything does seem to work by removing that  
line from the .qmail files - I'm actually just trying to learn what  
the problem was.


man maildrop

You're maildroprc was not migrated.

Bill


Re: [toaster] Urgent: preline: fatal: unable to run /usr/bin/maildrop: file does not exist

2008-05-01 Thread JP Maxwell / Gmail
Got it!

So, if creating a new account on this system does not seem to go through
maildrop - my guess is I don't need it anymore?  Is that right?

On Thu, May 1, 2008 at 4:18 PM, Bill Shupp [EMAIL PROTECTED] wrote:

 On May 1, 2008, at 12:21 PM, JP Maxwell / Gmail wrote:

  Hmm - ok, not sure.  I did google mailfilter, but it didn't seem too
  helpful
 
  p   courier-maildrop
 - Courier mail server - mail delivery agent
  i   maildrop
 - mail delivery agent with filtering abilities
 
  I installed maildrop from the above list - I'm assuming I didn't want
  the courier-maildrop.
 
  Pardon my ignorance.  Everything does seem to work by removing that line
  from the .qmail files - I'm actually just trying to learn what the problem
  was.
 

 man maildrop

 You're maildroprc was not migrated.

 Bill



Re: [toaster] Urgent: preline: fatal: unable to run /usr/bin/maildrop: file does not exist

2008-05-01 Thread Bill Shupp

On May 1, 2008, at 1:32 PM, JP Maxwell / Gmail wrote:


Got it!

So, if creating a new account on this system does not seem to go  
through maildrop - my guess is I don't need it anymore?  Is that  
right?


That depends.  Why are did you need maildrop in the first place?

Bill


Re: [toaster] Urgent: preline: fatal: unable to run /usr/bin/maildrop: file does not exist

2008-05-01 Thread JP Maxwell / Gmail
Honestly, I don't know.  Only about 10 users had it in their .qmail file.
This is hte maildroprc from the old mail server.

import EXT
import HOST
VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]
DOMDIR=`/home/vpopmail/bin/vdominfo -d $HOST`
JUNK=$VHOME/Maildir/.Spam/
DELETESCORE=20


DUMMY=`test -d $VHOME/Maildir`
if ( $RETURNCODE == 1 )
{
DUMMY=`grep bounce-no-mailbox $DOMDIR/.qmail-default`
if ( $RETURNCODE == 0 )
{
   echo Sorry, no mailbox here by that name. (#5.1.1) - maildrop
   EXITCODE=100
   exit
}
DUMMY=`grep ' delete$' $DOMDIR/.qmail-default`
if ( $RETURNCODE == 0 )
{
   echo Deleted mail for non-existent user [EMAIL PROTECTED] - 
maildrop
   EXITCODE=0
   exit
}
# else, it's either a Maildir or forward
ARG4=`awk '{ print $4 }' $DOMDIR/.qmail-default`
# check forward first
DUMMY=`echo $ARG4 | grep '@'`
if ( $RETURNCODE == 0 )
{
to '| /var/qmail/bin/qmail-inject'
}
# then check Maildir
DUMMY=`echo $ARG4 | grep '^/'`
if ( $RETURNCODE == 0 )
{
VHOME=$ARG4
JUNK=$ARG4/Maildir/.Spam/
}
}


#if ( $SIZE  262144 )
#{
#exception {
#xfilter /usr/bin/spamc -f -u [EMAIL PROTECTED]
#}
#}

if (/^X-Spam-Flag:\s*YES/)
{
exception {
/X-Spam-Status: Yes, score=(-*[0-9]+\.[0-9]+)/
SCORE=$MATCH1
if ($SCORE = $DELETESCORE )
{
if ( /^From:\s+(.*)/ )
{
   ADDR=getaddr($MATCH1)
}

echo auto-deleted spam from $FROM::$ADDR to [EMAIL PROTECTED] 
with
score of $SCORE
to /dev/null
}
}
DUMMY=`test -d $JUNK`
if ( $RETURNCODE == 1 )
{
`/var/qmail/bin/maildirmake $JUNK`
 echo created $JUNK
}
to $JUNK
}
else
{
echo maildrop: non-filtered mail delivery
to $VHOME/Maildir/
}


On Thu, May 1, 2008 at 4:47 PM, Bill Shupp [EMAIL PROTECTED] wrote:

 On May 1, 2008, at 1:32 PM, JP Maxwell / Gmail wrote:

  Got it!
 
  So, if creating a new account on this system does not seem to go through
  maildrop - my guess is I don't need it anymore?  Is that right?
 

 That depends.  Why are did you need maildrop in the first place?

 Bill