Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
427 views
in Technique[技术] by (71.8m points)

email - Postfix transport map relay access denied

I want to send all mail for a domain to a Discourse forum server running in docker on the same machine that users mail-receiver. Mail-receiver I have set to use SMTP on port 2025. SMTP set to use normal port 25 for all other mail coming to the server domain. To be concrete, server is at pterosaur.space, and Discourse runs at jackrail.space on the same server. So in /etc/postfix/transport I have:

jackrail.space smtp:localhost:2025

But all that happens is this error:

pterosaur postfix/smtpd[4648]: NOQUEUE: reject: RCPT from mail-io1-f52.google.com[209.85.166.52]: 554 5.7.1 jackrail.test@jackrail.space: Relay access denied; from=andrew.bernard@gmail.com to=jackrail.test@jackrail.space proto=ESMTP helo=<mail-io1-f52.google.com>

Postfix is supposed to be simple but I find I go round in circles. I must be doing something fundamentally wrong. I read the manuals and just know less. This must surely be a common use case, but I am unable to find any examples the same - or perhaps I dont understand them.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...