[Postfixbuch-users] sporadische Mehrfachzustellung von Mails

Michael Reinhold info at michael-reinhold.de
Sa Mai 27 10:16:26 CEST 2006


Sorry, ich hoffe jetzt richtig geantwortet zu haben.


Hier die main.cf per postconf -n:

alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp:127.0.0.1:2526
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
disable_dns_lookups = yes
html_directory = no
mail_spool_directory = /home/mail
mailbox_size_limit = 1000240000
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 30240000
mydestination = $myhostname, localhost.$mydomain, $mydomain
mydomain = mikropartner.de
mynetworks = 127.0.0.0/8, 10.3.120.0/24
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES
relayhost = [mail.mikropartner.de]
sample_directory = /usr/share/doc/postfix-2.2.2/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
transport_maps = hash:/etc/postfix/transport
virtual_alias_maps = hash:/etc/postfix/virtual


Und hier die Erweiterung der master.cf  für den Content-Filter:

localhost:2525 inet n - n - - smtpd -o content_filter= -o 
myhostname=mailer.mikropartner.local

Auf dem Server wird NOD32 for Linux Mailserver als Virenscanner für ein- 
und ausgehende Mails verwendet.

Inzwischen konnte ich noch etwas erfahren:
Die Mehrfachmails kommen immer von den gleichen Versendern, die entweder
per WEB.DE oder Outlook oder Outlook-Express versenden.

Vielen Dank

Michael




