Problem with the SMTP mail


(Antonio) #1

Prejudice, or a problem with the SMTP mail
NethServer server or domain example: pippo.it
When sending a mail to a person who is not registered on NethServer but uses it externally from the remote server does not NethServer gives me the following error:

(There was an error when sending mail. The mail server responded:
5.1.1 rosso@pippo.it: Recipient address rejected: User unknown in virtual mailbox table.
Check the message recipient "rosso@pippo.it" and try again.)

How can I do to solve this problem and send mail to the person who is not connected to the server and connected to the server but NethServer Remote.


(Artem Fedai) #2

Hi Antonio, you need to make custom transport map, search on forum once i have made custom transport maps


(Artem Fedai) #3

HI @k1000,

As we can see domain pippo.it has one MX domain record.
So maybe you need to specify only relayhost to the mail.pippo.it

[root@nethserver postfix]# dig MX pippo.it

;; ANSWER SECTION:
pippo.it.               10447   IN      MX      10 mail.pippo.it.


[root@nethserver postfix]# dig mail.pippo.it

;; ANSWER SECTION:
mail.pippo.it.          13335   IN      A       62.149.157.151

(Antonio) #4

I get this off
See the attachment


(Antonio) #5


(Artem Fedai) #6

@k1000 ,
Thanks for clarification.

So now describe the scenario of how mail should pass through those servers.