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 - 12:45:32 CST

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

    Sorry,
        I really do appreciate your help, however I am a little confused here. I
    have not defined every user twice. I have only defined the users once in the
    UserDB which Postfix via. Maildrop and IMAPD share.

    Is there a suitable solution without using SQL database (not that this
    should be a problem) whereby I can keep forwarders for each domain in a
    seperate file/folder - like Sendmail .forward files.

    Thanks

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

    ----- Original Message -----
    From: "Wietse Venema" <wietseporcupine.org>
    To: <adamcosmic.org.uk>
    Cc: <postfix-userspostfix.org>
    Sent: Wednesday, January 23, 2002 1:00 PM
    Subject: Re: HELP Virtual Users and Forwarding email

    > 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
    > >
    > > 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
    > >
    > >
    >
    >

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