Questions tagged [dovecot]
Dovecot is an open source IMAP and POP3 email server for Linux/UNIX-like systems, written with security primarily in mind.
200
questions
0
votes
1
answer
20
views
Which OS, SQL, Postfix and Dovecot files/folder need to be backup for disaster recovery?
I'm running an e-mail server (Postfix/Dovecot) on a Pi4, Buster OS. We want to setup a parallel Pi (same basic image) and use rsync to transfer critical files to this Pi using a cron job on a regular ...
0
votes
1
answer
32
views
migrate courier on Debian 10 to dovecot on Debian 11 with Froxlor
I use [Froxlor][1] on a debian 10 server only to manage my customers email accounts. Installed is Courier 5.0.6 and postfix 3.4.23.
I plan this to first upgrade to Debian 11 then migrate to dovecot.
...
0
votes
1
answer
36
views
Moving emails to a different disk
I have a homely postfix+dovecot server running in ubuntu.
I need to move the email storage to a different disk. There is not much information available on how to proceed, most of the use cases refer ...
1
vote
0
answers
36
views
What does the dovecot acl plugin actually do?
Can I reasonably do shared mailboxes without the acl plugin? I do personal mailbox sharing completely with unix permissions: i.e. some accounts put their mailboxes in a unix group so that everyone in ...
1
vote
2
answers
91
views
OpenBSD mail server getting too many hits to non existing emails
Server: OpenBSD 6.6 GENERIC#3
I'm recently working on an OpenBSD mailserver, it daily gets hits to not existing accounts,
May 31 16:00:23 Makmx01 smtpd[57197]: 05844daf9b176227 smtp failed-command ...
0
votes
0
answers
10
views
Unable to use Domain of Email Address, and Still Authenticate System Users
I have a working config for Dovecot and Postfix that gives me a working email server for a certain domain, for users who are part of the mail group.
Now, I want to receive mail for a new domain on ...
0
votes
0
answers
105
views
How to set per-user quota limit in dovecot?
I have set-up mail server which uses dovecot as LDA and IMAP/POP3 & MUA is roundcube. I have to authenticate using LDAP. I want to implement per-user quota, but I cannot use any field in existing ...
0
votes
0
answers
239
views
Mail relay allowing "internal" senders to mail only to our own domains unless they come from certain IPs or authenticate
Scroll to bottom for configuration snippets
I have NewInternalMailserver being set up to relay for internal applications that have been hard coded for InternalMailServerURL.
When mailing "our&...
0
votes
0
answers
59
views
Auth error when sending mail through Postfix with SSMTP (local server)
I'm trying to send mail from a banana pi running SSMTP to a raspberry pi running dovecot/postfix.
I used Thunderbird to login to my mail server it showed three times saying "Unable to log in at ...
0
votes
0
answers
479
views
Problem with dovecot login, how can I fix failed login?
I have a terrible problem with logging into dovecot.
This is my /usr/local/etc/dovecot/passdb (just one single entry with plain password):
[email protected]{PLAIN}asdf::::::
When I run dovecot auth ...
1
vote
1
answer
110
views
NOQUEUE: reject: Helo command rejected: need fully-qualified hostname
I am running 3 x Win11 and 1 x Win10 all with Office 365 Outlook. 3 of the Outlook clients connect to a postfix/dovecot server just fine on my home NAT, and can tunnel through my router from the ...
0
votes
1
answer
128
views
Dovecot is showing the wrong expiration date for the imap certificate
I am running dovecot dovecot-2.3.8-9.el8.x86_64 on CentOS Linux release 8.5.2111
I have nagios checks warning me if the imap certificate in about to expire. Recently I got just such an alert.
However, ...
0
votes
1
answer
75
views
Calling "doveadm acl" remotely throws "Unknown command 'acl', but plugin acl exists"
I'm trying to configure Dovecot's ACLs remotely (using doveadm -S), like this:
doveadm -o doveadm_password=secret acl add -u [email protected] -S mailsrv:24242 inbox [email protected] lookup read ...
0
votes
0
answers
148
views
Duplicate message delivery to always_bcc with dovecot and Simple Content Filter (Postfix)
I'm trying to set up a postfix mail server using
A Simple content filter (http://www.postfix.org/FILTER_README.html#simple_filter)
dovecot as a delivery agent.
always_bcc to keep copies of every mail ...
0
votes
1
answer
892
views
Unable to Open SMTP Port (25, 587) on Vultr
I'm using Vultr for Web Hosting and according to them they have unblocked all SMTP Ports (25, 465, 587, 2525). Now after setting up apache server and installing Postfix, Dovecot and SpamAssassin when ...
0
votes
1
answer
158
views
Setting up a home email server using postfix
I have an extra desktop at my house that I want to turn into a email server with postfix and dovecot. I did set it up and can send internal emails on my subnet, 192.168.2.0/24. I configured the ...
1
vote
1
answer
258
views
postfix/dovecot temporary failure
Incoming mail gets deferred and never delivered. I have no idea what I'm missing as I usually only setup outbound relays. Any direction here would be greatly appreciated.
Specific log
Sep 19 19:55:41 ...
1
vote
0
answers
30
views
I don't receive notifications about new emails
I set up postfix + dovecot, and everything works, but I don't get notifications about new messages, the inbox is updated only when I open Outlook or another client, perhaps need to use some MDA?
in ...
1
vote
0
answers
242
views
Postfix rejecting outgoing emails because of "Relay access denied." | "generic_checks: name=reject_unauth_destination status=2"
I am currently rolling out a Postfix/Dovecot configuration on our servers to replace our monolithic mail server.
On the test enviroment I have everything set up and it worked there. Now I am rolling ...
1
vote
0
answers
173
views
dovecot: Force TCP socket disconnect on imap login failure?
I'm running dovecot 2.2.13 under Debian 8.
I'd like to force an immediate TCP socket disconnect after any imap login attempt that fails.
Right now, if invalid credentials are supplied during an imap ...
0
votes
1
answer
230
views
How can I store emails on an external drive with Postfix/Dovecot?
So I set up a a Postfix/Dovecot server on my Raspberry Pi, and I wanted to be able to actually store the emails themselves I have on an external SSD I have since my SD card is 32 GBs and my SSD is ...
0
votes
1
answer
406
views
postfix + dovecot server successfully by client mail app problem to add account to this server
I need help to solve this problem.
I setup a postfix and dovecot server and have some problems with the mail client.
I can received the mail and reply from the postfix. Just cannot setup a mail client ...
0
votes
1
answer
348
views
postfix dovecot mysql - I can send mail, dont see any new mail
I'm trying to rebuild a debian based internet mail server running Postfix + Dovecot using mysql as a virtual mailbox backend. The server turned into confetti after an update broke a lot of things.
...
1
vote
1
answer
480
views
Dovecot - cannot move email out of inbox [closed]
Background ... I had an HDD go bad in an Ubuntu 20 server. I build an Ubuntu 20 server in a completely new machine, then moved as much as I could from the errored HDD to the brand new RAID.
Part of ...
0
votes
1
answer
418
views
Simple way to send email to Dovecot mailbox from Unix scripts?
I'm looking to send emails to myself from various scripts on my Linux (Debian 10) system. My thought was to install just Dovecot, and not an MTA like Postfix, to avoid the complexity of configuring ...
0
votes
1
answer
391
views
Rspamd Ratelimit doesn't work
I have set up my rspamd and redis server but the ratelimit doesn't work.
The Rspamd speaks to Postfix and my log file doesnt show anything unusual.
Even GTUBE works --> So, the spam protection ...
0
votes
0
answers
245
views
Migrating user IMAP files/data to another hard drive/server
Due to a machine crash, I need to move my mail server to another host. This includes user IMAP, but as the old server is not accessible I can't just drag and drop in an imap client application like ...
0
votes
0
answers
188
views
Postfix - Exclude user from sending and receiving to-from some domains
In postfix or dovecot, it's possible exclude an user from sending and receiving mail to and from some domains by creating a rule that the user cannot deactivate?
1
vote
0
answers
94
views
Dovecot - password query syntax error
Whenever Thunderbird attempts to connect to my server I receive an error in the maillog of
dovecot: auth-worker(32527): Error: sql(admin,xxx.xxx.xxx.xxx,): Password query failed: You have an error in ...
1
vote
1
answer
806
views
Postfix 550 5.1.1 <[email protected]>: Recipient address rejected: User unknown in relay recipient table;
I want to have postfix relaying mail to my dovecot, which is running on the same host. My users are defined in dovecot's passwd file under /etc/dovecot/users like this:
[email protected]:{PLAIN}pw.:10000:...
1
vote
1
answer
519
views
During email delivery, how do MTA, MDA, POP/IMAP connect with each other?
I have already read Why use Dovecot AND Postfix/Sendmail?, Why use both Dovecot and Postfix?, Why use both Dovecot and Postfix? which give the general idea, but here I'm looking for more precise ...
0
votes
1
answer
2k
views
Postfix delivery problem, status=bounced (mail forwarding loop for [email protected]), is this the solution?
I think I've diagnosed a problem with my Postfix mail server, now I just need help implementing the fix.
I am a "league member" at a sports website with 11 other people and when someone ...
2
votes
0
answers
123
views
Automatic replies with dovecot and pigeonhole
I would like to send automatic replies to e-mails with certain characteristics
and it seems that the dovecot pigeonhole plugin can do this, but I'm confused
about what I need to get it to work. I now ...
0
votes
1
answer
97
views
SSL both for web and mail
I have my public web site with EV SSL certificate.
I bought new server and configured postfix and dovecot for mail server.
Can I use my website's SSL certificate for postfix and dovecot for secure ...
1
vote
0
answers
64
views
strip display name when sending email
I'm running dovecot 2.2.27 with postfix 3.1.15.
I'm not sure how to articulate what I want clearly. When I send an email from my email server, the recipient can see my display name that I can set ...
0
votes
1
answer
327
views
debian 9 - dovecot roundcube sieve
I'm having troubles understanding what I'm doing wrong with getting sieve to work for the purpose of using roundcube's filtering plugin.
I followed the guide at https://www.linode.com/docs/guides/...
1
vote
1
answer
2k
views
Why postfix stores mail in $HOME/var/spool/mail/vmail even if I changed to /var/spool/mail/vmail/
My Mail Client looks for new emails in /var/spool/mail/vmail/trest/Maildir, so I changed the location to store mails to this. Nevertheless, the emails come to $HOME/var/spool/mail/vmail/trest/Maildir....
1
vote
1
answer
5k
views
Dovecot Active:failed because of ssl_cert: can't open file /etc/dovecot/private/dovecot.pem: Permission denied. Why?
Hello I try to follow this Postfix/Dovecot tutorial series:
https://www.youtube.com/watch?v=njiNRppQNJw&list=PLibQjquhfgjjosRrZxlDepXfehDXuQJu_&index=5
When I run dovecot:
sudo service dovecot ...
0
votes
2
answers
371
views
LogWatch filtering rule for dovecot’s sieve not applied
I have Debian 10 (Buster) installed with dovecot, sieve and logwatch.
In my sieve file I have rules with discard. As a consequence I get plenty of the following lines in my syslog file.
Nov 2 19:46:...
0
votes
1
answer
300
views
Dovecot Corporate SSL certificate goes wrong somehow
I am trying to install Dovecot for the very first time ever. As far as I see I do have Dovecot up and running already, but I am not happy about these selfsigned certificate that is assigned to.
I am ...
1
vote
1
answer
2k
views
O365 attempting to use fetchmail to poll emails to local postfix/dovecot mails server
We currently have an application that uses IMAP/POP3 to access mail in O365; however, Microsoft has determined that they will no longer be allowing basic authentication. By do this, the application ...
1
vote
0
answers
723
views
postfix/lmtp User doesn't exist
I am trying to setup a postfix server with dovecot as the mail delivery agent.
When trying to send an email to [email protected] the mail is rejected with the following error:
Aug 14 ...
1
vote
0
answers
454
views
How can I set file permissions for new files in Maildir?
So I run debian 10 through VMbox on win10. I am setting up an email server right now and the things that won't let me turn in this quest is that I can't receive mail from the internet though I can ...
4
votes
1
answer
10k
views
ssl_protocols has been replaced by ssl_min_protocol
Dovecot updated to version 2.3.8 and started to show this warning. I have no clue what this means and how to get rid of it. Using CentOS 8.
Log file has this:
Jun 30 16:28:42 bluesky.bluesky.com ...
0
votes
1
answer
489
views
Unable to send mail to a domain outside my own domain
[UPDATE: The issue fixed itself. I am thinking the relay server which in this case Sendgrid had something to do with this.]
Everything was running smoothly until the Dovecot version got updated to 2.3....
1
vote
0
answers
163
views
Can't login with Mac mail smtp can't /send or receive emails with dovecot/postfix
I set everything up following guides. Every test I run tells me it's all working but I can't log in with Mac mail with -o smtpd_sasl_auth_enable=yes when I turn this to no I can log in with Mac mail ...
0
votes
1
answer
315
views
dovecot effective uid when authenticating against ldap
Setting up a dovecot instance which uses openldap as backend for user accounts (under Ubuntu Bionic). The user mailboxes look like this
# find /home/virtual_mail/emont/ -type d -ls
2228468 4 ...
1
vote
0
answers
158
views
How to keep dovecot from creating .imap directories if IMAP is disabled?
Since several years and through the last three Debian distributions, I am running dovecot as a POP3 server. In general, it works as expected, and I'm happy with it.
However, there is one little issue ...
3
votes
4
answers
2k
views
Calling Bash script from Sieve script
I'm not sure if something similar has already been asked.
I'm currently trying to push emails to our spam filter when they are moved to or out of the Junk folder so it can learn them as spam/ham. To ...
1
vote
3
answers
3k
views
OpenDkim - Eerror loading Key while opendkim-testkey outputs key OK?
The mail.err has this (I've used FQDN.example.com as a marker for my domain):
Mar 24 19:08:31 FQDN opendkim[17649]: can't load key from /etc/opendkim/keys/FQDN.example.com/mail.private: Permission ...