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
41 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
2answers
28 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
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
8 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
0answers
7 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
25 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. ...
0
votes
0answers
32 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
1answer
39 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 ...
0
votes
1answer
27 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
17 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 ...
0
votes
0answers
71 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
20 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
0
votes
0answers
53 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
21 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
30 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
0answers
32 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
200 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
493 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
72 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
74 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 ...
1
vote
1answer
198 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
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
121 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 | |...
0
votes
0answers
23 views

Strange error doveadm

I try to move mail from one user to another: sudo doveadm move -u touser INBOX user fromuser mailbox INBOX ALL In finally I get an error: doveadm(touser): Fatal: setresgid(1005(fromuser),1005(...
0
votes
0answers
123 views

Thunderbird can't find mail server configuration

I'm having issues when it comes to connecting to my mail server using Thunderbird client. The weird thing is that I can connect to my mail server usign telnet in the client "telnet mail.zumsfresh 25" ...
0
votes
1answer
531 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
1answer
299 views

How can I return (fetch) the subject using Dovecot's `doveadm fetch`?

Dovecot allows me to search on SUBJECT returning the body doveadm fetch -u myUser body SUBJECT mySubject body: My Body of message This shows me it knows what a SUBJECT is, but when I try to return ...
0
votes
0answers
67 views

dovecot aut-worker Fatal

I have set up a test Server with dovecot and get this error in mail.warn dovecot: auth-worker: Fatal: master: service(auth-worker): child 6169 killed with signal 11 My dovecot.conf is the same like ...
0
votes
1answer
621 views

Roundcube Error: Connection to storage server failed

I installed Roundcube on a Debian server running Dovecot, Postfix, mySQL for mail, and postfixadmin. Then I installed Roundcube. I have another server with the same configuration. I can send and ...
1
vote
1answer
597 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
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 ...
3
votes
2answers
84 views

Hide “You have old mail” message when logging into shell?

I have a mail system set up on my server (Postfix + Dovecot) that I use for personal and sys-admin email. Every time I login via shell (for all of my accounts), the message "You have old mail." is ...
0
votes
1answer
100 views

Postfix can't send email to popular email sites

I have an installation of iRedMail version 0.9.7 running on Scientific Linux (RHEL) 7 : Linux smtp.fabricobjects.com 3.10.0-862.6.3.el7.x86_64 #1 SMP Tue Jun 26 12:13:22 CDT 2018 x86_64 x86_64 ...
0
votes
1answer
212 views

How to automatically move mails to SPAM or JUNK folder instead of removing them?

I have problem with amavis-new. amavis-new removes an e-mails tagged as SPAM are removed instead of leave them tagged by SpamAssassin. Here's /var/log/mail.log: Jul 20 20:04:09 cloud-vps opendmarc[...
0
votes
1answer
18 views

Securing ManageSieve Dovecot plugin

I've recently setup and configured dovecot and roundcube with managesieve and have been able to configure sieve through the roundcube plugin successfully. I've noticed that there is a Thunderbird ...
1
vote
2answers
1k views

Dovecot Immediate Connection Closed [closed]

I've set up a mail server following https://thomas-leister.de/en/mailserver-debian-stretch/ and when trying to connect a client (Outlook 365) it's unable to connect to the SMTP server. Checking mail....
0
votes
2answers
240 views

Why is postfix-spamassassin-dovecot set up this way?

I have recently added spamassassin to my mailserver, as the blacklists weren't effective enough. To clarify: I use Postfix as SMTP + Dovecot as LDA, postgrey for greylisting and postfwd for rate-...
0
votes
2answers
364 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: [...
1
vote
1answer
492 views

Why doesn't Postfix relay just the user name to Dovecot via lmtp and how would one accomplish that on FreeBSD?

I'm having trouble understanding how Postfix relays data to Dovecot and looking for a minimal (as little deviation from distro config files as possible) but complete example on how to accomplish the ...
1
vote
1answer
905 views

Compressed Maildir [was Strange Postfix Maildir files]

I was called to solve a situation of recovering a backup of emails from a legacy server that died. Having Maildir files, and with some header data, I could easily determine with some detective work ...
0
votes
1answer
771 views

Where do custom folders of virtual users with dovecot IMAP get stored?

I just set up a Postfix+Dovecot Mail System. This system uses only virtual users. I set the mailboxes up in /var/vmail/DOMAIN/USER in the Maildir format. Now I connected (successfully :D) with my IMAP ...
0
votes
1answer
1k views

postfix and dovecot use /root/Maildir instead of /var/spool/mail

I have a mailserver for testing with dovecot and postfix this is the postfix config queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix ...
0
votes
0answers
106 views

In dovecot, what syntax to use if I have a space in mysql password?

I'm trying to configure Dovecot to access mysql, but it's not working because there is a space in the mysql password. driver = mysql connect = "host=localhost dbname=postfix user=postfix password=...
0
votes
1answer
214 views

Do I need Dovecot on server if Gmail is hosting our email?

I noticed a recurring error in the mail.log as well as when I run service dovecot status on a server I 'inherited' for my job (used for our production website). We have our MX records pointed to/email ...
1
vote
0answers
1k views

Dovecot killed with signal 15

I've been noticing a lot of Dovecot shut downs lately. I've brought it to the attention of my hosting provider, but they're not being of much help. Nov 2 10:07:22 srvr dovecot: master: Warning: ...
0
votes
2answers
61 views

Why my dovecot can't receive email sent by others? [closed]

postfix and dovecot was installed on my vps--centos7. I can send email to others ,why can't receive email sent by others? No problem for ports. netstat -an Active Internet connections (servers ...
1
vote
2answers
727 views

I can't send or receive email through my email server

I am using SSL to encrypt my email server's communications. However, when I try to send messages to it or retrieve messages from it, it fails to do so. Here is what it says in /var/log: Oct 28 15:29:...
1
vote
1answer
1k views

Why email can't be read from Maildir? [closed]

I have Postfix configured to deliver to Maildir-format mailboxes: $ cat /etc/postfix/main.cf home_mailbox=Maildir/ mail_location = maildir:~/Maildir I have Dovecot configured the same: $ cat /etc/...