13 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] maildrop & quota & fo...
FromSent OnAttachments
masterMar 18, 2004 11:57 am 
Rick RomeroMar 18, 2004 12:47 pm 
masterMar 18, 2004 1:31 pm 
masterMar 18, 2004 1:40 pm 
Rick RomeroMar 18, 2004 1:44 pm 
masterMar 18, 2004 1:59 pm 
masterMar 18, 2004 2:41 pm 
masterMar 18, 2004 3:08 pm 
masterMar 18, 2004 3:39 pm 
Rick RomeroMar 18, 2004 6:38 pm 
masterMar 19, 2004 1:22 am 
masterMar 19, 2004 4:15 am 
Rick RomeroMar 19, 2004 5:06 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] maildrop & quota & forward (autorespond)Actions...
From:Rick Romero (ri@havokmon.com)
Date:Mar 18, 2004 1:44:45 pm
List:net.sourceforge.lists.courier-maildrop

On Thu, 2004-03-18 at 15:33, master wrote:

well i have try like you said too but i still don t get emails :( ar 18 22:28:27 web qmail: 1079645307.359651 info msg 560721: bytes 1021 from mas@testdom.com qp 44329 uid 82 Mar 18 22:28:27 web qmail: 1079645307.362870 starting delivery 2371: msg 560721 to local test@testdom.com Mar 18 22:28:27 web qmail: 1079645307.363892 status: local 1/10 remote 1/20

There should be more here.. You're missing a successful, failed, or deferral for msg 560721.

Like this: 2004-03-18 15:41:20.117586500 starting delivery 520: msg 512735 to local vfem@vfemail.net 2004-03-18 15:41:20.117951500 status: local 1/10 remote 0/255 2004-03-18 15:41:20.217044500 delivery 520: success: did_0+0+1/ 2004-03-18 15:41:20.217563500 status: local 0/10 remote 0/255

and i get no mail at all, i have try like you said : .qmail-default |/usr/local/bin/maildrop maildrop |/usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox

Do you get mail if you remove your maildrop line? Or is that all one line? I have each pipe as a separate line (not sure if that's needed).

maildrop : SHELL="/bin/sh" VPOP="| /usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox" VHOME=`/usr/local/vpopmail/bin/vuserinfo -d $EXT@$HOST`

`test -d $VHOME/Maildir/.Spam` if ( $RETURNCODE == 1 ) { `/usr/local/bin/maildirmake -f Spam $VHOME/Maildir` }

if (/^X-Spam-Status: Yes*/) { exception { EXITCODE = "99" to "$VHOME/Maildir/.Spam/" exit } }

so where am i wrong ?

Not entirely sure.. Need to see the log info for what ended up happenening to that one message.

Rick

----- Original Message ----- From: "Rick Romero" <ri@havokmon.com> To: "master" <mas@tyranz.com> Cc: <cour@lists.sourceforge.net> Sent: Thursday, March 18, 2004 9:47 PM Subject: Re: [maildropl] maildrop & quota & forward (autorespond)

Did I just reply to you? Sorry that should have gone to the list.

My .qmail-default (for the whole domain) looks like: |maildrop mailfilter | /usr/home/vpopmail/bin/vdelivermail '' /usr/home/vpopmail/domains/havokmon.com/rick

I had to put 'mailfilter' into the domain directory.. wouldn't work as a reference for some reason.

My mailfilter script is: SHELL="/bin/sh" VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox" VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`

`test -d $VHOME/Maildir/.Spam` if ( $RETURNCODE == 1 ) { `/usr/local/bin/maildirmake -f Spam $VHOME/Maildir` }

#`echo Inbox.Spam >> $VHOME/Maildir/courierimapsubscribed` #`echo "WTF" >> /home/vpopmail/domains/vfemail.net/test/Maildir/testfile`

if (/^X-Spam-Status: Yes*/) { exception { # to "$VPOP" EXITCODE = "99" to "$VHOME/Maildir/.Spam/" exit } # ah well, I guess they'll just have to live with disappointment }

But as of this morning it stopped working on one machine (I have two clustered). Not sure why yet.

Rick

On Thu, 2004-03-18 at 14:29, master wrote:

what does look like your .qmail-defaut ? mine is : |preline /usr/local/bin/maildrop /etc/maildrop so i should put : |preline /usr/local/bin/maildrop /etc/maildrop | /usr/local/vpopmail/bin/vdelivermail ''

and in /etc/maildrop : if (/^X-Spam-Status: Yes*/) { # then try delivering it to a Spam folder exception { # to "$VPOP" EXITCODE = "99" to "$VHOME/Maildir/.Spam/" exit } }

?

That looks right to me, but I think vdelivermail requires a 2nd option (?) bounce-no-mailbox or a directory.

Of course, it doesn't seem to be working right now from one machine out of a two machine cluster (very odd, brand new today ;)

you mean it doesn t work if the machine is in cluster or ?

No - it's being weird right now. It's been working for the last month (I thought I was replying on a different list ;) but this morning my new 'MX' machine stopped working with maildrop. The main machine (the one with the master MySQL server, and exporting the dirs via NFS ) works fine. MX says: 2004-03-18 14:42:51.608714500 starting delivery 29: msg 512721 to local havo@havokmon.com 2004-03-18 14:42:51.608885500 status: local 1/10 remote 0/255 2004-03-18 14:42:51.746327500 delivery 29: deferral: maildrop:_Unable_to_open_mailbox./

It does that even on non-Spam emails. Not sure why maildrop wants to open my mailbox while it's just processing the message.

Oddly enough a -V results in a 'mailbox is world-writable' when it isn't... Some funky NFS issue maybe?

But the main machine works fine. <shrug>

Rick

----- Original Message ----- From: "Rick Romero" <ri@havokmon.com> To: "master" <mas@tyranz.com> Sent: Thursday, March 18, 2004 9:13 PM Subject: Re: [maildropl] maildrop & quota & forward (autorespond)

On Thu, 2004-03-18 at 13:58, master wrote:

and my others questions how with this configuration can we make work the .qmail file inside the directory ? to make feature from qmailadmin work (the autorespond , the forwaders etc) thanks

I just let it fall through to vdelivermail from my .qmail-default

if (/^X-Spam-Status: Yes*/) { # then try delivering it to a Spam folder exception { # to "$VPOP" EXITCODE = "99" to "$VHOME/Maildir/.Spam/" exit } }

Then the user's .qmail file is still honored - if it's not Spam.

Of course, it doesn't seem to be working right now from one machine out of a two machine cluster (very odd, brand new today ;)

Rick

------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system

administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click