11 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] How do I set an MOTD
FromSent OnAttachments
Malaney J. HillOct 29, 2006 8:28 am 
Sam VarshavchikOct 29, 2006 8:58 am 
Malaney J. HillOct 29, 2006 9:25 am 
Sam VarshavchikOct 29, 2006 10:16 am 
Jay LeeOct 30, 2006 5:44 am 
Tony EarnshawOct 30, 2006 8:08 am 
Jay LeeOct 30, 2006 8:21 am 
Tony EarnshawOct 30, 2006 8:37 am 
Malaney J. HillOct 30, 2006 9:04 am 
Tony EarnshawOct 30, 2006 11:40 am 
Mike LeoneNov 8, 2006 11:22 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] How do I set an MOTDActions...
From:Malaney J. Hill (mala@gmail.com)
Date:Oct 29, 2006 9:25:55 am
List:net.sourceforge.lists.courier-maildrop

Thanks for the quick response!

I assume this has to be done for each user on my system right? All of my users use the same uid/gid. What does placing in tmp do? Is that step necessary? Finally, could maildrop be used to place the motd file on a user's account, say on the next mail delivery?

Malaney

On 10/29/06, Sam Varshavchik <mrs@courier-mta.com> wrote:

Malaney J. Hill writes:

Can Maildrop be used to broadcast a message to all users? I use courier with virtual maildirs and wish to avoid sending an email to each user.

Write a script to mimic normal mail delivery: save a copy of each message in Maildir/tmp, then rename it to Maildir/new. You just have to be careful and make sure that the message file in each Maildir is owned by the correct uid and gid.