[Postfixbuch-users] Mail an virtuelle User senden.
hotten
hotten at hs-bremerhaven.de
Mi Mär 8 13:55:27 CET 2006
Patrick Ben Koetter wrote:
> * hotten <hotten at hs-bremerhaven.de>:
>
>> Ralf Hildebrandt wrote:
>>
>>> * hotten <hotten at hs-bremerhaven.de>:
>>>
>>>
>>>
>>>> hostname ist imap.studimail.hs-bremerhaven.de
>>>> soll zuständig sein für die domain studimail.hs-bremerhaven.de
>>>>
>>>>
>>> ...
>>>
>>>
>>>> mydestination = $myhostname, localhost
>>>>
>>>>
>>> mydestination = $mydomain, $myhostname, localhost, localhost.$mydomain
>>>
>>>
>>>
>> Ok ist eingetragen!
>> wenn ich jetzt versuche mail an ldaptest at studimail.hs-bremerhaven.de
>> steht im logfile:
>>
>>
>>
>> Mar 8 13:36:49 studimail postfix/smtpd[22042]: connect from
>> wan-gate1.hs-bremerhaven.de[192.109.135.126]
>> Mar 8 13:36:49 studimail postfix/smtpd[22042]: NOQUEUE: reject: RCPT
>> from wan-gate1.hs-bremerhaven.de[192.109.135.126]: 550
>> <ldaptest at studimail.hs-bremerhaven.de>: Recipient address rejected: User
>> unknown in local recipient table; from=<hotten at hs-bremerhaven.de>
>> to=<ldaptest at studimail.hs-bremerhaven.de> proto=ESMTP
>> helo=<mailproxy.hs-bremerhaven.de>
>> Mar 8 13:36:49 studimail postfix/smtpd[22042]: disconnect from
>> wan-gate1.hs-bremerhaven.de[192.109.135.126]
>>
>
> Deiner letzten postconf-Ausgabe zufolge, kann das auch nicht klappen, denn
> Postfix fragt nicht den LDAP-Server:
>
> alias_maps = hash:/etc/aliases
>
> Was Du brauchst ist was in der Art von:
>
> alias_maps =
> hash:/etc/aliases,
> ldap:/etc/postfix/ldap-users.cf
>
>
> Das habe ich auch bereits mehrmals erwähnt...
>
> p at rick
>
>
Sorry hatte ich überlesen!!
postfix findet den user ldaptest aber trotzdem nicht :
Mar 8 13:57:56 studimail postfix/smtpd[22188]: connect from
wan-gate1.hs-bremerhaven.de[192.109.135.126]
Mar 8 13:57:56 studimail postfix/smtpd[22188]: CF90321E75:
client=wan-gate1.hs-bremerhaven.de[192.109.135.126]
Mar 8 13:57:56 studimail postfix/cleanup[22190]: CF90321E75:
message-id=<440ED39C.2020301 at hs-bremerhaven.de>
Mar 8 13:57:56 studimail postfix/qmgr[22145]: CF90321E75:
from=<hotten at hs-bremerhaven.de>, size=891, nrcpt=1 (queue active)
Mar 8 13:57:56 studimail postfix/smtpd[22188]: disconnect from
wan-gate1.hs-bremerhaven.de[192.109.135.126]
Mar 8 13:57:56 studimail amavis[16640]: (16640-04) WARN: all primary
virus scanners failed, considering backups
Mar 8 13:57:57 studimail postfix/smtpd[22194]: connect from
localhost[127.0.0.1]
Mar 8 13:57:57 studimail postfix/smtpd[22194]: F357A21E76:
client=localhost[127.0.0.1]
Mar 8 13:57:58 studimail postfix/cleanup[22190]: F357A21E76:
message-id=<440ED39C.2020301 at hs-bremerhaven.de>
Mar 8 13:57:58 studimail postfix/smtpd[22194]: disconnect from
localhost[127.0.0.1]
Mar 8 13:57:58 studimail amavis[16640]: (16640-04) Passed CLEAN,
[195.37.49.82] <hotten at hs-bremerhaven.de> ->
<ldaptest at studimail.hs-bremerhaven.de>, Message-ID:
<440ED39C.2020301 at hs-bremerhaven.de>, mail_id: y11BMr0whYYK, Hits: 0.02,
1189 ms
Mar 8 13:57:58 studimail postfix/qmgr[22145]: F357A21E76:
from=<hotten at hs-bremerhaven.de>, size=1358, nrcpt=1 (queue active)
Mar 8 13:57:58 studimail postfix/smtp[22191]: CF90321E75:
to=<ldaptest at studimail.hs-bremerhaven.de>, relay=127.0.0.1[127.0.0.1],
delay=2, status=sent (250 2.6.0 Ok, id=16640-04, from
MTA([127.0.0.1]:10025): 250 Ok: queued as F357A21E76)
Mar 8 13:57:58 studimail postfix/qmgr[22145]: CF90321E75: removed
Mar 8 13:57:58 studimail postfix/local[22195]: F357A21E76:
to=<ldaptest at imap.studimail.hs-bremerhaven.de>,
orig_to=<ldaptest at studimail.hs-bremerhaven.de>, relay=local, delay=1,
status=bounced (unknown user: "ldaptest")
Mar 8 13:57:58 studimail postfix/cleanup[22190]: 4527321E77:
message-id=<20060308125758.4527321E77 at imap.studimail.hs-bremerhaven.de>
Mar 8 13:57:58 studimail postfix/qmgr[22145]: 4527321E77: from=<>,
size=3335, nrcpt=1 (queue active)
Mar 8 13:57:58 studimail postfix/qmgr[22145]: F357A21E76: removed
Mar 8 13:57:59 studimail postfix/smtp[22191]: 4527321E77:
to=<hotten at hs-bremerhaven.de>,
relay=mailproxy.hs-bremerhaven.de[192.109.135.141], delay=1, status=sent
(250 OK id=1FGyGb-0003FT-Qh)
Ist die ldapabfrage falsch??
imap:/etc/postfix # more ldap-users.cf
server_host = ldap.hs-bremerhaven.de
bind = no
scope = sub
timeout = 5
search_base = dc=fh-bremerhaven,dc=de
query_filter = (uid=%u)
result_attribute = uid
Mar 8 13:57:59 studimail postfix/qmgr[22145]: 4527321E77: removed
Mehr Informationen über die Mailingliste Postfixbuch-users