Mailman

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Mailman

J. Fahrner
Hallo,
ich verzweifel hier gerade mit Mailman und Postfix.
Ich dachte bisher, das würde laufen, aber komischerweise gehen
Listenmails nicht an die Listenmitglieder, sondern nur an mich selbst.

Im Log sieht das z.B, so aus:

Aug 19 11:26:41 server postfix/cleanup[4905]: E1382801AB:
message-id=<CANig=[hidden email]>
Aug 19 11:26:43 server postfix/qmgr[2565]: E1382801AB:
from=<[hidden email]>, size=2867, nrcpt=1 (queue
active)
Aug 19 11:26:43 server postfix/smtpd[4895]: disconnect from
mail-yb1-xb29.google.com[2607:f8b0:4864:20::b29] ehlo=2 starttls=1
mail=1 rcpt=1 bdat=1 quit=1 commands=7
Aug 19 11:26:44 server postfix/pipe[4914]: E1382801AB:
to=<[hidden email]>,
orig_to=<[hidden email]>, relay=dovecot,
delay=2.7, delays=2.4/0.02/0/0.22, dsn=2.0.0, status=sent (delivered via
dovecot service)
Aug 19 11:26:44 server postfix/qmgr[2565]: E1382801AB: removed

Ich hätte jetzt erwartet, dass die Mail aufgrund von
/var/lib/mailman/data/aliases
neuigkeiten:             "|/var/lib/mailman/mail/mailman post
neuigkeiten"

An mailman übergeben wird. Danach sieht es aber nicht aus.
Woran könnte das liegen?
Mir fällt auf, dass in der Alias-Tabelle keine Domainnamen drin sind.
Könnte das die Ursache sein?

0xA9189208.asc (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Mailman

J. Fahrner
Ich hab mal des Rewrite Modul ein bisschen gesprächiger gemacht, und mit sendmail -bv die Adressauflösung untersucht. Ich hab mal die interessanten Zeilen rot markiert.
Zuerst scheint er die Domain zu entfernen und daraus eine lokale Adresse zu machen. Das scheint ja so gewollt zu sein, weil er in der Alias-Tabelle nur nach lokalen Adresse suchen kann. Anschliessend ergänzt er aber an die lokale Adresse wieder eine Domain. Aus [hidden email] wird so [hidden email]. Und damit findet er dann den Catchall aus fahrner.name. Was könnte dafür verantwortlich sein, dass er aus "neuigkeiten" "[hidden email]" macht, anstatt über die Alias-Tabelle das an Mailman weiterzureichen?

Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: name_mask: all
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: inet_addr_local: configured 2 IPv4 addresses
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: inet_addr_local: configured 3 IPv6 addresses
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: process generation: 23730 (23730)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: Compiled against Berkeley DB: 5.3.28?
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: Run-time linked against Berkeley DB: 5.3.28?
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: dict_open: hash:/var/lib/mailman/data/virtual-mailman
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: connect to subsystem private/proxymap
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr request = open
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr table = pgsql:/etc/postfix/pgsql_virtual_alias_maps.cf
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: status
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: status
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: flags
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: flags
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: 16
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: (list terminator)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: dict_proxy_open: connect to map=pgsql:/etc/postfix/pgsql_virtual_alias_maps.cf status=0 server_flags=fixed
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: dict_open: proxy:pgsql:/etc/postfix/pgsql_virtual_alias_maps.cf
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr request = open
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr table = pgsql:/etc/postfix/pgsql_virtual_alias_domain_maps.cf
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: status
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: status
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: flags
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: flags
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: 16
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: (list terminator)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: dict_proxy_open: connect to map=pgsql:/etc/postfix/pgsql_virtual_alias_domain_maps.cf status=0 server_flags=fixed
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: dict_open: proxy:pgsql:/etc/postfix/pgsql_virtual_alias_domain_maps.cf
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr request = open
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr table = pgsql:/etc/postfix/pgsql_virtual_alias_domain_catchall_maps.cf
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: status
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: status
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: flags
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: flags
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: 16
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: (list terminator)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: dict_proxy_open: connect to map=pgsql:/etc/postfix/pgsql_virtual_alias_domain_catchall_maps.cf status=0 server_flags=fixed
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: dict_open: proxy:pgsql:/etc/postfix/pgsql_virtual_alias_domain_catchall_maps.cf
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr request = open
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr table = pgsql:/etc/postfix/pgsql_virtual_domains_maps.cf
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: status
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: status
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: flags
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: flags
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: 16
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: (list terminator)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: dict_proxy_open: connect to map=pgsql:/etc/postfix/pgsql_virtual_domains_maps.cf status=0 server_flags=fixed
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: dict_open: proxy:pgsql:/etc/postfix/pgsql_virtual_domains_maps.cf
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: Compiled against Berkeley DB: 5.3.28?
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: Run-time linked against Berkeley DB: 5.3.28?
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: dict_open: hash:/etc/postfix/transport
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_string: parent_domain_matches_subdomains: transport_maps ~? debug_peer_list
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_string: parent_domain_matches_subdomains: transport_maps ~? fast_flush_domains
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_string: parent_domain_matches_subdomains: transport_maps ~? mynetworks
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_string: parent_domain_matches_subdomains: transport_maps ~? permit_mx_backup_networks
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_string: parent_domain_matches_subdomains: transport_maps ~? qmqpd_authorized_clients
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_string: parent_domain_matches_subdomains: transport_maps ~? relay_domains
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_string: parent_domain_matches_subdomains: transport_maps ~? smtpd_access_maps
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_list_match: transport_maps: no match
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: maps_find: transport_maps: *: not found
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_string: parent_domain_matches_subdomains: transport_maps ~? debug_peer_list
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_string: parent_domain_matches_subdomains: transport_maps ~? fast_flush_domains
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_string: parent_domain_matches_subdomains: transport_maps ~? mynetworks
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_string: parent_domain_matches_subdomains: transport_maps ~? permit_mx_backup_networks
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_string: parent_domain_matches_subdomains: transport_maps ~? qmqpd_authorized_clients
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_string: parent_domain_matches_subdomains: transport_maps ~? relay_domains
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_string: parent_domain_matches_subdomains: transport_maps ~? smtpd_access_maps
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_list_match: transport_maps: no match
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: maps_find: address_verify_transport_maps: *: not found
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: connection established fd 128
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: rewrite
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: local
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: jochen
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: (list terminator)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: `local' `jochen' -> `[hidden email]'
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr address = [hidden email]
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 1
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: rewrite
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: local
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: [hidden email]
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: (list terminator)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: `local' `[hidden email]' -> `[hidden email]'
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr address = [hidden email]
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 1
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: rewrite
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: local
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: neuigkeiten
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: (list terminator)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: `local' `neuigkeiten' -> `[hidden email]'
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr address = [hidden email]
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 1
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: rewrite
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: local
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: [hidden email]
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: (list terminator)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: `local' `[hidden email]' -> `[hidden email]'
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr address = [hidden email]
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 1
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: rewrite
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: local
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: jochen
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: (list terminator)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: `local' `jochen' -> `[hidden email]'
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr address = [hidden email]
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 1
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: rewrite
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: local
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: [hidden email]
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: (list terminator)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: `local' `[hidden email]' -> `[hidden email]'
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr address = [hidden email]
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 1
Aug 19 12:56:11 server postfix/cleanup[11111]: 88D4B810CF: message-id=<[hidden email]>
Aug 19 12:56:11 server postfix/qmgr[11093]: 88D4B810CF: from=<[hidden email]>, size=352, nrcpt=1 (queue active)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: connection established fd 129
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: resolve
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: sender
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: sender
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: [hidden email]
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: [hidden email]
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: (list terminator)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_list_match: familie-fahrner.de: no match
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_string: virtual_alias_domains: familie-fahrner.de ~? hash:/var/lib/mailman/data/virtual-mailman(0,lock|utf8_request)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_string: virtual_alias_domains: familie-fahrner.de ~? proxy:pgsql:/etc/postfix/pgsql_virtual_alias_maps.cf(0,lock|utf8_request)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr request = lookup
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr table = pgsql:/etc/postfix/pgsql_virtual_alias_maps.cf
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 524352
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr key = familie-fahrner.de
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: status
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: status
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: 1
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: value
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: value
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: (list terminator)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: dict_proxy_lookup: table=pgsql:/etc/postfix/pgsql_virtual_alias_maps.cf flags=lock|utf8_request key=familie-fahrner.de -> status=1 result=
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_string: virtual_alias_domains: familie-fahrner.de ~? proxy:pgsql:/etc/postfix/pgsql_virtual_alias_domain_maps.cf(0,lock|utf8_request)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr request = lookup
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr table = pgsql:/etc/postfix/pgsql_virtual_alias_domain_maps.cf
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 524352
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr key = familie-fahrner.de
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: status
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: status
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: 1
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: value
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: value
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: (list terminator)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: dict_proxy_lookup: table=pgsql:/etc/postfix/pgsql_virtual_alias_domain_maps.cf flags=lock|utf8_request key=familie-fahrner.de -> status=1 result=
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_string: virtual_alias_domains: familie-fahrner.de ~? proxy:pgsql:/etc/postfix/pgsql_virtual_alias_domain_catchall_maps.cf(0,lock|utf8_request)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr request = lookup
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr table = pgsql:/etc/postfix/pgsql_virtual_alias_domain_catchall_maps.cf
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 524352
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr key = familie-fahrner.de
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: status
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: status
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: 1
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: value
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: value
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: (list terminator)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: dict_proxy_lookup: table=pgsql:/etc/postfix/pgsql_virtual_alias_domain_catchall_maps.cf flags=lock|utf8_request key=familie-fahrner.de -> status=1 result=
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_list_match: familie-fahrner.de: no match
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: match_string: virtual_mailbox_domains: familie-fahrner.de ~? proxy:pgsql:/etc/postfix/pgsql_virtual_domains_maps.cf(0,lock|utf8_request)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr request = lookup
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr table = pgsql:/etc/postfix/pgsql_virtual_domains_maps.cf
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 524352
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr key = familie-fahrner.de
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: status
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: status
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: value
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: value
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: familie-fahrner.de
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: private/proxymap socket: wanted attribute: (list terminator)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: dict_proxy_lookup: table=pgsql:/etc/postfix/pgsql_virtual_domains_maps.cf flags=lock|utf8_request key=familie-fahrner.de -> status=0 result=familie-fahrner.de
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: maps_find: transport_maps: [hidden email]: not found
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: maps_find: transport_maps: familie-fahrner.de: not found
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: maps_find: transport_maps: .de: not found
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: mail_addr_find: [hidden email] -> (not found)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: `[hidden email]' -> `[hidden email]' -> (`dovecot' `familie-fahrner.de' `[hidden email]' `1024')
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr transport = dovecot
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr nexthop = familie-fahrner.de
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr recipient = [hidden email]
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 1024
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 1
Aug 19 12:56:11 server postfix/pipe[11121]: 88D4B810CF: to=<[hidden email]>, orig_to=<[hidden email]>, relay=dovecot, delay=0.29, delays=0.19/0.06/0/0.04, dsn=2.0.0, status=deliverable (delivers to command: /usr/lib/dovecot/dovecot-lda)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: rewrite
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: local
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: ""
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: (list terminator)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: `local' `""' -> `""'
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr address = ""
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 1
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: rewrite
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: local
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: [hidden email]
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: (list terminator)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: `local' `[hidden email]' -> `[hidden email]'
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr address = [hidden email]
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 1
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: rewrite
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: local
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: [hidden email]
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: (list terminator)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: `local' `[hidden email]' -> `[hidden email]'
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr address = [hidden email]
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 1
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: rewrite
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: local
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: MAILER-DAEMON
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: (list terminator)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: `local' `MAILER-DAEMON' -> `[hidden email]'
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr address = [hidden email]
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 1
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: request
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: rewrite
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: rule
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: local
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: address
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute value: [hidden email]
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: rewrite socket: wanted attribute: (list terminator)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: input attribute name: (end)
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: `local' `[hidden email]' -> `[hidden email]'
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr flags = 0
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: send attr address = [hidden email]
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 1
Aug 19 12:56:11 server postfix/cleanup[11111]: C0E15840D1: message-id=<[hidden email]>
Aug 19 12:56:11 server postfix/qmgr[11093]: C0E15840D1: from=<>, size=2619, nrcpt=1 (queue active)
Aug 19 12:56:11 server postfix/bounce[11122]: 88D4B810CF: sender delivery status notification: C0E15840D1
Aug 19 12:56:11 server postfix/trivial-rewrite[11113]: master_notify: status 0


Am 2020-08-19 11:37, schrieb J. Fahrner:
Hallo,
ich verzweifel hier gerade mit Mailman und Postfix.
Ich dachte bisher, das würde laufen, aber komischerweise gehen
Listenmails nicht an die Listenmitglieder, sondern nur an mich selbst.

Im Log sieht das z.B, so aus:

Aug 19 11:26:41 server postfix/cleanup[4905]: E1382801AB:
message-id=<[hidden email]>
Aug 19 11:26:43 server postfix/qmgr[2565]: E1382801AB:
from=<[hidden email]>, size=2867, nrcpt=1 (queue
active)
Aug 19 11:26:43 server postfix/smtpd[4895]: disconnect from
mail-yb1-xb29.google.com[2607:f8b0:4864:20::b29] ehlo=2 starttls=1
mail=1 rcpt=1 bdat=1 quit=1 commands=7
Aug 19 11:26:44 server postfix/pipe[4914]: E1382801AB:
to=<[hidden email]>,
orig_to=<[hidden email]>, relay=dovecot,
delay=2.7, delays=2.4/0.02/0/0.22, dsn=2.0.0, status=sent (delivered
via dovecot service)
Aug 19 11:26:44 server postfix/qmgr[2565]: E1382801AB: removed

Ich hätte jetzt erwartet, dass die Mail aufgrund von
/var/lib/mailman/data/aliases
neuigkeiten:             "|/var/lib/mailman/mail/mailman post neuigkeiten"

