Mailman list mail for server loops back to myself

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hello Everyone,
I apologize in advance for anything I've overlooked, I'm not a postfix expert. Additionally, my wife and I are returning to school after 10 years out of the system and now have much more grabbing at our time with a little one. I am attempting to create a mailing list for a group project of my wife, and now it's a personal battle.
I spent several hours last night Googling, and have tried to implement several different "solutions."
I have "successfully" created a list with mailman, on CentOS 7 running on a VPS. The server was setup with ISPConfig 3. Additionally postfix is setup to run multiple virtual domains for myself and friends.
I have updated the binary file locations of postmap and postalias, however genalias does not create virtual-mailman.db, though it does populate the virtual-mailman table. Postfix complains it does not find the users until I manually run postmap on that file to create the database.
Additionally I cannot get the web admin pages to work, as I get a 500 error. However I've read many comments that I need to disable suexec and other options. I am running Wordpress as well as many other odds and ends and would prefer to not screw those up. My main concern is just to get the list working, webpage admin would just be icing.
Here is the maillog for a "loop"
Jul 10 10:55:00 server1 postfix/postfix-script[4275]: refreshing the Postfix mail system Jul 10 10:55:00 server1 postfix/master[1637]: reload -- version 2.10.1, configuration /etc/postfix Jul 10 10:55:00 server1 postfix/anvil[3400]: statistics: max connection rate 3/60s for (submission:96.2.151.202) at Jul 10 10:54:39 Jul 10 10:55:00 server1 postfix/anvil[3400]: statistics: max connection count 1 for (submission:96.2.151.202) at Jul 10 10:53:42 Jul 10 10:55:00 server1 postfix/anvil[3400]: statistics: max message rate 3/60s for (submission:96.2.151.202) at Jul 10 10:54:40 Jul 10 10:55:00 server1 postfix/anvil[3400]: statistics: max recipient rate 3/60s for (submission:96.2.151.202) at Jul 10 10:54:40 Jul 10 10:55:00 server1 postfix/anvil[3400]: statistics: max cache size 1 at Jul 10 10:53:42 Jul 10 10:55:01 server1 dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured Jul 10 10:55:01 server1 postfix/postscreen[4319]: CONNECT from [127.0.0.1]:37965 to [127.0.0.1]:25 Jul 10 10:55:01 server1 postfix/postscreen[4319]: WHITELISTED [127.0.0.1]:37965 Jul 10 10:55:01 server1 dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured Jul 10 10:55:01 server1 postfix/smtpd[4324]: connect from localhost[127.0.0.1] Jul 10 10:55:01 server1 postfix/smtpd[4324]: lost connection after CONNECT from localhost[127.0.0.1] Jul 10 10:55:01 server1 postfix/smtpd[4324]: disconnect from localhost[127.0.0.1] Jul 10 10:55:15 server1 postfix/submission/smtpd[3399]: disconnect from unknown[96.2.151.202] Jul 10 10:55:16 server1 postfix/submission/smtpd[4534]: warning: hostname host-202-151-2-96-static.midco.net does not resolve to address 96.2.151.202: Name or service not known Jul 10 10:55:16 server1 postfix/submission/smtpd[4534]: connect from unknown[96.2.151.202] Jul 10 10:55:16 server1 postfix/submission/smtpd[4534]: Anonymous TLS connection established from unknown[96.2.151.202]: TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits) Jul 10 10:55:16 server1 postfix/submission/smtpd[4534]: NOQUEUE: filter: RCPT from unknown[96.2.151.202]: <robert@rootunlimited.com>: Sender address triggers FILTER amavis:[127.0.0.1]:10026; from=<robert@rootunlimited.com> to=<test1@susmilch.com> proto=ESMTP helo=<archer.susmilch.com> Jul 10 10:55:16 server1 postfix/submission/smtpd[4534]: CE95B10269ED: client=unknown[96.2.151.202], sasl_method=PLAIN, sasl_username=robert@rootunlimited.com Jul 10 10:55:17 server1 postfix/cleanup[4553]: CE95B10269ED: message-id=<559FEAEF.8000202@rootunlimited.com> Jul 10 10:55:17 server1 postfix/qmgr[4279]: CE95B10269ED: from=<robert@rootunlimited.com>, sizef7, nrcpt=1 (queue active) Jul 10 10:55:17 server1 postfix/smtpd[4557]: connect from unknown[127.0.0.1] Jul 10 10:55:17 server1 postfix/smtpd[4557]: 246D610269EF: client=unknown[127.0.0.1] Jul 10 10:55:17 server1 postfix/cleanup[4553]: 246D610269EF: message-id=<559FEAEF.8000202@rootunlimited.com> Jul 10 10:55:17 server1 postfix/smtpd[4557]: disconnect from unknown[127.0.0.1] Jul 10 10:55:17 server1 postfix/qmgr[4279]: 246D610269EF: from=<robert@rootunlimited.com>, size90, nrcpt=1 (queue active) Jul 10 10:55:17 server1 amavis[23237]: (23237-16) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [96.2.151.202]:46678 [96.2.151.202] <robert@rootunlimited.com> -> <test1@server1.susmilch.com>, Queue-ID: CE95B10269ED, Message-ID: <559FEAEF.8000202@rootunlimited.com>, mail_id: biCr3Qlg5n88, Hits: -, size: 667, queued_as: 246D610269EF, dkim_new=mail:rootunlimited.com, 105 ms Jul 10 10:55:17 server1 postfix/smtp[4556]: CE95B10269ED: to=<test1@server1.susmilch.com>, orig_to=<test1@susmilch.com>, relay7.0.0.1[127.0.0.1]:10026, delay=0.43, delays=0.31/0.01/0/0.11, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 246D610269EF) Jul 10 10:55:17 server1 postfix/qmgr[4279]: CE95B10269ED: removed Jul 10 10:55:17 server1 postfix/smtp[4558]: 246D610269EF: to=<test1@server1.susmilch.com>, relay=none, delay=0.03, delays=0.01/0.02/0/0, dsn=5.4.6, status=bounced (mail for server1.susmilch.com loops back to myself) Jul 10 10:55:17 server1 postfix/cleanup[4553]: 2E25010269ED: message-id=<20150710155517.2E25010269ED@server1.susmilch.com> Jul 10 10:55:17 server1 postfix/bounce[4559]: 246D610269EF: sender non-delivery notification: 2E25010269ED Jul 10 10:55:17 server1 postfix/qmgr[4279]: 2E25010269ED: from=<>, size773, nrcpt=1 (queue active) Jul 10 10:55:17 server1 postfix/qmgr[4279]: 246D610269EF: removed Jul 10 10:55:17 server1 postfix/submission/smtpd[4534]: disconnect from unknown[96.2.151.202] Jul 10 10:55:17 server1 dovecot: lda(robert@rootunlimited.com): sieve: msgid=<20150710155517.2E25010269ED@server1.susmilch.com>: MAILER-DAEMON@server1.susmilch.com stored mail into mailbox 'INBOX' Jul 10 10:55:17 server1 postfix/pipe[4560]: 2E25010269ED: to=<robert@rootunlimited.com>, relay=dovecot, delay=0.11, delays=0.01/0.01/0/0.09, dsn=2.0.0, status=sent (delivered via dovecot service) Jul 10 10:55:17 server1 postfix/qmgr[4279]: 2E25010269ED: removed
mm_cfg.py
MAILMAN_SITE_LIST = 'mailman' DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/' PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private' IMAGE_LOGOS = '/images/mailman/' DEFAULT_EMAIL_HOST = 'server1.rootunlimited.com' DEFAULT_URL_HOST = 'server1.rootunlimited.com' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) DEFAULT_SERVER_LANGUAGE = 'en' DEFAULT_SEND_REMINDERS = 0 MTA='Postfix' POSTFIX_STYLE_VIRTUAL_DOMAINS = ['susmilch.com'] POSTFIX_MAP_CMD = '/etc/mailman/virtual_to_transport.sh'
Output of postconf -d
2bounce_notice_recipient = postmaster access_map_defer_code = 450 access_map_reject_code = 554 address_verify_cache_cleanup_interval = 12h address_verify_default_transport = $default_transport address_verify_local_transport = $local_transport address_verify_map = btree:$data_directory/verify_cache address_verify_negative_cache = yes address_verify_negative_expire_time = 3d address_verify_negative_refresh_time = 3h address_verify_poll_count = ${stress?1}${stress:3} address_verify_poll_delay = 3s address_verify_positive_expire_time = 31d address_verify_positive_refresh_time = 7d address_verify_relay_transport = $relay_transport address_verify_relayhost = $relayhost address_verify_sender = $double_bounce_sender address_verify_sender_dependent_default_transport_maps $sender_dependent_default_transport_maps address_verify_sender_dependent_relayhost_maps $sender_dependent_relayhost_maps address_verify_sender_ttl = 0s address_verify_service_name = verify address_verify_transport_maps = $transport_maps address_verify_virtual_transport = $virtual_transport alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases, nis:mail.aliases allow_mail_to_commands = alias, forward allow_mail_to_files = alias, forward allow_min_user = no allow_percent_hack = yes allow_untrusted_routing = no alternate_config_directories always_add_missing_headers = no always_bcc amavis_delivery_slot_cost = $default_delivery_slot_cost amavis_delivery_slot_discount = $default_delivery_slot_discount amavis_delivery_slot_loan = $default_delivery_slot_loan amavis_destination_concurrency_failed_cohort_limit $default_destination_concurrency_failed_cohort_limit amavis_destination_concurrency_limit $default_destination_concurrency_limit amavis_destination_concurrency_negative_feedback $default_destination_concurrency_negative_feedback amavis_destination_concurrency_positive_feedback $default_destination_concurrency_positive_feedback amavis_destination_rate_delay = $default_destination_rate_delay amavis_destination_recipient_limit = $default_destination_recipient_limi t amavis_extra_recipient_limit = $default_extra_recipient_limit amavis_initial_destination_concurrency = $initial_destination_concurrenc y amavis_minimum_delivery_slots = $default_minimum_delivery_slots amavis_recipient_limit = $default_recipient_limit amavis_recipient_refill_delay = $default_recipient_refill_delay amavis_recipient_refill_limit = $default_recipient_refill_limit anvil_rate_time_unit = 60s anvil_status_update_time = 600s append_at_myorigin = yes append_dot_mydomain = yes application_event_drain_time = 100s authorized_flush_users = static:anyone authorized_mailq_users = static:anyone authorized_submit_users = static:anyone tlsproxy_tls_key_file = $smtpd_tls_key_file tlsproxy_tls_loglevel = $smtpd_tls_loglevel tlsproxy_tls_mandatory_ciphers = $smtpd_tls_mandatory_ciphers tlsproxy_tls_mandatory_exclude_ciphers $smtpd_tls_mandatory_exclude_ciphers tlsproxy_tls_mandatory_protocols = $smtpd_tls_mandatory_protocols tlsproxy_tls_protocols = $smtpd_tls_protocols tlsproxy_tls_req_ccert = $smtpd_tls_req_ccert tlsproxy_tls_security_level = $smtpd_tls_security_level tlsproxy_tls_session_cache_timeout = $smtpd_tls_session_cache_timeout tlsproxy_use_tls = $smtpd_use_tls tlsproxy_watchdog_timeout = 10s trace_service_name = trace transport_maps transport_retry_time = 60s trigger_timeout = 10s undisclosed_recipients_header unknown_address_reject_code = 450 unknown_address_tempfail_action = $reject_tempfail_action unknown_client_reject_code = 450 unknown_helo_hostname_tempfail_action = $reject_tempfail_action unknown_hostname_reject_code = 450 unknown_local_recipient_reject_code = 550 unknown_relay_recipient_reject_code = 550 unknown_virtual_alias_reject_code = 550 unknown_virtual_mailbox_reject_code = 550 unverified_recipient_defer_code = 450 unverified_recipient_reject_code = 450 unverified_recipient_reject_reason unverified_recipient_tempfail_action = $reject_tempfail_action unverified_sender_defer_code = 450 unverified_sender_reject_code = 450 unverified_sender_reject_reason unverified_sender_tempfail_action = $reject_tempfail_action verp_delimiter_filter = -=+ virtual_alias_domains = $virtual_alias_maps virtual_alias_expansion_limit = 1000 virtual_alias_maps = $virtual_maps virtual_alias_recursion_limit = 1000 virtual_delivery_slot_cost = $default_delivery_slot_cost virtual_delivery_slot_discount = $default_delivery_slot_discount virtual_delivery_slot_loan = $default_delivery_slot_loan virtual_destination_concurrency_failed_cohort_limit $default_destination_concurrency_failed_cohort_limit virtual_destination_concurrency_limit $default_destination_concurrency_limit virtual_destination_concurrency_negative_feedback $default_destination_concurrency_negative_feedback virtual_destination_concurrency_positive_feedback $default_destination_concurrency_positive_feedback virtual_destination_rate_delay = $default_destination_rate_delay virtual_destination_recipient_limit = $default_destination_recipient_lim it virtual_extra_recipient_limit = $default_extra_recipient_limit virtual_gid_maps virtual_initial_destination_concurrency = $initial_destination_concurren cy virtual_mailbox_base virtual_mailbox_domains = $virtual_mailbox_maps virtual_mailbox_limit = 51200000 virtual_mailbox_lock = fcntl, dotlock virtual_mailbox_maps virtual_minimum_delivery_slots = $default_minimum_delivery_slots virtual_minimum_uid = 100 virtual_recipient_limit = $default_recipient_limit virtual_recipient_refill_delay = $default_recipient_refill_delay virtual_recipient_refill_limit = $default_recipient_refill_limit virtual_transport = virtual virtual_uid_maps
Respectfully,
Robert Susmilch =======The "gobbledygook" in this email is due to this email having been "signed" with PGP (or the free GPG). If both parties (sender and receiver) had PGP key's the entire email could be encrypted (rendered secure and unreadable except by the key holders) for confidentiality and security. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iQIcBAEBCAAGBQJVn+7gAAoJEJvhIiLnDQ8qONwP/RhgtCnxJ4TVi1tTLFZmPtBk X0KEH55jcnp5c2sFLWRh/gC3gEQS6npL0e2X2WQIRZa4dtadLu8bwYhoWrvzC3QY M2D6zO/0TN5TKHarXDCTYFks5ZcVcWkDyj3lW/MowPqDcHMCzJ2InXK95BSFef8n 8VrFMfiuv5rA7CmFkhC8VWwrKSMzJsDu3Cq+Rh0oj7enQ9l3UFn7x6sgfKlul5dp hIwa9Lhkw4JwNy9N8Np7vM25UL0Kh6Zn6kaEVUuMeDNDeKcbyD0NZswYzBi8GqWG VMJE7mTRuH93yA34IZJd2obv1PvNuq9nuR2RE3Xb0Wb/MsmdCG0Dq8DljNjGk9Wg YhKLrOk5dVRKhfc8pEkTS7FlPElcu25JTqAF04e3NP95oiFiYaBp81SM01Ebm9KX ja2oC99IBFBLEDhsx9q3fEtJ5Tu6bnAugJMBQhfkpDCoxdsPYW135RtZ3M3ClcLz DbbVACmP0cYOzxXopNmepT4NZnuz/NxM/neXSH6z2SrEd8jGpNNrsLFUvAEynYPP XMatbwPye6n4jtPRMtyB+GeW1PI+8gedWTF05FBDhU/wXuaBxBqGPFz8ujZ7fozM Wa3sAV68SU6tvnTaOwcbSgEoUktjNZbL9CEvOC9sx4rVaC/9n/BBLec/+Iftl16K WngV6F82NEBnC1DQnM6t =4SpA -----END PGP SIGNATURE-----

