>
>
> Christopher Koeber wrote:
>> >
>> > Hello,
>> >
>> >
>> >
>> > I am trying to get postfix working with mailman and I just can’t seem
>> > to get it to work.
>> >
>> >
>> >
>> > Essentially what I want is this:
>> >
>> >
>> >
>> > My mailing domain is students.wesleyseminary.edu
>> > <http://students.wesleyseminary.edu>.
>> >
>> >
>> >
>> > I want messages going to allstude...@students.wesleyseminary.edu
>> > <mailto:allstude...@students.wesleyseminary.edu> to go to a mailman
>> > managed distribution list that sends to the other accounts on the
>> system.
>> >
>> >
>> >
>> > Any help on this? Thanks.
>> >
>> Do you have a error/warning log entry regarding the problem? please show
>> some evidence about the problem, dont expect every member of the list
>> read all your configs.
>>
>
> *OK, everytime I send to the allstudents list I have I get this:
>
> Sep 29 13:42:57 WTS-ZIMBRA postfix/virtual[27388]: 0CE72322739: to=<
> allstude...@students.wesleyseminary.edu>, relay=virtual, delay=12994,
> delays=12994/0/0/0.1, dsn=5.1.1, status=bounced (unknown user: "
> allstude...@students.wesleyseminary.edu")
>
> Thanks for the setup info below. I am comparing now.*
>
>
>>
>> For my setup I use:
>>
>> alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
>>
>> virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman,
>> proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf
>>
>> >
>> >
>> > Here is what I have so far:
>> >
>> >
>> >
>> > 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
>> >
>> > local_transport = virtual
>> >
>> > mail_owner = postfix
>> >
>> > mailq_path = /usr/bin/mailq
>> >
>> > manpage_directory = /usr/share/man
>> >
>> > mydestination =
>> >
>> > mydomain = students.wesleyseminary.edu
>> > <http://students.wesleyseminary.edu>
>> >
>> > myhostname = wts-zimbra.wesleysem.edu <http://wts-zimbra.wesleysem.edu>
>> >
>> > mynetworks_style = subnet
>> >
>> > newaliases_path = /usr/bin/newaliases
>> >
>> > 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
>> > <http://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
>> >
>> > unknown_local_recipient_reject_code = 550
>> >
>> > virtual_alias_maps = hash:/etc/postfix/old_students.cf
>> > <http://old_students.cf>
>> >
>> > virtual_gid_maps = static:1000
>> >
>> > virtual_mailbox_base = /
>> >
>> > virtual_mailbox_domains = /etc/postfix/virtual_domains.cf
>> > <http://virtual_domains.cf>
>> >
>> > virtual_mailbox_maps = ldap:/etc/postfix/ldap-maps.cf
>> > <http://ldap-maps.cf>
>> >
>> > virtual_minimum_uid = 1000
>> >
>> > virtual_uid_maps = static:1000
>> >
>> >
>> >
>> > This is the mailmain’s alias file referenced in alias_maps:
>> >
>> >
>> >
>> > /var/lib/mailman/data/aliases
>> >
>> >
>> >
>> > # This file is generated by Mailman, and is kept in sync with the
>> >
>> > # binary hash file aliases.db.  YOU SHOULD NOT MANUALLY EDIT THIS FILE
>> >
>> > # unless you know what you're doing, and can keep the two files properly
>> >
>> > # in sync.  If you screw it up, you're on your own.
>> >
>> >
>> >
>> > # The ultimate loop stopper address
>> >
>> > mailman-loop: /var/lib/mailman/data/owner-bounces.mbox
>> >
>> >
>> >
>> > # STANZA START: mailman
>> >
>> > # CREATED: Thu Sep  2 14:05:34 2010
>> >
>> > mailman:             "|/usr/lib64/mailman/mail/mailman post mailman"
>> >
>> > mailman-admin:       "|/usr/lib64/mailman/mail/mailman admin mailman"
>> >
>> > mailman-bounces:     "|/usr/lib64/mailman/mail/mailman bounces mailman"
>> >
>> > mailman-confirm:     "|/usr/lib64/mailman/mail/mailman confirm mailman"
>> >
>> > mailman-join:        "|/usr/lib64/mailman/mail/mailman join mailman"
>> >
>> > mailman-leave:       "|/usr/lib64/mailman/mail/mailman leave mailman"
>> >
>> > mailman-owner:       "|/usr/lib64/mailman/mail/mailman owner mailman"
>> >
>> > mailman-request:     "|/usr/lib64/mailman/mail/mailman request mailman"
>> >
>> > mailman-subscribe:   "|/usr/lib64/mailman/mail/mailman subscribe
>> mailman"
>> >
>> > mailman-unsubscribe: "|/usr/lib64/mailman/mail/mailman unsubscribe
>> > mailman"
>> >
>> > # STANZA END: mailman
>> >
>> >
>> >
>> > # STANZA START: allstudents
>> >
>> > # CREATED: Thu Sep  2 14:05:34 2010
>> >
>> > allstudents:             "|/usr/lib64/mailman/mail/mailman post
>> > allstudents"
>> >
>> > allstudents-admin:       "|/usr/lib64/mailman/mail/mailman admin
>> > allstudents"
>> >
>> > allstudents-bounces:     "|/usr/lib64/mailman/mail/mailman bounces
>> > allstudents"
>> >
>> > allstudents-confirm:     "|/usr/lib64/mailman/mail/mailman confirm
>> > allstudents"
>> >
>> > allstudents-join:        "|/usr/lib64/mailman/mail/mailman join
>> > allstudents"
>> >
>> > allstudents-leave:       "|/usr/lib64/mailman/mail/mailman leave
>> > allstudents"
>> >
>> > allstudents-owner:       "|/usr/lib64/mailman/mail/mailman owner
>> > allstudents"
>> >
>> > allstudents-request:     "|/usr/lib64/mailman/mail/mailman request
>> > allstudents"
>> >
>> > allstudents-subscribe:   "|/usr/lib64/mailman/mail/mailman subscribe
>> > allstudents"
>> >
>> > allstudents-unsubscribe: "|/usr/lib64/mailman/mail/mailman unsubscribe
>> > allstudents"
>> >
>> > # STANZA END: allstudents
>> >
>> >
>> >
>> > And this is my mailman’s mm_cfg.py file:
>> >
>> >
>> >
>> >                 /etcmainman/mm_cfg.py:
>> >
>> > # -*- python -*-
>> >
>> >
>> >
>> > # Copyright (C) 1998,1999,2000,2001,2002 by the Free Software
>> > Foundation, Inc.
>> >
>> > #
>> >
>> > # This program is free software; you can redistribute it and/or
>> >
>> > # modify it under the terms of the GNU General Public License
>> >
>> > # as published by the Free Software Foundation; either version 2
>> >
>> > # of the License, or (at your option) any later version.
>> >
>> > #
>> >
>> > # This program is distributed in the hope that it will be useful,
>> >
>> > # but WITHOUT ANY WARRANTY; without even the implied warranty of
>> >
>> > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>> >
>> > # GNU General Public License for more details.
>> >
>> > #
>> >
>> > # You should have received a copy of the GNU General Public License
>> >
>> > # along with this program; if not, write to the Free Software
>> >
>> > # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
>> > 02110-1301, USA.
>> >
>> >
>> >
>> > """This module contains your site-specific settings.
>> >
>> >
>> >
>> > From a brand new distribution it should be copied to mm_cfg.py.  If you
>> >
>> > already have an mm_cfg.py, be careful to add in only the new settings
>> you
>> >
>> > want.  Mailman's installation procedure will never overwrite your
>> > mm_cfg.py
>> >
>> > file.
>> >
>> >
>> >
>> > The complete set of distributed defaults, with documentation, are in
>> > the file
>> >
>> > Defaults.py.  In mm_cfg.py, override only those you want to change,
>> > after the
>> >
>> >
>> >
>> >   from Defaults import *
>> >
>> >
>> >
>> > line (see below).
>> >
>> >
>> >
>> > Note that these are just default settings; many can be overridden via
>> the
>> >
>> > administrator and user interfaces on a per-list or per-user basis.
>> >
>> >
>> >
>> > """
>> >
>> >
>> >
>> > ###############################################
>> >
>> > # Here's where we get the distributed defaults.
>> >
>> >
>> >
>> > from Defaults import *
>> >
>> >
>> >
>> > ##################################################
>> >
>> > # Put YOUR site-specific settings below this line.
>> >
>> >
>> >
>> > DEFAULT_EMAIL_HOST = 'students.wesleyseminary.edu
>> > <http://students.wesleyseminary.edu>'
>> >
>> > DEFAULT_URL_HOST = 'students.wesleyseminary.edu
>> > <http://students.wesleyseminary.edu>'
>> >
>> > MTA = "Postfix"
>> >
>> > POSTFIX_STYLE_VIRTUAL_DOMAINS = ['wesleyministrynetwork.com
>> > <http://wesleyministrynetwork.com>', 'students.wesleyseminary.edu
>> > <http://students.wesleyseminary.edu>']
>> >
>> > add_virtualhost('www.wesleyministrynetwork.com
>> > <http://www.wesleyministrynetwork.com>', 'wesleyministrynetwork.com
>> > <http://wesleyministrynetwork.com>')
>> >
>> >
>> >
>> >
>> > Regards,
>> > Christopher Koeber
>>
>>
>> --
>> Jorge Armando Medina
>> Computación Gráfica de México
>> Web: http://www.e-compugraf.com
>> Tel: 55 51 40 72, Ext: 124
>> Email: jmed...@e-compugraf.com
>> GPG Key: 1024D/28E40632 2007-07-26
>> GPG Fingerprint: 59E2 0C7C F128 B550 B3A6  D3AF C574 8422 28E4 0632
>>
>>
>>
>

Reply via email to