Discussion:
Force Relay to remote server with same domain name
(too old to reply)
CarlosRP Evertsz
2020-07-13 23:06:51 UTC
Permalink
Hello everybody,

My mail server only has one email account and will be using other server on the internet as relay host. The problem is that i need the local server with the same domain name as the remote(relay server). When i send an email to other email account with the same domain name the postfix validate it an returned error 550 because the recipient account doesn't exist on local server but it does in the remote (relay server).

It is possible to force to relay and send the email to the relay serve even thought the recipient account doesn't exist locally?

Regards,
Carlos
sk
2020-07-14 21:34:21 UTC
Permalink
Possible you need to do next :
1) change myhostname= localnorelaydomain
2) Create email rewrite map for your one existing domain using http://www.postfix.org/ADDRESS_REWRITING_README.html#standard
3) for a not accepting spam
set http://www.postfix.org/ADDRESS_VERIFICATION_README.html#recipient policy
Post by CarlosRP Evertsz
Hello everybody,
My mail server only has one email account and will be using other server on the internet as relay host. The problem is that i need the local server with the same domain name as the remote(relay server). When i send an email to other email account with the same domain name the postfix validate it an returned error 550 because the recipient account doesn't exist on local server but it does in the remote (relay server).
It is possible to force to relay and send the email to the relay serve even thought the recipient account doesn't exist locally?
Regards,
Carlos
Continue reading on narkive:
Loading...