320 questions
0 votes
1 answer
350 views
Can't get global sieve scripts for moving files working. local sieve is working well
I am desperate now. I can't get my global sieve-scripts for filtering spam working. Interestingly, the local user sieve scripts are working perfectly. here is my dovecot -n output: # 2.3.16 (...
0 votes
0 answers
265 views
php imap_open cannot make a secure connection to a virtualmin dovecot server on port 143 with tls
*** update *** This might be due to the PHP open_imap function itlself after finding this post here This issue when this php file is on the server itself, there is no problems and it connects to the ...
1 vote
0 answers
459 views
What user permissions are needed for executing "doveadm dsync-server"?
I'm trying to copy mail from one server (mail1) serving for example.com to another (mali2) and the docs at https://doc.dovecot.org/3.0/man/doveadm-sync.1/ say that I can do doveadm sync -u username@...
0 votes
2 answers
145 views
Phpmailer not storing to Sent folder
Background context: New mailserver using php8.1, Ubuntu 22.04. Old server php7.4, Debian Stretch both using Phpmailer 5.5. Previous server would send emails with an attachment and place a copy ...
0 votes
1 answer
505 views
Sieve filter that rewrites From to Reply-To to handle Constant Contact lists
As a journalist, I deal with a lot of PR companies that use Constant Contact to send out info to their lists of writets. For years, I've built up a nice set of sieve rules that sorts these emails into ...
0 votes
2 answers
411 views
Single account, multiple passwords [closed]
In dovecot, I need to create an email account with 15 different passwords. Is this possible without SQL? If I do that with SQL, can I do it only for this single account? Probably use second auth ...
0 votes
1 answer
308 views
Sieve-filter email with ambiguous message content
From an external monitoring service I receive emails with message bodies containing random amounts of warnings: foo warning X bar warning X ... Or: warning X warning Y foo warning X bar warning Z ... ...
0 votes
1 answer
283 views
POSTFIX/DOVECOT smtp timeout connecting to linux server
I'm trying to set up a VPS server and having problems with email. I cannot seem to get the SMTP to work on the website. I'm using 127.0.0.1 and tried ports 25, 465 and 587. However, they all time out. ...
3 votes
0 answers
4k views
Set up dovecot with keycloak
I would like to set up dovecot + roundcube with keycloak OPENID. To start I tried to configure only dovecot + keycloak and access it with thunderbird. My config file is: For the docker compose: ...
1 vote
0 answers
140 views
How to mark messages older than 2 days as read in dovecot
A strange situation occurred, after the server was restarted, random emails were marked as unread, more than 10,000 messages. Is it possible to mark all messages older than 2 days as read?
2 votes
0 answers
1k views
Can't open PID file /run/dovecot/master.pid (yet?) after start: No such file or directory
Go to dovecot.service, in [Service] block after Type=forking add this line ExecStartPost=/bin/sh -c 'chown root:dovecot /var/run/dovecot/master.pid' then run cmd systemctl daemon-reload && ...
0 votes
0 answers
170 views
Dovecot doesn't start after upgrading Ubuntu, how to raise ARG_MAX?
After upgrading Ubuntu from 20.04 to 22.04 I'm having a problem with starting dovecot and I'm getting the following error: $ sudo dovecot -F doveconf: Fatal: execvp(/usr/sbin/dovecot) failed: Argument ...
1 vote
1 answer
822 views
What configuration is needed to remove attachments from mails in Dovecot Sieve?
How can I remove specific attachments from mails in dovecot sieve mail server ? I have tried several configurations but the attachments were not removed. But it did not know keyword "replace"...
1 vote
1 answer
924 views
Error connecting IMAP server with python imaplib and mailcow
I just install a mailcow mail server on a ubuntu 22.04(fresh install) vps, i can connect well with my mail client (Evolution), but have issue when trying to connect from a python script using imaplib: ...
1 vote
0 answers
646 views
Sieve add message to body
I want to add a Sieve filter rule that add message to body. It worked to add a message to the subject. if allof(not address :domain :is ["from"] ["example.com""], not header :...