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.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #360590
    luthier
    Participant

    I’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!

    #360599
    luthier
    Participant

    It 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: +quote

    saved it, then:
    sudo postalias /etc/aliases
    sudo newaliases
    sudo postfix reload

    And I’m done, no need for creating a user account in workgroup manager or anything else.

    Thanks for your attention!

    #361023
    Anonymous
    Guest

    Now, 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?

    #361101
    Pascal
    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

    #361200
    Anonymous
    Guest

    Can someone guide me how to create the shared mailboxes using cyradm??? Thanks…,

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Comments are closed