On 7/10/15 9:12 AM, Robert Susmilch wrote:
Because you apparently have at least partially followed <http://wiki.list.org/x/10715238> which alters POSTFIX_MAP_CMD to point to a script which doesn't do postmap on virtual-mailman.
What's in the web server (Apache) error log?
Here is the maillog for a "loop"
...
Your message got submitted.
And came back from amavis
Relayed to localhost, why?
and bounces. It should have been delivered above instead of relayed to itself.
...
You probably want
add_virtualhost('???.susmilch.com', 'susmilch.com')
and likewise other virtual domains.
POSTFIX_MAP_CMD = '/etc/mailman/virtual_to_transport.sh'
Presumably you are doing this because Dovecot is the default LDA in your postfix. It should work if properly configured. It doesn't create virtual-mailman.db because it doesn't use it. it uses transport_maps to map list addresses to Postfix's local transport and that in turn uses aliases to deliver to Mailman.
Output of postconf -d
This says nothing about YOUR Postfix config. -d says output the defaults. 'postconf -n' is what we want to see.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Dear Mr. Sapiro,
I will attempt to answer best I can inline.
On 07/11/2015 11:12 AM, Mark Sapiro wrote:
I absolutely hate ISPConfig... it fights me at every turn. I'm also an apache newbie and that doesn't help. I'd be happy to run a small list for maybe a dozen people, I can manually add them to not fight with apache right now.
I believe it is going for tagging as either internal or external which then leads into the DKIM signatures. It's been a year or so since I set it all up, and I should have kept better notes.
I have noticed that the submission email gets rewritten as "test1@server1.susmilch.com" and that can't be good.
So that virtual domain should be already taken care of with DEFAULT_EMAIL_HOST?
I was doing this because someone, somewhere, said to create this script.
Sorry I was tired and did the wrong command. D'oh.
[root@server1 log]# postconf -n postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases anvil_rate_time_unit = 60s body_checks = regexp:/etc/postfix/body_checks broken_sasl_auth_clients = yes check_greylist = check_policy_service unix:postgrey/socket command_directory = /usr/sbin config_directory = /etc/postfix content_filter = amavis:[127.0.0.1]:10024 daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix 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 default_destination_concurrency_limit = 20 disable_vrfy_command = yes dovecot_destination_recipient_limit = 1 header_checks = regexp:/etc/postfix/header_checks html_directory = no inet_interfaces = all inet_protocols = ipv4 local_destination_concurrency_limit = 2 mail_owner = postfix mailbox_size_limit = 8489271296 maildrop_destination_concurrency_limit = 1 maildrop_destination_recipient_limit = 1 mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man message_size_limit = 209715200 mime_header_checks = regexp:/etc/postfix/mime_header_checks mydestination = server1.rootunlimited.com, localhost, localhost.localdomain myhostname = server1.susmilch.com mynetworks = 127.0.0.0/8 [::1]/128 188.166.17.164/32 192.249.60.160/32 107.191.103.120/32 nested_header_checks = regexp:/etc/postfix/nested_header_checks newaliases_path = /usr/bin/newaliases.postfix policy-spf_time_limit = 3600s postscreen_access_list = permit_mynetworks, cidr:/etc/postfix/postscreen_access.cidr postscreen_bare_newline_action = enforce postscreen_bare_newline_enable = yes postscreen_bare_newline_ttl = 30d postscreen_blacklist_action = drop postscreen_dnsbl_action = enforce postscreen_dnsbl_sites = zen.spamhaus.org*3 b.barracudacentral.org*2 bl.spameatingmonkey.net*2 dnsbl.ahbl.org*2 bl.spamcop.net dnsbl.sorbs.net psbl.surriel.com bl.mailspike.net swl.spamhaus.org*-4 list.dnswl.org=127.[0..255].[0..255].0*- 2 list.dnswl.org=127.[0..255].[0..255].1*-3 list.dnswl.org=127.[0..255].[0..255].[2..255]*-4 postscreen_dnsbl_threshold = 3 postscreen_greet_action = enforce postscreen_greet_wait = ${stress?5}${stress:15}s postscreen_non_smtp_command_action = enforce postscreen_non_smtp_command_enable = yes postscreen_non_smtp_command_ttl = 30d postscreen_pipelining_action = enforce postscreen_pipelining_enable = yes postscreen_pipelining_ttl = 30d proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canon ical_maps $relocated_maps $transport_maps $mynetworks queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES recipient_delimiter = - relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf relayhost = sample_directory = /usr/share/doc/postfix-2.10.1/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtp_tls_loglevel = 1 smtp_tls_protocols = !SSLv2,!SSLv3 smtp_tls_security_level = may smtpd_banner = $myhostname ESMTP $mail_name smtpd_client_event_limit_exceptions = $mynetworks smtpd_client_message_rate_limit = 100 smtpd_client_recipient_rate_limit = 15 smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf, permit smtpd_data_restrictions = reject_unauth_pipelining, permit smtpd_delay_reject = yes smtpd_error_sleep_time = 10s smtpd_hard_error_limit = 20 smtpd_helo_required = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_invalid_hostname, reject_unauth_pipelining, reject_non_fqdn_sender, check_recipient_access mysql:/etc/postfix/mysql-virtual_re cipient.cf, check_sender_access hash:/etc/postfix/access_sender_hash, check_client_access hash:/etc/postfix/white_list_hash, reject_unknown_sender_domain, reject_non_fqdn_recipient, reject_unknown_recipient_domain, check_helo_access hash :/etc/postfix/helo_checks, check_policy_service unix:private/policy-spf, permit smtpd_restriction_classes = check_greylist smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_sasl_path = private/auth smtpd_sasl_type = dovecot smtpd_sender_restrictions = check_sender_access regexp:/etc/postfix/tag_as_originating.re, permit_mynetworks, permit_sasl_authenticated, permit_tls_clientcerts, check_sender_access regexp:/etc/postfix/tag_as_foreign.re, check_sender_acce ss mysql:/etc/postfix/mysql-virtual_sender.cf smtpd_soft_error_limit = 1 smtpd_tls_cert_file = /etc/postfix/smtpd.cert smtpd_tls_dh1024_param_file = /etc/postfix/dh_1024.pem smtpd_tls_dh512_param_file = /etc/postfix/dh_512.pem smtpd_tls_eecdh_grade = strong smtpd_tls_key_file = /etc/postfix/smtpd.key smtpd_tls_loglevel = 1 smtpd_tls_mandatory_protocols = !SSLv2,!SSLv3 smtpd_tls_protocols = !SSLv2,!SSLv3 smtpd_tls_security_level = may smtpd_use_tls = yes soft_bounce = no tls_preempt_cipherlist = yes transport_maps = hash:/var/lib/mailman/data/transport-mailman, proxy:mysql:/etc/postfix/mysql-virtual_transports.cf unknown_local_recipient_reject_code = 550 virtual_alias_domains = virtual_alias_maps = hash:/etc/mailman/virtual-mailman, proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf, hash:/etc/postfix/psy2200 virtual_gid_maps = static:5000 virtual_mailbox_base = /var/vmail virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf virtual_mailbox_limit = $message_size_limit virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf virtual_transport = dovecot virtual_uid_maps = static:5000
I'm unsure what more configuration you require. Amavisd.conf?
Respectfully,
Robert Susmilch
The "gobbledygook" in this email is due to this email having been "signed" with PGP (or the free GPG). If both parties (sender and receiver) had PGP key's the entire email could be encrypted (rendered secure and unreadable except by the key holders) for confidentiality and security. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iQIcBAEBCAAGBQJVpvFKAAoJEJvhIiLnDQ8qczoP/3U7XD0K3l0xkMwAGwF7KMOo C+GRZ4DXymUFxxRvTMa/4aVBEpn1X7UjfMeWS3IpS6V/nbtNjBmpTVEsvytqfpYz TG6aHq2oj9rZXHHBAAo8xby9NJGLT5G9mpq6YjBCPi9IQqGqvmAWNT6lPedrD3tW VbIOOQlkuC5ZSAXkcZMgRA6l+PFZ03iQwouvHNfMPqSSL8OFyYIj69PizGshvfVf yfA8NarlEv0FMZrf9lfXZ3xh1Tyfh1NFa6YByEYKmuxizSIlWh9kMYxliyy8cxL4 9EjoCgj+Q8G8icwU0//513el2N6ZJWt+8r0nh1TJICG8K+/w/srHAQKkGnW+yaSC oP0kukTmBcfQOmYYidq+KulGRGqov9QaoWoBH1wLH2xJPAh80lrSRC6yTRFIEBXo xxmol945IwfLhF7g/uXGV+I/cfZYFrdNU7gIxz2eFhiPmxwrZhQHmOVF7rf9TZgi 1bpHqfG2SBivixo8ePfyNhkkfLkNquCpPCULjNB89zrzC7MTzdJP9HUp1kduLnOr 2no8WCVou43UYVeUArooMljcCCDB8g333Cpd3ZrYwxxH9sbJNG0mM/lNBuDseDgT tmxsSQ6+pZCYKSGnW9Skap6DlqPcCmyHroXRqRjAs/xgWIAN/g8spmnGgXQ/u1XP Z9yz5bKx7UAE7O1xpbZo =qZxx -----END PGP SIGNATURE-----