An mailman übergeben wird. Danach sieht es aber nicht aus.
Woran könnte das liegen?
Mir fällt auf, dass in der Alias-Tabelle keine Domainnamen drin sind.
Könnte das die Ursache sein?

0xA9189208.asc (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Mailman

Jürgen Dollinger
In reply to this post by J. Fahrner
J. Fahrner wrote:
> Ich hätte jetzt erwartet, dass die Mail aufgrund von
> /var/lib/mailman/data/aliases
> neuigkeiten:             "|/var/lib/mailman/mail/mailman post neuigkeiten"
>
> An mailman übergeben wird. Danach sieht es aber nicht aus.
> Woran könnte das liegen?

Was sagt denn
postconf  alias_maps
?

Da sollte sowas wie

alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases

rauskommen, falls ja hast du auch
postalias /var/lib/mailman/data/aliases
aufgerufen?

> Mir fällt auf, dass in der Alias-Tabelle keine Domainnamen drin sind. Könnte
> das die Ursache sein?

Das ist bei aliasen immer so, sonst waeren es ja virtual aliases.
Eigentlich erstaunlich warum mailman die alias Datenbank bevorzugt
obwohl die Listen stets einen bestimmten Domainnamen haben.

--
\ J. Dollinger FAW/n Ulm |zeitnot@irc| http://www.home.pages.de/~zeitnot/
 \    "What're quantum mechanics?"   --   "I don't know. People who    /
  \    repair quantums, I suppose."         (Terry Pratchett, Eric)   /
Reply | Threaded
Open this post in threaded view
|

Re: Mailman

J. Fahrner
Ich hab's jetzt mit dem Transport-Script postfix-to-mailman.py gelöst,
damit funktioniert es. Angeblich soll man die Methode ja nicht mehr
verwenden... aber wenn's funktioniert.

Ich lass das jetzt so. Never touch a running system. ;-)
Aber interessant wäre, wie man solche Dinge debuggen könnte. Das verbose
Log vom trivial-rewrite hat ja auch nicht viel gebracht.

Am 2020-08-19 16:28, schrieb Juergen Dollinger:

