Questions tagged [dovecot]

Dovecot is an open source IMAP and POP3 email server for Linux/UNIX-like systems, written with security primarily in mind.

Filter by
Sorted by
Tagged with
1 vote
1 answer
18 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 ...
  • 33
1 vote
0 answers
7 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
24 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 ...
  • 11
0 votes
0 answers
7 views

What is wrong with my Dovecot conf file?

I am going step by step,edited /etc/dovecot/conf.d/10-master.conf Line 94 is somehow wrong(unix listener /var/spool/postfix/private/auth) service auth { unix_listener auth-userdb { mode = 0600 ...
1 vote
0 answers
101 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 ...
  • 405
0 votes
1 answer
76 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
165 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
91 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. ...
  • 93
1 vote
1 answer
219 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
154 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 ...
  • 868
0 votes
1 answer
184 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 ...
  • 33
0 votes
0 answers
84 views

Dovecot; Inbox no longer working after update; `save failed to INBOX: BUG: Unknown internal error`

I've been running my own internet-facing VPS servers for fun and to save money for about five years now. Been a learning experience. However, I recently did relatively routine updates to dovecot. ...
0 votes
0 answers
96 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
64 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
48 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 ...
  • 11
1 vote
1 answer
305 views

Postfix 550 5.1.1 <usr@domain.tld>: 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: usr@domain.tld:{PLAIN}pw.:10000:...
  • 11
1 vote
1 answer
208 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 ...
  • 2,189
0 votes
1 answer
831 views

Postfix delivery problem, status=bounced (mail forwarding loop for jeff@example.com), 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 ...
  • 704
2 votes
0 answers
76 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
64 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 ...
  • 195
1 vote
0 answers
38 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 ...
  • 93
0 votes
1 answer
234 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/...
  • 93
1 vote
1 answer
931 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....
  • 11
1 vote
1 answer
3k 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 ...
  • 115
0 votes
2 answers
283 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:...
  • 211
0 votes
1 answer
145 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
1k 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 ...
  • 21
1 vote
0 answers
549 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 bruno@2c2axxx.online-server.cloud the mail is rejected with the following error: Aug 14 ...
  • 23
1 vote
0 answers
328 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 ...
  • 13
3 votes
1 answer
7k 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 ...
  • 179
0 votes
1 answer
206 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....
  • 179
1 vote
0 answers
85 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
210 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
123 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 ...
  • 2,359
3 votes
4 answers
1k 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
2k 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 ...
0 votes
0 answers
24 views

squirrelmail installed, but no send / receive email

I recently installed squirrelmail on Ubuntu 18.04 server mostly following the guidelines in How to setup a mail server on Ubuntu 18.04? I am able to use login from browser, but when trying to send ...
  • 121
0 votes
0 answers
53 views

Ubuntu 14.04 How do I fix the imaplib.readonly error?

I'm trying to use an imap script to view emails from a server. My script is able to log in fine, I get the 'OK Logged in' message, it's able to list the mailvoxes and dump untagged responses. After ...
0 votes
0 answers
45 views

Emails are sent to root user account instead of orig recpient

Although emails are said to be delivered by /var/log/maillog I can't see emails in that user account; instead all emails are received by root user only. What I need to verify so that mails sent by ...
1 vote
1 answer
556 views

how can I manage services running in freebsd jail

I've inherited some systems that run on freebsd and inside jails. Basically the services running are old versions of qmail, spamd, dovecot, etc. None of the versions are up to date or even ...
  • 145
0 votes
1 answer
2k views

How can I add subdomains to letsencrypt using certbots?

I have certbot installed and successfully use it to encrypt my homepage. Now i tried to setup an email system for my website using dovecot and postfix. I got it mostly running, only problem is, ...
0 votes
1 answer
96 views

How do I disable SASL in KMail?

I have a laptop running KMail 5.7.3 on Bionic Beaver. I just got a new computer with Eoan Ermine and am trying to set up Kmail 5.11.3 to use the same IMAP server. I set up the IMAP account, tried to ...
3 votes
0 answers
728 views

Dovecot Sieve Trace does not create a log

i have a problem with my Dovecot 2.2.33.2 and Sieve Pigeonhole 0.4.21. I want to trace, which sieve rules are used if a mail get moved or deletet or rejected oder what ever sieve does with the mail. ...
  • 41
0 votes
1 answer
145 views

Dovecot add existent folder from command line

I've insert a .INBOX.test folder in my mailbox folder /home/user/Maildir but I dont see it from Thunderbird. What i have to do for see it?! Thanks
  • 3
1 vote
0 answers
212 views

How to create my own simple autoresponder for Postfix with custom conditions?

Postfix/Dovecot I want to create my simple custom autoresponder for Postfix, in Python, for instance. I don't need any third-party ready-to-user one. I want it to have some custom conditions such as ...
  • 11
0 votes
1 answer
111 views

How are images in imap mails supposed to be stored?

On a mail server running postfix and dovecot with imap, mails are stored plain on the disk. Within those mails, we have discovered that mails are stored in 2 ways. The image is embedded as a base64 ...
0 votes
2 answers
1k views

My mailserver cant accept emails error 454 4.7.1 email@domain.tld: Relay access denied [closed]

sending emails is okay, I can send event to gmail. But when I send email from gmail, I've got error 454 4.7.1 email@domain.tld: Relay access denied I am using postfix with dovecot. I have sadly no ...
  • 348
1 vote
1 answer
399 views

Split large log file based on date criteria, while logging facility is running

the log file is /var/log/dovecot.info, >4GB, with date format: 2019-07-01 01:07:40 My objective is: have the /var/log/dovecot.info which starts with 2019-01-01 00:00:00 and contains up to now log ...
1 vote
1 answer
9k views

dovecot: imap-login: Disconnected auth failed user=<>

Operating system Ubuntu Linux 18.04.2 Webmin version 1.900 (latest) Usermin version 1.751 (latest) Virtualmin version 6.06-2 (latest) I have a problem with Dovecot & Usermin/Virtualmin. The ...
  • 407
1 vote
1 answer
678 views

cannot authenticate via LDAP as user has multiple UIDs

Upgrading from SLES11 to SLES 12 I had to replace a working Cyrus mail server with dovecot. Unfortunately I'm unable to authenticate via LDAP (which was not a problem with Cyrus): My LDAP user has ...
  • 904