OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: adamcosmic.org.uk
Date: Wed Jan 23 2002 - 05:33:30 CST

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

    Hi,
        I have acheived a typical email hosting setup by using Postfix + Courier
    Maildrop + Courier IMAPD. I am using UserDB for account data.

    I can setup completely virtual users and domains and have their email stored
    in a folder on the server for them to access by IMAP/POP3 later.

    At the moment this is all working great, however I would like to be able to
    create forwarding email addresses as well. I realize that i could do this by
    using the Virtual table (/etc/postfix/virtual) however I would like to be
    able to store forwarders for each domain in a seperate file. My ideal
    solution would be to have a .forward file under each domain folder that
    lists all forwarders for the domain.

    e.g. /usr/homes/vmail/domains/domain1.co.uk/.forward

    How can I acheive this ???

    My Current Configuration is:
    ====================
    ====================
    See documentation on Large virtual domain farm at
    http://www.inter7.com/courierimap/INSTALL.html#install

    Maildir's are stored as
    ================
    /usr/homes/vmail/domains/domain1.co.uk/user1
    /usr/homes/vmail/domains/domain1.co.uk/user2
    /usr/homes/vmail/domains/domain2.co.uk/user1
    /usr/homes/vmail/domains/domain2.co.uk/user1
    etc...

    UserDB's are stored as
    =================
    /etc/userdb/domain1.co.uk
    /etc/userdb/domain2.co.uk
    etc...

    Output from postconf -n
    =================
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/libexec/postfix
    debug_peer_level = 2
    fallback_transport = maildrop
    home_mailbox = Maildir/
    mail_owner = postfix
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/local/man
    mydomain = cosmic.org.uk
    myhostname = amnesiac.cosmic.org.uk
    myorigin = $mydomain
    newaliases_path = /usr/bin/newaliases
    queue_directory = /var/spool/postfix
    readme_directory = /tmp/postfix_readme
    sample_directory = /etc/postfix
    sendmail_path = /usr/sbin/sendmail
    setgid_group = postdrop
    transport_maps = hash:/etc/postfix/transport

    Thanks

    Adam Retter
    Network and Systems Administrator
    Project COSMIC
    administratorcosmic.org.uk
    www.cosmic.org.uk

    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system (http://www.grisoft.com).
    Version: 6.0.317 / Virus Database: 176 - Release Date: 21/01/2002
    

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