Re: [Courier-imap] proper/secure permissions for maildrop and shared mailboxes

2007-12-13 Thread Joe Auty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Any idea here? Is there a separate list where I might find some people  
who are comfortable with Maildrop?

Is Maildrop the best option for rule parsing, BTW? I would love to be  
able to write sieve scripts, but I don't know of something that will  
support this under Courier


On Dec 13, 2007, at 3:50 AM, Joe Auty wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hello,
>
> I'm struggling with figuring out what users and groups are at play
> with getting Maildrop to deliver messages to my shared folder
> collection.
>
> When I have my folder collection set as such:
>
> drwxr-  6 vmail  mygroup   512 Dec 13 01:30 .Joe
>
>
> I want every user in the group "mygroup" to be able to read this
> shared mailbox, and I want maildrop, which according to my Postfix
> master.cf file is running as user "vmail":
>
> maildrop  unix  -   n   n   -   -   pipe
>   flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
>
> to be able to write to this mailbox. I'm delivering mail to this
> folder based on a maildrop rule set, NOT as myself, so "chown joe"ing
> the directory won't work with my rule set - I imagine that I would
> only want to be the owner of this directory if it was delivered
> straight there unaffected by my maildrop rules?
>
> I don't want this folder to be world readable or world writable
> obviously, but as it stands, Maildrop will only deliver to this folder
> when "everybody" has writable permission. I've tried just about every
> combination of permission set that I can think of. What permissions
> need to be assigned here to do what I want? What am I missing here?
>
>
>
>
>
>
>
>
> - ---
> Joe Auty
> NetMusician: web publishing software for musicians
> http://www.netmusician.org
> [EMAIL PROTECTED]
>
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (Darwin)
>
> iD8DBQFHYPJZCgdfeCwsL5ERAl4KAJ9k0YEkERpFCQfWtnh6TuHQ+beHjQCdG1bn
> 5aZFf7ZyRDQ3l68hb+/Zxn0=
> =SfON
> -END PGP SIGNATURE-
>
> -
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> ___
> Courier-imap mailing list
> Courier-imap@lists.sourceforge.net
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHYg2PCgdfeCwsL5ERAkeHAJ47n8b3QT1MMLdBBx6855C1KgAXLACgmQg0
08cEMaccU3gV4MXZfZcmhz8=
=vkUw
-END PGP SIGNATURE-

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap


Re: [Courier-imap] Newbie Needs Help

2007-12-13 Thread Joe Auty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I don't know about Courier IMAP, but you can do this sort of thing  
under Cyrus IMAP via perl modules. We have several perl scripts that  
do all sorts of tasks that involve direct manipulations to the Cyrus  
mail store. Of course, this doesn't take care of the POP end of  
things...



On Dec 13, 2007, at 11:36 PM, Shalom Levytam wrote:

> Thanks for your reply.  Could you please let me know the names of some
> of these existing tools.  I have been searching for two days now and
> am coming up dry.  Pretty much I would like to be able to check the
> pop3 messages using php then insert them into courier imap.  Is this
> possible ?
>
> You mentioned that I would could potentially write my own code to
> perform these functions.  Could you give me some direction in this
> regard?  What type of code?  How would it interface with CourierIMAP.
> If I am using a php function to remove a message from the imap server
> would I be able to use a similar php function to remove the message
> from the pop server ?
>
> Thanks again
>
> On 13-Dec-07, at 11:14 PM, Sam Varshavchik wrote:
>
>> Shalom Levytam writes:
>>
>>> Hi,
>>> I am a complete newbie to this list and to courierIMAP.  I was
>>> wondering if I could get some beginners advice and direction.
>>> Though I am new to establishing email servers and the like, I am
>>> proficient in programming and hopefully not completely ignorant :)
>>> I'm looking to start a new project which will involve creating
>>> what  might be called a virtual IMAP server.   Essentially, I would
>>> like to  take a pop3 email account from work and create my own imap
>>> server for  it.  My idea is that my server will check my work pop3
>>> account every  so often using a cron job or similar.  It will then
>>> download the  messages onto my own server where I could access them
>>> using my own  imap server.
>>
>> There are existing tools that will easily do this, for you.
>>
>>> if i delete a message through my imap server it would
>>> then check to see if the message is still present on my work pop3
>>> account and remove it.
>>
>> However, no tools exist that can do that part, to my knowledge.
>> Courier-IMAP is not going to do anything, after deleting a message,
>> besides deleting this message. End of story. Of course, you are free
>> to write your own code that then goes out and deletes the message
>> from your external POP3 server. This is a lot of code, but if you
>> want to do this, good luck and have fun.
>>
>>
>> -
>> SF.Net email is sponsored by:
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services
>> for just about anything Open Source.
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
>> Courier-imap mailing list
>> Courier-imap@lists.sourceforge.net
>> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier- 
>> imap
>
>
> -
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> ___
> Courier-imap mailing list
> Courier-imap@lists.sourceforge.net
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHYgz8CgdfeCwsL5ERAkV6AJ0V+boYcKEPGjWOvdDtckr/w/x7aQCeNPIO
/Rep1JEmHaWDct/zRnEc4C0=
=G7h7
-END PGP SIGNATURE-

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap


[Courier-imap] proper/secure permissions for maildrop and shared mailboxes

2007-12-13 Thread Joe Auty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I'm struggling with figuring out what users and groups are at play  
with getting Maildrop to deliver messages to my shared folder  
collection.

When I have my folder collection set as such:

drwxr-  6 vmail  mygroup   512 Dec 13 01:30 .Joe


I want every user in the group "mygroup" to be able to read this  
shared mailbox, and I want maildrop, which according to my Postfix  
master.cf file is running as user "vmail":

maildrop  unix  -   n   n   -   -   pipe
   flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}

to be able to write to this mailbox. I'm delivering mail to this  
folder based on a maildrop rule set, NOT as myself, so "chown joe"ing  
the directory won't work with my rule set - I imagine that I would  
only want to be the owner of this directory if it was delivered  
straight there unaffected by my maildrop rules?

I don't want this folder to be world readable or world writable  
obviously, but as it stands, Maildrop will only deliver to this folder  
when "everybody" has writable permission. I've tried just about every  
combination of permission set that I can think of. What permissions  
need to be assigned here to do what I want? What am I missing here?








- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHYPJZCgdfeCwsL5ERAl4KAJ9k0YEkERpFCQfWtnh6TuHQ+beHjQCdG1bn
5aZFf7ZyRDQ3l68hb+/Zxn0=
=SfON
-END PGP SIGNATURE-

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap