Hello,

 

I have emailed about integrating my Postfix installation with Mailman and
discovered that I will need to redesign my Postfix configuration to make it
work. Therefore, I am asking for assistance in this task. Here is what my
mailserver needs to do:

 

.         The mail system must host the following domains

o   Students.wesleyseminary.edu

o   Wesleyministrynetwork.com

.         Both of these domains must have mail stored on this system

.         A distribution list must operate for both domains (using Mailman)

.         OpenLDAP must  be integrated for accounts on the
students.wesleyseminary.edu domain.

.         No open relaying

 

I have the configuration file below this message which I created which has
allowed me to have the students.wesleyseminary.edu domain hosted with
OpenLDAP integration but I have problems having another domain on the system
and I cannot get the Mailman install to work.

 

It was mentioned on this list that I needed to transition to transport maps
as well as using a local transport for the Mailman software but I am having
trouble with those changes.

 

Thank you for your time.

 

Regards,

 

Christopher Koeber

 

 

 

Config file:

 

###########################################################################

##

## General Postfix Configuration

##

###########################################################################

queue_directory = /var/spool/postfix

command_directory = /usr/sbin

daemon_directory = //usr/lib64/postfix

data_directory = /var/lib/postfix

inet_interfaces = all

unknown_local_recipient_reject_code = 550

mynetworks_style = subnet

local_destination_concurrency_limit = 2

default_destination_concurrency_limit = 20

debug_peer_level = 2

debugger_command =

         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin

         ddd $daemon_directory/$process_name $process_id & sleep 5

sendmail_path = /usr/sbin/sendmail

newaliases_path = /usr/bin/newaliases

mailq_path = /usr/bin/mailq

html_directory = /usr/share/doc/postfix-2.6.6/html

manpage_directory = /usr/share/man

sample_directory = /etc/postfix

readme_directory = /usr/share/doc/postfix-2.6.6/readme

###########################################################################

##

## SSL/SASL Postfix Configuration

##

###########################################################################

smtpd_sasl_auth_enable = yes

smtpd_sasl2_auth_enable = yes

smtpd_sasl_security_options = noanonymous

broken_sasl_auth_clients = yes

smtpd_sasl_local_domain =

smtpd_recipient_restrictions =

  permit_sasl_authenticated,

  permit_mynetworks,

  reject_unauth_destination

smtp_use_tls = yes

smtp_tls_note_starttls_offer = yes

smtpd_use_tls = yes

# smtpd_tls_auth_only = yes

smtpd_tls_key_file = /etc/postfix/newkey.pem

smtpd_tls_cert_file = /etc/postfix/newcert.pem

smtpd_tls_CAfile = /etc/postfix/cacert.pem

smtpd_tls_loglevel = 3

smtpd_tls_received_header = yes

smtpd_tls_session_cache_timeout = 3600s

tls_random_source = dev:/dev/urandom

###########################################################################

##

## SMTP/Relay Postfix Configuration

##

###########################################################################

#smtpd_client_restrictions = permit_mynetworks, reject

#smtpd_helo_restrictions = reject_unknown_helo_hostname

#smtpd_sender_restrictions = reject_unknown_sender_domain

#smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination

###########################################################################

##

## Host System Configuration

##

###########################################################################

virtual_mailbox_domains = /etc/postfix/virtual_domains.cf

mail_owner = postfix

myhostname = wts-zimbra.wesleysem.edu

mydomain = students.wesleyseminary.edu

mydestination =

###########################################################################

##

## LDAP Configuration

##

###########################################################################

studentemail-gid = 1000

studentemail-uid = 1000

local_transport = virtual

virtual_alias_maps = hash:/etc/postfix/old_students.cf,

        hash:/var/lib/mailman/data/virtual-mailman

virtual_mailbox_maps =
hash:/var/lib/mailman/data/aliases,ldap:/etc/postfix/ldap-maps.cf

virtual_gid_maps = static:1000

virtual_uid_maps = static:1000

virtual_mailbox_base = /

virtual_minimum_uid = 1000

###########################################################################

##

## Local Alias Configuration

##

###########################################################################

alias_maps = hash:/var/lib/mailman/data/aliases,

        hash:/etc/mail/aliases

local_recipient_maps = proxy:unix:passwd.byname $alias_maps

smtpd_banner = students.wesleyseminary.edu ESMTP $mail_name ($mail_version)

setgid_group = postdrop

home_mailbox = .Maildir/

###########################################################################

##

## MailMan Configuration

##

###########################################################################

owner_request_special = no

recipient_delimiter = +

Reply via email to