Relay access denied problems
Rob Campbell <[email protected]> Tue, 17 Aug 2004 10:55:20 -0700 (PDT)
| Newsgroups | gmane.mail.jamm.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, I recently installed Jamm, Postfix and OpenLDAP. Jamm and OpenLDAP seem to be working well together, but I have not been able to get Postfix to accept mail sent to it. I want to not have any local delivery so that all domains and accounts are setup through Jamm. I'm running Postfix 2.1.4, OpenLDAP 2.2.6 and Jamm 0.9.6. I'm attaching my postfix .cf files, ldap .conf files, and my mail and slapd logs. Thank you. Rob Campbell __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail
main.cf
(application/octet-stream, 13 KB) - not displayed
master.cf
(application/octet-stream, 6.5 KB) - not displayed
ldap-accounts.cf
(application/octet-stream, 197 B) - not displayed
ldap-accountsmap.cf
(application/octet-stream, 194 B) - not displayed
ldap-aliases.cf
(application/octet-stream, 182 B) - not displayed
ldap-domains.cf
(application/octet-stream, 206 B) - not displayed
ldap.conf
(application/octet-stream, 224 B)
# # LDAP Defaults # # See ldap.conf(5) for details # This file should be world readable but not world writable. BASE dc=goeaglenet,dc=com URI ldap://localhost/ #SIZELIMIT 12 #TIMELIMIT 15 #DEREF never TLS_REQCERT allow
slapd.conf
(application/octet-stream, 3.2 KB)
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/rfc2307bis.schema
#include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/yast.schema
#include /etc/openldap/schema/courier.schema
include /etc/openldap/schema/jamm.schema
# Define global ACLs to disable default read access.
# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral ldap://root.openldap.org
pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd/slapd.args
# Load dynamic backend modules:
# modulepath /usr/lib/openldap/modules
# moduleload back_bdb.la
# moduleload back_ldap.la
# moduleload back_meta.la
# moduleload back_monitor.la
# moduleload back_perl.la
backend bdb
# Sample security restrictions
# Require integrity protection (prevent hijacking)
# Require 112-bit (3DES or better) encryption for updates
# Require 63-bit encryption for simple bind
# security ssf=1 update_ssf=112 simple_bind=64
# Sample access control policy:
# Root DSE: allow anyone to read it
# Subschema (sub)entry DSE: allow anyone to read it
# Other DSEs:
# Allow self write access to user password
# Allow anonymous users to authenticate
# Allow read access to everything else
# Directives needed to implement policy:
#access to dn.base=""
# by * read
#
#access to dn.base="cn=Subschema"
# by * read
#
#access to attr=userPassword,userPKCS12
# by self write
# by * auth
#
#access to attr=shadowLastChange
# by self write
# by * read
#
#access to *
# by * read
# if no access controls are present, the default policy
# allows anyone and everyone to read anything but restricts
# updates to rootdn. (e.g., "access to * by * read")
#
# rootdn can always read and write EVERYTHING!
#######################################################################
# bdb database definitions
#######################################################################
database bdb
checkpoint 1024 5
cachesize 10000
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /var/lib/ldap
suffix "dc=goeaglenet,dc=com"
rootdn "cn=Manager,dc=goeaglenet,dc=com"
password-hash {SSHA}
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw removed_for_security
# Indices to maintain
index objectClass pres,eq
index jvd pres,eq
index mail,cn eq,sub
index accountActive eq
index delete eq
access to dn.regex=".*,jvd=([^,]+),o=hosting,dc=goeaglenet,dc=com"
attr=userPassword
by self write
by group/jammPostmaster/roleOccupant="cn=postmaster,jvd=$1,o=hosting,dc=goeaglenet,dc=com" write
by anonymous auth
by * none
access to dn.regex=".*,jvd=([^,]+),o=hosting,dc=goeaglenet,dc=com"
by self write
by group/jammPostmaster/roleOccupant="cn=postmaster,jvd=$1,o=hosting,dc=goeaglenet,dc=com" write
by * read
access to *
by * read
maillog
(application/octet-stream, 593 B) - not displayed
slapdlog
(application/octet-stream, 2.2 KB) - not displayed