* giovedì 14 marzo 2002, alle 11:37, Francesco Rabbi scrive:
> Non mi funzionava neanche col TAB, solo con i due punti, quando davo :
>
> postmap /etc/postfix/canonical
>
> mi dava sempre errore ed è stato lì che ho notato che mi avvisava che lui
> voleva una sintassi owner:email
[mizio@child mizio]$ cat /etc/postfix/canonical
mizio tann@xxxxxxxxx
The format of the canonical table is as follows:
blanks and comments
Blank lines are ignored, as are lines beginning
with `#'.
leading whitespace
Lines that begin with whitespace continue the pre
vious line.
pattern result
When pattern matches a mail address, replace it by
the corresponding result.
With lookups from indexed files such as DB or DBM, or from
networked tables such as NIS, LDAP or SQL, patterns are
tried in the order as listed below:
user@domain address
user@domain is replaced by address. This form has
the highest precedence.
This form useful to clean up addresses produced by
legacy mail systems. It can also be used to pro
duce Firstname.Lastname style addresses, but see
below for a simpler solution.
user address
user@site is replaced by address when site is equal
to $myorigin, when site is listed in $mydestina
tion, or when it is listed in $inet_interfaces.
This form is useful for replacing login names by
Firstname.Lastname.
@domain address
Every address in domain is replaced by address.
This form has the lowest precedence.
In all the above forms, when address has the form @other
domain, the result is the same user in otherdomain.
(da man canonical).
e` sufficente?
i due punti, vanno in aliases. ti risparmio la pagina.
--
BOFH excuse #393:
Interferance from the Van Allen Belt.
Maurizio - Tannoiser - Lemmo
STIGE Srl Servizi Informatici
Founder Member of ERLUG (Emilia Romagna Linux User Group)
http://erlug.linux.it
|