Problem with Mailman in openSuse mail server ISPconfig 3

Discussion in 'Installation/Configuration' started by kassyo, May 22, 2012.

  1. kassyo

    kassyo New Member

    Greeting, i have the next problem with an openSuse server with Postfix, Dovecot, ISPConfig 3 and Mailman.

    After creating a new list (gen. aliases, etc) in a server with a couple of mail list working, suddenly mailman stop working, simply every message to any list return with a "User Unknown".

    Postconf -n

    PHP:
    alias_database hash:/etc/aliaseshash:/var/lib/mailman/data/aliases
    alias_maps 
    $alias_database
    biff 
    no
    body_checks 
    regexp:/etc/postfix/body_checks
    broken_sasl_auth_clients 
    yes
    canonical_maps 
    hash:/etc/postfix/canonical
    command_directory 
    = /usr/sbin
    config_directory 
    = /etc/postfix
    content_filter 
    =
    daemon_directory = /usr/lib/postfix
    data_directory 
    = /var/lib/postfix
    debug_peer_level 
    5
    debug_peer_list 
    127.0.0.1
    default_destination_recipient_limit 
    15
    default_privs 
    mailman
    defer_transports 
    =
    delay_warning_time 1h
    disable_dns_lookups 
    no
    disable_mime_output_conversion 
    no
    header_checks 
    regexp:/etc/postfix/header_checks
    html_directory 
    = /usr/share/doc/packages/postfix-doc/html
    inet_interfaces 
    all
    inet_protocols 
    all
    local_recipient_maps 
    hash:/var/lib/mailman/data/aliases
    mail_owner 
    postfix
    mail_spool_directory 
    = /var/mail
    mailbox_command 
    =
    mailbox_size_limit 0
    mailbox_transport 
    =
    mailq_path = /usr/bin/mailq
    manpage_directory 
    = /usr/share/man
    masquerade_classes 
    envelope_senderheader_senderheader_recipient
    masquerade_domains 
    =
    masquerade_exceptions root
    message_size_limit 
    0
    message_strip_characters 
    = \0
    mime_header_checks 
    regexp:/etc/postfix/mime_header_checks
    mydestination 
    $myhostnamelocalhost.coacan.eslocalhost
    myhostname 
    correo.coacan.es
    mynetworks 
    192.168.123.18/32 192.168.123.11/32 192.168.123.12/32
    mynetworks_style 
    subnet
    myorigin 
    coacan.es
    nested_header_checks 
    regexp:/etc/postfix/nested_header_checks
    newaliases_path 
    = /usr/bin/newaliases
    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_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
    queue_directory 
    = /var/spool/postfix
    readme_directory 
    = /usr/share/doc/packages/postfix-doc/README_FILES
    receive_override_options 
    no_unknown_recipient_checks
    relay_domains 
    mysql:/etc/postfix/mysql-virtual_relaydomains.cf
    relay_recipient_maps 
    hash:/var/lib/mailman/data/virtual-mailmanmysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
    relayhost 
    192.168.123.18
    relocated_maps 
    hash:/etc/postfix/relocated
    sample_directory 
    = /usr/share/doc/packages/postfix-doc/samples
    sender_canonical_maps 
    hash:/etc/postfix/sender_canonical
    sendmail_path 
    = /usr/sbin/sendmail
    setgid_group 
    maildrop
    smtp_enforce_tls 
    no
    smtp_sasl_auth_enable 
    no
    smtp_use_tls 
    no
    smtpd_client_restrictions 
    check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
    smtpd_helo_required 
    no
    smtpd_helo_restrictions 
    =
    smtpd_recipient_restrictions permit_mynetworkspermit_sasl_authenticatedcheck_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cfreject_unauth_destinationreject
    smtpd_sasl_auth_enable 
    yes
    smtpd_sasl_authenticated_header 
    yes
    smtpd_sasl_path 
    = private/auth
    smtpd_sasl_security_options 
    noanonymous
    smtpd_sasl_type 
    dovecot
    smtpd_sender_restrictions 
    check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
    smtpd_tls_cert_file 
    = /etc/postfix/smtpd.cert
    smtpd_tls_key_file 
    = /etc/postfix/smtpd.key
    smtpd_tls_security_level 
    may
    smtpd_use_tls 
    yes
    strict_8bitmime 
    no
    strict_rfc821_envelopes 
    no
    transport_maps 
    proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    unknown_local_recipient_reject_code 
    550
    virtual_alias_maps 
    hash:/var/lib/mailman/data/virtual-mailmanmysql:/etc/postfix/mysql-virtual_forwardings.cf
    virtual_gid_maps 
    = static:5000
    virtual_mailbox_base 
    = /var/vmail
    virtual_mailbox_domains 
    proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
    virtual_mailbox_maps 
    proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
    virtual_transport 
    dovecot
    virtual_uid_maps 
    = static:5000
    The message its directly delivered to dovecot who returns the error message to the sender. But the other aliases work perfectly, only fail the mailman aliases.

    Postmap -q ... against the aliases files => fine output.

    Any idea? at least for where we begin to search?

    Thanks in advance.
     
  2. kassyo

    kassyo New Member

    Still testing, but no avances.

    PHP:
    virtual_alias_maps hash:/var/lib/mailman/data/virtual-mailmanmysql:/etc/postfix/mysql-virtual_forwardings.cf 
    Postfix is translating the ISPConfig forwadings correctly, i can see debugging postfix how it translate my_mailman_list@my_domain to my_mailman_list, but the next step to locate that local user in alias_maps its not working.

    My mail server handles virtual domains.

    Any idea?
     
  3. kassyo

    kassyo New Member

    Including my domain in mydestination in main.cf make mailman works, but the other mailboxes stop working because it begins to translate the "email@mydomain" to a local user "email" that dont exist.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What's in /etc/aliases?
     
  5. kassyo

    kassyo New Member

    I finally found the solution (and not sure if the problem).

    My mail server is based in virtual mailbox accounts, and sharing the domain with the mailman lists its not allowed (at least i cant make it run).

    I simply changed the virtual aliases of the mailman lists to another domain and it worked perfectly (even the domain doesnt exist, resolves internally), but creating forwards with ISPConfig from the old mail-list@mydomain to [email protected]in.

    /etc/aliases its checked and fine, but thank you everyway Falko.
     

Share This Page