[courier-users] Re: IMAP Folders
Brenda Bell writes: Can anyone give me some advcie on IMAP clients that will let me create new shared folders? I have Courier-IMAP installed. I have a shared mailbox Shared with several shared folders. I'd like to be able to create new shared folders from a client... but everything I've tried returns an error (Invalid mailbox name). There is no facility to create shared mailboxes via IMAP. Shared mailboxes must be created using maildirmake, as described in the README. --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: IMAP folders...
Patrick Drouin writes: Hello everyone, I just installed courrier 1.6.1 on my box and I'm faced with a strange behavior. When I connect to the server using Outlook via and IMAP account and I want to see the IMAP folders, I see every single file in the users directory. Any idea what could be causing that? You are not using Courier-IMAP. --- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
RE: [courier-users] Re: IMAP Folders
Hi The sample you provided works for a courier-{user}-default file but not a courier-default file. courier-{user}-default is run under the {user} account courier-default is run under the courier daemon account (i.e. courier) Since any mail delivery to a Maildir by the courier-default file will only be readable by the courier daemon account, what use is a courier-default file? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Sam Varshavchik Sent: Wednesday, January 02, 2002 3:32 PM To: [EMAIL PROTECTED] Subject: [courier-users] Re: IMAP Folders [EMAIL PROTECTED] writes: Hi When an new IMAP folder is created from an IMAP client connecting to MS Exchange, the folder is assigned an email address (just like a public folder). Does courier have this functionality? If it not, does the source code need to be modified or can I add a script somewhere that courier will execute when a new folder is created? You can implement this using an intelligent .courier-default file (all on one line): || x=`echo $DEFAULT | tr '/' '.'`; test -d $HOME/Maildir/.$x || exit || 0; echo $HOME/Maildir/.$x/. ; exit 99 Haven't really tested this, but it should work. Haven't also looked at this closely, but it should be safe from envelope-based attacks. A shell script is also not a terribly efficient way to go about this, but you can always write some tiny executable binary that does the same thing. To send mail to [EMAIL PROTECTED]'s folder INBOX.foo.bar, the address would be [EMAIL PROTECTED], or [EMAIL PROTECTED] -- Sam ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
RE: [courier-users] Re: IMAP Folders
Hi Sorry Sam. I shouldn't have posted the last message. I got a bit confused with the $HOME/.courier-default and /aliasdir/.courier-default files but I managed to figure it out. Here's what I did. (1) I created a user imap with a maildir (1) I created a file /usr/lib/courier/etc/aliasdir/.courier-default with the following line || echo imap-$[EMAIL PROTECTED] (2) I create a file /home/imap/.courier-default with the following two lines || x=`echo $DEFAULT`; test ! -d $HOME/Maildir/.$x || echo $HOME/Maildir/.$x || x=`echo $DEFAULT`; test ! -d $HOME/Maildir/.$x || echo [EMAIL PROTECTED] When courier is unable to resolve an email address, it attempts to see if there is an imap folder with the same name. If the imap folder is found, then the mail is delivery to it. If the folder is not found, then the email is returned to the postmaster. This probably isn't the most efficient method of handling the imap folder but it allows me have emails list [EMAIL PROTECTED] without creating a user account called anyone. This more or less duplicates the functionality of public folders in MS Exchange. Does anyone see any problems with what I have done. Thanks for your help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Sam Varshavchik Sent: Thursday, January 03, 2002 2:39 PM To: [EMAIL PROTECTED] Subject: [courier-users] Re: IMAP Folders [EMAIL PROTECTED] writes: Hi The sample you provided works for a courier-{user}-default file but not a courier-default file. You are incorrect on both cases. I provide a sample .courier-default file. courier-{user}-default is run under the {user} account No it's not. .courier-{foo} is run under the user's account. courier-default is run under the courier daemon account (i.e. courier) Not true either. Since any mail delivery to a Maildir by the courier-default file will only be readable by the courier daemon account, what use is a courier-default file? See the dot-courier(5) man page. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Sam Varshavchik Sent: Wednesday, January 02, 2002 3:32 PM To: [EMAIL PROTECTED] Subject: [courier-users] Re: IMAP Folders [EMAIL PROTECTED] writes: Hi When an new IMAP folder is created from an IMAP client connecting to MS Exchange, the folder is assigned an email address (just like a public folder). Does courier have this functionality? If it not, does the source code need to be modified or can I add a script somewhere that courier will execute when a new folder is created? You can implement this using an intelligent .courier-default file (all on one line): || x=`echo $DEFAULT | tr '/' '.'`; test -d $HOME/Maildir/.$x || || exit || 0; echo $HOME/Maildir/.$x/. ; exit 99 Haven't really tested this, but it should work. Haven't also looked at this closely, but it should be safe from envelope-based attacks. A shell script is also not a terribly efficient way to go about this, but you can always write some tiny executable binary that does the same thing. To send mail to [EMAIL PROTECTED]'s folder INBOX.foo.bar, the address would be [EMAIL PROTECTED], or [EMAIL PROTECTED] -- Sam ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: IMAP Folders
[EMAIL PROTECTED] writes: (2) I create a file /home/imap/.courier-default with the following two lines || x=`echo $DEFAULT`; test ! -d $HOME/Maildir/.$x || echo $HOME/Maildir/.$x || x=`echo $DEFAULT`; test ! -d $HOME/Maildir/.$x || echo [EMAIL PROTECTED] Does anyone see any problems with what I have done. Use the syntax in my original message. You have a small race condition here (think what happens when the folder goes away right after the test completes. -- Sam ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: IMAP Folders
[EMAIL PROTECTED] writes: Hi When an new IMAP folder is created from an IMAP client connecting to MS Exchange, the folder is assigned an email address (just like a public folder). Does courier have this functionality? If it not, does the source code need to be modified or can I add a script somewhere that courier will execute when a new folder is created? You can implement this using an intelligent .courier-default file (all on one line): || x=`echo $DEFAULT | tr '/' '.'`; test -d $HOME/Maildir/.$x || exit 0; echo $HOME/Maildir/.$x/. ; exit 99 Haven't really tested this, but it should work. Haven't also looked at this closely, but it should be safe from envelope-based attacks. A shell script is also not a terribly efficient way to go about this, but you can always write some tiny executable binary that does the same thing. To send mail to [EMAIL PROTECTED]'s folder INBOX.foo.bar, the address would be [EMAIL PROTECTED], or [EMAIL PROTECTED] -- Sam ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users