[Postfixbuch-users] disclaimer in postfix mit kav und altermime

Oliver Rau oliver.rau at koeln.de
Do Mär 1 10:53:40 CET 2007



Kai Fürstenberg schrieb:
> Oliver Rau wrote:
> 
>>danke rainer,
>>ich denke das wird's sein - wer erklaert mir jetzt, wie ich das 
>>bewerkstellige?
>>
>>Rainer Wiesenfarth schrieb:
>>
>>>Oliver Rau schrieb:
>>>
>>>
>>>>[...]
>>>>als 'laie' kann ich daraus erkennen, das der lmtp loopt, der unstehende 
>>>>auszug ist der 18. durchlauf, bevor der fehler auftaucht...
>>>>so what?
>>>>[...]
>>>
>>>Ja, das ist ja jetzt auch ziemlich klar:
>>>- Die Nachricht kommt über smtpd oder pickup ins System
>>>- geht weiter an KAV auf Port 10030
>>>- kommt von KAV zurück und geht an discl
>>>- kommt von discl zurück über? Und landet wo? Bei pickup!
>>>- geht weiter an KAV auf Port 10030
>>>- ...
>>>
>>>Ergo: Dein disclaimer Skript darf die Nachricht nicht über
>>>Standard-Pickup wieder ins System geben. Wie Du das realisierst, können
>>>Dir andere besser erklären als ich. Auf jeden Fall musst Du verhindern,
>>>dass die vom disclaimer Skript kommende Nachricht die Content Filter
>>>durchläuft ...
>>>
>>>Best Regards / Mit freundlichen Grüßen
>>>Rainer Wiesenfarth
> 
> 
> Du hast auf deinem Standard-Pickup den content-Filter lmtp... usw. drin, 
> der nach dem Disclaimer die Mail wieder abgreift (und somit wieder an 
> den KAV schickt. Hier setzt du
> -o content_filter=
> also leer lassen.

mit dem resultat, dass die mail zwar ankommt, aber ohne disclaimer... ?
oliver

Mar  1 10:43:04 mail postfix/smtpd[6584]: connect from 
sysedv2.systemlogistik.dpd.de[10.15.1.212]
Mar  1 10:43:04 mail postfix/smtpd[6584]: E2DB77EB: 
client=sysedv2.systemlogistik.dpd.de[10.15.1.212]
Mar  1 10:43:04 mail postfix/cleanup[6586]: E2DB77EB: 
message-id=<45E6A028.9010604 at systemlogistik.dpd.de>
Mar  1 10:43:04 mail postfix/qmgr[6582]: E2DB77EB: 
from=<oliver.rau at systemlogistik.dpd.de>, size=743, nrcpt=1 (queue active)
Mar  1 10:43:04 mail postfix/lmtp[6588]: connection established
Mar  1 10:43:04 mail postfix/lmtp[6588]: master_notify: status 0
Mar  1 10:43:04 mail postfix/lmtp[6588]: deliver_request_initial: send 
initial status
Mar  1 10:43:04 mail postfix/lmtp[6588]: send attr status = 0
Mar  1 10:43:04 mail postfix/lmtp[6588]: lmtp socket: wanted attribute: 
flags
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute name: flags
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute value: 3
Mar  1 10:43:04 mail postfix/lmtp[6588]: lmtp socket: wanted attribute: 
queue_name
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute name: queue_name
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute value: active
Mar  1 10:43:04 mail postfix/lmtp[6588]: lmtp socket: wanted attribute: 
queue_id
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute name: queue_id
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute value: E2DB77EB
Mar  1 10:43:04 mail postfix/lmtp[6588]: lmtp socket: wanted attribute: 
offset
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute name: offset
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute value: 406
Mar  1 10:43:04 mail postfix/lmtp[6588]: lmtp socket: wanted attribute: size
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute name: size
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute value: 743
Mar  1 10:43:04 mail postfix/lmtp[6588]: lmtp socket: wanted attribute: 
nexthop
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute name: nexthop
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute value: 
127.0.0.1:10030
Mar  1 10:43:04 mail postfix/lmtp[6588]: lmtp socket: wanted attribute: 
encoding
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute name: encoding
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute value: (end)
Mar  1 10:43:04 mail postfix/lmtp[6588]: lmtp socket: wanted attribute: 
sender
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute name: sender
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute value: 
oliver.rau at systemlogistik.dpd.de
Mar  1 10:43:04 mail postfix/lmtp[6588]: lmtp socket: wanted attribute: 
errors-to
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute name: errors-to
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute value: 
oliver.rau at systemlogistik.dpd.de
Mar  1 10:43:04 mail postfix/lmtp[6588]: lmtp socket: wanted attribute: 
return-receipt
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute name: 
return-receipt
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute value: (end)
Mar  1 10:43:04 mail postfix/lmtp[6588]: lmtp socket: wanted attribute: time
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute name: time
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute value: 1172742184
Mar  1 10:43:04 mail postfix/lmtp[6588]: lmtp socket: wanted attribute: 
client_name
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute name: client_name
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute value: 
sysedv2.systemlogistik.dpd.de
Mar  1 10:43:04 mail postfix/lmtp[6588]: lmtp socket: wanted attribute: 
client_address
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute name: 
client_address
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute value: 10.15.1.212
Mar  1 10:43:04 mail postfix/lmtp[6588]: lmtp socket: wanted attribute: 
protocol_name
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute name: protocol_name
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute value: ESMTP
Mar  1 10:43:04 mail postfix/lmtp[6588]: lmtp socket: wanted attribute: 
helo_name
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute name: helo_name
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute value: 
[10.15.1.212]
Mar  1 10:43:04 mail postfix/lmtp[6588]: lmtp socket: wanted attribute: 
offset
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute name: offset
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute value: 343
Mar  1 10:43:04 mail postfix/lmtp[6588]: lmtp socket: wanted attribute: 
original_recipient
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute name: 
original_recipient
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute value: 
oliver.rau at systemlogistik.dpd.de
Mar  1 10:43:04 mail postfix/lmtp[6588]: lmtp socket: wanted attribute: 
recipient
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute name: recipient
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute value: 
oliver.rau~systemlogistik.dpd.de at mail.systemlogistik.dpd.de
Mar  1 10:43:04 mail postfix/lmtp[6588]: lmtp socket: wanted attribute: 
offset
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute name: offset
Mar  1 10:43:04 mail postfix/lmtp[6588]: input attribute value: 0
Mar  1 10:43:04 mail postfix/lmtp[6588]: deliver_request_get: file 
active/E/E2DB77EB
Mar  1 10:43:04 mail postfix/lmtp[6588]: deliver_message: from 
oliver.rau at systemlogistik.dpd.de
Mar  1 10:43:04 mail postfix/lmtp[6588]: > 127.0.0.1[127.0.0.1]: RSET
Mar  1 10:43:04 mail postfix/lmtp[6588]: < 127.0.0.1[127.0.0.1]: 250 
2.0.0 Ok.
Mar  1 10:43:04 mail postfix/lmtp[6588]: deliver_message: reusing (count 
1) session with: 127.0.0.1
Mar  1 10:43:04 mail postfix/lmtp[6588]: > 127.0.0.1[127.0.0.1]: MAIL 
FROM:<oliver.rau at systemlogistik.dpd.de>
Mar  1 10:43:04 mail postfix/lmtp[6588]: > 127.0.0.1[127.0.0.1]: RCPT 
TO:<oliver.rau~systemlogistik.dpd.de at mail.systemlogistik.dpd.de>
Mar  1 10:43:04 mail postfix/lmtp[6588]: > 127.0.0.1[127.0.0.1]: DATA
Mar  1 10:43:04 mail postfix/lmtp[6588]: < 127.0.0.1[127.0.0.1]: 250 
2.1.0 <oliver.rau at systemlogistik.dpd.de> sender ok
Mar  1 10:43:04 mail postfix/smtpd[6584]: disconnect from 
sysedv2.systemlogistik.dpd.de[10.15.1.212]
Mar  1 10:43:04 mail postfix/lmtp[6588]: < 127.0.0.1[127.0.0.1]: 250 
2.1.5 <oliver.rau~systemlogistik.dpd.de at mail.systemlogistik.dpd.de> 
recipient ok
Mar  1 10:43:04 mail postfix/lmtp[6588]: < 127.0.0.1[127.0.0.1]: 354 
Enter mail, end with "." on a line by itself
Mar  1 10:43:04 mail postfix/lmtp[6588]: > 127.0.0.1[127.0.0.1]: .
Mar  1 10:43:04 mail postfix/smtpd[6592]: connect from 
localhost.localdomain[127.0.0.1]
Mar  1 10:43:04 mail postfix/smtpd[6592]: F30977EF: 
client=localhost.localdomain[127.0.0.1]
Mar  1 10:43:04 mail postfix/cleanup[6586]: F30977EF: 
message-id=<45E6A028.9010604 at systemlogistik.dpd.de>
Mar  1 10:43:05 mail postfix/qmgr[6582]: F30977EF: 
from=<oliver.rau at systemlogistik.dpd.de>, size=1092, nrcpt=1 (queue active)
Mar  1 10:43:05 mail postfix/smtpd[6592]: disconnect from 
localhost.localdomain[127.0.0.1]
Mar  1 10:43:05 mail postfix/lmtp[6588]: < 127.0.0.1[127.0.0.1]: 250 
2.0.0 <oliver.rau~systemlogistik.dpd.de at mail.systemlogistik.dpd.de> Ok
Mar  1 10:43:05 mail postfix/lmtp[6588]: E2DB77EB: 
to=<oliver.rau~systemlogistik.dpd.de at mail.systemlogistik.dpd.de>, 
orig_to=<oliver.rau at systemlogistik.dpd.de>, relay=127.0.0.1[127.0.0.1], 
delay=1, status=sent (250 2.0.0 
<oliver.rau~systemlogistik.dpd.de at mail.systemlogistik.dpd.de> Ok)
Mar  1 10:43:05 mail postfix/lmtp[6588]: lmtp_loop: recv_dot = 0
Mar  1 10:43:05 mail postfix/lmtp[6588]: lmtp_loop: finished . command
Mar  1 10:43:05 mail postfix/lmtp[6588]: name_mask: resource
Mar  1 10:43:05 mail postfix/lmtp[6588]: name_mask: software
Mar  1 10:43:05 mail postfix/lmtp[6588]: name_mask: policy
Mar  1 10:43:05 mail postfix/lmtp[6588]: name_mask: protocol
Mar  1 10:43:05 mail postfix/lmtp[6588]: name_mask: 2bounce
Mar  1 10:43:05 mail postfix/lmtp[6588]: name_mask: delay
Mar  1 10:43:05 mail postfix/lmtp[6588]: deliver_request_final: send: "" 0
Mar  1 10:43:05 mail postfix/lmtp[6588]: send attr reason =
Mar  1 10:43:05 mail postfix/lmtp[6588]: send attr status = 0
Mar  1 10:43:05 mail postfix/qmgr[6582]: E2DB77EB: removed
Mar  1 10:43:05 mail postfix/lmtp[6588]: master_notify: status 1
Mar  1 10:43:05 mail postfix/lmtp[6588]: connection closed
Mar  1 10:43:05 mail postfix/lmtp[6588]: watchdog_stop: 0x8059a80
Mar  1 10:43:05 mail postfix/lmtp[6588]: watchdog_start: 0x8059a80
Mar  1 10:43:05 mail postfix/pickup[6581]: 0861A7F9: uid=107 
from=<oliver.rau at systemlogistik.dpd.de>
Mar  1 10:43:05 mail postfix/cleanup[6586]: 0861A7F9: 
message-id=<45E6A028.9010604 at systemlogistik.dpd.de>
Mar  1 10:43:05 mail postfix/pipe[6593]: F30977EF: 
to=<oliver.rau~systemlogistik.dpd.de at mail.systemlogistik.dpd.de>, 
relay=discl, delay=1, status=sent (mail.systemlogistik.dpd.de)
Mar  1 10:43:05 mail postfix/qmgr[6582]: F30977EF: removed
Mar  1 10:43:05 mail postfix/qmgr[6582]: 0861A7F9: 
from=<oliver.rau at systemlogistik.dpd.de>, size=1311, nrcpt=1 (queue active)
Mar  1 10:43:05 mail postfix/local[6600]: 0861A7F9: 
to=<oliver.rau~systemlogistik.dpd.de at mail.systemlogistik.dpd.de>, 
relay=local, delay=0, status=sent (delivered to command: 
/opt/tequila/bin/vacation systemlogistik.dpd.de)
Mar  1 10:43:05 mail postfix/local[6600]: 0861A7F9: 
to=<oliver.rau~systemlogistik.dpd.de at mail.systemlogistik.dpd.de>, 
relay=local, delay=0, status=sent (delivered to file: 
/var/spool/mail/systemlogistik.dpd.de/oliver.rau)
Mar  1 10:43:05 mail postfix/qmgr[6582]: 0861A7F9: removed
> 
> Kai



Mehr Informationen über die Mailingliste Postfixbuch-users