[Die Antwort ging leider nur direkt an webmaster, also der Vollständigkeit halber nochmal die Liste]

Am 19.03.2016 um 11:53 schrieb webmaster:
Am 19.03.2016 um 10:49 schrieb Alex JOST:
Am 19.03.2016 um 09:43 schrieb webmaster:

ich wollte mir auf meinem Postfix eine Catch-all Adresse konfigurieren.
Dabei habe ich mich an http://www.postfix.com/VIRTUAL_README.html
orientiert. Meine **/etc/postfix/virutal** sieht demnach wie folgt aus:

```
[email protected]    [email protected]
[email protected]    [email protected]
[email protected]    [email protected]
@example.com          [email protected]
```

Nun werden jedoch alle E-Mails im Postfach von [email protected]
zugestellt. Also auch jene, die z.B. an [email protected] gesendet
wurden.

Entferne ich die letzte Zeile jedoch, werden E-Mails wie erwartet
zugestellt.

In der zweiten Zeile hast Du "user-2" stehen, das ist nicht das selbe
wie "user2". Und deshalb trifft dann auch nur die vierte Zeile zu. Es
sollte wohl eher so aussehen:

[email protected]    [email protected]
[email protected]    [email protected]
[email protected]    [email protected]
@example.com         [email protected]


Das macht in meinen Augen keinen Sinn. Die Datei
**/etc/postfix/virtual** ist doch dazu da, um Aliase für real
existierende Postfächer anzulegen. Ich könnte dort daher auch etwas
eintragen wie:

[email protected]    [email protected]

um alle E-Mails, die an [email protected] gesendet zu werden, an
das Postfach von [email protected] weiterzuleiten.

Und wenn ich die vierte Zeile entferne funktioniert es ja auch wie
erwartet. Also ohne die Catch-all-Adresse werden E-Mails, die an
[email protected] gesendet werden, korrekt an [email protected]
weitergeleitet.

OK, hatte nicht verstanden, dass "user-1" ein gewollter Alias ist.

Jedenfalls musst Du Ausnahmen von der Catchall-Adresse explizit nochmal in der Alias-Datei angeben. Also in Deinem Fall wohl so:

[email protected]    [email protected]
[email protected]    [email protected]
[email protected]    [email protected]
[email protected]     [email protected]
[email protected]     [email protected]
[email protected]     [email protected]
@example.com          [email protected]

--
Alex JOST

Antwort per Email an