Home › Forums › OS X Server and Client Discussion › Mail › Postfix delivery to shared IMAP folders
- This topic has 6 replies, 3 voices, and was last updated 20 years ago by
Anonymous.
-
AuthorPosts
-
February 5, 2005 at 4:05 am #360590
luthier
ParticipantI’ve been trying to set up some shared IMAP boxes on our xserve for our small web-based mailorder business. Ideally I would like to have several shared folders, preferably in the altnamespace, to receive non-user-specific mail for addresses like [email protected] and [email protected]. So far I’ve been able to set up the shared boxes through cyradm, but just haven’t quite figured out how to get the email into them.
I’d like to set up our server to receive mail for these addresses without having to create a whole user accounts in workgroup manager, and understand setting up virtual users (but not necessarily virtual domains) would be the most likely method, but I’m unclear how that would affect my regular user accounts.
Any hints will be greatly appreciated!
February 6, 2005 at 4:12 pm #360599luthier
ParticipantIt took some experimentation and some close study of the imapd.conf man page, but I figured this out.
1) I edited imapd.conf to enable the altnamespace and set a sharedprefix for the shared folders. This may not be necessary, but it looks good. I also considered naming a postuser, but decided to leave that blank.
2) I created the shared folders in the altnamespace with cyradm and set the inital acls to anyone write and anonymous p . I’ll tweak these later.
3) I edited /etc/aliases (NOT /etc/postfix/virtual!), adding the following aliases to deliver to my three shared folders (sales @ mydomain . com, &c, &c):
sales: +sales
orders: +orders
quote: +quotesaved it, then:
sudo postalias /etc/aliases
sudo newaliases
sudo postfix reloadAnd I’m done, no need for creating a user account in workgroup manager or anything else.
Thanks for your attention!
March 20, 2005 at 10:58 pm #361023Anonymous
GuestNow, you don’t need an account for the +sales to work, just +sales does it? How do the clients (I use Mail.app) pick up the Shared folders. I understand that they need access, but how does Cyrus know to serve up those folders?
March 27, 2005 at 8:50 pm #361101Pascal
Participant[QUOTE BY= luthier]
sales: +sales
orders: +orders
quote: +quote
[/QUOTE]We use Shared Folders (named spam & ham) for quite a while now to feed spam to SpamAssassin (sa-learn) via IMAP. Using this method POP users can do the same by redirecting mail to [email protected] when having “spam: +spam” in the alias file. Very useful!
Strange to see though that the + notation works for Shared Folders but not for address extensions …
Any explanation? Thanks!
Pascal
April 6, 2005 at 12:46 pm #361200Anonymous
GuestCan someone guide me how to create the shared mailboxes using cyradm??? Thanks…,
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed