18 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] replacing procmail wi...
FromSent OnAttachments
David RelsonJun 21, 2004 5:56 pm 
PollywogJun 21, 2004 6:20 pm 
Sam VarshavchikJun 21, 2004 7:01 pm 
PollywogJun 21, 2004 7:31 pm 
David RelsonJun 21, 2004 8:18 pm 
Robin Lynn FrankJun 21, 2004 9:05 pm 
Ron JohnsonJun 22, 2004 1:33 am 
Matthias AndreeJun 22, 2004 3:26 am 
David RelsonJun 22, 2004 5:04 am 
Tony EarnshawJun 22, 2004 5:08 am 
David RelsonJun 22, 2004 5:19 am 
Devin RubiaJun 22, 2004 7:34 am 
Ron JohnsonJun 22, 2004 8:15 am 
Robin Lynn FrankJun 22, 2004 8:25 am 
Matthias AndreeJun 22, 2004 8:29 am 
Nick SimicichJun 22, 2004 11:32 am 
David RelsonJun 22, 2004 2:27 pm 
Robin Lynn FrankJun 22, 2004 4:07 pm 
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] replacing procmail with maildropActions...
From:Nick Simicich (nj@scifi.squawk.com)
Date:Jun 22, 2004 11:32:44 am
List:net.sourceforge.lists.courier-maildrop

On Mon, 2004-06-21 at 20:56, David Relson wrote:

Hi,

I've been running postfix+procmail on my mail server. Since a friend has recommended using maildrop, I thought I'd give it a try. Naturally, I ran into a snag almost immediately.

This seems almost like a hole in procmail - it sounds like it is opening the log before it drops the root permissions in favor of the permissions of the delivering user. If, in fact, it is doing that as opposed to trying to be sure it does nothing it is supposed to not do.

In any case, the Unix "solution" for logging is syslog. Syslog allows you to take messages from any source, sort them by import and general type, and then put them in files, forward them to other systems, scream and shout, or drop them on the floor.

It seems that syslog logging would be a good addition to maildrop. Something as simple as

logfile syslog logclass logimport

To set the logging target to syslog, specify the class, and specify the default import.

It might be nice to have a verb added to syslog - if the first "word" in the logged statement matches a standard import level it is used as an import instead of part of the line.