6 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] couple of questions
FromSent OnAttachments
Cristian GrigoriuMar 5, 2003 9:21 am 
Gregor LawatscheckMar 5, 2003 10:46 am 
gp...@mpex.netMar 5, 2003 11:58 am 
Gregor LawatscheckMar 5, 2003 1:05 pm 
Gregor LawatscheckMar 6, 2003 10:49 pm 
Gregor LawatscheckMar 7, 2003 5:44 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] couple of questionsActions...
From:Gregor Lawatscheck (gp@mpex.net)
Date:Mar 6, 2003 10:49:41 pm
List:net.sourceforge.lists.courier-maildrop

At 09:54 06/03/2003, you wrote:

Well, but you do agree hat injecting the mail again and again will loop? With the current setup the mail will come in, be forwarded to the secretary, go through the filter again and again...

As I understand maildrop's behavior, the mail will come on my address, but not from the "right" person so it will be forwarded to my secretary. In other words, its headers will not contain a "To: cris@provus.ro" but something like "To: my.s@provus.ro". No loop at all. If I'm wrong, please correct me.

Let's look at your mailfilter again:

DEFAULT="./Maildir/" logfile "maildrop.log" if (/^From: *!.*/ && lookup($MATCH2, "email.allow")) { to "./Maildir/" } else { to "!my.s@provus.ro" }

so when From: doesn't match something it will then be forwarded to my.s@provus.ro . The From: hasn't changed. I believe my.s@provus.ro is on the same machine as your mailbox? In which case it will go through the same global filter and hence loop?

OK maybe not... depening on whether or not it's a global filter (which is what I thought) you say

a .qmail file reading: | /var/qmail/bin/preline -f /usr/bin/maildrop .mailfilter

.qmail what? .qmail-christian? .qmail-default? where can qmail find .mailfilter?

In your setup, I'm assuming maildrop should be running as the uid of the user that gets mail as to be able to write to that directory. I don't know where your maildir directories are and who they are owned by and who

should

/home/user/Maildir, owned by user. The Maildir is automatically created when adding a new user (there is a Maildir in /etc/skel).

OK

have access to them apart from the MUAs. Maildrop is a local mail delivery replacement with a good filtering engine. A local mail delivery agent needs to be able to write mail somewhere and needs adequate permissions to do

so.

Nope. I don't agree. If you and me would be users on the same machine, what about me crafting a rule to write in your $HOME/.bashrc ? :)

Neither you or me should be allowed to write in the global maildrop filter but only somone like root :).

"This account is currently not available" sounds a bit like there is no shell assigned in passwd? Could that be it?

- Gregor