New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid recipient: <myusername@gmail.com>. #207
Comments
Hi, are you using MSA, or sending from host i.e. |
I guess I know where the problem is. I can't connect to port 587 directly, initially I guess that's because my ISP blocked it, and I forwarded that port via SSH, that's made my server believe I am sending mail from localhost. So now I switched to another ISP that didn't block any port, but I still can't connect to that port. :(
|
Deleting the following line from "smtpd.conf" will remove the restriction for sending mail from localhost !mail-from <localhost> To verify if the submission port is blocked tcpdump -neq -ttt -i pflog0 port submission The submission port can be changed in "pf.conf" on the following line to port { submission imaps } ... and in smtpd.conf on the following line listen on egress port submission ... apply changes pfctl -f /etc/pf.conf
rcctl restart smtpd |
Thanks for reply! I changed submission port to 60587 in sptmd.conf
and in pf.conf
Then I verified port 60587 is usable by checking pflog
I also remove all
|
Can you I have updated pf.conf to remove "max-src-conn" and added MSA with implicit TLS on port 465 |
Although smtpd is running, port 60587 is not listening.
And I checked my smtpd.conf to make sure I got the correct port number.
Other methods I tried before: Start smtpd with Still no luck :( |
listen on egress port 60587 \ Maybe the interface is not in group egress ifconfig egress |
Now the problem is gone, but I still don't know why..... BTW, why the default smtpd.conf doesn't allow me send from localhost? |
Thanks for the update, strange problem. We don't account for multiple IP and interfaces, which require additional configuration.
Prevents local users to alias, or |
I am gonna to do everything again, include reinstall OpenBSD itself. |
Sorry for the long delay, just got back to my laptop. I did everything again, and the solution seems to be restart smtpd twice after you modified the Now my OpenBSD-based mail server is online! :) |
Hi everyone,
I tried to send a email to a Gmail account, and I got 'Invalid recipient: myusername@gmail.com.' error.
I'm not sure where the problem might be, I can login and receive email, but can't send anything to other server.
Any suggestion?
The text was updated successfully, but these errors were encountered: