Danke, gut zu wissen!

Aber ich verstehe nicht was deine elegante Lösung anders macht? Das Resultat
bleibt das selbe, d.h. es findet weithin keine Umschreibung statt.
Oder war das als anderer Weg für das benutzen für Transport und nicht als
Lösung gedacht?


Am 18. Oktober 2011 08:59 schrieb Ralf Hildebrandt <
[email protected]>:

> * Robyn Bachofer <[email protected]>:
> > Guten Abend,
> >
> > um mal wieder dafür zu sorgen das E-Mails von der Mailingliste kommen
> habe
> > ich mir ein Problem-Rezept überlegt und möchte es somit gerne vortragen
> :-)
> >
> > Es betrifft wie schon/schön in der Postfix-Dokumentation beschrieben den
> > Punkt "Non-Postfix mailbox store: separate domains, non-UNIX accounts".
> > Ziel ist es mittels virtual_* eine E-Mail an den Cyrus-Daemon zu
> übergeben,
> > eigentlich eine Sache von "Sekunden".
> >
> >
> > Man nehme folgendes:
> > Debian Squeeze:Postfix (2.7.1) + Cyrus (2.2) + Sasl (2.1)
> >
> > dann die: main.cf
> > virtual_transport = lmtp:localhost
> > virtual_mailbox_domains = example.com
> > virtual_mailbox_maps = hash:/etc/postfix/virtual_mailbox_maps
> >
> > außerdem natürlich die: virtual_mailbox_maps:
> > [email protected]  ofni
> >
> > und verrührt alles schön mit einem anlagen das Map (postmap hash:/..) und
> > einem reload von Postfix.
> > Jetzt möchte man meinen, E-Mails an [email protected] werden an das
> Postfach,
> > welches sich in Cyrus befinden, ofni übergeben, dem ist aber nicht so!!
> >
> > Was Cyrus/lmtp dazu zusagen hat?
> > Oct 17 00:00:00 myhost cyrus/lmtp[pid]: verify_user(user.info) failed:
> > Mailbox does not exist
> > Er meint nur, das Postfach info existiert nicht, warum eigentlich info
> und
> > nicht ofni?
>
> Weil virtual_mailbox_maps nur angibt WELCHE Adressen existieren. Da du
> nicht den virtual delivery agent nutzt wird keine Umschreibung auf
> $virtual_mailbox_base+'/'+lookupresult(virtual_mailbox_maps) gemacht.
>
> Eleganter ist sowieso:
> relay_domains = example.com
> relay_recipient_maps = hash:/etc/postfix/virtual_mailbox_maps
> transport_maps = ...
>
> und in transport_maps steht:
> example.com lmtp:localhost
>
> --
> Ralf Hildebrandt
>  Geschäftsbereich IT | Abteilung Netzwerk
>  Charité - Universitätsmedizin Berlin
>  Campus Benjamin Franklin
>  Hindenburgdamm 30 | D-12203 Berlin
>  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
>  [email protected] | http://www.charite.de
>
> _______________________________________________
> postfix-users mailing list
> [email protected]
> http://de.postfix.org/cgi-bin/mailman/listinfo/postfix-users
>
_______________________________________________
postfix-users mailing list
[email protected]
http://de.postfix.org/cgi-bin/mailman/listinfo/postfix-users

Antwort per Email an