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: Fri Jan 25 2002 - 05:28:44 CST

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

    Chalie / Postfix List,
        Does the audb extension allow me to forward mail for certain users that
    i setup in userdb? And if so how do i set this up.

    If I use the mySQL how do I configure it for Courier Maildrop + IMAPD. i.e.
    where is the users table which is the same as userdb?
    and where is the forwarders table ?

    Thanks

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

    ----- Original Message -----
    From: "Charlie Watts" <cewattsfrontier.net>
    To: "Wietse Venema" <wietseporcupine.org>
    Cc: <adamcosmic.org.uk>; <postfix-userspostfix.org>
    Sent: Wednesday, January 23, 2002 2:53 PM
    Subject: Re: HELP Virtual Users and Forwarding email

    > This doesn't answer the forwarding question, but there is a userdb map for
    > postfix.
    >
    > http://www.thiago.joi.com.br/andre/audb.html
    >
    > Works for me. I use it like this:
    >
    > virtual_mailbox_maps =
    > hash:/etc/postfix/userdb_domains
    > audb:/etc/userdb.dat
    >
    > /etc/postfix/userdb_domains has a "domain.com MAGIC" entry for each domain
    > handled in userdb ...
    >
    > Not the most elegant, no.
    >
    > On Wed, 23 Jan 2002, Wietse Venema wrote:
    >
    > > Rather than defining every user twice, once for Postfix and once
    > > for Courier Maildrop/IMAPD, this calls for some database glue.
    > >
    > > Have Postfix and Courier talk to the same database, and administer
    > > forwarding from there. It seems wrong to have Postfix reach into
    > > the guts of Courier's message store.
    > >
    > > Wietse
    > >
    > > adamcosmic.org.uk:
    > > > 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
    >
    > --
    > Charlie Watts
    > cewattsfrontier.net
    > Frontier Internet, Inc.
    > http://www.frontier.net/
    >
    >

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