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

Sign mail with DKIM even if it's a local app that send the mail #947

Closed
yunohost-bot opened this issue Jun 20, 2017 · 5 comments
Closed

Comments

@yunohost-bot
Copy link

Original Redmine Issue: 947

Author Name: ljf


With the "auth_only" directive in rmilter dkim conf, we could set it to no, to allow mail from nextcloud, wordpress etc. to be signed even if we don't register a mail account in the email configuration.

I don't like the idea to register the account (because password is stored in clear in this case).

SO I suggest to add "auth_only: no" in these template:
https://github.com/YunoHost/yunohost/blob/unstable/data/templates/rmilter/rmilter.conf#L7
https://github.com/YunoHost/yunohost/blob/unstable/data/templates/rmilter/ynh_dkim.conf#L4

@yunohost-bot yunohost-bot added 🍰 enhancement New feature or request 📫 Email labels May 24, 2018
@yunohost-bot yunohost-bot added this to the 3.1 milestone May 24, 2018
@Psycojoker
Copy link
Member

Isn't this pretty important actually?

@alexAubin
Copy link
Member

Yes :s

Another strategy could be to have an additional list of authorized accounts along with the LDAP accounts : https://github.com/YunoHost/yunohost/blob/unstable/data/templates/postfix/main.cf#L80

Or to create a special LDAP user for this kind of need and store its password somewhere in /etc/yunohost/

(Overall I don't know if disabling the need for authentication if a good or bad idea - maybe it's fine)

@decentral1se
Copy link
Member

Has anyone done any work on this? This would be really great to push forward for things like the Discourse reply email stuff. I suppose other apps will need it. Is there some idea in which direction to go in?

@Josue-T
Copy link

Josue-T commented Jul 24, 2019

My idea is to make a helper which create a user in LDAP for the app. With that we give the possibility to send the email with this user in LDAP, normally this email should be signed.

@alexAubin
Copy link
Member

Done in YunoHost/yunohost#815

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

No branches or pull requests

5 participants