Skip to content
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

Unable to send because of 'invalid return path' #4164

Closed
matthewblott opened this issue Jan 18, 2024 · 6 comments
Closed

Unable to send because of 'invalid return path' #4164

matthewblott opened this issue Jan 18, 2024 · 6 comments
Labels

Comments

@matthewblott
Copy link

matthewblott commented Jan 18, 2024

As the title says and the screenshot below shows, when I press 'y' to send I receive an error. I am using ProtonBridge which did cause me some issues setting up but I am able to login and view my email so I'm not sure that is the issue. I do not have any attachments - this was just a test email. I have tried a few times and the result is always the same. Any help appreciated :-)

Screenshot 2024-01-18 at 14 03 22

@flatcap
Copy link
Member

flatcap commented Jan 18, 2024

Hmm... that message has come from the server.
Your From isn't a ProtonMail address, perhaps it's complaining about that.


I don't use ProtonMail myself, but others do.
We'll see if they know

@elshize
Copy link
Member

elshize commented Jan 18, 2024

I tested using my proton account, and I also get an error when From address doesn't match the proton address: https://0x0.st/H0V7.png

@matthewblott Try modifying it before sending. If it helps, you can set the from email for your account with set from = "your-address"

@matthewblott
Copy link
Author

Thanks @elshize putting the 'from' address in the config did the trick, ProtonBridge isn't the easiest to work with. I also get prompted for my password each time I open neomutt which is a bit of a pain. I've seen others with the same problem, is there any way round this?

Thanks again 🙂

@elshize
Copy link
Member

elshize commented Jan 18, 2024

Are you using native imap setup as described here? https://neomutt.org/test-doc/bestpractice/nativimap

I think if you set password for both imap and smtp, it shouldn't prompt you for it. Not sure if there is any more secure way than a plaintext pass.

I myself use a maildir accound with mbsync handling imap, and msmtp to send emails, and both of those have password commands to potentially retrieve passwords from, say, a password manager or something.

@matthewblott
Copy link
Author

@elshize I didn't know about imap_user and imap_pass, I just had my_user and my_pass set. I'm not too worried about the plain text password as it's the one for the bridge. My Macbook is also encrypted so I should be save (assumptions!). I'm all good now I think. Cheers 🙂

@elshize
Copy link
Member

elshize commented Jan 18, 2024

Glad you made it work.

@flatcap flatcap added the type:question Question label Jan 18, 2024
@flatcap flatcap closed this as completed Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants