Initial import of dbmail-2.0.1.
Dbmail is the name of a group of programs that enable the possiblilty of storing and retrieving mail messages from a database. Currently MySQL and PostgreSQL can be used as database backends. DBMail is made up of several components. A normal MTA (Postfix, SendMail, QMail, Exim) is used for accepting messages. The MTA hands the messages over to dbmail-smtp, using a pipe interface, or dbmail-lmtpd, using LMTP (Local Mail Transport Protocol). These programs take care of delivering the message into the database. Messages can be retreived from the database using dbmail-pop3d, using the POP3 protocol, and dbmail-imapd, using the IMAP4Rev1 protocol. The whole email is stored in the database. That includes attachments. The DBMail programs do not have to touch the filesystem to retreive or insert emails. User information is also stored in the database, so users do not need an account on the machines DBMail is running on.
This commit is contained in:
parent
b84b4ddcba
commit
e0976769fc
5 changed files with 105 additions and 0 deletions
18
mail/dbmail/DESCR
Normal file
18
mail/dbmail/DESCR
Normal file
|
@ -0,0 +1,18 @@
|
|||
Dbmail is the name of a group of programs that enable the possiblilty
|
||||
of storing and retrieving mail messages from a database. Currently
|
||||
MySQL and PostgreSQL can be used as database backends.
|
||||
|
||||
DBMail is made up of several components. A normal MTA (Postfix,
|
||||
SendMail, QMail, Exim) is used for accepting messages. The MTA
|
||||
hands the messages over to dbmail-smtp, using a pipe interface, or
|
||||
dbmail-lmtpd, using LMTP (Local Mail Transport Protocol). These
|
||||
programs take care of delivering the message into the database.
|
||||
Messages can be retreived from the database using dbmail-pop3d,
|
||||
using the POP3 protocol, and dbmail-imapd, using the IMAP4Rev1
|
||||
protocol.
|
||||
|
||||
The whole email is stored in the database. That includes attachments.
|
||||
The DBMail programs do not have to touch the filesystem to retreive
|
||||
or insert emails. User information is also stored in the database,
|
||||
so users do not need an account on the machines DBMail is running
|
||||
on.
|
31
mail/dbmail/Makefile
Normal file
31
mail/dbmail/Makefile
Normal file
|
@ -0,0 +1,31 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2005/01/09 03:21:07 schmonz Exp $
|
||||
#
|
||||
|
||||
DISTNAME= dbmail-2.0.1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.dbmail.org/download/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= schmonz@NetBSD.org
|
||||
HOMEPAGE= http://www.dbmail.org/
|
||||
COMMENT= Store and retrieve mail messages from a database
|
||||
|
||||
USE_BUILDLINK3= yes
|
||||
USE_PKGLOCALEDIR= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GNU_TOOLS+= make
|
||||
USE_LIBTOOL= yes
|
||||
|
||||
PLIST_SUBST+= SQLDB=${SQLDB}
|
||||
|
||||
SUBST_CLASSES+= sysconf
|
||||
SUBST_STAGE.sysconf= do-configure
|
||||
SUBST_FILES.sysconf= man/dbmail-imapd.8 man/dbmail-lmtpd.8 man/dbmail-pop3d.8
|
||||
SUBST_FILES.sysconf+= man/dbmail-smtp.1 man/dbmail-users.8 man/dbmail-util.8
|
||||
SUBST_FILES.sysconf+= dbmail.h
|
||||
SUBST_SED.sysconf= -e 's|/etc/dbmail\.conf|${PKG_SYSCONFDIR}/dbmail.conf|g'
|
||||
SUBST_MESSAGE.sysconf= "Fixing sysconf paths."
|
||||
|
||||
.include "options.mk"
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
18
mail/dbmail/PLIST
Normal file
18
mail/dbmail/PLIST
Normal file
|
@ -0,0 +1,18 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/09 03:21:07 schmonz Exp $
|
||||
lib/dbmail/libauthdbmail.la
|
||||
lib/dbmail/lib${SQLDB}dbmail.la
|
||||
lib/dbmail/libsortdbmail.la
|
||||
lib/libdbmail.la
|
||||
man/man1/dbmail-smtp.1
|
||||
man/man8/dbmail-imapd.8
|
||||
man/man8/dbmail-lmtpd.8
|
||||
man/man8/dbmail-pop3d.8
|
||||
man/man8/dbmail-users.8
|
||||
man/man8/dbmail-util.8
|
||||
sbin/dbmail-imapd
|
||||
sbin/dbmail-lmtpd
|
||||
sbin/dbmail-pop3d
|
||||
sbin/dbmail-smtp
|
||||
sbin/dbmail-users
|
||||
sbin/dbmail-util
|
||||
@dirrm lib/dbmail
|
4
mail/dbmail/distinfo
Normal file
4
mail/dbmail/distinfo
Normal file
|
@ -0,0 +1,4 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2005/01/09 03:21:07 schmonz Exp $
|
||||
|
||||
SHA1 (dbmail-2.0.1.tgz) = fbe5e0b2ab13257a78e9226e5e416b7d745d3c2c
|
||||
Size (dbmail-2.0.1.tgz) = 537346 bytes
|
34
mail/dbmail/options.mk
Normal file
34
mail/dbmail/options.mk
Normal file
|
@ -0,0 +1,34 @@
|
|||
# $NetBSD: options.mk,v 1.1.1.1 2005/01/09 03:21:07 schmonz Exp $
|
||||
|
||||
PKG_DEFAULT_OPTIONS+= mysql
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.dbmail
|
||||
PKG_SUPPORTED_OPTIONS= mysql pgsql
|
||||
.include "../../mk/bsd.options.mk"
|
||||
|
||||
###
|
||||
### We can't compile support for both MySQL and PostgreSQL.
|
||||
###
|
||||
.if !empty(PKG_OPTIONS:Mmysql) && !empty(PKG_OPTIONS:Mpgsql)
|
||||
PKG_FAIL_REASON+= "MySQL and PostgreSQL cannot both be compiled in." \
|
||||
"Please change ${PKG_OPTIONS_VAR} to one or the other."
|
||||
.endif
|
||||
|
||||
###
|
||||
### MySQL database support
|
||||
###
|
||||
.if !empty(PKG_OPTIONS:Mmysql)
|
||||
.include "../../databases/mysql4-client/buildlink3.mk"
|
||||
CONFIGURE_ARGS+= --with-mysql
|
||||
SQLDB= mysql
|
||||
.endif
|
||||
|
||||
###
|
||||
### PostgreSQL database support
|
||||
###
|
||||
.if !empty(PKG_OPTIONS:Mpgsql)
|
||||
DEPENDS+= postgresql74-client-[0-9]*:../../databases/postgresql74-client
|
||||
.include "../../databases/postgresql74-lib/buildlink3.mk"
|
||||
CONFIGURE_ARGS+= --with-pgsql
|
||||
SQLDB= pgsql
|
||||
.endif
|
Loading…
Reference in a new issue