[Postfixbuch-users] Verständnisfrage zu generic-Tabelle

Werner Flamme w.flamme at web.de
Mo Sep 1 18:05:53 CEST 2008


Ralf Hildebrandt schrieb:
> * Werner Flamme <w.flamme at web.de>:
> 
>> Aug 31 22:40:29 sieben postfix/pickup[6705]: 6B44E2179AD: uid=0 from=<root>
>> Aug 31 22:40:29 sieben postfix/cleanup[8377]: 6B44E2179AD: message-id=<20080831204029.6B44E2179AD at mail.louis5.ath.cx>
>> Aug 31 22:40:29 sieben postfix/qmgr[6706]: 6B44E2179AD: from=<root at louis5.ath.cx>, size=297, nrcpt=1 (queue active)
>> Aug 31 22:40:37 sieben postfix/smtp[8379]: 6B44E2179AD: to=<root at sieben.louis5.ath.cx>, relay=127.0.0.1[127.0.0.1]:10024, delay=8.7, delays=0.34/0.43/0.01/7.9, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=05947-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as AC9FC2179AB)
>> Aug 31 22:40:37 sieben postfix/qmgr[6706]: 6B44E2179AD: removed
> 
> via SMTP
> 
>> Aug 31 22:40:37 sieben postfix/smtpd[8407]: AC9FC2179AB: client=localhost.louis5.ath.cx[127.0.0.1]
>> Aug 31 22:40:37 sieben postfix/cleanup[8377]: AC9FC2179AB: message-id=<20080831204029.6B44E2179AD at mail.louis5.ath.cx>
>> Aug 31 22:40:37 sieben postfix/qmgr[6706]: AC9FC2179AB: from=<w.flamme at web.de>, size=752, nrcpt=1 (queue active)
>> Aug 31 22:40:37 sieben amavis[5947]: (05947-01) Passed CLEAN, <w.flamme at web.de> -> <w.flamme at web.de>, Message-ID: <20080831204029.6B44E2179AD at mail.louis5.ath.cx>, mail_id: K-j0FEWMIx3C, Hits: 0.677, queued_as: AC9FC2179AB, 7906 ms
>> Aug 31 22:40:38 sieben postfix/smtp[8379]: AC9FC2179AB: to=<w.flamme at web.de>, relay=smtp.web.de[217.72.192.157]:25, delay=1.2, delays=0.22/0.04/0.67/0.26, dsn=2.0.0, status=sent (250 OK id=1KZtiw-000770-00)
>> Aug 31 22:40:38 sieben postfix/qmgr[6706]: AC9FC2179AB: removed
> 
> Hmm und ohne content_filter? Oder mal content_filter mit lmtp statt
> smtp transport füttern?
> 

content_filter für pickup, nehme ich an?

a) so wie es jetzt konfiguriert ist, ohne Eintrag in der generic_map

# grep 17:51 mail.info
Sep  1 17:51:01 sieben postfix/pickup[30646]: 2CE4C21731F: uid=0 from=<root>
Sep  1 17:51:01 sieben postfix/cleanup[1233]: 2CE4C21731F:
message-id=<20080901155101.2CE4C21731F at sieben.louis5.ath.cx>
Sep  1 17:51:01 sieben postfix/qmgr[12874]: 2CE4C21731F:
from=<root at louis5.ath.cx>, size=301, nrcpt=1 (queue active)
Sep  1 17:51:09 sieben postfix/smtpd[1275]: connect from
localhost.louis5.ath.cx[127.0.0.1]
Sep  1 17:51:09 sieben postfix/smtpd[1275]: discarding EHLO keywords: DSN
Sep  1 17:51:09 sieben postfix/smtpd[1275]: 5585821731B:
client=localhost.louis5.ath.cx[127.0.0.1]
Sep  1 17:51:09 sieben postfix/cleanup[1233]: 5585821731B:
message-id=<20080901155101.2CE4C21731F at sieben.louis5.ath.cx>
Sep  1 17:51:09 sieben postfix/qmgr[12874]: 5585821731B:
from=<root at louis5.ath.cx>, size=769, nrcpt=1 (queue active)
Sep  1 17:51:09 sieben postfix/smtpd[1275]: disconnect from
localhost.louis5.ath.cx[127.0.0.1]
Sep  1 17:51:09 sieben amavis[29719]: (29719-06) Passed CLEAN,
<root at louis5.ath.cx> -> <root at louis5.ath.cx>, Message-ID:
<20080901155101.2CE4C21731F at sieben.louis5.ath.cx>, mail_id:
J4dQh-FaF6xB, Hits: 0.722, queued_as: 5585821731B, 8103 ms
Sep  1 17:51:09 sieben postfix/qmgr[12874]: 2CE4C21731F: removed
Sep  1 17:51:09 sieben postfix/smtp[1235]: 2CE4C21731F:
to=<root at louis5.ath.cx>, orig_to=<root>,
relay=127.0.0.1[127.0.0.1]:10024, delay=8.5, delays=0.3/0.11/0.01/8.1,
dsn=2.6.0, status=sent (250 2.6.0 Ok, id=29719-06, from
MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 5585821731B)
Sep  1 17:51:09 sieben postfix/local[1278]: 5585821731B:
to=<werner at louis5.ath.cx>, orig_to=<root at louis5.ath.cx>, relay=local,
delay=0.33, delays=0.2/0.03/0/0.1, dsn=2.0.0, status=sent (delivered to
mailbox)
Sep  1 17:51:09 sieben postfix/qmgr[12874]: 5585821731B: removed