On 7/15/15 4:48 PM, Robert Susmilch wrote:
That doesn't answer my question?
...
But DEFAULT_EMAIL_HOST is 'server1.rootunlimited.com' which is not 'susmilch.com'.
OK, we'll go with it it the remarks below.
Here you need to add hash:/etc/mailman/aliases, i.e.,
alias_maps = hash:/etc/aliases hash:/etc/mailman/aliases
virtual_alias_maps = hash:/etc/mailman/virtual-mailman,
Remove hash:/etc/mailman/virtual-mailman. It is not used in your case which is why Mailman doesn't create virtual-mailman.db automatically
...
I'm unsure what more configuration you require. Amavisd.conf?
If you make the above changes to main.cf, i.e., add hash:/etc/mailman/aliases to alias_maps and remove hash:/etc/mailman/virtual-mailman from virtual_alias_maps and also keep hash:/var/lib/mailman/data/transport-mailman in transport_maps, I think Postfix will deliver to Mailman.
If you are interested in solving your web server 500 error, show me the relevant apache error log stuff.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
By disabling the amavis filters in main.cf I get a successful delivery.
Jul 15 19:10:25 server1 postfix/submission/smtpd[26594]: warning: hostname host-202-151-2-96-static.midco.net does not resolve to address 96.2.151.202: Name or service not known Jul 15 19:10:25 server1 postfix/submission/smtpd[26594]: connect from unknown[96.2.151.202] Jul 15 19:10:26 server1 postfix/submission/smtpd[26594]: Anonymous TLS connection established from unknown[96.2.151.202]: TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits) Jul 15 19:10:26 server1 postfix/submission/smtpd[26594]: 8AFA527C8D71: client=unknown[96.2.151.202], sasl_method=PLAIN, sasl_username=katherine@susmilch.com Jul 15 19:10:26 server1 postfix/cleanup[26497]: 8AFA527C8D71: message-id=<55A6F686.2040309@susmilch.com> Jul 15 19:10:26 server1 postfix/qmgr[26466]: 8AFA527C8D71: from=<katherine@susmilch.com>, size=634, nrcpt=1 (queue active) Jul 15 19:10:27 server1 postfix/local[26604]: 8AFA527C8D71: to=<test1@susmilch.com>, relay=local, delay=0.54, delays=0.3/0.04/0/0.2, dsn=2.0.0, status=sent (delivered to command: /usr/lib/mailman/mail/mailman post test1) Jul 15 19:10:27 server1 postfix/qmgr[26466]: 8AFA527C8D71: removed Jul 15 19:10:27 server1 postfix/submission/smtpd[26594]: disconnect from unknown[96.2.151.202] Jul 15 19:10:28 server1 dovecot: imap-login: Login: user=<katherine@susmilch.com>, method=PLAIN, rip=96.2.151.202, lip=192.249.60.160, mpid=26632, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jul 15 19:10:29 server1 postfix/postscreen[26640]: CONNECT from [127.0.0.1]:52202 to [127.0.0.1]:25 Jul 15 19:10:29 server1 postfix/postscreen[26640]: WHITELISTED [127.0.0.1]:52202 Jul 15 19:10:29 server1 postfix/smtpd[26641]: connect from localhost[127.0.0.1] Jul 15 19:10:29 server1 postfix/smtpd[26641]: 4F1A32B8AF0B: client=localhost[127.0.0.1] Jul 15 19:10:29 server1 postfix/cleanup[26497]: 4F1A32B8AF0B: message-id=<55A6F686.2040309@susmilch.com> Jul 15 19:10:29 server1 postfix/qmgr[26466]: 4F1A32B8AF0B: from=<test1-bounces@susmilch.com>, size=1623, nrcpt=2 (queue active) Jul 15 19:10:29 server1 postfix/smtpd[26641]: disconnect from localhost[127.0.0.1] Jul 15 19:10:29 server1 dovecot: lda(robert@rootunlimited.com): sieve: msgid=<55A6F686.2040309@susmilch.com>: katherine@susmilch.com stored mail into mailbox 'INBOX' Jul 15 19:10:29 server1 postfix/pipe[26644]: 4F1A32B8AF0B: to=<robert@rootunlimited.com>, relay=dovecot, delay=0.23, delays=0.05/0.03/0/0.14, dsn=2.0.0, status=sent (delivered via dovecot service) Jul 15 19:10:29 server1 dovecot: lda(katherine@susmilch.com): sieve: msgid=<55A6F686.2040309@susmilch.com>: katherine@susmilch.com stored mail into mailbox 'INBOX' Jul 15 19:10:29 server1 postfix/pipe[26532]: 4F1A32B8AF0B: to=<katherine@susmilch.com>, relay=dovecot, delay=0.33, delays=0.05/0.03/0/0.25, dsn=2.0.0, status=sent (delivered via dovecot service) Jul 15 19:10:29 server1 postfix/qmgr[26466]: 4F1A32B8AF0B: removed
By disabling content_filter = amavis:[127.0.0.1]:10024 it doesn't seem to double up and rewrite the address to test1@server1.susmilch.com.
Respectfully,
Robert Susmilch
The "gobbledygook" in this email is due to this email having been "signed" with PGP (or the free GPG). If both parties (sender and receiver) had PGP key's the entire email could be encrypted (rendered secure and unreadable except by the key holders) for confidentiality and security. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iQIcBAEBCAAGBQJVpvvAAAoJEJvhIiLnDQ8q6lkP/02n3xiYHd0gcKIHv20J/gdn ochbYLQwx8YVk/Ly2dguKiu2NT0cAsgRQ4MDxFoy1hXcXbS6eWAqV30p33ydhSHJ txXX+8K6CyEpEv+VL/tYogQmW89GpwIpt3qJCPXGMIUido+boHokokvtwNQ5/jaA bsc4scfdO1qt4gt6W6wZ+cgBXY8ngZdrx5jdfrwdpimCT0rRcItfXj3qNNTMDiOc zUfTo3lUOnd4eKxg9o/DQWxkrp5Ji+gG/kbucDGMh/79xGcoNSyhxktQ1wGmiFu0 bfaB7tLIdTWVRODl4hmp5J8nmldKI7vr2tBkrXeCQ84t2oFnGUuR5iKWuOruHdoS 4PQzyvcrecVcPOcxuq2L9AyTDZScqCifucZEYqMwlPiQb9aEKMSlL+AzyrDjwgf8 hQkXk/5y/nIzR1YoUNoPVsLPaUt2zXSHv6WZV1RWFmpT1txsckCRXnoqsJzSNFc+ VFm5NjALE3XRGQESR3c/rZFl7DCWfjjm7ZvmFNxHwfmK28l3L/VLBwNOdoJdkqwM mVM4v6oTAJOezIrwSgKC7Ai3ZkzYP0W4o3/aPEACQTAVFx/XOyf49rXM2f3KXGGW uG7OTNoSirBMFVJtmvAlAR5f9oPsNo5GKRgwLHrWXYcKz6dgas2n4uJ6r1yyLqwn Lw9ynG/G9nEUkLtiBZVy =9u/f -----END PGP SIGNATURE-----

On 7/15/15 5:33 PM, Robert Susmilch wrote:
OK. The rewriting definitely seems to be part of the issue, but there are probably other ways to deal with that without disabling amavis, if you want to do that.
The virtual_to_transport script could be modified to write the domain as server1.susmilch.com for example.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
So... here's where I'm at. I took your suggestions to heart and tried them. Didn't work. I reinstalled mailman from rpm and started with a fresh mm_cfg.py.
Didn't work.
I reapplied my old config and changed my hostnames from my old business domain to susmilch.com. I left the virtual_to_transport.sh line .
If I remove virtual-mailman from main.cf, it complains rejecting my email with an unknown recipient.
I restore virtual-mailman and postfix is happy. However, if I don't run postmap on that after genaliases with a new list, the database is out of date (obviously since genaliases doesn't run it).
If I leave out the virtual_to_transport script and create a new list, it will not create the transport-mailman database.
I have edited the virtual_to_transport.sh to run postmap on virtual-mailman and it seems to work.
At this point it seems to work. I have created two new lists and can sen d.
My concern is I thought not having a FQDN as myhostname in main.cf of postfix was bad karma.
Thanks for you time, if you have any suggestions I'd love to hear them.
On 07/15/2015 07:52 PM, Mark Sapiro wrote:
Respectfully,
Robert Susmilch
The "gobbledygook" in this email is due to this email having been "signed" with PGP (or the free GPG). If both parties (sender and receiver) had PGP key's the entire email could be encrypted (rendered secure and unreadable except by the key holders) for confidentiality and security. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iQIcBAEBCAAGBQJVpwmwAAoJEJvhIiLnDQ8qtbkP/iHdnZj+dg9a0t5Q3Gt78dnx Z6CfrEbkKDbFK7M6ym181IDPrK5yRHJDcdUdQFaIDuYUljWeV4MrYNM5fXUIrTEW D7fFd0p/iVoDrwd5y88trFNasRi8Oxh5Pv8umhHn7oyq8JQg3qcd7MyDtkPi4sE9 FfBB+aF3IhUh3scSTYXiRhhgCtZ9/z1YIF5CCzDRTYFrKa68iRiv9GZqQcArlW0/ bHcXguhbgLqrQhAwzhhcmzRoLItV9SQnRdVYhGxP7z0ZeKNt5HKnxEnca7nPLOzN UDWXLVnZh2p7vcC5MN/Cyycf2zO4OT0Br3Gk/T5DdNO5NwnKZbV6GMvL1dfxK4ub ZpqOEc8kfjTYsnGISGc8pmziIogXPp8AwJRAEwMGblu8KpQFWLWc9kc0gxvpjSLe +6rMyvD7S+OWR6Y8xoilgQXrn6hG/bRmvWWGIqhGYAUgosttWaQBxrNBdvtNPpgN Au2rl/DI6Kuok+8/D5fpCPl8UFcZqjTcHRb68OdiToqNBgRwdq6k7t3PGInt2kc9 3AIEYgeo8nexgQVXD1eJRUsQr8G7xhbtRTYCpyd0WUlnqF8blq0ATezIFa10B9on 5dQ7B/ETGmwSw48ieKo5gaiq8Td/icdQCZVSf+9Us0q9mpdQGFQ4mkMQfDsJo2Of ok4234iNsVDxEMtYWdXm =iHnC -----END PGP SIGNATURE-----

