I have set up Postfix + Dovecot with SSL enforced, and while testing with mailutils I'm able to send e-mails to my gmail, but when I try to reply they are not received on my server.
With openssl I successfully logged in to the imap server with
01 LOGIN [email protected] mypassword
From which I get
01 OK ....... Logged in
But then on the server I get the following in the syslog
Jul 21 20:51:21 localhost dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=99.99.99.99, lip=98.98.98.98, mpid=XXXXX, TLS, session=<R4ND0MSTRINGY>
Jul 21 20:51:21 localhost dovecot: imap([email protected])<XXXXX><R4ND0MSTRINGY>: Error: chdir(/var/mail/vhosts/example.com/myname) failed: Not a directory
I check that file, and it's there, but it's not a directory. It's just an empty file from what I can tell. Does anyone have any idea where my configuration might be wrong? Thanks so much in advance.
mail_location
? I'm on Debian, so I have it in/etc/dovecot/conf.d/10-mail.conf
- Mine is set tomail_location = maildir:/var/vmail/%d/%n
/var/mail/vhosts/example.com/myname
and re-send yourself a "welcome" messagesudo mail -f /var/mail/vhosts/example.com/myname
, but after I removed it and sent another hellow oreld nothing happened. I don't need to configure anything special with DNS do I? I have a mail entry that was created by default by my DNS manager.mail_location = maildir:/var/mail/vhosts/%d/%n/
, but after changing it it didn't matter.doveconf -n
? Here is the output of mine, with my domain changed to example.com - termbin.com/jdlb