b) dito, ohne content_filter für pickup:

# grep 17:55 mail.info
Sep  1 17:55:18 sieben postfix/master[6699]: terminating on signal 15
Sep  1 17:55:21 sieben postfix/master[1777]: daemon started -- version
2.5.2, configuration /etc/postfix
Sep  1 17:55:25 sieben postfix/pickup[1782]: B27A621731F: uid=0 from=<root>
Sep  1 17:55:25 sieben postfix/cleanup[1792]: B27A621731F:
message-id=<20080901155525.B27A621731F at sieben.louis5.ath.cx>
Sep  1 17:55:25 sieben postfix/qmgr[1783]: B27A621731F:
from=<root at louis5.ath.cx>, size=301, nrcpt=1 (queue active)
Sep  1 17:55:26 sieben postfix/local[1794]: B27A621731F:
to=<werner at louis5.ath.cx>, orig_to=<root>, relay=local, delay=0.41,
delays=0.29/0.01/0/0.1, dsn=2.0.0, status=sent (delivered to mailbox)
Sep  1 17:55:26 sieben postfix/qmgr[1783]: B27A621731F: removed

c) wie b), aber mit aktiviertem Eintrag in generic_map

# grep 17:58 mail.info
Sep  1 17:58:25 sieben postfix/pickup[1992]: 8FB2721731F: uid=0 from=<root>
Sep  1 17:58:25 sieben postfix/cleanup[2003]: 8FB2721731F:
message-id=<20080901155825.8FB2721731F at sieben.louis5.ath.cx>
Sep  1 17:58:25 sieben postfix/qmgr[1993]: 8FB2721731F:
from=<root at louis5.ath.cx>, size=301, nrcpt=1 (queue active)
Sep  1 17:58:25 sieben postfix/qmgr[1993]: 8FB2721731F: removed
Sep  1 17:58:25 sieben postfix/local[2005]: 8FB2721731F:
to=<werner at louis5.ath.cx>, orig_to=<root>, relay=local, delay=0.39,
delays=0.29/0/0/0.1, dsn=2.0.0, status=sent (delivered to mailbox)

d) wie c) aber mit aktiviertem content_filter (smtp) bei pickup