On 7/10/15 9:12 AM, Robert Susmilch wrote:
Because you apparently have at least partially followed <http://wiki.list.org/x/10715238> which alters POSTFIX_MAP_CMD to point to a script which doesn't do postmap on virtual-mailman.
What's in the web server (Apache) error log?
Here is the maillog for a "loop"
...
Your message got submitted.
And came back from amavis
Relayed to localhost, why?
and bounces. It should have been delivered above instead of relayed to itself.
...
You probably want
add_virtualhost('???.susmilch.com', 'susmilch.com')
and likewise other virtual domains.
POSTFIX_MAP_CMD = '/etc/mailman/virtual_to_transport.sh'
Presumably you are doing this because Dovecot is the default LDA in your postfix. It should work if properly configured. It doesn't create virtual-mailman.db because it doesn't use it. it uses transport_maps to map list addresses to Postfix's local transport and that in turn uses aliases to deliver to Mailman.
Output of postconf -d
This says nothing about YOUR Postfix config. -d says output the defaults. 'postconf -n' is what we want to see.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Dear Mr. Sapiro,
I will attempt to answer best I can inline.
On 07/11/2015 11:12 AM, Mark Sapiro wrote:
I absolutely hate ISPConfig... it fights me at every turn. I'm also an apache newbie and that doesn't help. I'd be happy to run a small list for maybe a dozen people, I can manually add them to not fight with apache right now.
I believe it is going for tagging as either internal or external which then leads into the DKIM signatures. It's been a year or so since I set it all up, and I should have kept better notes.
I have noticed that the submission email gets rewritten as "test1@server1.susmilch.com" and that can't be good.
So that virtual domain should be already taken care of with DEFAULT_EMAIL_HOST?
I was doing this because someone, somewhere, said to create this script.
Sorry I was tired and did the wrong command. D'oh.
[root@server1 log]# postconf -n postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases anvil_rate_time_unit = 60s body_checks = regexp:/etc/postfix/body_checks broken_sasl_auth_clients = yes check_greylist = check_policy_service unix:postgrey/socket command_directory = /usr/sbin config_directory = /etc/postfix content_filter = amavis:[127.0.0.1]:10024 daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix 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 default_destination_concurrency_limit = 20 disable_vrfy_command = yes dovecot_destination_recipient_limit = 1 header_checks = regexp:/etc/postfix/header_checks html_directory = no inet_interfaces = all inet_protocols = ipv4 local_destination_concurrency_limit = 2 mail_owner = postfix mailbox_size_limit = 8489271296 maildrop_destination_concurrency_limit = 1 maildrop_destination_recipient_limit = 1 mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man message_size_limit = 209715200 mime_header_checks = regexp:/etc/postfix/mime_header_checks mydestination = server1.rootunlimited.com, localhost, localhost.localdomain myhostname = server1.susmilch.com mynetworks = 127.0.0.0/8 [::1]/128 188.166.17.164/32 192.249.60.160/32 107.191.103.120/32 nested_header_checks = regexp:/etc/postfix/nested_header_checks newaliases_path = /usr/bin/newaliases.postfix policy-spf_time_limit = 3600s postscreen_access_list = permit_mynetworks, cidr:/etc/postfix/postscreen_access.cidr postscreen_bare_newline_action = enforce postscreen_bare_newline_enable = yes postscreen_bare_newline_ttl = 30d postscreen_blacklist_action = drop postscreen_dnsbl_action = enforce postscreen_dnsbl_sites = zen.spamhaus.org*3 b.barracudacentral.org*2 bl.spameatingmonkey.net*2 dnsbl.ahbl.org*2 bl.spamcop.net dnsbl.sorbs.net psbl.surriel.com bl.mailspike.net swl.spamhaus.org*-4 list.dnswl.org=127.[0..255].[0..255].0*- 2 list.dnswl.org=127.[0..255].[0..255].1*-3 list.dnswl.org=127.[0..255].[0..255].[2..255]*-4 postscreen_dnsbl_threshold = 3 postscreen_greet_action = enforce postscreen_greet_wait = ${stress?5}${stress:15}s postscreen_non_smtp_command_action = enforce postscreen_non_smtp_command_enable = yes postscreen_non_smtp_command_ttl = 30d postscreen_pipelining_action = enforce postscreen_pipelining_enable = yes postscreen_pipelining_ttl = 30d proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canon ical_maps $relocated_maps $transport_maps $mynetworks queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES recipient_delimiter = - relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf relayhost = sample_directory = /usr/share/doc/postfix-2.10.1/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtp_tls_loglevel = 1 smtp_tls_protocols = !SSLv2,!SSLv3 smtp_tls_security_level = may smtpd_banner = $myhostname ESMTP $mail_name smtpd_client_event_limit_exceptions = $mynetworks smtpd_client_message_rate_limit = 100 smtpd_client_recipient_rate_limit = 15 smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf, permit smtpd_data_restrictions = reject_unauth_pipelining, permit smtpd_delay_reject = yes smtpd_error_sleep_time = 10s smtpd_hard_error_limit = 20 smtpd_helo_required = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_invalid_hostname, reject_unauth_pipelining, reject_non_fqdn_sender, check_recipient_access mysql:/etc/postfix/mysql-virtual_re cipient.cf, check_sender_access hash:/etc/postfix/access_sender_hash, check_client_access hash:/etc/postfix/white_list_hash, reject_unknown_sender_domain, reject_non_fqdn_recipient, reject_unknown_recipient_domain, check_helo_access hash :/etc/postfix/helo_checks, check_policy_service unix:private/policy-spf, permit smtpd_restriction_classes = check_greylist smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_sasl_path = private/auth smtpd_sasl_type = dovecot smtpd_sender_restrictions = check_sender_access regexp:/etc/postfix/tag_as_originating.re, permit_mynetworks, permit_sasl_authenticated, permit_tls_clientcerts, check_sender_access regexp:/etc/postfix/tag_as_foreign.re, check_sender_acce ss mysql:/etc/postfix/mysql-virtual_sender.cf smtpd_soft_error_limit = 1 smtpd_tls_cert_file = /etc/postfix/smtpd.cert smtpd_tls_dh1024_param_file = /etc/postfix/dh_1024.pem smtpd_tls_dh512_param_file = /etc/postfix/dh_512.pem smtpd_tls_eecdh_grade = strong smtpd_tls_key_file = /etc/postfix/smtpd.key smtpd_tls_loglevel = 1 smtpd_tls_mandatory_protocols = !SSLv2,!SSLv3 smtpd_tls_protocols = !SSLv2,!SSLv3 smtpd_tls_security_level = may smtpd_use_tls = yes soft_bounce = no tls_preempt_cipherlist = yes transport_maps = hash:/var/lib/mailman/data/transport-mailman, proxy:mysql:/etc/postfix/mysql-virtual_transports.cf unknown_local_recipient_reject_code = 550 virtual_alias_domains = virtual_alias_maps = hash:/etc/mailman/virtual-mailman, proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf, hash:/etc/postfix/psy2200 virtual_gid_maps = static:5000 virtual_mailbox_base = /var/vmail virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf virtual_mailbox_limit = $message_size_limit virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf virtual_transport = dovecot virtual_uid_maps = static:5000
I'm unsure what more configuration you require. Amavisd.conf?
Respectfully,
Robert Susmilch
The "gobbledygook" in this email is due to this email having been "signed" with PGP (or the free GPG). If both parties (sender and receiver) had PGP key's the entire email could be encrypted (rendered secure and unreadable except by the key holders) for confidentiality and security. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iQIcBAEBCAAGBQJVpvFKAAoJEJvhIiLnDQ8qczoP/3U7XD0K3l0xkMwAGwF7KMOo C+GRZ4DXymUFxxRvTMa/4aVBEpn1X7UjfMeWS3IpS6V/nbtNjBmpTVEsvytqfpYz TG6aHq2oj9rZXHHBAAo8xby9NJGLT5G9mpq6YjBCPi9IQqGqvmAWNT6lPedrD3tW VbIOOQlkuC5ZSAXkcZMgRA6l+PFZ03iQwouvHNfMPqSSL8OFyYIj69PizGshvfVf yfA8NarlEv0FMZrf9lfXZ3xh1Tyfh1NFa6YByEYKmuxizSIlWh9kMYxliyy8cxL4 9EjoCgj+Q8G8icwU0//513el2N6ZJWt+8r0nh1TJICG8K+/w/srHAQKkGnW+yaSC oP0kukTmBcfQOmYYidq+KulGRGqov9QaoWoBH1wLH2xJPAh80lrSRC6yTRFIEBXo xxmol945IwfLhF7g/uXGV+I/cfZYFrdNU7gIxz2eFhiPmxwrZhQHmOVF7rf9TZgi 1bpHqfG2SBivixo8ePfyNhkkfLkNquCpPCULjNB89zrzC7MTzdJP9HUp1kduLnOr 2no8WCVou43UYVeUArooMljcCCDB8g333Cpd3ZrYwxxH9sbJNG0mM/lNBuDseDgT tmxsSQ6+pZCYKSGnW9Skap6DlqPcCmyHroXRqRjAs/xgWIAN/g8spmnGgXQ/u1XP Z9yz5bKx7UAE7O1xpbZo =qZxx -----END PGP SIGNATURE-----

