On 6/14/19 2:21 PM, Christian Stalberg via Mailman-Users wrote: > Installing mailman 2.1.20 on a working postfix-dovecot-mysql mail server. > Trying to use hash for Mailman aliases. > > In /etc/postfix/main.cf, I have > > alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
Good. > I ran 'newlist mailman at command line.' This is the aliases file contents. > snipped but looks good. > I ran bin/genaliases. Which wasn't necessary (yet) because creating the list did everything that genaliases did. I then subscribed some email addresses to the mailman > list and sent a test distribution email which was bounced back with errors > as follows: > > This is the mail system at host naturalintelligence.us. > > I'm sorry to have to inform you that your message could not be delivered to > one or more recipients. It's attached below. > > For further assistance, please send mail to postmaster. > > If you do so, please include this problem report. You can delete your own > text from the attached returned message. > > The mail system > > <[email protected]> (expanded from > <[email protected]>): host > naturalintelligence.us[private/dovecot-lmtp] said: 550 5.1.1 > <[email protected]> User doesn't exist: > [email protected] (in reply to RCPT TO command) Is lists.naturalintelligence.us in mydestination or is it a virtual domain? If the latter, you need to put POSTFIX_VIRTUAL_DOMAINS = ['lists.naturalintelligence.us'] in mm_cfg.py and run genaliases again and add virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman to Postfix. > <[email protected]> (expanded from > <[email protected]>): host > naturalintelligence.us[private/dovecot-lmtp] said: 550 5.1.1 > <[email protected]> User doesn't exist: > [email protected] (in reply to RCPT TO command) > > <|/var/lib/mailman/mail/[email protected]> (expanded from > <[email protected]>): host > naturalintelligence.us[private/dovecot-lmtp] said: 550 5.1.1 > <|/var/lib/mailman/mail/[email protected]> User doesn't > exist: > |/var/lib/mailman/mail/[email protected] (in reply to RCPT > TO > command) The Dovecot LDA does not understand the aliases. You may have lists.naturalintelligence.us defined as a virtual domain for Dovecot. This won't work. This is really a Postfix issue, but we will try to help further if you post the output from `postconf -n`. -- Mark Sapiro <[email protected]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list [email protected] 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/archive%40jab.org
