Thanks! all is clear.

Il 10/02/2021 16:41, Matus UHLAR - fantomas ha scritto:
On 10.02.21 16:19, Matteo Cazzador wrote:
Hi , i've a problem related to forwarding external (using relayhost) mail on my server, my mail server host "x.com" like virtual domain,  but i need to force to send every email direct (by forward) to domain "x.com" using an external relayhost.

x.com is registered domain, is is yours? If not, use example.com,
example.net, example org.

But i obtain an error "*User unknown in virtual alias table*" when i try to send email to a user "@x.com".

If mailserver hosts x.com as virtual domain, it's treated locally and thus
mail to it is resolved locally. That's why you get "User unknown".

If mail for x.com is to be forwarded, it must not be hosted locally.
see:
https://urlsand.esvalabs.com/?u=http%3A%2F%2Fwww.postfix.org%2FADDRESS_CLASS_README.html&e=d9b44b61&h=6a0fd485&f=y&p=y
webser...@x.com must be forwarded to 4 email address,? us...@x.com us...@x.com ect etc
that reside on external mail server.

you can alias webser...@x.com locally using virtual_alias_maps, without
x.com being configured locally.

Note that the destination server should know how to expant webser...@x.com
properly, otherwise you can get inconsistent results.

I want to force to send all email direct to virtual  "x.com" using relayhost and not locally delivered.

put it out of virtual_alias_domains or wherever it's defined.

--

Rispetta l'ambiente: se non ti è necessario,  non stampare questa mail.


Le informazioni contenute in questa e-mail e nei files eventualmente
allegati sono destinate unicamente ai destinatari della stessa
e sono da considerarsi strettamente riservate.
E' proibito copiare, salvare, utilizzare,  inoltrare a terzi e diffondere
il contenuto della presente senza il preventivo consenso, ai sensi
dell'articolo 616 c.p. e della Legge n. 196/2003.
Se avete ricevuto questo messaggio per errore siete pregati di comunicarlo
immediatamente all'indirizzo mittente, nonché di cancellarne il contenuto
senza procedere ad ulteriore o differente trattamento.


******************************************
Ing. Matteo Cazzador
NetLite snc di Cazzador Gagliardi
Corso Vittorio Emanuele II, 188 37069
Villafranca di Verona VR
Tel 0454856656
Fax 0454856655
Email: mat...@netlite.it
Web: http://www.netlite.it
******************************************

Reply via email to