On 7/15/15 4:48 PM, Robert Susmilch wrote:
That doesn't answer my question?
...
But DEFAULT_EMAIL_HOST is 'server1.rootunlimited.com' which is not 'susmilch.com'.
OK, we'll go with it it the remarks below.
Here you need to add hash:/etc/mailman/aliases, i.e.,
alias_maps = hash:/etc/aliases hash:/etc/mailman/aliases
virtual_alias_maps = hash:/etc/mailman/virtual-mailman,
Remove hash:/etc/mailman/virtual-mailman. It is not used in your case which is why Mailman doesn't create virtual-mailman.db automatically
...
I'm unsure what more configuration you require. Amavisd.conf?
If you make the above changes to main.cf, i.e., add hash:/etc/mailman/aliases to alias_maps and remove hash:/etc/mailman/virtual-mailman from virtual_alias_maps and also keep hash:/var/lib/mailman/data/transport-mailman in transport_maps, I think Postfix will deliver to Mailman.
If you are interested in solving your web server 500 error, show me the relevant apache error log stuff.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
By disabling the amavis filters in main.cf I get a successful delivery.
Jul 15 19:10:25 server1 postfix/submission/smtpd[26594]: warning: hostname host-202-151-2-96-static.midco.net does not resolve to address 96.2.151.202: Name or service not known Jul 15 19:10:25 server1 postfix/submission/smtpd[26594]: connect from unknown[96.2.151.202] Jul 15 19:10:26 server1 postfix/submission/smtpd[26594]: Anonymous TLS connection established from unknown[96.2.151.202]: TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits) Jul 15 19:10:26 server1 postfix/submission/smtpd[26594]: 8AFA527C8D71: client=unknown[96.2.151.202], sasl_method=PLAIN, sasl_username=katherine@susmilch.com Jul 15 19:10:26 server1 postfix/cleanup[26497]: 8AFA527C8D71: message-id=<55A6F686.2040309@susmilch.com> Jul 15 19:10:26 server1 postfix/qmgr[26466]: 8AFA527C8D71: from=<katherine@susmilch.com>, size=634, nrcpt=1 (queue active) Jul 15 19:10:27 server1 postfix/local[26604]: 8AFA527C8D71: to=<test1@susmilch.com>, relay=local, delay=0.54, delays=0.3/0.04/0/0.2, dsn=2.0.0, status=sent (delivered to command: /usr/lib/mailman/mail/mailman post test1) Jul 15 19:10:27 server1 postfix/qmgr[26466]: 8AFA527C8D71: removed Jul 15 19:10:27 server1 postfix/submission/smtpd[26594]: disconnect from unknown[96.2.151.202] Jul 15 19:10:28 server1 dovecot: imap-login: Login: user=<katherine@susmilch.com>, method=PLAIN, rip=96.2.151.202, lip=192.249.60.160, mpid=26632, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Jul 15 19:10:29 server1 postfix/postscreen[26640]: CONNECT from [127.0.0.1]:52202 to [127.0.0.1]:25 Jul 15 19:10:29 server1 postfix/postscreen[26640]: WHITELISTED [127.0.0.1]:52202 Jul 15 19:10:29 server1 postfix/smtpd[26641]: connect from localhost[127.0.0.1] Jul 15 19:10:29 server1 postfix/smtpd[26641]: 4F1A32B8AF0B: client=localhost[127.0.0.1] Jul 15 19:10:29 server1 postfix/cleanup[26497]: 4F1A32B8AF0B: message-id=<55A6F686.2040309@susmilch.com> Jul 15 19:10:29 server1 postfix/qmgr[26466]: 4F1A32B8AF0B: from=<test1-bounces@susmilch.com>, size=1623, nrcpt=2 (queue active) Jul 15 19:10:29 server1 postfix/smtpd[26641]: disconnect from localhost[127.0.0.1] Jul 15 19:10:29 server1 dovecot: lda(robert@rootunlimited.com): sieve: msgid=<55A6F686.2040309@susmilch.com>: katherine@susmilch.com stored mail into mailbox 'INBOX' Jul 15 19:10:29 server1 postfix/pipe[26644]: 4F1A32B8AF0B: to=<robert@rootunlimited.com>, relay=dovecot, delay=0.23, delays=0.05/0.03/0/0.14, dsn=2.0.0, status=sent (delivered via dovecot service) Jul 15 19:10:29 server1 dovecot: lda(katherine@susmilch.com): sieve: msgid=<55A6F686.2040309@susmilch.com>: katherine@susmilch.com stored mail into mailbox 'INBOX' Jul 15 19:10:29 server1 postfix/pipe[26532]: 4F1A32B8AF0B: to=<katherine@susmilch.com>, relay=dovecot, delay=0.33, delays=0.05/0.03/0/0.25, dsn=2.0.0, status=sent (delivered via dovecot service) Jul 15 19:10:29 server1 postfix/qmgr[26466]: 4F1A32B8AF0B: removed
By disabling content_filter = amavis:[127.0.0.1]:10024 it doesn't seem to double up and rewrite the address to test1@server1.susmilch.com.
Respectfully,
Robert Susmilch
The "gobbledygook" in this email is due to this email having been "signed" with PGP (or the free GPG). If both parties (sender and receiver) had PGP key's the entire email could be encrypted (rendered secure and unreadable except by the key holders) for confidentiality and security. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iQIcBAEBCAAGBQJVpvvAAAoJEJvhIiLnDQ8q6lkP/02n3xiYHd0gcKIHv20J/gdn ochbYLQwx8YVk/Ly2dguKiu2NT0cAsgRQ4MDxFoy1hXcXbS6eWAqV30p33ydhSHJ txXX+8K6CyEpEv+VL/tYogQmW89GpwIpt3qJCPXGMIUido+boHokokvtwNQ5/jaA bsc4scfdO1qt4gt6W6wZ+cgBXY8ngZdrx5jdfrwdpimCT0rRcItfXj3qNNTMDiOc zUfTo3lUOnd4eKxg9o/DQWxkrp5Ji+gG/kbucDGMh/79xGcoNSyhxktQ1wGmiFu0 bfaB7tLIdTWVRODl4hmp5J8nmldKI7vr2tBkrXeCQ84t2oFnGUuR5iKWuOruHdoS 4PQzyvcrecVcPOcxuq2L9AyTDZScqCifucZEYqMwlPiQb9aEKMSlL+AzyrDjwgf8 hQkXk/5y/nIzR1YoUNoPVsLPaUt2zXSHv6WZV1RWFmpT1txsckCRXnoqsJzSNFc+ VFm5NjALE3XRGQESR3c/rZFl7DCWfjjm7ZvmFNxHwfmK28l3L/VLBwNOdoJdkqwM mVM4v6oTAJOezIrwSgKC7Ai3ZkzYP0W4o3/aPEACQTAVFx/XOyf49rXM2f3KXGGW uG7OTNoSirBMFVJtmvAlAR5f9oPsNo5GKRgwLHrWXYcKz6dgas2n4uJ6r1yyLqwn Lw9ynG/G9nEUkLtiBZVy =9u/f -----END PGP SIGNATURE-----

