Error antispam 550 between domains hosted in virtualmin

I have this error when i send mails to other domain hosted in virtualmin

rcpt to: : 550 5.1.1 Recipient address rejected: User unknown in virtual alias table

I send mail since domain1 to domain2 and i have this error, domain1 have dns, web, and mail hosted in virtualmin but domain2 have only DNS hosted in virtualmin and the DNS table is this:

$ttl Default Cache Time 38400 SOA - Start Of Domain 1490113676 10800 3600 604800 38400 NS - Name Server NS - Name Server A - IPv4 Address 188.165.229.x www A - IPv4 Address 188.165.229.x ftp A - IPv4 Address 93.90.x.x m A - IPv4 Address 93.90.x.x localhost A - IPv4 Address webmail A - IPv4 Address 93.90.x.x admin A - IPv4 Address 93.90.x.x mail A - IPv4 Address 80.32.x.x FTTH Movistar MX - Mail Server 5 SPF - Sender Permitted From v=spf1 a mx ip4:80.32.x.x ip4:93.x.x.x -all _dmarc DMARC v=DMARC1; pct=100;; rua=mailto:post ... 2016._domainkey TXT - Text v=DKIM1; k=rsa; t=s; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqOjVD6cl ...

I think its all correct and i can send mail to both domains from internet and it works but since inside virtualmin give this error



Howdy -- you mentioned that mail for this domain isn't hosted on your Virtualmin server, is that correct?

If so, you'd need to ensure that the MX record in the DNS zone has the correct IP address or hostname of the server that is hosting email for this domain.

Also, you'd need to ensure that the Mail for Domain feature is disabled if email isn't hosted locally.