Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
maildrop: dot-lock err depending on location of mailfilter?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Qubax
Guru
Guru


Joined: 19 Jul 2002
Posts: 451
Location: Tirol, Austria

PostPosted: Thu Sep 23, 2004 1:47 pm    Post subject: maildrop: dot-lock err depending on location of mailfilter? Reply with quote

downloading emails with getmail

I've set up a simple mailfilter-file for testing maildrop as possible alternative to procmail. Having this file located as ~/.mailfilter, everything works fine:

Code:
[destination]
type = MDA_external
path = /usr/bin/maildrop


But now i want to have different DEFAULT's for different email-accs. So i made a .mailfilter directory and put my "test mailfilter file" in there. To tell maildrop about this, and have it still running in "delivery-mode", i changed the getmailrc in this way:

Code:
[destination]
type = MDA_external
path = /usr/bin/maildrop
arguments = ("-d","myusername","~/.mailfilters/mailfilter")


No i suddenly get the dot-lock permission error, that is reportet already sometimes here in the forum and in other places
Code:
/usr/bin/maildrop: Unable to create a dot-lock.


I tried to setuid of root to maildrop with no difference.

chmod of the dir is 700, of the filterfile 600.

Where might lie the problem? Something wich the commandline options, that i do not see?

idea behind:
get mails form acc1, filter them with the rules of ~/.mailfilters/filter1, and everything that gets through should drop in ~/.mail/acc1/ . Same for acc2, with other filters, other dropin place.

It's already running with procmail, but i want to give alternatives a try.

EDIT:

Trying
Code:
[destination]
type = MDA_external
path = /usr/bin/maildrop
arguments = ("~/.mailfilters/mailfilter")


for manual-mode produces the paranoid-error of maildrop: Cannot have world/group permissions on the filter file - for your own good.

but rights are set as discribed above.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum