summaryrefslogtreecommitdiff
path: root/mail/gld/MESSAGE.mysql
blob: 7692e02d80b0e9d09dc65a26f220741916d6188a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
===========================================================================
$NetBSD: MESSAGE.mysql,v 1.1 2006/03/02 20:54:08 wiz Exp $

To configure gld, the following steps should be completed:

 $ mysql -e "create database gld"
 $ mysql -e "grant all on gld.* to gld@localhost identified by 'PASSWORD'"
 $ mysql gld < ${PREFIX}/share/gld/tables.mysql

Modify "PASSWORD" with your desired password.

Now edit your postfix's main.cf configuration file, and add the following
line:

	smtpd_recipient_restrictions = permit_mynetworks,
		reject_unauth_destination,
		check_policy_service inet:127.0.0.1:2525

Start gld via ${RCD_SCRIPTS_DIR}/gld start

It should be running fine now; good luck!
===========================================================================