logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

re:: msg#00168

mail.imap.dbmail

Subject: re:

Just my 2cents worth

Our Postfix main.cf looks like this (everything else is deafulted)

# NO local recipient lookups
local_recipient_maps =

# DBMail looks after alles ..

mydestination = mysql:/etc/postfix/transport.cf
transport_maps = mysql:/etc/postfix/transport.cf

transport.cf contains .....

user=dbmail
password=***********
dbname=dbmail
table=domain
select_field=transport
where_field=domain
hosts=localhost

The domain table is additional to the standard dbmail sql setup and
contains (amongst other things) ..

Field Type Null Key Default Extra
systime timestamp(14) YES NULL
domain_id mediumint(7) unsigned PRI NULL auto_increment
client_idnr mediumint(7) unsigned
domain varchar(40)
is_suspended enum('No','Yes') No
transport varchar(20) dbmail:

Our hosting service runs almost entirely on the dbmail database and our
users table includes additional fields including :

uid UNIX User ID
gid UNIX Group ID
homedir user's home directory

When a new account is created. it is assigned an "internal" userid based
on service type
(someting like cm033192, etc) which lives in the UNIX passwd file and
provides GID/UID - his logon - which lives in the dbmail table "users"
will be admin@xxxxxxxxxxxxxxx - only the admin user has a gid/uid (at this
stage).

We user pure-ftpd as our FTP agent and it also has a MySQL capability. As
a result, all ftp access is also authorized using the dbmail users table.
Very simple and it all works.

Keep up the good work with DBMail - it's a great product and one of the
easiest MTAs to manage that I have come across.

--
Tom Salter

Linux is like a TEPEE - No Gates - No Windows - Apache Inside!


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
krysalis.sandbo...    web.zope.zwiki/...    gnome.apps.gnum...    xfree86.newbie/...    editors.vim/200...    mozilla.enigmai...    boot-loaders.gr...    network.vnc.ult...    redhat.release....    java.geronimo.u...    os.netbsd.devel...    horde.wicked/20...    linux.lsb.discu...    ietf.ips/2005-0...    alsa.devel/2002...    user-groups.lin...    package-managem...    debian.devel.da...    security.cyrus....    video.gstreamer...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation