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

holdmail.outgoing.mail.from is ignored #83

Open
375gnu opened this issue Oct 11, 2018 · 1 comment
Open

holdmail.outgoing.mail.from is ignored #83

375gnu opened this issue Oct 11, 2018 · 1 comment

Comments

@375gnu
Copy link

375gnu commented Oct 11, 2018

Question/Issue Overview

Holdmail 2.0.1 ignores holdmail.outgoing.mail.from value.

Expected Behavior

Forwarded mail has sender as set in holdmail.outgoing.mail.from.

Current Behavior

[email protected] is used instead:

2018-10-11 12:09:19.148  INFO 44774 --- [nio-8080-exec-6] c.s.holdmail.smtp.OutgoingMailSender     : Outgoing mail will have From: [email protected]

And actually mail has it. Due to this issue mail forwarding doesn't work as SMTP servers reject such mail.

Reproducible Sequence
  1. Install Holdmail from JAR file.
  2. Add holdmail.outgoing.mail.from to /etc/holdmail.properties
  3. Run /usr/bin/java -Dsun.misc.URLClassPath.disableJarChecking=true -Dloader.path=/opt/holdmail/lib -jar /opt/holdmail/bin/holdmail.jar --spring.config.location=file:/etc/holdmail.properties
  4. Forward any mail from its web interface.
@ThisIsFineCoding
Copy link

As a workaround, you can use holdmail.outgoing.mail.parse instead and it will work.

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

No branches or pull requests

2 participants