On 7/15/15 5:33 PM, Robert Susmilch wrote:
OK. The rewriting definitely seems to be part of the issue, but there are probably other ways to deal with that without disabling amavis, if you want to do that.
The virtual_to_transport script could be modified to write the domain as server1.susmilch.com for example.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
So... here's where I'm at. I took your suggestions to heart and tried them. Didn't work. I reinstalled mailman from rpm and started with a fresh mm_cfg.py.
Didn't work.
I reapplied my old config and changed my hostnames from my old business domain to susmilch.com. I left the virtual_to_transport.sh line .
If I remove virtual-mailman from main.cf, it complains rejecting my email with an unknown recipient.
I restore virtual-mailman and postfix is happy. However, if I don't run postmap on that after genaliases with a new list, the database is out of date (obviously since genaliases doesn't run it).
If I leave out the virtual_to_transport script and create a new list, it will not create the transport-mailman database.
I have edited the virtual_to_transport.sh to run postmap on virtual-mailman and it seems to work.
At this point it seems to work. I have created two new lists and can sen d.
My concern is I thought not having a FQDN as myhostname in main.cf of postfix was bad karma.
Thanks for you time, if you have any suggestions I'd love to hear them.
On 07/15/2015 07:52 PM, Mark Sapiro wrote:
Respectfully,
Robert Susmilch
The "gobbledygook" in this email is due to this email having been "signed" with PGP (or the free GPG). If both parties (sender and receiver) had PGP key's the entire email could be encrypted (rendered secure and unreadable except by the key holders) for confidentiality and security. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iQIcBAEBCAAGBQJVpwmwAAoJEJvhIiLnDQ8qtbkP/iHdnZj+dg9a0t5Q3Gt78dnx Z6CfrEbkKDbFK7M6ym181IDPrK5yRHJDcdUdQFaIDuYUljWeV4MrYNM5fXUIrTEW D7fFd0p/iVoDrwd5y88trFNasRi8Oxh5Pv8umhHn7oyq8JQg3qcd7MyDtkPi4sE9 FfBB+aF3IhUh3scSTYXiRhhgCtZ9/z1YIF5CCzDRTYFrKa68iRiv9GZqQcArlW0/ bHcXguhbgLqrQhAwzhhcmzRoLItV9SQnRdVYhGxP7z0ZeKNt5HKnxEnca7nPLOzN UDWXLVnZh2p7vcC5MN/Cyycf2zO4OT0Br3Gk/T5DdNO5NwnKZbV6GMvL1dfxK4ub ZpqOEc8kfjTYsnGISGc8pmziIogXPp8AwJRAEwMGblu8KpQFWLWc9kc0gxvpjSLe +6rMyvD7S+OWR6Y8xoilgQXrn6hG/bRmvWWGIqhGYAUgosttWaQBxrNBdvtNPpgN Au2rl/DI6Kuok+8/D5fpCPl8UFcZqjTcHRb68OdiToqNBgRwdq6k7t3PGInt2kc9 3AIEYgeo8nexgQVXD1eJRUsQr8G7xhbtRTYCpyd0WUlnqF8blq0ATezIFa10B9on 5dQ7B/ETGmwSw48ieKo5gaiq8Td/icdQCZVSf+9Us0q9mpdQGFQ4mkMQfDsJo2Of ok4234iNsVDxEMtYWdXm =iHnC -----END PGP SIGNATURE-----
participants (3)
-
Mark Sapiro
-
Robert Susmilch
-
Robert Susmilch