# grep '\(D9FDD21731F\|B492F21731B\)' mail.info
Sep  1 18:00:04 sieben postfix/pickup[2347]: D9FDD21731F: uid=0 from=<root>
Sep  1 18:00:04 sieben postfix/cleanup[2379]: D9FDD21731F:
message-id=<20080901160004.D9FDD21731F at sieben.louis5.ath.cx>
Sep  1 18:00:05 sieben postfix/qmgr[2348]: D9FDD21731F:
from=<root at louis5.ath.cx>, size=301, nrcpt=1 (queue active)
Sep  1 18:00:12 sieben postfix/smtpd[2405]: B492F21731B:
client=localhost.louis5.ath.cx[127.0.0.1]
Sep  1 18:00:12 sieben postfix/cleanup[2379]: B492F21731B:
message-id=<20080901160004.D9FDD21731F at sieben.louis5.ath.cx>
Sep  1 18:00:12 sieben postfix/qmgr[2348]: B492F21731B:
from=<w.flamme at web.de>, size=760, nrcpt=1 (queue active)
Sep  1 18:00:12 sieben amavis[29440]: (29440-07) Passed CLEAN,
<w.flamme at web.de> -> <w.flamme at web.de>, Message-ID:
<20080901160004.D9FDD21731F at sieben.louis5.ath.cx>, mail_id:
2aKSyB5hzpUt, Hits: 0.809, queued_as: B492F21731B, 7665 ms
Sep  1 18:00:12 sieben postfix/qmgr[2348]: D9FDD21731F: removed
Sep  1 18:00:12 sieben postfix/smtp[2381]: D9FDD21731F:
to=<root at louis5.ath.cx>, orig_to=<root>,
relay=127.0.0.1[127.0.0.1]:10024, delay=8.4, delays=0.48/0.28/0.01/7.7,
dsn=2.6.0, status=sent (250 2.6.0 Ok, id=29440-07, from
MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as B492F21731B)
Sep  1 18:00:14 sieben postfix/smtp[2381]: B492F21731B:
to=<w.flamme at web.de>, relay=smtp.web.de[217.72.192.157]:25, delay=1.3,
delays=0.22/0.04/0.81/0.25, dsn=2.0.0, status=sent (250 OK
id=1KaBp7-000627-00)
Sep  1 18:00:14 sieben postfix/qmgr[2348]: B492F21731B: removed

e) mit content_filter via lmtp statt smtp bei pickup

Sep  1 18:02:24 sieben postfix/pickup[2693]: C02BA21731F: uid=0 from=<root>
Sep  1 18:02:24 sieben postfix/cleanup[2707]: C02BA21731F:
message-id=<20080901160224.C02BA21731F at sieben.louis5.ath.cx>
Sep  1 18:02:24 sieben postfix/qmgr[2694]: C02BA21731F:
from=<root at louis5.ath.cx>, size=301, nrcpt=1 (queue active)
Sep  1 18:02:25 sieben postfix/smtpd[2712]: connect from
localhost.louis5.ath.cx[127.0.0.1]
Sep  1 18:02:25 sieben postfix/smtpd[2712]: discarding EHLO keywords: DSN
Sep  1 18:02:25 sieben postfix/smtpd[2712]: 748262179C3:
client=localhost.louis5.ath.cx[127.0.0.1]
Sep  1 18:02:25 sieben postfix/cleanup[2707]: 748262179C3:
message-id=<20080901160224.C02BA21731F at sieben.louis5.ath.cx>
Sep  1 18:02:25 sieben postfix/qmgr[2694]: 748262179C3:
from=<root at louis5.ath.cx>, size=768, nrcpt=1 (queue active)
Sep  1 18:02:25 sieben postfix/smtpd[2712]: disconnect from
localhost.louis5.ath.cx[127.0.0.1]
Sep  1 18:02:25 sieben amavis[29719]: (29719-07) Passed CLEAN,
<root at louis5.ath.cx> -> <root at louis5.ath.cx>, Message-ID:
<20080901160224.C02BA21731F at sieben.louis5.ath.cx>, mail_id:
cQElSeSfxfnP, Hits: 0.744, queued_as: 748262179C3, 700 ms
Sep  1 18:02:25 sieben postfix/qmgr[2694]: C02BA21731F: removed
Sep  1 18:02:25 sieben postfix/lmtp[2710]: C02BA21731F:
to=<root at louis5.ath.cx>, orig_to=<root>,
relay=127.0.0.1[127.0.0.1]:10024, delay=0.93, delays=0.2/0.02/0.01/0.71,
dsn=2.6.0, status=sent (250 2.6.0 Ok, id=29719-07, from
MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 748262179C3)
Sep  1 18:02:25 sieben postfix/local[2715]: 748262179C3:
to=<werner at louis5.ath.cx>, orig_to=<root at louis5.ath.cx>, relay=local,
delay=0.28, delays=0.15/0.03/0/0.1, dsn=2.0.0, status=sent (delivered to
mailbox)
Sep  1 18:02:25 sieben postfix/qmgr[2694]: 748262179C3: removed

OK, Problem soweit gelöst: content_filter mit lmtp verschickt keine
Mail. Aber warum bei smtp? Geht Postfix davon aus, dass die Mail da auf
jeden Fall die Maschine verlässt?

Gruß
Werner




Mehr Informationen über die Mailingliste Postfixbuch-users