Virtual table Cristiano Otto Von Trompczynski The optional virtual table specifies redirections for local and non- local recipients or domains. The redirections are used by the cleanup(8) daemon. The redirections are recursive. The virtual redi- rection is applied only to the recipient envelope address, and does not affect message headers. Think Sendmail rule set S0, if you like. Use canonical(5) mapping to rewrite header and envelope addresses in general. The file serves as input to the postmap(1) com- mand. The result, an indexed file in dbm or db format, is used for fast searching by the mail system. After an update it may take a minute or so before the change becomes visible. 11.. SSeettttiinngg aa PPaatthh ffoorr vviirrttuuaall ttaabblleess The path for a virtual table must be set by the "Virtual maps" option found in the "Table locations" item. One or more paths may be defined. However, only local paths and table formats recognised by the module will be editable (see "Virtual maps" help). 22.. EEddiittiinngg aa ttaabbllee After choosing the "Virtual tables" option, it will be shown a list with the path for possible tables set. You must select a table to edit. 33.. SSeelleeccttiinngg ddoommaaiinn nnaammeess oorr rreeddiirreeccttiioonnss 33..11.. DDoommaaiinn nnaammeess You may edit the domain name related to the address to be redirected. To do so, you just select the "Domain names" option and it will be presented a list of domains already set on the table. It's possible to add new domains, edit an existing domain ou delete a domain. 33..11..11.. AAddddiinngg aa ddoommaaiinn After selecting the Add option, a window will be shown asking you to entry with the domain name and a comment. Domain names already inserted are not allowed. Any text is valid in Comentrio, but should you leave it alone, the text 33..11..22.. EEddiittiinngg ddoommaaiinn nnaammeess You can edit a domain name selecting the desired domain name. The domain name and its comment are displayed in a text box. You can change the domain name or comment. If the changed domain is already defined, a warning window appears rejecting changes. Should the domain be changed and there is some redirection for its domain that can't be found, this redirection can be corrected by pointing to an existing domain. 33..11..33.. DDeelleettiinngg aa ddoommaaiinn To delete an item on the table you must select it first, so that the edition window will be shown. Click on Delete. A confirmation window will be shown. Should the domain be changed and there is some redirection for its domain that can't be found, this redirection can be corrected by pointing to an existing or deleted domain. 33..22.. RReeddiirreeccttiioonnss You can specify addresses (with existing domains) and their related redirections. It's possible to add, remove or edit a redirection. 33..22..11.. AAddddiinngg aa rreeddiirreeccttiioonn To add a redirection you only need to select Add on the redirections window, A new window will appear asking you to entry with Username, Domain and possible redirections. Address to be redirected is mounted through Username+@+Domain. Domain must be one of the existing domains. Redirections must be filled in next to the domain field, and there must exist only one redirection per field. The Add option in this windows will add more redirection fields. 33..22..22.. EEddiittiinngg aa rreeddiirreeccttiioonn You can edit a redirection selecting the redirection on the redirections window. You can change its address (and domain) and redirections. If a redirection is related to a deleted or changed domain, no changes will be allowed unless you select an already added domain. 33..22..33.. DDeelleettiinngg aa rreeddiirreeccttiioonn To delete a redirection you must select it first, so that this redirections edition window will be shown. Click on DDeelleettee to delete this item. A confirmation window will be shown.