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
0
votes
0answers
3 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 ...
-1
votes
0answers
11 views

Unable to send and receive mail using MS Outlook mail client and other errors

Problem about postfix, Dovecot, and postfixAdmin After following to the letter a series of tutorials about setting up a mail server, I was able to login on a virtual mailbox account through Microsoft ...
0
votes
0answers
57 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 ...
2
votes
1answer
4k views

I can send mail but can't receive it (CentOS with Postfix)

I followed this tutorial and was able to create a mail account that can be configured in an email client. The problem is that I can't receive any messages to my inbox BUT I can send messages ...
0
votes
0answers
12 views

Dovecot sieve and multiple recipient delimiter

Is it possible to use multiple recipient delimitator in dovecot sieve? I use + but in some site it isn't accepted. I've insert in this format for use also - but doesn't do: recipient_delimiter = +...
0
votes
0answers
18 views

How to update SSL Certificate on Postfix and Dovecot servers

There are two servers. I've rename new Sectigo Positive SSL Wildcard certificate files to old names and overwrite each: admin@postfix> ls /etc/postfix/ssl smtp.vpgt.lt.crt.old smtp.vpgt.lt.crt (...
2
votes
1answer
1k views

The mail system : user unknown Action: failed Status: 5.1.1 Diagnostic-Code: x-unix; user unknown

I have a mail system from Postfix, Dovecot, Amavis, Spamassin on a Debian Jessie 8.5. Imap and pop3 work fine. Smtp port 465 over ssl sends fine, delivery is okay, but port 25 and 587 got the error "...
0
votes
0answers
5 views

Dovecot pretends permission denied although I have permission

I cannot access my mails with dovecot from my server. This is what I find in the mail.log: Apr 14 01:31:33 user dovecot: imap-login: Login: user=<user>, method=PLAIN, rip=192.168.200.209, lip=...
1
vote
1answer
991 views

dovecot /usr/lib/dovecot/imap-login failed: Permission denied

Upgraded Ubuntu from 14.04lts to 16.04lts, having problems with dovecot, which ran fine under 14.04. Exim4 mail server running fine (receiving and delivering). Purged the dovecot install and deleted /...
0
votes
2answers
3k views

Dovecot not listening on imap and pop3 ports

Before I continue, I have looked at tons of posts online about saying that the protocols are not setup, and have tried what they have offered, but all of them do not help, and don't seem to resolve ...
0
votes
2answers
400 views

smtp hack attempts and no IP in logs

server gets smtp login attacks but firewall cant ban them because there is no IP in logs... like this in var/log/messages: Mar 13 16:00:05 sunucu saslauthd[1484]: do_auth : auth failure: [...
0
votes
0answers
62 views

How do I set IMAP METADATA in dovecot?

Situation IMAP-Sieve works with administrator scripts, as described in the documentation. I want to use Sieve with IMAP events as an user. According to RFC 6785 I have to set the IMAP metadata entry ...
0
votes
0answers
10 views

Dovecot and recipient address with more then one subfolder

Sorry for my bad english! :) Can multiple recipient delimiters be used in one address? I would like to use an address that automatically creates multiple folders: example "user+folder+subfolder@...
0
votes
1answer
1k views

Cannot send email via postfix / dovecot error status=deferred (mail transport unavailable)

I am trying to setup a mail server with postfix/dovecot/maria DB on centos 7 and have seem to hit a roadblock. I am not able to send emails to internal users and the logs suggest "mail transport ...
0
votes
2answers
34 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 ...
4
votes
1answer
1k views

Dovecot/Postfix mail server replies to [SYN] with [RST, ACK] when user attempts to connect (POP3). Likely iptables?

Currently I'm trying to troubleshoot an e-mail server that will allow users to send e-mail, but not log in to the server (POP3) or receive e-mail using their Outlook clients. Previously this was ...
0
votes
0answers
17 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 ...
0
votes
0answers
13 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 ...
1
vote
1answer
53 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 ...
5
votes
1answer
1k views

selinux, dovecot and sieve

I've just started learning to configure SELINUX and this morning on my CentOS 6.4 x64 system, with postfix/dovecot/mysql installed, I woke up to the following selinux issue found 1 alerts in /var/log/...
0
votes
1answer
1k views

IMAP Dovecot cannot connect

I am trying to set up my own mail server (for 'fun'). I followed this tutorial to the bone. But I get this error message: imap-login: Disconnected (auth failed, 2 attempts in 9 secs): user=<...
0
votes
0answers
9 views

Have sendmail authenticate users against dovecot (or passwd-style files)

I have set up a Debian 10 mail server with sendmail and dovecot+virtual users in preparation of a migration (the old server is also running sendmail + dovecot, but older versions and with "real" users)...
0
votes
0answers
41 views

Dovecot Sieve and MS Outlook

I am looking for some guidance using managesieved with MS Outlook. I am using dovecot as my IMAP server. I was hoping to configure and use managesieved with MS Outlook to store any rule on the server. ...
5
votes
2answers
3k views

