Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

SMTP Forwarding All Mail To Different Port #249

Open
ZandercraftGames opened this issue May 30, 2021 · 1 comment
Open

SMTP Forwarding All Mail To Different Port #249

ZandercraftGames opened this issue May 30, 2021 · 1 comment

Comments

@ZandercraftGames
Copy link

I am getting an error:
554 Error for mail.<REDACTED>.ca of "Can't send mail - all recipients were rejected: 554 5.7.1 <zander@mail.<REDACTED>.ca>: Relay access denied" If you need help please forward this email to [email protected] or visit <https://forwardemail.net>.
My setup is that my mail server listens for mail from @<REDACTED>.ca emails, but for some reason it seems to be forwarding them to @mail.<REDACTED>.ca. An MX would contain a name of @ and a value of mail.<REDACTED>.ca and would work fine. I have used rollernet.us, but found it to be unsatisfactory as I was losing mail during server downtime. What I need is to forward mail from *@<REDACTED>.ca to my server at mail.<REDACTED>.ca:26. I receive the above error regardless of whether I use a txt of forward-email=mail.<REDACTED>.ca or forward-email=<REDACTED>.ca. I have specified a forward-email-port=26 txt record.

@ZandercraftGames
Copy link
Author

ZandercraftGames commented May 30, 2021

The rejection is mailserver side because it is attempting to forward the email to zander@mail.<REDACTED>.ca instead of zander@<REDACTED>.ca. This is because it takes this to mean it is attempting to relay it to an email server accepting for emails sent to @mail.<REDACTED>.ca. If the forward-email record is set to <REDACTED>.ca, the request will time out.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant