[Postfixbuch-users] Hilfe, LDAP treibt mich in den Wahnsinn
Christian Roessner
christian at roessner-net.com
Fr Aug 1 22:57:10 CEST 2008
Nochmal Hallo,
habe jetzt noch das aus der Manpage virtual(8):
Normally, a lookup table is specified as a text file that
serves as input to the postmap(1) command. The result, an
indexed file in dbm or db format, is used for fast search-
ing by the mail system.
[...]
The user at domain.tld address, without address exten-
sion, is looked up next.
[...]
When the table is provided via other means such as NIS,
LDAP or SQL, the same lookups are done as for ordinary
indexed files.
Jetzt verstehe ich noch weniger, warum es nicht geht :-(
Für jede Mailadresse foo at sample.org antwortet doch der LDAP. Woran kann
das denn jetzt noch liegen?
Ach ja, Fehlermeldung aus dem Log vergessen:
Aug 1 20:54:58 srv1 postfix/smtpd[14802]: connect from localhost[127.0.0.1]
Aug 1 20:54:58 srv1 postfix/smtpd[14802]: 8B2D652088:
client=localhost[127.0.0.1]
Aug 1 20:54:58 srv1 postfix/cleanup[14790]: 8B2D652088:
message-id=<20080801185454.E50D8520A2 at srv1.domu1.roessner-net.de>
Aug 1 20:54:58 srv1 postfix/qmgr[14780]: 8B2D652088:
from=<christian at roessner-net.com>, size=1057, nrcpt=1 (queue active)
Aug 1 20:54:58 srv1 postfix/smtpd[14802]: disconnect from
localhost[127.0.0.1]
Aug 1 20:54:58 srv1 postfix/qmgr[14780]: A1295520A1:
from=<christian at roessner-net.com>, size=1604, nrcpt=1 (queue active)
Aug 1 20:54:58 srv1 postfix/qmgr[14780]: 8B2D652088: removed
Aug 1 20:54:58 srv1 postfix/cleanup[14790]: A1295520A1:
message-id=<20080801185454.E50D8520A2 at srv1.domu1.roessner-net.de>
Aug 1 20:54:58 srv1 postfix/local[14815]: 8B2D652088:
to=<postmaster at domu1.roessner-net.de>, relay=local, delay=0.1,
delays=0.07/0.02/0/0.0
1, dsn=2.0.0, status=sent (forwarded as A1295520A1)
Aug 1 20:54:58 srv1 amavis[14534]: (14534-04) Passed CLEAN, ORIGINATING
LOCAL [127.0.0.1] [127.0.0.1] <christian at roessner-net.com> -> <post
master at domu1.roessner-net.de>, Message-ID:
<20080801185454.E50D8520A2 at srv1.domu1.roessner-net.de>, mail_id:
7wviYuLIvw-w, Hits: -1.394, size
: 510, queued_as: 8B2D652088, 1111 ms
Aug 1 20:54:58 srv1 postfix/smtp[14791]: E50D8520A2:
to=<postmaster at domu1.roessner-net.de>, relay=127.0.0.1[127.0.0.1]:10026,
delay=3.8, de
lays=0.07/1.6/1/1.1, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as
8B2D652088)
Aug 1 20:54:58 srv1 postfix/qmgr[14780]: E50D8520A2: removed
Aug 1 20:54:58 srv1 postfix/smtp[14804]: A1295520A1:
to=<postmaster at roessner-net.com>,
orig_to=<postmaster at domu1.roessner-net.de>, relay=no
ne, delay=0.01, delays=0.01/0/0/0, dsn=5.4.6, status=bounced (mail for
roessner-net.com loops back to myself)
Aug 1 20:54:58 srv1 postfix/cleanup[14790]: AAEE952088:
message-id=<20080801185458.AAEE952088 at srv1.domu1.roessner-net.de>
Aug 1 20:54:58 srv1 postfix/qmgr[14780]: AAEE952088: from=<>,
size=4387, nrcpt=1 (queue active)
Aug 1 20:54:58 srv1 postfix/qmgr[14780]: A1295520A1: removed
Aug 1 20:54:58 srv1 postfix/bounce[14806]: A1295520A1: sender
non-delivery notification: AAEE952088
Aug 1 20:54:58 srv1 postfix/qmgr[14780]: AAEE952088: removed
Aug 1 20:54:58 srv1 postfix/smtp[14804]: AAEE952088:
to=<christian at roessner-net.com>, relay=none, delay=0.04,
delays=0.04/0/0/0, dsn=5.4.6,
status=bounced (mail for roessner-net.com loops back to myself)
Und hier mal, wie es sein sollte (Mit Flatfile):
Aug 1 20:38:12 srv1 postfix/smtpd[14519]: connect from localhost[127.0.0.1]
Aug 1 20:38:12 srv1 postfix/smtpd[14519]: 79532520A4:
client=localhost[127.0.0.1]
Aug 1 20:38:12 srv1 postfix/cleanup[14494]: 79532520A4:
message-id=<20080801183809.460B2520A5 at srv1.domu1.roessner-net.de>
Aug 1 20:38:12 srv1 postfix/qmgr[14487]: 79532520A4:
from=<christian at roessner-net.com>, size=1057, nrcpt=1 (queue active)
Aug 1 20:38:12 srv1 amavis[14290]: (14290-05) Passed CLEAN, ORIGINATING
LOCAL [127.0.0.1] [127.0.0.1] <christian at roessner-net.com> -> <post
master at domu1.roessner-net.de>, Message-ID:
<20080801183809.460B2520A5 at srv1.domu1.roessner-net.de>, mail_id:
s0zBacvg0r2H, Hits: -1.39, size:
510, queued_as: 79532520A4, 1160 ms
Aug 1 20:38:12 srv1 postfix/smtpd[14519]: disconnect from
localhost[127.0.0.1]
Aug 1 20:38:12 srv1 postfix/smtp[14495]: 460B2520A5:
to=<postmaster at domu1.roessner-net.de>, relay=127.0.0.1[127.0.0.1]:10026,
delay=3.3, de
lays=0.09/0.76/1.3/1.2, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as
79532520A4)
Aug 1 20:38:12 srv1 postfix/qmgr[14487]: 460B2520A5: removed
Aug 1 20:38:12 srv1 postfix/cleanup[14494]: 8A6A4520EC:
message-id=<20080801183809.460B2520A5 at srv1.domu1.roessner-net.de>
Aug 1 20:38:12 srv1 postfix/qmgr[14487]: 8A6A4520EC:
from=<christian at roessner-net.com>, size=1604, nrcpt=1 (queue active)
Aug 1 20:38:12 srv1 postfix/qmgr[14487]: 79532520A4: removed
Aug 1 20:38:12 srv1 postfix/local[14532]: 79532520A4:
to=<postmaster at domu1.roessner-net.de>, relay=local, delay=0.1,
delays=0.06/0.02/0/0.0
2, dsn=2.0.0, status=sent (forwarded as 8A6A4520EC)
Aug 1 20:38:12 srv1 deliver(postmaster at roessner-net.com):
msgid=<20080801183809.460B2520A5 at srv1.domu1.roessner-net.de>: saved mail
to INBOX
Ich habe extra mal Zeilenumbrüche an den Stellen enigefügt, wo ich der
Meinung bin, dass sich das weitere Verhalten ändert. Im Fehlerfalle
sieht man plötzlich postfix/smtp, während im korrekten Falle eigentlich
postfix/cleanup sein müsste. Woran könnte das liegen?
Thx
Christian
--
Roessner Network Solutions (R.N.S.)
Licher Str. 19a, 35394 Gießen
Telefon: +49 641 5879091, Mobil: +49 171 3611230
USt-IdNr.: DE225643613
URL: http://www.roessner-net.com/ PGP:
http://www.roessner-net.com/0x6B929997.asc
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname : signature.asc
Dateityp : application/pgp-signature
Dateigröße : 252 bytes
Beschreibung: OpenPGP digital signature
URL : <https://listi.jpberlin.de/pipermail/postfixbuch-users/attachments/20080801/78ac1e82/attachment.asc>
Mehr Informationen über die Mailingliste Postfixbuch-users