Re: [Mailman-Users] Installing http://packages.ubuntu.com/zesty/mailman, stuck at "Temporary failure"

[adding list back for archive]
I’ve also added:
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['yugi.ushttp://yugi.us','mail.yugi.ushttp://mail.yugi.us'] VIRTUAL_MAILMAN_LOCAL_DOMAIN = ‘localhost'
Restarted mailman, postfix, and apache2.
I still get in /var/log/mail.log
Dec 22 12:17:50 localhost postfix/trivial-rewrite[6456]: warning: hash:/var/lib/mailman/data/virtual-mailman is unavailable. open database /var/lib/mailman/data/virtual-mailman.db: No such file or directory
On Dec 22, 2016, at 12:10 PM, Caesar Samsi <cmsamsi@hotmail.commailto:cmsamsi@hotmail.com> wrote:
It’s mail.yugi.ushttp://mail.yugi.us/
On Dec 22, 2016, at 12:06 PM, Mark Sapiro <mark@msapiro.netmailto:mark@msapiro.net> wrote:
On 12/22/2016 11:24 AM, Caesar Samsi wrote: *What is the value of the list's host_name attribute (near the bottom of the list's web admin General Options page).
Overview of all yugi.ushttp://yugi.us/ mailing lists http://yugi.us/cgi-bin/mailman/listinfo
Go to http://yugi.us/cgi-bin/mailman/admin/mailman, log in and scroll down until you see
Host name this list prefers for email. (Details for host_name)
(about 5 settings from the bottom). What is that set to?
*What's in mm_cfg.py? (Make sure you're looking at the correct one.)* ... #------------------------------------------------------------- # Default domain for email addresses of newly created MLs DEFAULT_EMAIL_HOST = 'yugi.ushttp://yugi.us/' #------------------------------------------------------------- # Default host for web interface of newly created MLs DEFAULT_URL_HOST = 'yugi.ushttp://yugi.us/' #------------------------------------------------------------- # Required when setting any of its arguments. add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
You are missing POSTFIX_STYLE_VIRTUAL_DOMAINS. See https://mail.python.org/pipermail/mailman-users/2016-December/081685.html which says in part
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['yugi.ushttp://yugi.us/']
If you want to generate data/virtual-mailman for lists in the mail.yugi.ushttp://mail.yugi.us/ email domain, this should be
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mail.yugi.ushttp://mail.yugi.us/']
or
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['yugi.ushttp://yugi.us/', 'mail.yugi.ushttp://mail.yugi.us/']
if you want both.
-- Mark Sapiro <mark@msapiro.netmailto:mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On 12/22/2016 01:21 PM, Caesar Samsi wrote:
I’ve also added:
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['yugi.us','mail.yugi.us'] VIRTUAL_MAILMAN_LOCAL_DOMAIN = ‘localhost'
Restarted mailman, postfix, and apache2.
I still get in /var/log/mail.log
Dec 22 12:17:50 localhost postfix/trivial-rewrite[6456]: warning: hash:/var/lib/mailman/data/virtual-mailman is unavailable. open database /var/lib/mailman/data/virtual-mailman.db: No such file or directory
Did you run genaliases?

I was missing this step from: https://help.ubuntu.com/community/Mailman#Postfix_Configuration
Associate the domain lists.example.comhttp://lists.example.com to the mailman transport with the transport map. Edit the file /etc/postfix/transport:
lists.example.comhttp://lists.example.com mailman:
Of course I replaced list.example.comhttp://list.example.com with mail.yugi.ushttp://mail.yugi.us
Got further: I ran genaliases after that and virtual-mailman and virtual-mailman.db showed up in /var/lib/mailman/data woo hoo!
I test sent to mailman@yugi.usmailto:mailman@yugi.us and got in /var/log/mail.log: Dec 22 13:39:32 localhost postfix/smtpd[3566]: NOQUEUE: reject: RCPT from 0-46.static.highlandsfibernetwork.comhttp://0-46.static.highlandsfibernetwork.com[216.9.0.46]: 550 5.1.1 <mailman@yugi.usmailto:mailman@yugi.us>: Recipient address rejected: User unknown in virtual mailbox table; from=<caesar@samsi.usmailto:caesar@samsi.us> to=<mailman@yugi.usmailto:mailman@yugi.us> proto=ESMTP helo=<mail.samsi.ushttp://mail.samsi.us>
On Dec 22, 2016, at 1:29 PM, Mark Sapiro <mark@msapiro.netmailto:mark@msapiro.net> wrote:
On 12/22/2016 01:21 PM, Caesar Samsi wrote:
I’ve also added:
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['yugi.ushttp://yugi.us','mail.yugi.ushttp://mail.yugi.us'] VIRTUAL_MAILMAN_LOCAL_DOMAIN = ‘localhost'
Restarted mailman, postfix, and apache2.
I still get in /var/log/mail.log
Dec 22 12:17:50 localhost postfix/trivial-rewrite[6456]: warning: hash:/var/lib/mailman/data/virtual-mailman is unavailable. open database /var/lib/mailman/data/virtual-mailman.db: No such file or directory
Did you run genaliases?
-- Mark Sapiro <mark@msapiro.netmailto:mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users@python.orgmailto:Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/cmsamsi%40hotmail.com

Alright here is my postfix config, hope there’s something useful in there.
alias_maps = hash:/etc/aliases,hash:/var/lib/mailman/data/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes content_filter = amavis:[127.0.0.1]:10024 disable_vrfy_command = yes dovecot_destination_recipient_limit = 1 enable_original_recipient = no header_checks = regexp:/etc/postfix/header_checks inet_interfaces = all mailbox_size_limit = 0 maximal_backoff_time = 8000s maximal_queue_lifetime = 7d minimal_backoff_time = 1000s mydestination = myhostname = mail.yugi.com mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mynetworks_style = host myorigin = /etc/hostname readme_directory = no recipient_delimiter = + smtp_helo_timeout = 60s smtp_tls_note_starttls_offer = yes smtp_tls_security_level = may smtpd_banner = $myhostname ESMTP $mail_name smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org, reject_rbl_client blackholes.easynet.nl smtpd_data_restrictions = reject_unauth_pipelining smtpd_delay_reject = yes smtpd_hard_error_limit = 12 smtpd_helo_required = yes smtpd_helo_restrictions = permit_mynetworks, warn_if_reject reject_non_fqdn_hostname, reject_invalid_hostname, permit smtpd_recipient_limit = 16 smtpd_recipient_restrictions = reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_destination, permit smtpd_relay_restrictions = reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_destination, permit smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_sasl_local_domain = smtpd_sasl_path = private/auth smtpd_sasl_security_options = noanonymous smtpd_sasl_type = dovecot smtpd_sender_login_maps = mysql:/etc/postfix/mysql_virtual_sender_login_maps.cf smtpd_sender_restrictions = permit_mynetworks, reject_authenticated_sender_login_mismatch, permit_sasl_authenticated, warn_if_reject reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unauth_pipelining, permit smtpd_soft_error_limit = 3 smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_dh1024_param_file = /etc/ssl/private/dhparams.pem smtpd_tls_exclude_ciphers = aNULL, eNULL, EXPORT, DES, RC4, MD5, PSK, aECDH, EDH-DSS-DES-CBC3-SHA, EDH-RSA-DES-CDC3-SHA, KRB5-DE5, CBC3-SHA smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key smtpd_tls_loglevel = 1 smtpd_tls_mandatory_protocols = !SSLv2,!SSLv3 smtpd_tls_received_header = yes smtpd_tls_security_level = may smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom unknown_local_recipient_reject_code = 450 virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf, mysql:/etc/postfix/mysql_virtual_alias_domainaliases_maps.cf, hash:/var/lib/mailman/data/virtual-mailman virtual_gid_maps = static:8 virtual_mailbox_base = /var/vmail virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf, mysql:/etc/postfix/mysql_virtual_mailbox_domainaliases_maps.cf virtual_transport = dovecot virtual_uid_maps = static:150
On Dec 22, 2016, at 1:41 PM, Caesar Samsi cmsamsi@hotmail.com wrote:
I was missing this step from: https://help.ubuntu.com/community/Mailman#Postfix_Configuration
Associate the domain lists.example.comhttp://lists.example.com to the mailman transport with the transport map. Edit the file /etc/postfix/transport:
lists.example.comhttp://lists.example.com mailman:
Of course I replaced list.example.comhttp://list.example.com with mail.yugi.ushttp://mail.yugi.us
Got further: I ran genaliases after that and virtual-mailman and virtual-mailman.db showed up in /var/lib/mailman/data woo hoo!
I test sent to mailman@yugi.usmailto:mailman@yugi.us and got in /var/log/mail.log: Dec 22 13:39:32 localhost postfix/smtpd[3566]: NOQUEUE: reject: RCPT from 0-46.static.highlandsfibernetwork.comhttp://0-46.static.highlandsfibernetwork.com[216.9.0.46]: 550 5.1.1 <mailman@yugi.usmailto:mailman@yugi.us>: Recipient address rejected: User unknown in virtual mailbox table; from=<caesar@samsi.usmailto:caesar@samsi.us> to=<mailman@yugi.usmailto:mailman@yugi.us> proto=ESMTP helo=<mail.samsi.ushttp://mail.samsi.us>
On Dec 22, 2016, at 1:29 PM, Mark Sapiro <mark@msapiro.netmailto:mark@msapiro.net> wrote:
On 12/22/2016 01:21 PM, Caesar Samsi wrote:
I’ve also added:
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['yugi.ushttp://yugi.us','mail.yugi.ushttp://mail.yugi.us'] VIRTUAL_MAILMAN_LOCAL_DOMAIN = ‘localhost'
Restarted mailman, postfix, and apache2.
I still get in /var/log/mail.log
Dec 22 12:17:50 localhost postfix/trivial-rewrite[6456]: warning: hash:/var/lib/mailman/data/virtual-mailman is unavailable. open database /var/lib/mailman/data/virtual-mailman.db: No such file or directory
Did you run genaliases?
-- Mark Sapiro <mark@msapiro.netmailto:mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users@python.orgmailto:Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/cmsamsi%40hotmail.com
Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/cmsamsi%40hotmail.com

Alright I'm stuck here now, been trolling google … haven’t found a clue yet.
Dec 22 15:02:22 localhost postfix/smtpd[7643]: NOQUEUE: reject: RCPT from 0-46.static.highlandsfibernetwork.comhttp://0-46.static.highlandsfibernetwork.com[216.9.0.46]: 550 5.1.1 <test2@yugi.usmailto:test2@yugi.us>: Recipient address rejected: User unknown in virtual mailbox table; from=<caesar@samsi.usmailto:caesar@samsi.us> to=<test2@yugi.usmailto:test2@yugi.us> proto=ESMTP helo=<mail.samsi.ushttp://mail.samsi.us>
On Dec 22, 2016, at 2:36 PM, Caesar Samsi <cmsamsi@hotmail.commailto:cmsamsi@hotmail.com> wrote:
Alright here is my postfix config, hope there’s something useful in there.
alias_maps = hash:/etc/aliases,hash:/var/lib/mailman/data/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes content_filter = amavis:[127.0.0.1]:10024 disable_vrfy_command = yes dovecot_destination_recipient_limit = 1 enable_original_recipient = no header_checks = regexp:/etc/postfix/header_checks inet_interfaces = all mailbox_size_limit = 0 maximal_backoff_time = 8000s maximal_queue_lifetime = 7d minimal_backoff_time = 1000s mydestination = myhostname = mail.yugi.comhttp://mail.yugi.com mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mynetworks_style = host myorigin = /etc/hostname readme_directory = no recipient_delimiter = + smtp_helo_timeout = 60s smtp_tls_note_starttls_offer = yes smtp_tls_security_level = may smtpd_banner = $myhostname ESMTP $mail_name smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.orghttp://sbl.spamhaus.org, reject_rbl_client blackholes.easynet.nlhttp://blackholes.easynet.nl smtpd_data_restrictions = reject_unauth_pipelining smtpd_delay_reject = yes smtpd_hard_error_limit = 12 smtpd_helo_required = yes smtpd_helo_restrictions = permit_mynetworks, warn_if_reject reject_non_fqdn_hostname, reject_invalid_hostname, permit smtpd_recipient_limit = 16 smtpd_recipient_restrictions = reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_destination, permit smtpd_relay_restrictions = reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_destination, permit smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_sasl_local_domain = smtpd_sasl_path = private/auth smtpd_sasl_security_options = noanonymous smtpd_sasl_type = dovecot smtpd_sender_login_maps = mysql:/etc/postfix/mysql_virtual_sender_login_maps.cf smtpd_sender_restrictions = permit_mynetworks, reject_authenticated_sender_login_mismatch, permit_sasl_authenticated, warn_if_reject reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unauth_pipelining, permit smtpd_soft_error_limit = 3 smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_dh1024_param_file = /etc/ssl/private/dhparams.pem smtpd_tls_exclude_ciphers = aNULL, eNULL, EXPORT, DES, RC4, MD5, PSK, aECDH, EDH-DSS-DES-CBC3-SHA, EDH-RSA-DES-CDC3-SHA, KRB5-DE5, CBC3-SHA smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key smtpd_tls_loglevel = 1 smtpd_tls_mandatory_protocols = !SSLv2,!SSLv3 smtpd_tls_received_header = yes smtpd_tls_security_level = may smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom unknown_local_recipient_reject_code = 450 virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf, mysql:/etc/postfix/mysql_virtual_alias_domainaliases_maps.cf, hash:/var/lib/mailman/data/virtual-mailman virtual_gid_maps = static:8 virtual_mailbox_base = /var/vmail virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf, mysql:/etc/postfix/mysql_virtual_mailbox_domainaliases_maps.cf virtual_transport = dovecot virtual_uid_maps = static:150
On Dec 22, 2016, at 1:41 PM, Caesar Samsi <cmsamsi@hotmail.commailto:cmsamsi@hotmail.com> wrote:
I was missing this step from: https://help.ubuntu.com/community/Mailman#Postfix_Configuration
Associate the domain lists.example.comhttp://lists.example.comhttp://lists.example.com to the mailman transport with the transport map. Edit the file /etc/postfix/transport:
lists.example.comhttp://lists.example.comhttp://lists.example.com mailman:
Of course I replaced list.example.comhttp://list.example.comhttp://list.example.com with mail.yugi.ushttp://mail.yugi.ushttp://mail.yugi.us
Got further: I ran genaliases after that and virtual-mailman and virtual-mailman.db showed up in /var/lib/mailman/data woo hoo!
I test sent to mailman@yugi.usmailto:mailman@yugi.usmailto:mailman@yugi.us and got in /var/log/mail.log: Dec 22 13:39:32 localhost postfix/smtpd[3566]: NOQUEUE: reject: RCPT from 0-46.static.highlandsfibernetwork.comhttp://0-46.static.highlandsfibernetwork.comhttp://0-46.static.highlandsfibernetwork.com[216.9.0.46]: 550 5.1.1 <mailman@yugi.usmailto:mailman@yugi.usmailto:mailman@yugi.us>: Recipient address rejected: User unknown in virtual mailbox table; from=<caesar@samsi.usmailto:caesar@samsi.usmailto:caesar@samsi.us> to=<mailman@yugi.usmailto:mailman@yugi.usmailto:mailman@yugi.us> proto=ESMTP helo=<mail.samsi.ushttp://mail.samsi.ushttp://mail.samsi.us>
On Dec 22, 2016, at 1:29 PM, Mark Sapiro <mark@msapiro.netmailto:mark@msapiro.netmailto:mark@msapiro.net> wrote:
On 12/22/2016 01:21 PM, Caesar Samsi wrote:
I’ve also added:
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['yugi.ushttp://yugi.ushttp://yugi.us','mail.yugi.ushttp://mail.yugi.ushttp://mail.yugi.us'] VIRTUAL_MAILMAN_LOCAL_DOMAIN = ‘localhost'
Restarted mailman, postfix, and apache2.
I still get in /var/log/mail.log
Dec 22 12:17:50 localhost postfix/trivial-rewrite[6456]: warning: hash:/var/lib/mailman/data/virtual-mailman is unavailable. open database /var/lib/mailman/data/virtual-mailman.db: No such file or directory
Did you run genaliases?
-- Mark Sapiro <mark@msapiro.netmailto:mark@msapiro.netmailto:mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users@python.orgmailto:Mailman-Users@python.orgmailto:Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/cmsamsi%40hotmail.com
Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/cmsamsi%40hotmail.com

On Thu, Dec 22, 2016 at 6:07 PM, Caesar Samsi cmsamsi@hotmail.com wrote:
Alright I'm stuck here now, been trolling google … haven’t found a clue yet.
Dec 22 15:02:22 localhost postfix/smtpd[7643]: NOQUEUE: reject: RCPT from 0-46.static.highlandsfibernetwork.comhttp://0-46.static.highlandsfibernetwork.com[216.9.0.46]: 550 5.1.1 <test2@yugi.usmailto:test2@yugi.us>: Recipient address rejected: User unknown in virtual mailbox table; from=<caesar@samsi.usmailto:caesar@samsi.us> to=<test2@yugi.usmailto:test2@yugi.us> proto=ESMTP helo=<mail.samsi.ushttp://mail.samsi.us>
I could be wrong, but I didn't see virtual_alias_domains defined in your main.cf. That needs to be defined in order for virtual_alias_maps to be relevant.
-Jim P.

On 12/22/2016 03:07 PM, Caesar Samsi wrote:
Alright I'm stuck here now, been trolling google … haven’t found a clue yet.
Dec 22 15:02:22 localhost postfix/smtpd[7643]: NOQUEUE: reject: RCPT from 0-46.static.highlandsfibernetwork.com[216.9.0.46]: 550 5.1.1 <test2@yugi.usmailto:test2@yugi.us>: Recipient address rejected: User unknown in virtual mailbox table; from=caesar@samsi.us to=test2@yugi.us proto=ESMTP helo=<mail.samsi.us>
As Jim P. said, you may need
virtual_alias_domains = yugi.us
in Postfix main.cf, although this may conflict with your virtual_mailbox_domains.
You need to figure out what domains you want to use for what purposes, and how you want to deliver to Mailman.
Also, look at your data/virtual-mailman. Is the mapping there like
test2@yugi.us test2@localhost ...
or is it
test2@mail.yugi.us test2@localhost
If the latter, you have to post to test2@mail.yugi.us, not test2@yugi.us or fix your list's host names and rerun genaliases.

I’ve chosen to use yugi.ushttp://yugi.us as the email host and www.yugi.ushttp://www.yugi.us as the url host.
- I’ve added virtual_alias_domains = yugi.ushttp://yugi.us
However that causes non mailman email addresses from receiving emails: <admin@yugi.usmailto:admin@yugi.us>: User unknown in virtual alias table Reporting-MTA: dns; mail.yugi.ushttp://mail.yugi.us X-Postfix-Queue-ID: 3ADAF3636B6 X-Postfix-Sender: rfc822; alerts@samsi.usmailto:alerts@samsi.us Arrival-Date: Fri, 23 Dec 2016 12:56:00 -0800 (PST)
So I’ve had to remove that setting.
- I’ve (along with step 1 above):
- rmlist all aliases (including mailman)
- rm /var/lib/mailman/data/virtual-man*
- newlist mailman (and provided the email url hosts owner and password)
- /usr/lib/mailman/bin/genaliases (and see the proper entries in /var/lib/mailman/data/virtual-mailman
Now when I send to mailman@yugi.usmailto:mailman@yugi.us I get: mailman@localhost: mail for localhost loops back to myself Reporting-MTA: dns; mail.yugi.ushttp://mail.yugi.us X-Postfix-Queue-ID: 3282E3636B6 X-Postfix-Sender: rfc822; alerts@samsi.usmailto:alerts@samsi.us Arrival-Date: Fri, 23 Dec 2016 12:58:11 -0800 (PST)
On my other working mailman server I didn’t have to specify virtual_alias_domains = yugi.ushttp://yugi.us
If I send to mailman@mail.yugi.usmailto:mailman@mail.yugi.us I get relay access denied: Final-Recipient: rfc822; mailman@mail.yugi.usmailto:mailman@mail.yugi.us Original-Recipient: rfc822;mailman@mail.yugi.usmailto:mailman@mail.yugi.us Action: failed Status: 5.7.1 Remote-MTA: dns; yugi.ushttp://yugi.us Diagnostic-Code: smtp; 554 5.7.1 <mailman@mail.yugi.usmailto:mailman@mail.yugi.us>: Relay access denied
I’m stumped … still looking through google.
I’ve reread https://www.gnu.org/software/mailman/mailman-install/postfix-virtual.html too many times and followed the steps that many times too :-)
Attached is postconf -n output, master.cf, and transport.
On Dec 22, 2016, at 4:09 PM, Mark Sapiro <mark@msapiro.netmailto:mark@msapiro.net> wrote:
On 12/22/2016 03:07 PM, Caesar Samsi wrote: Alright I'm stuck here now, been trolling google … haven’t found a clue yet.
Dec 22 15:02:22 localhost postfix/smtpd[7643]: NOQUEUE: reject: RCPT from 0-46.static.highlandsfibernetwork.comhttp://0-46.static.highlandsfibernetwork.com[216.9.0.46]: 550 5.1.1 <test2@yugi.usmailto:test2@yugi.usmailto:test2@yugi.us>: Recipient address rejected: User unknown in virtual mailbox table; from=<caesar@samsi.usmailto:caesar@samsi.us> to=<test2@yugi.usmailto:test2@yugi.us> proto=ESMTP helo=<mail.samsi.ushttp://mail.samsi.us>
As Jim P. said, you may need
virtual_alias_domains = yugi.ushttp://yugi.us
in Postfix main.cf, although this may conflict with your virtual_mailbox_domains.
You need to figure out what domains you want to use for what purposes, and how you want to deliver to Mailman.
Also, look at your data/virtual-mailman. Is the mapping there like
test2@yugi.usmailto:test2@yugi.us test2@localhost ...
or is it
test2@mail.yugi.usmailto:test2@mail.yugi.us test2@localhost
If the latter, you have to post to test2@mail.yugi.usmailto:test2@mail.yugi.us, not test2@yugi.usmailto:test2@yugi.us or fix your list's host names and rerun genaliases.
-- Mark Sapiro <mark@msapiro.netmailto:mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users@python.orgmailto:Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/cmsamsi%40hotmail.com

I got it to work!
I tweaked this section, the clincher was populating mydestination.
I’m going to do a happy dance.
# --------------------------------- # General host and delivery info # ----------------------------------
myhostname = mail.yugi.ushttp://mail.yugi.us mydomain=yugi.ushttp://yugi.us myorigin = /etc/hostname
# Some people see issues when setting mydestination explicitly to the server # subdomain, while leaving it empty generally doesn't hurt. So it is left empty$ # mydestination = mail.example.comhttp://mail.example.com, localhost
mydestination = yugi.ushttp://yugi.us, mail.yugi.ushttp://mail.yugi.us, localhost
On Dec 23, 2016, at 1:45 PM, Caesar Samsi <cmsamsi@hotmail.commailto:cmsamsi@hotmail.com> wrote:
I’ve chosen to use yugi.ushttp://yugi.us/ as the email host and www.yugi.ushttp://www.yugi.us/ as the url host.
- I’ve added virtual_alias_domains = yugi.ushttp://yugi.us/
However that causes non mailman email addresses from receiving emails: <admin@yugi.usmailto:admin@yugi.us>: User unknown in virtual alias table Reporting-MTA: dns; mail.yugi.ushttp://mail.yugi.us/ X-Postfix-Queue-ID: 3ADAF3636B6 X-Postfix-Sender: rfc822; alerts@samsi.usmailto:alerts@samsi.us Arrival-Date: Fri, 23 Dec 2016 12:56:00 -0800 (PST)
So I’ve had to remove that setting.
- I’ve (along with step 1 above):
- rmlist all aliases (including mailman)
- rm /var/lib/mailman/data/virtual-man*
- newlist mailman (and provided the email url hosts owner and password)
- /usr/lib/mailman/bin/genaliases (and see the proper entries in /var/lib/mailman/data/virtual-mailman
Now when I send to mailman@yugi.usmailto:mailman@yugi.us I get: mailman@localhost: mail for localhost loops back to myself Reporting-MTA: dns; mail.yugi.ushttp://mail.yugi.us/ X-Postfix-Queue-ID: 3282E3636B6 X-Postfix-Sender: rfc822; alerts@samsi.usmailto:alerts@samsi.us Arrival-Date: Fri, 23 Dec 2016 12:58:11 -0800 (PST)
On my other working mailman server I didn’t have to specify virtual_alias_domains = yugi.ushttp://yugi.us/
If I send to mailman@mail.yugi.usmailto:mailman@mail.yugi.us I get relay access denied: Final-Recipient: rfc822; mailman@mail.yugi.usmailto:mailman@mail.yugi.us Original-Recipient: rfc822;mailman@mail.yugi.usmailto:mailman@mail.yugi.us Action: failed Status: 5.7.1 Remote-MTA: dns; yugi.ushttp://yugi.us/ Diagnostic-Code: smtp; 554 5.7.1 <mailman@mail.yugi.usmailto:mailman@mail.yugi.us>: Relay access denied
I’m stumped … still looking through google.
I’ve reread https://www.gnu.org/software/mailman/mailman-install/postfix-virtual.html too many times and followed the steps that many times too :-)
Attached is postconf -n output, master.cf, and transport. <postfix.txt> <master.cf>
<transport>
On Dec 22, 2016, at 4:09 PM, Mark Sapiro <mark@msapiro.netmailto:mark@msapiro.net> wrote:
On 12/22/2016 03:07 PM, Caesar Samsi wrote: Alright I'm stuck here now, been trolling google … haven’t found a clue yet.
Dec 22 15:02:22 localhost postfix/smtpd[7643]: NOQUEUE: reject: RCPT from 0-46.static.highlandsfibernetwork.comhttp://0-46.static.highlandsfibernetwork.com/[216.9.0.46]: 550 5.1.1 <test2@yugi.usmailto:test2@yugi.usmailto:test2@yugi.us>: Recipient address rejected: User unknown in virtual mailbox table; from=<caesar@samsi.usmailto:caesar@samsi.us> to=<test2@yugi.usmailto:test2@yugi.us> proto=ESMTP helo=<mail.samsi.ushttp://mail.samsi.us/>
As Jim P. said, you may need
virtual_alias_domains = yugi.ushttp://yugi.us/
in Postfix main.cf, although this may conflict with your virtual_mailbox_domains.
You need to figure out what domains you want to use for what purposes, and how you want to deliver to Mailman.
Also, look at your data/virtual-mailman. Is the mapping there like
test2@yugi.usmailto:test2@yugi.us test2@localhost ...
or is it
test2@mail.yugi.usmailto:test2@mail.yugi.us test2@localhost
If the latter, you have to post to test2@mail.yugi.usmailto:test2@mail.yugi.us, not test2@yugi.usmailto:test2@yugi.us or fix your list's host names and rerun genaliases.
-- Mark Sapiro <mark@msapiro.netmailto:mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users@python.orgmailto:Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/cmsamsi%40hotmail.com

Agg … now mails to non list emails get rejected:
<admin@yugi.usmailto:admin@yugi.us>: unknown user: "admin" Reporting-MTA: dns; mail.yugi.ushttp://mail.yugi.us X-Postfix-Queue-ID: 606533636B6 X-Postfix-Sender: rfc822; alerts@samsi.usmailto:alerts@samsi.us Arrival-Date: Fri, 23 Dec 2016 14:14:30 -0800 (PST)
Final-Recipient: rfc822; admin@yugi.usmailto:admin@yugi.us Original-Recipient: rfc822;admin@yugi.usmailto:admin@yugi.us Action: failed Status: 5.1.1 Diagnostic-Code: X-Postfix; unknown user: “admin"
On Dec 23, 2016, at 2:11 PM, Caesar Samsi <cmsamsi@hotmail.commailto:cmsamsi@hotmail.com> wrote:
I got it to work!
I tweaked this section, the clincher was populating mydestination.
I’m going to do a happy dance.
# --------------------------------- # General host and delivery info # ----------------------------------
myhostname = mail.yugi.ushttp://mail.yugi.us/ mydomain=yugi.ushttp://yugi.us/ myorigin = /etc/hostname
# Some people see issues when setting mydestination explicitly to the server # subdomain, while leaving it empty generally doesn't hurt. So it is left empty$ # mydestination = mail.example.comhttp://mail.example.com/, localhost
mydestination = yugi.ushttp://yugi.us/, mail.yugi.ushttp://mail.yugi.us/, localhost
On Dec 23, 2016, at 1:45 PM, Caesar Samsi <cmsamsi@hotmail.commailto:cmsamsi@hotmail.com> wrote:
I’ve chosen to use yugi.ushttp://yugi.us/ as the email host and www.yugi.ushttp://www.yugi.us/ as the url host.
- I’ve added virtual_alias_domains = yugi.ushttp://yugi.us/
However that causes non mailman email addresses from receiving emails: <admin@yugi.usmailto:admin@yugi.us>: User unknown in virtual alias table Reporting-MTA: dns; mail.yugi.ushttp://mail.yugi.us/ X-Postfix-Queue-ID: 3ADAF3636B6 X-Postfix-Sender: rfc822; alerts@samsi.usmailto:alerts@samsi.us Arrival-Date: Fri, 23 Dec 2016 12:56:00 -0800 (PST)
So I’ve had to remove that setting.
- I’ve (along with step 1 above):
- rmlist all aliases (including mailman)
- rm /var/lib/mailman/data/virtual-man*
- newlist mailman (and provided the email url hosts owner and password)
- /usr/lib/mailman/bin/genaliases (and see the proper entries in /var/lib/mailman/data/virtual-mailman
Now when I send to mailman@yugi.usmailto:mailman@yugi.us I get: mailman@localhost: mail for localhost loops back to myself Reporting-MTA: dns; mail.yugi.ushttp://mail.yugi.us/ X-Postfix-Queue-ID: 3282E3636B6 X-Postfix-Sender: rfc822; alerts@samsi.usmailto:alerts@samsi.us Arrival-Date: Fri, 23 Dec 2016 12:58:11 -0800 (PST)
On my other working mailman server I didn’t have to specify virtual_alias_domains = yugi.ushttp://yugi.us/
If I send to mailman@mail.yugi.usmailto:mailman@mail.yugi.us I get relay access denied: Final-Recipient: rfc822; mailman@mail.yugi.usmailto:mailman@mail.yugi.us Original-Recipient: rfc822;mailman@mail.yugi.usmailto:mailman@mail.yugi.us Action: failed Status: 5.7.1 Remote-MTA: dns; yugi.ushttp://yugi.us/ Diagnostic-Code: smtp; 554 5.7.1 <mailman@mail.yugi.usmailto:mailman@mail.yugi.us>: Relay access denied
I’m stumped … still looking through google.
I’ve reread https://www.gnu.org/software/mailman/mailman-install/postfix-virtual.html too many times and followed the steps that many times too :-)
Attached is postconf -n output, master.cf, and transport. <postfix.txt> <master.cf>
<transport>
On Dec 22, 2016, at 4:09 PM, Mark Sapiro <mark@msapiro.netmailto:mark@msapiro.net> wrote:
On 12/22/2016 03:07 PM, Caesar Samsi wrote: Alright I'm stuck here now, been trolling google … haven’t found a clue yet.
Dec 22 15:02:22 localhost postfix/smtpd[7643]: NOQUEUE: reject: RCPT from 0-46.static.highlandsfibernetwork.comhttp://0-46.static.highlandsfibernetwork.com/[216.9.0.46]: 550 5.1.1 <test2@yugi.usmailto:test2@yugi.usmailto:test2@yugi.us>: Recipient address rejected: User unknown in virtual mailbox table; from=<caesar@samsi.usmailto:caesar@samsi.us> to=<test2@yugi.usmailto:test2@yugi.us> proto=ESMTP helo=<mail.samsi.ushttp://mail.samsi.us/>
As Jim P. said, you may need
virtual_alias_domains = yugi.ushttp://yugi.us/
in Postfix main.cf, although this may conflict with your virtual_mailbox_domains.
You need to figure out what domains you want to use for what purposes, and how you want to deliver to Mailman.
Also, look at your data/virtual-mailman. Is the mapping there like
test2@yugi.usmailto:test2@yugi.us test2@localhost ...
or is it
test2@mail.yugi.usmailto:test2@mail.yugi.us test2@localhost
If the latter, you have to post to test2@mail.yugi.usmailto:test2@mail.yugi.us, not test2@yugi.usmailto:test2@yugi.us or fix your list's host names and rerun genaliases.
-- Mark Sapiro <mark@msapiro.netmailto:mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users@python.orgmailto:Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/cmsamsi%40hotmail.com

Whew I think that’s it, I’m doing my dance now :-)
For mydestination I only needed to use localhost like so: mydestination = yugi.ushttp://yugi.us/, mail.yugi.ushttp://mail.yugi.us/, localhost
On Dec 23, 2016, at 2:16 PM, Caesar Samsi <cmsamsi@hotmail.commailto:cmsamsi@hotmail.com> wrote:
Agg … now mails to non list emails get rejected:
<admin@yugi.usmailto:admin@yugi.us>: unknown user: "admin" Reporting-MTA: dns; mail.yugi.ushttp://mail.yugi.us/ X-Postfix-Queue-ID: 606533636B6 X-Postfix-Sender: rfc822; alerts@samsi.usmailto:alerts@samsi.us Arrival-Date: Fri, 23 Dec 2016 14:14:30 -0800 (PST)
Final-Recipient: rfc822; admin@yugi.usmailto:admin@yugi.us Original-Recipient: rfc822;admin@yugi.usmailto:admin@yugi.us Action: failed Status: 5.1.1 Diagnostic-Code: X-Postfix; unknown user: “admin"
On Dec 23, 2016, at 2:11 PM, Caesar Samsi <cmsamsi@hotmail.commailto:cmsamsi@hotmail.com> wrote:
I got it to work!
I tweaked this section, the clincher was populating mydestination.
I’m going to do a happy dance.
# --------------------------------- # General host and delivery info # ----------------------------------
myhostname = mail.yugi.ushttp://mail.yugi.us/ mydomain=yugi.ushttp://yugi.us/ myorigin = /etc/hostname
# Some people see issues when setting mydestination explicitly to the server # subdomain, while leaving it empty generally doesn't hurt. So it is left empty$ # mydestination = mail.example.comhttp://mail.example.com/, localhost
mydestination = yugi.ushttp://yugi.us/, mail.yugi.ushttp://mail.yugi.us/, localhost
On Dec 23, 2016, at 1:45 PM, Caesar Samsi <cmsamsi@hotmail.commailto:cmsamsi@hotmail.com> wrote:
I’ve chosen to use yugi.ushttp://yugi.us/ as the email host and www.yugi.ushttp://www.yugi.us/ as the url host.
- I’ve added virtual_alias_domains = yugi.ushttp://yugi.us/
However that causes non mailman email addresses from receiving emails: <admin@yugi.usmailto:admin@yugi.us>: User unknown in virtual alias table Reporting-MTA: dns; mail.yugi.ushttp://mail.yugi.us/ X-Postfix-Queue-ID: 3ADAF3636B6 X-Postfix-Sender: rfc822; alerts@samsi.usmailto:alerts@samsi.us Arrival-Date: Fri, 23 Dec 2016 12:56:00 -0800 (PST)
So I’ve had to remove that setting.
- I’ve (along with step 1 above):
- rmlist all aliases (including mailman)
- rm /var/lib/mailman/data/virtual-man*
- newlist mailman (and provided the email url hosts owner and password)
- /usr/lib/mailman/bin/genaliases (and see the proper entries in /var/lib/mailman/data/virtual-mailman
Now when I send to mailman@yugi.usmailto:mailman@yugi.us I get: mailman@localhost: mail for localhost loops back to myself Reporting-MTA: dns; mail.yugi.ushttp://mail.yugi.us/ X-Postfix-Queue-ID: 3282E3636B6 X-Postfix-Sender: rfc822; alerts@samsi.usmailto:alerts@samsi.us Arrival-Date: Fri, 23 Dec 2016 12:58:11 -0800 (PST)
On my other working mailman server I didn’t have to specify virtual_alias_domains = yugi.ushttp://yugi.us/
If I send to mailman@mail.yugi.usmailto:mailman@mail.yugi.us I get relay access denied: Final-Recipient: rfc822; mailman@mail.yugi.usmailto:mailman@mail.yugi.us Original-Recipient: rfc822;mailman@mail.yugi.usmailto:mailman@mail.yugi.us Action: failed Status: 5.7.1 Remote-MTA: dns; yugi.ushttp://yugi.us/ Diagnostic-Code: smtp; 554 5.7.1 <mailman@mail.yugi.usmailto:mailman@mail.yugi.us>: Relay access denied
I’m stumped … still looking through google.
I’ve reread https://www.gnu.org/software/mailman/mailman-install/postfix-virtual.html too many times and followed the steps that many times too :-)
Attached is postconf -n output, master.cf, and transport. <postfix.txt> <master.cf>
<transport>
On Dec 22, 2016, at 4:09 PM, Mark Sapiro <mark@msapiro.netmailto:mark@msapiro.net> wrote:
On 12/22/2016 03:07 PM, Caesar Samsi wrote: Alright I'm stuck here now, been trolling google … haven’t found a clue yet.
Dec 22 15:02:22 localhost postfix/smtpd[7643]: NOQUEUE: reject: RCPT from 0-46.static.highlandsfibernetwork.comhttp://0-46.static.highlandsfibernetwork.com/[216.9.0.46]: 550 5.1.1 <test2@yugi.usmailto:test2@yugi.usmailto:test2@yugi.us>: Recipient address rejected: User unknown in virtual mailbox table; from=<caesar@samsi.usmailto:caesar@samsi.us> to=<test2@yugi.usmailto:test2@yugi.us> proto=ESMTP helo=<mail.samsi.ushttp://mail.samsi.us/>
As Jim P. said, you may need
virtual_alias_domains = yugi.ushttp://yugi.us/
in Postfix main.cf, although this may conflict with your virtual_mailbox_domains.
You need to figure out what domains you want to use for what purposes, and how you want to deliver to Mailman.
Also, look at your data/virtual-mailman. Is the mapping there like
test2@yugi.usmailto:test2@yugi.us test2@localhost ...
or is it
test2@mail.yugi.usmailto:test2@mail.yugi.us test2@localhost
If the latter, you have to post to test2@mail.yugi.usmailto:test2@mail.yugi.us, not test2@yugi.usmailto:test2@yugi.us or fix your list's host names and rerun genaliases.
-- Mark Sapiro <mark@msapiro.netmailto:mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users@python.orgmailto:Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/cmsamsi%40hotmail.com

It WORKS :-D
AFAIK or googled, there isn’t a cookbook to do this with the package. I’m going to try and write one up and test it.
Least I can do for the you & the list.
Thank you! Caesar.
On Dec 23, 2016, at 2:20 PM, Caesar Samsi <cmsamsi@hotmail.commailto:cmsamsi@hotmail.com> wrote:
Whew I think that’s it, I’m doing my dance now :-)
For mydestination I only needed to use localhost like so: mydestination = yugi.ushttp://yugi.us/, mail.yugi.ushttp://mail.yugi.us/, localhost
On Dec 23, 2016, at 2:16 PM, Caesar Samsi <cmsamsi@hotmail.commailto:cmsamsi@hotmail.com> wrote:
Agg … now mails to non list emails get rejected:
<admin@yugi.usmailto:admin@yugi.us>: unknown user: "admin" Reporting-MTA: dns; mail.yugi.ushttp://mail.yugi.us/ X-Postfix-Queue-ID: 606533636B6 X-Postfix-Sender: rfc822; alerts@samsi.usmailto:alerts@samsi.us Arrival-Date: Fri, 23 Dec 2016 14:14:30 -0800 (PST)
Final-Recipient: rfc822; admin@yugi.usmailto:admin@yugi.us Original-Recipient: rfc822;admin@yugi.usmailto:admin@yugi.us Action: failed Status: 5.1.1 Diagnostic-Code: X-Postfix; unknown user: “admin"
On Dec 23, 2016, at 2:11 PM, Caesar Samsi <cmsamsi@hotmail.commailto:cmsamsi@hotmail.com> wrote:
I got it to work!
I tweaked this section, the clincher was populating mydestination.
I’m going to do a happy dance.
# --------------------------------- # General host and delivery info # ----------------------------------
myhostname = mail.yugi.ushttp://mail.yugi.us/ mydomain=yugi.ushttp://yugi.us/ myorigin = /etc/hostname
# Some people see issues when setting mydestination explicitly to the server # subdomain, while leaving it empty generally doesn't hurt. So it is left empty$ # mydestination = mail.example.comhttp://mail.example.com/, localhost
mydestination = yugi.ushttp://yugi.us/, mail.yugi.ushttp://mail.yugi.us/, localhost
On Dec 23, 2016, at 1:45 PM, Caesar Samsi <cmsamsi@hotmail.commailto:cmsamsi@hotmail.com> wrote:
I’ve chosen to use yugi.ushttp://yugi.us/ as the email host and www.yugi.ushttp://www.yugi.us/ as the url host.
- I’ve added virtual_alias_domains = yugi.ushttp://yugi.us/
However that causes non mailman email addresses from receiving emails: <admin@yugi.usmailto:admin@yugi.us>: User unknown in virtual alias table Reporting-MTA: dns; mail.yugi.ushttp://mail.yugi.us/ X-Postfix-Queue-ID: 3ADAF3636B6 X-Postfix-Sender: rfc822; alerts@samsi.usmailto:alerts@samsi.us Arrival-Date: Fri, 23 Dec 2016 12:56:00 -0800 (PST)
So I’ve had to remove that setting.
- I’ve (along with step 1 above):
- rmlist all aliases (including mailman)
- rm /var/lib/mailman/data/virtual-man*
- newlist mailman (and provided the email url hosts owner and password)
- /usr/lib/mailman/bin/genaliases (and see the proper entries in /var/lib/mailman/data/virtual-mailman
Now when I send to mailman@yugi.usmailto:mailman@yugi.us I get: mailman@localhost: mail for localhost loops back to myself Reporting-MTA: dns; mail.yugi.ushttp://mail.yugi.us/ X-Postfix-Queue-ID: 3282E3636B6 X-Postfix-Sender: rfc822; alerts@samsi.usmailto:alerts@samsi.us Arrival-Date: Fri, 23 Dec 2016 12:58:11 -0800 (PST)
On my other working mailman server I didn’t have to specify virtual_alias_domains = yugi.ushttp://yugi.us/
If I send to mailman@mail.yugi.usmailto:mailman@mail.yugi.us I get relay access denied: Final-Recipient: rfc822; mailman@mail.yugi.usmailto:mailman@mail.yugi.us Original-Recipient: rfc822;mailman@mail.yugi.usmailto:mailman@mail.yugi.us Action: failed Status: 5.7.1 Remote-MTA: dns; yugi.ushttp://yugi.us/ Diagnostic-Code: smtp; 554 5.7.1 <mailman@mail.yugi.usmailto:mailman@mail.yugi.us>: Relay access denied
I’m stumped … still looking through google.
I’ve reread https://www.gnu.org/software/mailman/mailman-install/postfix-virtual.html too many times and followed the steps that many times too :-)
Attached is postconf -n output, master.cf, and transport. <postfix.txt> <master.cf>
<transport>
On Dec 22, 2016, at 4:09 PM, Mark Sapiro <mark@msapiro.netmailto:mark@msapiro.net> wrote:
On 12/22/2016 03:07 PM, Caesar Samsi wrote: Alright I'm stuck here now, been trolling google … haven’t found a clue yet.
Dec 22 15:02:22 localhost postfix/smtpd[7643]: NOQUEUE: reject: RCPT from 0-46.static.highlandsfibernetwork.comhttp://0-46.static.highlandsfibernetwork.com/[216.9.0.46]: 550 5.1.1 <test2@yugi.usmailto:test2@yugi.usmailto:test2@yugi.us>: Recipient address rejected: User unknown in virtual mailbox table; from=<caesar@samsi.usmailto:caesar@samsi.us> to=<test2@yugi.usmailto:test2@yugi.us> proto=ESMTP helo=<mail.samsi.ushttp://mail.samsi.us/>
As Jim P. said, you may need
virtual_alias_domains = yugi.ushttp://yugi.us/
in Postfix main.cf, although this may conflict with your virtual_mailbox_domains.
You need to figure out what domains you want to use for what purposes, and how you want to deliver to Mailman.
Also, look at your data/virtual-mailman. Is the mapping there like
test2@yugi.usmailto:test2@yugi.us test2@localhost ...
or is it
test2@mail.yugi.usmailto:test2@mail.yugi.us test2@localhost
If the latter, you have to post to test2@mail.yugi.usmailto:test2@mail.yugi.us, not test2@yugi.usmailto:test2@yugi.us or fix your list's host names and rerun genaliases.
-- Mark Sapiro <mark@msapiro.netmailto:mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users@python.orgmailto:Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/cmsamsi%40hotmail.com

On 12/23/2016 02:16 PM, Caesar Samsi wrote:
Agg … now mails to non list emails get rejected:
In case you don't yet realize it, you are way over your head here, so I'm just going to tell you what to do.
In mm_cfg.py put
DEFAULT_EMAIL_HOST = 'yugi.us' DEFAULT_URL_HOST = 'www.yugi.net' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) MTA = 'Postfix' POSTFIX_STYLE_VIRTUAL_DOMAINS = ['yugi.us'] VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'localhost'
Then run Mailman's
bin/withlist -l -a -r fix_url
and
bin/genaliases
in that order.
Your transport file says to use the mailman transport, which master.cf defines as postfix_to_mailman.py for mail to the mail.yugi.us domain. You don't want this, but as long as you don't have transport_maps in main.cf, it's OK, but it would be safe to remove the transport file.
In Postfix main.cf you want (based on what you've posted)
alias_maps = hash:/etc/aliases,hash:/var/lib/mailman/data/aliases
mydestination = localhost, localhost.localdomain
virtual_alias_maps needs to include hash:/var/lib/mailman/data/virtual-mailman
virtual_alias_domains must not include yugi.us.
I think that should work. Let us know.
participants (3)
-
Caesar Samsi
-
Jim Popovitch
-
Mark Sapiro