> J. Fahrner wrote:
>> Ich hätte jetzt erwartet, dass die Mail aufgrund von
>> /var/lib/mailman/data/aliases
>> neuigkeiten:             "|/var/lib/mailman/mail/mailman post
>> neuigkeiten"
>>
>> An mailman übergeben wird. Danach sieht es aber nicht aus.
>> Woran könnte das liegen?
>
> Was sagt denn
> postconf  alias_maps
> ?
>
> Da sollte sowas wie
>
> alias_maps = hash:/etc/postfix/aliases,
> hash:/var/lib/mailman/data/aliases
>
> rauskommen, falls ja hast du auch
> postalias /var/lib/mailman/data/aliases
> aufgerufen?
>
>> Mir fällt auf, dass in der Alias-Tabelle keine Domainnamen drin sind.
>> Könnte
>> das die Ursache sein?
>
> Das ist bei aliasen immer so, sonst waeren es ja virtual aliases.
> Eigentlich erstaunlich warum mailman die alias Datenbank bevorzugt
> obwohl die Listen stets einen bestimmten Domainnamen haben.


0xA9189208.asc (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Mailman

Markus Winkler
In reply to this post by J. Fahrner
Hi Joachim,

On Wed, 19 Aug 2020 at 11:37:07AM +0200, J. Fahrner wrote:
>Ich hätte jetzt erwartet, dass die Mail aufgrund von
>/var/lib/mailman/data/aliases
>neuigkeiten:             "|/var/lib/mailman/mail/mailman post
>neuigkeiten"
>
>An mailman übergeben wird. Danach sieht es aber nicht aus.
>Woran könnte das liegen?
>Mir fällt auf, dass in der Alias-Tabelle keine Domainnamen drin sind.
>Könnte das die Ursache sein?

Du hast zwar keine Infos zu Deiner Config angegeben, aber ich vermute
mal, dass in Deiner main.cf etwas wie das hier fehlt:

virtual_alias_maps = ..., hash:/var/lib/mailman/data/virtual-mailman

Diese benötigst Du nämlich zusätzlich zu Deiner schon vorhandenen:

alias_maps = ..., hash:/var/lib/mailman/data/aliases

Und damit ist die Verwendung von postfix-to-mailman.py tatsächlich
nicht nötig.

Viele Grüße
Markus

Reply | Threaded
Open this post in threaded view
|

Re: Mailman

J. Fahrner
Am 2020-08-19 18:10, schrieb Markus Winkler:
> Du hast zwar keine Infos zu Deiner Config angegeben, aber ich vermute
> mal, dass in Deiner main.cf etwas wie das hier fehlt:
>
> virtual_alias_maps = ..., hash:/var/lib/mailman/data/virtual-mailman
> alias_maps = ..., hash:/var/lib/mailman/data/aliases
>
> Und damit ist die Verwendung von postfix-to-mailman.py tatsächlich
> nicht nötig.

Doch, war beides drin. Ich hatte verschiedene Anleitungen im Netz
ausprobiert, u.a. auch diese hier:
https://www.gnu.org/software/mailman/mailman-install/postfix-virtual.html#postfix-virtual

Hat alles nicht funktioniert. Ich wollte euch auch nicht mit meiner
kompletten Konfiguration erschlagen, die ist mittlerweile so komplex,
dass ich selbst nur noch mit Mühen durchblicke (Server für mehrere
Domains, konfiguriert mittels Postgresql und Postfixadmin, rspamd, ...).

Mir würde es schon völlig reichen wenn mir jemand sagen könnte wie man
das Address-Rewriting gezielt debuggen kann. Auf try-and-error
verschiedener Anleitungen aus dem Netz habe ich keinen Bock mehr. Ausser
es kennt jemand eine, die WIRKLICH FUNKTIONIERT.

0xA9189208.asc (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Mailman

Markus Winkler
On Wed, 19 Aug 2020 at 07:09:27PM +0200, J. Fahrner wrote:
>Hat alles nicht funktioniert. Ich wollte euch auch nicht mit meiner
>kompletten Konfiguration erschlagen, die ist mittlerweile so komplex,
>dass ich selbst nur noch mit Mühen durchblicke (Server für mehrere

Damit ist es für Außenstehende aber nahezu unmöglich, Dir zu helfen.

>Mir würde es schon völlig reichen wenn mir jemand sagen könnte wie
>man das Address-Rewriting gezielt debuggen kann. Auf try-and-error

Liefern denn die mailman-Maps überhaupt die richtigen Werte?:

postmap -q [hidden email]
hash:/var/lib/mailman/data/virtual-mailman

da müsste das hier erscheinen:

neuigkeiten

Und bei:

postmap -q neuigkeiten hash:/var/lib/mailman/data/aliases

das:

"|/var/lib/mailman/mail/mailman post neuigkeiten"

Ist das so?


Und was liefert?:

postconf -n | grep aliases

Viele Grüße
Markus

Reply | Threaded
Open this post in threaded view
|

Re: Mailman

J. Fahrner
Am 2020-08-19 19:41, schrieb Markus Winkler:
> postmap -q [hidden email]
> hash:/var/lib/mailman/data/virtual-mailman
>
> da müsste das hier erscheinen:
>
> neuigkeiten

Tut es:

# postmap -q [hidden email]
hash:/var/lib/mailman/data/virtual-mailman
neuigkeiten


> Und bei:
>
> postmap -q neuigkeiten hash:/var/lib/mailman/data/aliases
>
> das:
>
> "|/var/lib/mailman/mail/mailman post neuigkeiten"
>
> Ist das so?

Ja.

# postmap -q neuigkeiten hash:/var/lib/mailman/data/aliases
"|/var/lib/mailman/mail/mailman post neuigkeiten"


> Und was liefert?:
>
> postconf -n | grep aliases

# postconf -n | grep aliases
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
hash:/var/lib/mailman/data/aliases


0xA9189208.asc (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Mailman

J. Fahrner
Am 2020-08-19 21:08, schrieb J. Fahrner:

>> Und was liefert?:
>>
>> postconf -n | grep aliases
>
> # postconf -n | grep aliases
> alias_database = hash:/etc/postfix/aliases
> alias_maps = hash:/etc/postfix/aliases
> hash:/var/lib/mailman/data/aliases

Was mich ja etwas stutzig macht ist folgende Aussage:
http://www.postfix.org/postconf.5.html
---------
append_at_myorigin (default: yes)
With locally submitted mail, append the string "@$myorigin" to mail
addresses without domain information. With remotely submitted mail,
append the string "@$remote_header_rewrite_domain" instead.

Note 1: this feature is enabled by default and must not be turned off.
Postfix does not support domain-less addresses.
------

Also: Postfix kann nicht mit Adressen ohne Domain umgehen. Im 1. Schritt
wird aufgrund von /var/lib/mailman/data/virtual-mailman die Domain
entfernt. Dann habe ich eine lokale Adresse ohne Domain, die in der
Alias-Tabelle gefunden würde. Vorher wird aber noch ein "@fahrner.name"
angehängt, und damit kann das ja nicht mehr gefunden werden. Kann mir
das einer erklären? Das kann doch schon vom Prinzip her nicht
funktionieren.

0xA9189208.asc (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Mailman

Markus Winkler
In reply to this post by J. Fahrner
On Wed, 19 Aug 2020 at 09:08:01PM +0200, J. Fahrner wrote:
>>Ist das so?
>
>Ja.

Danke für die Tests.

Hier muss ich noch mal präzisieren:

># postconf -n | grep aliases

Schicke bitte mal noch die Ausgabe von

postconf -n | grep alias

oder besser gleich die komplette Ausgabe.

Und wenn möglich auch den Inhalt von /etc/postfix/aliases.

Danke und Gruß
Markus

Reply | Threaded
Open this post in threaded view
|

Re: Mailman

Markus Winkler
In reply to this post by J. Fahrner
On Wed, 19 Aug 2020 at 09:32:46PM +0200, J. Fahrner wrote:
>Was mich ja etwas stutzig macht ist folgende Aussage:
>---------
>append_at_myorigin (default: yes)
>With locally submitted mail, append the string "@$myorigin" to mail
>addresses without domain information. With remotely submitted mail,
>

Was sagt:

postconf -n | grep append

(es sei denn, Du hast auf meine vorige Mail den kompletten Output von
'postconf -n' geschickt ;-)).

und welche Postfix-Version läuft eigentlich bei Dir?

Gruß
Makus