signum / ispmail-bookworm-ansible Goto Github PK
View Code? Open in Web Editor NEWAnsible playbook to set up a mail server as described in the ISPmail guide at workaround.org
License: MIT License
Ansible playbook to set up a mail server as described in the ISPmail guide at workaround.org
License: MIT License
The command :
expunge -A mailbox Trash savedbefore 180d
returned the error :
Error: auth-master: userdb list: User listing returned failure
doveadm: Error: Failed to iterate through some users
The doveadm -A
command uses the iterate_query, which must return username and domain for each user.
You must therefore add the line : iterate_query = SELECT email AS user FROM virtual_users
at the end of /etc/dovecot/dovecot-sql.conf.ext
This line should be added here on line 153:
ispmail-bookworm-ansible/roles/ispmail-dovecot/templates/dovecot-sql.conf.ext.j2
This is also indicated here: https://workaround.org/ispmail-bookworm/setting-up-dovecot/
Fred
What do you think about integrating ISPMailAdmin?
I had created a role, but it can be adapted.
It's a lightweight GUI to manage email, domains and aliases.
Hi,
I'm running into this error on my VM where I want to setup a test-ispmail-server:
TASK [ispmail-webmail-apache-roundcube : Create certificate for this site] ***************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "certbot -a apache --non-interactive --apache-le-vhost-ext \"s.conf\" --agree-tos --register-unsafely-without-email --domains mail.local.example.com", "delta": "0:00:00.890664", "end": "2024-02-25 14:46:54.004900", "msg": "non-zero return code", "rc": 1, "start": "2024-02-25 14:46:53.114236", "stderr": "Saving debug log to /var/log/letsencrypt/letsencrypt.log\nMissing command line flags. For non-interactive execution, you will need to specify a plugin on the command line. Run with '--help plugins' to see a list of options, and see https://eff.org/letsencrypt-plugins for more detail on what the plugins do and how to use them.\nAsk for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.", "stderr_lines": ["Saving debug log to /var/log/letsencrypt/letsencrypt.log", "Missing command line flags. For non-interactive execution, you will need to specify a plugin on the command line. Run with '--help plugins' to see a list of options, and see https://eff.org/letsencrypt-plugins for more detail on what the plugins do and how to use them.", "Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details."], "stdout": "", "stdout_lines": []}
The related error message in /var/log/letsencrypt/letsencrypt.log is clear about the root cause:
certbot.errors.Error: An e-mail address or --register-unsafely-without-email must be provided.
2024-02-25 14:47:44,970:ERROR:certbot._internal.log:An e-mail address or --register-unsafely-without-email must be provided.
Can you please advise how to fix this error?
on https://www.mail-tester.com/ i have this:
**Your message is not signed with DKIM**
DomainKeys Identified Mail (DKIM) is a method for associating a domain name to an email message, thereby allowing a person, role, or organization to claim some responsibility for the message.
Howto solve?
Thanks.
This file "roles/ispmail-dovecot/files/learn-ham.sieve" needs to be changed like this :
require ["vnd.dovecot.pipe", "copy", "imapsieve", "variables"];
if string "${mailbox}" "Trash" {
stop;
}
pipe :copy "rspamd-learn-ham.sh";
https://workaround.org/ispmail-bookworm/catching-spam-with-rspamd/
But problem : emails move from Junk to Trash are indicate as ham.
Fred
Hi,
I like ISPmail, and I prefer deployment using ansible.
However I prefer to use (Free)Nginx (as replacement for Apache) and acme.sh (as replacement for certbot).
Could you please advise how to modify ansible?
THX
Users are free to choose the name of their spam folder via roundcube.
Thunderbird may choose a different folder name.
Very often it is the Spam or Junk folder.
With Ispmail, in the Dovecot settings for “Autoexpunge” (/etc/dovecot/conf.d/15-mailboxes.conf) and “Learning from user actions” (/etc/dovecot/conf.d/90-sieve.conf), the folder name chosen for spam is “Junk”.
The problem is that these settings do not work for any other name such as "Spam".
How to solve this problem with Ispmail ?
Force this folder name when creating an email address or accept several names in Dovecot settings ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.