ACL/MAC Permissions for dovecot and postfix in CentOS 7

I am using this tutorial to set up Postfix and Dovecot on a CentOS 7 web server. But when I try to send a test email using sudo echo "TEST" | mail -s "testmail" newuser@localhost && sudo tail ...
0
votes
0answers
34 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 ...
0
votes
1answer
29 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
1answer
23 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 ...
1
vote
1answer
656 views

Warning in the logs of Postfix: “restriction NNN ignored: no SASL support”. But it does have SASL support

I have postfix + dovecot + pgsql. All has been working. Recently I've changed something in the config to combat spam. Now I see this in the logs: localhost postfix/smtpd[2299]: warning: restriction `...
1
vote
2answers
9k views

Mail Server on CentOS - Relay access denied

I have setup Postfix and Dovecot on my CentOS Server. Now I am using unsecure SMTP and POP/IMAP (ports 25 and 110/143). I can send mail locally to and from myself, but when I want to send email TO ...
0
votes
0answers
92 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. ...
0
votes
1answer
21 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
1
vote
1answer
229 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 ...
0
votes
0answers
66 views

SMTP Error: [451] 4.3.0 Error: queue file write error in roundcube

as stated in the title, my roundcube (mail-server setup with mailcow with docker) generates this error-message. It pops up whenever I try to send any mail and I do not receive any more mails. I'm ...
1
vote
0answers
24 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 ...
0
votes
1answer
634 views

opendkim.sock file not being created or does not exist

I'm attempting to configure opendkim on my raspberry email server that has a dovecot/postfix setup already configured. I have followed some tutorials and some forum posts to further diagnose my issue....
1
vote
2answers
2k views

What is the best way to backup emails locally? Use doveadm?

I am trying to backup my email server with dovecot. I have read the doveadm command documentation but it is unclear on how to use it. I have create a test directory /dove_backup and then trying to ...
2
votes
2answers
1k views

Postfix does not work with TLS but Dovecot does

I have posted this question on Sever Fault but as soon as I mentioned that I have a control panel installed on my server (even though it has nothing to do with the issue) my question was closed. Here ...
1
vote
2answers
134 views

dovecot+exim configuration, error while restarting exim

When I try to configure Dovecot together with Exim, I get an error while restarting Exim: Exim configuration error in line 63 of /etc/exim/exim.conf: main option "dovecot_login" unknown What am I ...
3
votes
1answer
473 views

Change existing dovecot maildir installation from m-UTF7 charset to UTF8 to avoid breaking TAB

In an existing dovecot installation with many pre-existing folders using regional characters I would like to change m-UTF7 (.&AMk-l&AOk-ments envoy&AOk-s) foldernames to UTF8 (.Éléments ...
0
votes
1answer
33 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 ...
1
vote
1answer
4k views

dovecot not starting : service(imap) access(/usr/lib/dovecot/imap) failed

I have installed dovecot but the service is not running. I have verified using ps -A | grep dovecot and service dovecot status The test says : dovecot stop/waiting In the /var/log/mail.err and ....
0
votes
0answers
54 views

How to use doveadm auth test to query tcp socket

So my dovecot has this service: service auth { inet_listener { port = 12345 } } I can't seem to find a way to use doveadm auth test on it, when I try doveadm auth test -a 127.0.0.1:...
0
votes
0answers
263 views

How to get notifications on new mail from dovecot like webhook events?

I want dovecot to send events to an HTTP endpoint with metadata when new mails received in the inbox. I tried ox driver but its not working: logs: Debug: lmtp-server: conn unix:pid=20280,uid=112 [...
0
votes
2answers
571 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 ...
0
votes
1answer
75 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 ...
0
votes
0answers
80 views

IMAPSYNC IO::Socket::IP configuration failed Connection refused

Operating system Ubuntu Linux 18.04.2 I am facing a strange issue with IMAPSYNC when syncing emails from a remote host to the localhost. First of all, telnet is not allowed by the firewall, but I ...
1
vote
1answer
2k 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 ...
2
votes
1answer
1k views

Postfix/Dovecot import mail from Gmail

I setup an iRedMail server on Ubuntu 14.04. My company currently uses Gmail but wants to switch to a cheaper solution. I set up the server with an LDAP DB, and I'm using Postfix and Dovecot for the ...
0
votes
0answers
19 views

Find wich mailbox encrypt or not encrypt there passwords for IMAP or POP3

I try to list all mailboxes with the method of encryption passwords. How can I do this? I know that I can grep the method=LOGIN,PLAIN,CRAM-MD5 with: cat /var/log/mail.log | grep method=LOGIN or ...
0
votes
0answers
126 views

fail2ban not blocking access to imap ports

I have a mail server with dovecot. I run fail2ban on it, with the jail [dovecot] enabled. Here is the status of that jail. # fail2ban-client status dovecot Status for the jail: dovecot |- Filter | |...