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:
http://www.postfix.org/ADDRESS_CLASS_README.html
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.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Remember half the people you know are below average.