Greetings, all -
        I've been having an ongoing battle with maildrop.
Here's a post I sent to 2 other lists, but recieved no response. :(

----post----

After much Googling and trial & error, I got postfix to hand mail off to
"maildrop" (turns out I needed to change the transport from virtual to
maildrop) but I can't get any farther than that.

I have "virtual users" in /home/vmail, with everything set up to be
/home/vmail/domain.com/user/.maildir - without maildrop, everything has
been working fine. However, I need server-side filtering available.

Here's what I've been running into:

Apr  2 03:11:02 [maildrop] Cannot have world/group permissions on the
filter file - for your own good.
Apr  2 03:11:02 [postfix/pipe] 2B90ABB19: to=<[EMAIL PROTECTED]>,
relay=maildrop, delay=0, status=deferred (temporary failure. Command
output: /usr/bin/maildrop: Cannot have world/group permissions on the
filter file - for your own good. )


Great! It's going to protect me from myself. How nice!

So, I change the permission to "chmod 600 .mailfilter" thus removing
world/group perms.

garbage vmail # pwd
/home/vmail
garbage vmail # ls -laF
total 12
drwxr-xr-x   15 vmail    vmail         496 Apr  1 06:47 ./
drwxr-xr-x    5 root     root          144 Mar 20 20:23 ../
-rw-------    1 vmail    vmail          44 Apr  2 03:16 .mailfilter
drw-------    2 vmail    vmail         120 Apr  2 01:33 .mailfilters/
drwxr-xr-x    2 vmail    vmail         264 Mar 28 15:55 .razor/
drwx------    2 vmail    vmail          48 Mar 30 07:06 .spamassassin/
drwxr-x---    3 vmail    vmail          80 Mar 31 23:40 capitolgarage.com/

so, it should be reading .mailfilter and doing what it says. .mailfilter
simply says "include /home/vmail/.mailfilters/$LOGNAME" for now. I read a
short howto at
http://sourceforge.net/mailarchive/message.php?msg_id=170745

If I change the permissions on .mailfilter, I get this:

Apr  2 03:18:38 [maildrop] Unable to open include file.
Apr  2 03:18:38 [postfix/pipe] E0A48BC15: to=<[EMAIL PROTECTED]>,
relay=maildrop, delay=1, status=deferred (temporary failure. Command
output: /usr/bin/maildrop: Unable to open include file. )

Grr! Regardless of the permissions on the include file, I get this error.
I thought "Maybe it's not filling in "$LOGNAME" (I still don't understand
exactly where it grabs that from) so I tried specifying a particular file.
Still no luck. :-(

I'm completely lost, but at least I'm a little bit farther down the road
than I was earlier.

I still can't get it to look into the mysql db, either.. but if I can deal
with flat files, that'll work for now.

Any suggestions?

Thanks,
-Jonathan




-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to