• Tigr.net
  • Tag: No such file or directory
  • EnglishEnglish
  • РусскийРусский
  • English
  • Русский

Tigr.net

Right, Might, Freedom!

Right, Might, Freedom
TIGR.NET

Tag Archives: No such file or directory

IMAP with Maildir gotcha: No such file or directory

An interesting gotcha wasted me quite a bit of time and frustration last evening. After installing OTRS I went to configure the email delivery for tickets. I created a new virtual user, gave it a password and so it was all set. And it did not work when I tried to fetch the mail from OTRS. The message of OTRS itself did not help at all being very generic but the server reported this:

Feb 11 14:19:59 mail imapd-ssl: Connection, ip=[x.x.x.x]
Feb 11 14:19:59 mail imapd-ssl: chdir example.com/otrs/: No such file or directory
Feb 11 14:19:59 mail imapd-ssl: otrs@example.com: No such file or directory

It was hard to imagine a more cryptic message. I could not understand what could be wrong. And why would the server try to chdir into some strange directory. I flushed, changed passwords, tried all sorts of protocols, nothing helped. At a certain point I typed in a wrong password and the message changed to the very familiar “user login failed”. And then the realization hit me.

You just need the directory, you know. Maildir means there must be a directory for the IMAP server to look into. That’s what it tells me! IMAP says that it cannot find the directory where the messages should be. And sure enough, the Maildir directory is not there. Who would create it? Silly me.

And, of course, after the fact you remember it all: always send a welcome message to the new IMAP users so that the mailbox or Maildir is created for them… Hard to remember though when you don’t create new mail users so often.… -->

continue reading →
Posted on 2015-02-11 by Tigr. Posted in Various | Tagged chdir, email, en, IMAP, login failed, Maildir, new mail user, No such file or directory, OTRS, server
  • EnglishEnglish
  • РусскийРусский
  • RSS feed
  • Subscribe to updates
  • About Tigr
  • Contact
  • AfterStep
  • Photo Album
Donate Bitcoin

Archives

Tags

book Business cartoon Computer Dilbert en freedom Fun Government humor Internet japan joke Life Linux movie news philosophy Politics Psychology Quote ru Russia Science security Society software Technology USA War we_are_idiots work World Война Идиотизм История Общество Политика Психология Работа США европа здоровье экономика юмор

© 1998 - 2023 Tigr | Legal | Contact the webmaster