Dokumentace pro starsi postfix

Veros Kaplan veros-sendmail na tac.cz
Úterý Únor 8 18:29:33 CET 2005


Kovar Jan wrote/napsal:
: Dobry den.
: 
: Divam se na www.postfix.org a hledam dokumentaci pro starsi postfix. Na SLES
: 8 mam postfix-1.1.12-12. Mam v nem nastaveny relay server, pres ktery
: odchazi vse. Jenze potrebuju udelat neco jako alias, aby se mi v pripade, ze
: prijemce je napr root na domena.cz chodil mail na tri konkretni lidi. Takze
: hledam neco jako prepisovani adres. Nemate nekdo tip, kde najit dokumentaci?
: Jestli existuji man pages, muzete nakopnout, co hledat?

$ man 5 postconf 

do  virtual_maps dát mapu
	root na domena.cz ->  nekdo na domena.cz, nekdo na jinde.cz, treti na pryc.com

 _Ne_musíte mít nastavené virtual_alias_domains, virtual_alias_maps se
používá pro libovolný přepis (pěkně mne to zmátlo na začátku).

--- z dokumentace pro postfix z Debian Woody -- (rewrite.html#virtual)

Virtual address mapping
~~~~~~~~~~~~~~~~~~~~~~~
After applying the canonical and masquerade mappings, the cleanup daemon
uses the virtual table to redirect mail for all recipients, local or
remote. The mapping affects only envelope recipients; it has no effect
on message headers or envelope senders. Virtual lookups are useful to
redirect mail for virtual domains to real user mailboxes, and to
redirect mail for domains that no longer exist. Virtual lookups can also
be used to transform Firstname.Lastname back into UNIX login names,
although it seems that local aliases are a more appropriate vehicle.

Virtual mapping is disabled by default. To enable, edit the virtual_maps
parameter in the main.cf file and specify one or more lookup tables,
separated by whitespace or commas. For example:

    virtual_maps = hash:/etc/postfix/virtual 

Addresses found in virtual maps are subjected to another iteration of
virtual mapping, but are not subjected to canonical mapping, in order to
avoid loops.
---


Věroš Kaplan
--
Věroš Kaplan <veros @ tac . cz>
system disaster 
Tacoma Computers, Staňkova 18a, Brno, CZ                http://www.tac.cz/
--
 Názory v tomto mailu uvedené jsou moje vlastní a nemusí se shodovat 
 s názory mého zaměstnavatele.
--
 Podporujte Járu Cimrmana!
 Navrhněte jej do soutěže o největšího Čecha http://www.nejvetsicech.cz/
"Všechno závisí na fantazii logiků."


Další informace o konferenci Sendmail