Mailman issues - revisited! <- non threatening :)

Discussion in 'Installation/Configuration' started by craig baker, Dec 27, 2020.

  1. craig baker

    craig baker Member HowtoForge Supporter

    I recently did a migration from centos7 3.1x to centos8 3.2 new server.
    all seemed to work (well after some fiddling and help!) new server seems relatively stable. still getting some odd warnings/errors in logs, but sorting them out.

    my Mailman lists moved over but posting to the main one gives smtp errors:
    SMTP Error (550): Failed to add recipient "[email protected]"
    (5.1.1 <[email protected]>:
    Recipient address rejected: User unknown in virtual mailbox table

    how I can log into the list at lists.theeldestgeek.com and mailman certainly seems to be working properly itself.
    so - where is the fault?
    I've snipped out various files and notes. and I added a NEW mailing list TEG under ispconfig - and I cannot find ANY file that it altered anywhere!
    so first question - when I create a new list under ISPCONFIG - where and what files are supposed to be modified?
    now in
    /etc/mailman
    I have aliases and virtual-domain that are both size 0.
    here mm_cfg.py contains:
    Code:
    #-------------------------------------------------------------
    # Uncomment if you use Postfix virtual domains (but not
    # postfix-to-mailman.py), but be sure to see
    # /usr/share/doc/mailman/README.Debian first.
    MTA='Postfix'
    POSTFIX_STYLE_VIRTUAL_DOMAINS = ['theeldestgeek.com', 'toptechva.com']
    #-------------------------------------------------------------
    # Uncomment if you want to filter mail with SpamAssassin. For
    # more information please visit this website:
    # http://www.jamesh.id.au/articles/mailman-spamassassin/
    # GLOBAL_PIPELINE.insert(1, 'SpamAssassin')
    
    POSTFIX_MAP_CMD = '/etc/mailman/virtual_to_transport.sh'
    this looks like code from my old server migrated.
    in main.cf under /etc/postfix:
    Code:
    virtual_alias_domains = proxy:mysql:/etc/postfix/mysql-virtual_alias_domains.cf
    virtual_alias_maps = hash:/etc/mailman/virtual-mailman, proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_alias_maps.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
    virtual_mailbox_base = /var/vmail
    virtual_uid_maps = proxy:mysql:/etc/postfix/mysql-virtual_uids.cf
    virtual_gid_maps = proxy:mysql:/etc/postfix/mysql-virtual_gids.cf
    sender_bcc_maps = proxy:mysql:/etc/postfix/mysql-virtual_outgoing_bcc.cf
    smtpd_sasl_auth_enable = yes
    broken_sasl_auth_clients = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_restriction_classes = greylisting
    greylisting = check_policy_service inet:127.0.0.1:10023
    smtpd_recipient_restrictions = permit_mynetworks, reject_unknown_recipient_domain, reject_unlisted_recipient, check_recipient_access proxy:mysql:/etc/postfix/mysql-verify_recipients.cf, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unauth_destination, check_recipient_access proxy:mysql:/etc/postfix/mysql-virtual_recipient.cf, check_recipient_access mysql:/etc/postfix/mysql-virtual_policy_greylist.cf, check_policy_service unix:private/quota-status
    smtpd_use_tls = yes
    transport_maps = hash:/var/lib/mailman/data/transport-mailman, proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    further we have in main.cf:
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases

    normal mail seems to flow properly. so questions -
    are alias and virtual_maps in /etc/mail SUPPOSED to be empty?
    and why did adding a new maillist TEG seemingly write nothing anywhere??

    thanks :) hopefully new server getting close to functionality of the old one!
    now if only BANDAEMON worked with php7.4 - default on new server!
    happy holidays to all!
     

Share This Page