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.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan