OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Matthew Hawkins (matthewtopic.com.au)
Date: Tue Feb 05 2002 - 23:25:02 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Wed, 06 Feb 2002, Daniel Persson wrote:
    > Im struggling to get Cyrus and Postfix to cooperate.
    > I have installed postfix and Cyrus IMAPD.
    > I have added my users to Cyrus with cyradm.
    >
    > And i have set:
    >
    > mailbox_transport = cyrus
    > virtual_maps = dbm:/etc/postfix/virtual
    > local_transport = cyrus (not necessary anymore?)

    I don't have that last one. Also, make sure your master.cf has the
    cyrus transport activated, and that it's calling the correct cyrus
    deliver program. On Debian GNU/Linux this makes it:

    cyrus unix - n n - - pipe
        flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} ${user}

    Another possibility is to have "mailbox_transport = lmtp" and use LMTP
    to deliver to cyrus.

    > Also i have a /etc/postfix/virtual
    >
    > mydomain.com anything
    > mrtestermydomin.com mrtester
    >
    > And my /var/log/messages says:
    >
    > relay=cyrus, delay=0, status=bounced (data format error. Command output:
    > mrtester: Mailbox does not exist )
    >
    > Last time i did this, i belive that i configured mydomain as a virtual
    > domain in main.cf ?
    > (no, no backup of that configuration...)

    You don't need to configure anything as a virtual domain that is, in
    fact, a local one. ie if this box is only being MX for mydomain.com
    there is no need to use virtual domains at all.

    > So, i have scanned the archives, the HOWtos and more. It seems to be some
    > different solutions to this out there, but i cant get any to work nicely.
    >
    > Any pointers anyone ?
    > Also, what would be the correct way to map aliases to my cyrus accounts ?

    Assuming cyrus is local, then "local" will use your $alias_maps. But,
    you may like to use canonical_maps instead if you're doing something like
    translating Firstname.Lastnamemydomain.com to user92376 on cyrus.

    -- 
    Matt
    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users