OK, based on the config below I have achieved what I set out to do below.

Everything is done properly. For getting mailman to work with postfix with
the local domains and without the need for subdomains I used transport maps
to switch for local to virtual.

See below if people need help with it. I can answer any questions.

Thank you for all of your help.

postconf -n
-----------------------------------------------
alias_maps = hash:/var/lib/mailman/data/aliases,hash:/etc/mail/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib64/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 20
home_mailbox = .Maildir/
html_directory = /usr/share/doc/postfix-2.6.6/html
inet_interfaces = all
local_destination_concurrency_limit = 2
local_recipient_maps = proxy:unix:passwd.byname $alias_maps
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = hash:/etc/postfix/local_domains.cf
mydomain = students.wesleyseminary.edu
myhostname = students.wesleyseminary.edu
mynetworks = 127.0.0.0/8
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
notify_classes = resource, software
owner_request_special = no
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/readme
recipient_delimiter = +
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_banner = students.wesleyseminary.edu ESMTP $mail_name ($mail_version)
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks,  reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_cert_file = /etc/postfix/newcert.pem
smtpd_tls_key_file = /etc/postfix/newkey.pem
smtpd_tls_loglevel = 3
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transports.cf
unknown_local_recipient_reject_code = 550
virtual_alias_domains = hash:/etc/postfix/forwarding_domains.cf
virtual_alias_maps = hash:/etc/postfix/forwarding_emails.cf
,hash:/var/lib/mailman/data/virtual-mailman,hash:/etc/postfix/
old_students.cf
virtual_gid_maps = static:1000
virtual_mailbox_base = /
virtual_mailbox_domains = hash:/etc/postfix/virtual_domains.cf
virtual_mailbox_maps = ldap:/etc/postfix/ldap-maps.cf
virtual_minimum_uid = 1000
virtual_uid_maps = static:1000

Regards,
Christopher Koeber


On Tue, Oct 5, 2010 at 2:35 PM, Christopher Kurtis Koeber <ckoe...@gmail.com
> wrote:

>  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 <http://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