Hallo Christian,

Am 29.09.10 11:43, schrieb [email protected]:

>> Wir mappen per virtual_alias_maps eine neue Domain auf die alte
Domain um:
>>
>> @neuedomain @altedomain
>
> wobei du dabei auch aufpassen musst, da so alle E-Mails für alle
> Empfänger in neuedomain angenommen werden, auch wenn diese in altedomain
> gar nicht existieren:
>
>               Note:  @domain  is a wild-card. With this form, the
>               Postfix SMTP server accepts mail for any  recipient
>               in  domain,  regardless  of  whether that recipient
>               exists.  This may turn  your  mail  system  into  a
>               backscatter  source: Postfix first accepts mail for
>               non-existent recipients and then  tries  to  return
>               that  mail  as  "undeliverable" to the often forged
>               sender address.
>
> s. http://www.postfix.org/virtual.5.html

mhm... sicher dass das auch dann gilt, wenn die Ziel-Domain lokal ist,
und somit direkt verifziert werden kann?

Hab's eben mal getestet:

mail:~# grep-virtual.sh bwmail.org
@bwmail.org     @bw-networx.net

JOERN-BREDERECKs-MacBook-Pro-2:~ JB$ telnet mail.bw-networx.net 25
Trying 78.46.208.43...
Connected to mail.bw-networx.net.
Escape character is '^]'.
220 mail.bw-networx.net ESMTP Postfix (Debian/GNU)
helo bredereck.net
250 mail.bw-networx.net
mail from: <[email protected]>
250 2.1.0 Ok
rcpt to: <[email protected]>
550 5.1.1 <[email protected]>: Recipient address rejected:
undeliverable address: User unknown in virtual alias table
quit
221 2.0.0 Bye
Connection closed by foreign host.

mail:~# grep gibtsnicht /var/log/mail.log
Sep 29 12:03:17 mail postfix/error[30181]: 4C2959EE84:
to=<[email protected]>, orig_to=<[email protected]>,
relay=none, delay=0.05, delays=0.04/0.01/0/0, dsn=5.0.0,
status=undeliverable (User unknown in virtual alias table)
Sep 29 12:03:20 mail postfix/smtpd[29788]: NOQUEUE: reject: RCPT from
HSI-KBW-109-193-166-238.hsi7.kabel-badenwuerttemberg.de[109.193.166.238]: 550
5.1.1 <[email protected]>: Recipient address rejected: undeliverable
address: User unknown in virtual alias table; from=<[email protected]>
to=<[email protected]> proto=SMTP helo=<bredereck.net>


Möglicherweise gilt das nur, wenn die Ziel-Domain nicht lokal, sondern
nur eine relay-domain ist?

Ich habe mit Domain-Mappings dieser Art jedenfalls noch nie Probleme
gehabt. Unbekannte Adressaten wurden immer direkt rejected und nicht
erst später gebounced.


Gruß,

Jörn

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
postfix-users mailing list
[email protected]
http://de.postfix.org/cgi-bin/mailman/listinfo/postfix-users

Antwort per Email an