Sandy Drobic schrieb:
> Michael Reinhold wrote:
>   
>> Hier ein Ausschnitt aus dem Maillog:
>>     
>
> Bitte kein Top Posting, es macht das Antworten unnötig schwer.
>   
>> ...
>> May 24 17:00:04 mailer postfix/smtpd[7690]: connect from 
>> localhost.localdomain[127.0.0.1]
>>     
>
> Wo kam die Mail den ursprünglich her? Das ist bereits localhost.
>
>   
>> May 24 17:00:04 mailer postfix/smtpd[7690]: D5037E2EEF: 
>> client=localhost.localdomain[127.0.0.1]
>> May 24 17:00:04 mailer postfix/cleanup[7693]: D5037E2EEF: 
>> message-id=<LLEHLKHNINJNLCBBMGHHKEMGCCAA.mbigus at mikropartner.de>
>> May 24 17:00:04 mailer postfix/qmgr[10045]: D5037E2EEF: 
>> from=<mbigus at mikropartner.de>, size=2843, nrcpt=12 (queue active)
>>     
>
> Hier hat die Mail 12 Empfänger. Wenn einige davon Aliase sind für normale 
> Mailaccounts, dann wundert micht eine Mehrfachzustellung nicht.
>
>   
>> May 24 17:00:04 mailer postfix/smtpd[7695]: connect from 
>> localhost.localdomain[127.0.0.1]
>> May 24 17:00:04 mailer postfix/smtpd[7695]: EB1CCE2EF0: 
>> client=localhost.localdomain[127.0.0.1]
>> May 24 17:00:05 mailer postfix/cleanup[7693]: EB1CCE2EF0: 
>> message-id=<LLEHLKHNINJNLCBBMGHHKEMGCCAA.mbigus at mikropartner.de>
>> May 24 17:00:05 mailer postfix/qmgr[10045]: EB1CCE2EF0: 
>> from=<mbigus at mikropartner.de>, size=3717, nrcpt=12 (queue active)
>>     
>
> Hier ist sie wieder, auch mit 12 Empfängern.
>
>   
>> May 24 17:00:05 mailer postfix/smtpd[7695]: disconnect from 
>> localhost.localdomain[127.0.0.1]
>> May 24 17:00:05 mailer postfix/smtp[7694]: D5037E2EEF: 
>> to=<cclasen at mikropartner.de>, relay=127.0.0.1[127.0.0.1], delay=1, 
>> status=sent (250 Ok: queued as EB1CCE2EF0)
>>     
>
> Und hier wird es interessant. Warum wurde die Mail wieder über localhost 
> als Relay verschickt? Ah, das ist die Queue-ID, die oben bereits steht. Es 
> scheint, als ob du ein asynchrones Logging hast. Das macht die Auswertung 
> etwas schwerer.
>
>   
>> May 24 17:00:05 mailer postfix/smtp[7694]: D5037E2EEF: 
>> to=<express_hamm at mikropartner.de>, relay=127.0.0.1[127.0.0.1], delay=1, 
>> status=sent (250 Ok: queued as EB1CCE2EF0)
>> May 24 17:00:05 mailer postfix/smtp[7694]: D5037E2EEF: 
>> to=<express_kiel at mikropartner.de>, relay=127.0.0.1[127.0.0.1], delay=1, 
>> status=sent (250 Ok: queued as EB1CCE2EF0)
>> May 24 17:00:05 mailer postfix/smtp[7694]: D5037E2EEF: 
>> to=<express_neumuenster at mikropartner.de>, relay=127.0.0.1[127.0.0.1], 
>> delay=1, status=sent (250 Ok: queued as EB1CCE2EF0)
>> May 24 17:00:05 mailer postfix/smtp[7694]: D5037E2EEF: 
>> to=<express_northeim at mikropartner.de>, relay=127.0.0.1[127.0.0.1], 
>> delay=1, status=sent (250 Ok: queued as EB1CCE2EF0)
>> May 24 17:00:05 mailer postfix/smtp[7694]: D5037E2EEF: 
>> to=<express_rendsburg at mikropartner.de>, relay=127.0.0.1[127.0.0.1], 
>> delay=1, status=sent (250 Ok: queued as EB1CCE2EF0)
>> May 24 17:00:05 mailer postfix/smtp[7694]: D5037E2EEF: 
>> to=<express_schwaebischgmuend at mikropartner.de>, 
>> relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 Ok: queued as 
>> EB1CCE2EF0)
>> May 24 17:00:05 mailer postfix/smtp[7694]: D5037E2EEF: 
>> to=<express_stade at mikropartner.de>, relay=127.0.0.1[127.0.0.1], delay=1, 
>> status=sent (250 Ok: queued as EB1CCE2EF0)
>> May 24 17:00:05 mailer postfix/smtp[7694]: D5037E2EEF: 
>> to=<kzinke at mikropartner.de>, relay=127.0.0.1[127.0.0.1], delay=1, 
>> status=sent (250 Ok: queued as EB1CCE2EF0)
>> May 24 17:00:05 mailer postfix/smtp[7694]: D5037E2EEF: 
>> to=<mgessat at mikropartner.de>, relay=127.0.0.1[127.0.0.1], delay=1, 
>> status=sent (250 Ok: queued as EB1CCE2EF0)
>> May 24 17:00:05 mailer postfix/smtp[7694]: D5037E2EEF: 
>> to=<mrutsch at mikropartner.de>, relay=127.0.0.1[127.0.0.1], delay=1, 
>> status=sent (250 Ok: queued as EB1CCE2EF0)
>> May 24 17:00:05 mailer postfix/smtp[7694]: D5037E2EEF: 
>> to=<mwiek at mikropartner.de>, relay=127.0.0.1[127.0.0.1], delay=1, 
>> status=sent (250 Ok: queued as EB1CCE2EF0)
>> May 24 17:00:05 mailer postfix/qmgr[10045]: D5037E2EEF: removed
>> May 24 17:00:05 mailer postfix/smtpd[7690]: 2F146E2EEF: 
>> client=localhost.localdomain[127.0.0.1]
>> May 24 17:00:05 mailer postfix/cleanup[7693]: 2F146E2EEF: 
>> message-id=<LLEHLKHNINJNLCBBMGHHKEMGCCAA.mbigus at mikropartner.de>
>> May 24 17:00:05 mailer postfix/local[7698]: EB1CCE2EF0: 
>> to=<cvollmer at mikropartner.de>, orig_to=<express_hamm at mikropartner.de>, 
>> relay=local, delay=1, status=sent (delivered to mailbox)
>> May 24 17:00:05 mailer postfix/local[7696]: EB1CCE2EF0: 
>> to=<cclasen at mikropartner.de>, relay=local, delay=1, status=sent 
>> (delivered to mailbox)
>> May 24 17:00:05 mailer postfix/local[7699]: EB1CCE2EF0: 
>> to=<hdinse at mikropartner.de>, orig_to=<express_kiel at mikropartner.de>, 
>> relay=local, delay=1, status=sent (delivered to mailbox)
>> May 24 17:00:05 mailer postfix/local[7700]: EB1CCE2EF0: 
>> to=<fseybold at mikropartner.de>, 
>> orig_to=<express_neumuenster at mikropartner.de>, relay=local, delay=1, 
>> status=sent (delivered to mailbox)
>> May 24 17:00:05 mailer postfix/local[7706]: EB1CCE2EF0: 
>> to=<mgessat at mikropartner.de>, relay=local, delay=1, status=sent 
>> (delivered to mailbox)
>> May 24 17:00:05 mailer postfix/qmgr[10045]: 2F146E2EEF: 
>> from=<mbigus at mikropartner.de>, size=2842, nrcpt=12 (queue active)
>> May 24 17:00:05 mailer postfix/local[7705]: EB1CCE2EF0: 
>> to=<kzinke at mikropartner.de>, relay=local, delay=1, status=sent 
>> (delivered to mailbox)
>> May 24 17:00:05 mailer postfix/local[7703]: EB1CCE2EF0: 
>> to=<ischauer at mikropartner.de>, 
>> orig_to=<express_schwaebischgmuend at mikropartner.de>, relay=local, 
>> delay=1, status=sent (delivered to mailbox)
>> May 24 17:00:05 mailer postfix/local[7702]: EB1CCE2EF0: 
>> to=<lstapel at mikropartner.de>, 
>> orig_to=<express_rendsburg at mikropartner.de>, relay=local, delay=1, 
>> status=sent (delivered to mailbox)
>> May 24 17:00:05 mailer postfix/local[7704]: EB1CCE2EF0: 
>> to=<express_stade at mikropartner.de>, relay=local, delay=1, status=sent 
>> (delivered to mailbox)
>> May 24 17:00:05 mailer postfix/smtpd[7695]: connect from 
>> localhost.localdomain[127.0.0.1]
>> May 24 17:00:05 mailer postfix/local[7701]: EB1CCE2EF0: 
>> to=<sfoth at mikropartner.de>, orig_to=<express_northeim at mikropartner.de>, 
>> relay=local, delay=1, status=sent (delivered to mailbox)
>> May 24 17:00:05 mailer postfix/smtpd[7695]: 45B56E2EF1: 
>> client=localhost.localdomain[127.0.0.1]
>> May 24 17:00:05 mailer postfix/cleanup[7693]: 45B56E2EF1: 
>> message-id=<LLEHLKHNINJNLCBBMGHHKEMGCCAA.mbigus at mikropartner.de>
>> May 24 17:00:05 mailer postfix/qmgr[10045]: 45B56E2EF1: 
>> from=<mbigus at mikropartner.de>, size=3716, nrcpt=12 (queue active)
>> May 24 17:00:05 mailer postfix/smtpd[7695]: disconnect from 
>> localhost.localdomain[127.0.0.1]
>> May 24 17:00:05 mailer postfix/smtp[7697]: 2F146E2EEF: 
>> to=<cclasen at mikropartner.de>, relay=127.0.0.1[127.0.0.1], delay=0, 
>> status=sent (250 Ok: queued as 45B56E2EF1)
>>     
>
> Hm, es kann sein, dass du ein Problem mit Alias Expansion hast vor und 
> nach dem Contentfilter. Schau dir mal die folgenden Links an:
>
> http://www.postfix.org/FILTER_README.html
> http://www.postfix.org/postconf.5.html#receive_override_options
> http://www.postfix.org/postconf.5.html#no_address_mappings
>
> Wenn dir dies Links nicht helfen, poste doch mal die master.cf (ohne 
> Kommentare)
>
> Ich glaube, ich habe diese Links jetzt das dritte mal in dieser Woche 
> gepostet. (^-^)
>
> Sandy
>
>   



Mehr Informationen über die Mailingliste Postfixbuch-users