Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm having problems with a VPS where I have qmail installed. In this VPS I have multiple domains configured and some of them are unable to recieve incomming mail. All its mail is stuck in the queue.
Checking /usr/local/psa/var/log/maillog I see qmail is complaining: /Maildir:_No_such_file_or_directory/.

Nov 15 05:29:12 vrtl12459 qmail: 1352953752.857681 status: local 1/10 remote 0/20
Nov 15 05:29:12 vrtl12459 qmail-local-handlers[7375]: Handlers Filter before-local for qmail started ...
Nov 15 05:29:12 vrtl12459 qmail-local-handlers[7375]: from=abcd@gmail.com
Nov 15 05:29:12 vrtl12459 qmail-local-handlers[7375]: to=XXXX@YYYY.com
Nov 15 05:29:12 vrtl12459 qmail-local-handlers[7375]: mailbox: /var/qmail/mailnames/YYYY.com 
Nov 15 05:29:12 vrtl12459 qmail-local-handlers[7375]: hook_dir = '/usr/local/psa/handlers/before-local'
Nov 15 05:29:12 vrtl12459 qmail-local-handlers[7375]: recipient[3] = 'XXXX@YYYY.com'
Nov 15 05:29:12 vrtl12459 qmail-local-handlers[7375]: handlers dir = '/usr/local/psa/handlers/before-local/recipient/XXXX@YYYY.com'
Nov 15 05:29:12 vrtl12459 qmail: 1352953752.868494 delivery 380: deferral: ./Maildir:_No_such_file_or_directory/
Nov 15 05:29:12 vrtl12459 qmail: 1352953752.868610 status: local 0/10 remote 0/20
Nov 15 05:30:15 vrtl12459 qmail: 1352953815.885834 starting delivery 381: msg 44515353 to local 2_-XXXX@YYYY.com

I'm not very good with server administration, so I don't know where to start. I've searched in google for the problem but all I find is related to spamassassing and dr web, which is neither of them I use.

Edit1
This VPS is running under Plesk, so I created the domain using its tools.
The incomming mail worked fine from the beggining but stopped working a week ago.

Edit2
If checking the content of /var/qmail/mailnames/YYYY.com I see:

YYYY
  |-@attachments
  |-Maildir
      |-courierimapkeywords
      |-courierimapuiddb
      |-cur
      |-maildirsize
      |-new
      |-tmp

The only difference I see between this folder and other domain with working incomming mails is that Maildir contains also the file courierpop3dsizelist.

share|improve this question
    
Is this a previous working setup, that broke, or youre setting it up now? How did you install qmail? –  fireto Nov 15 '12 at 12:43
    
I've updated the details. This is running in plesk, so I found qmail already installed and plesk managed to create and configure all required stuff for me. And yes, it worked fine in the beginning and stoped working... –  clinisbut Nov 15 '12 at 12:46
    
I'm no expert in qmail but from reading the error message, I'd want to know does /var/qmail/mailnames/YYYY.com exist and if it's a directory, what are its contents? Also, if it stopped working a week ago, are there any files in qmail's config directories that have a modified time within the last week or so? –  Ladadadada Nov 15 '12 at 12:58
    
@Ladadadada I've added those details to the question. –  clinisbut Nov 15 '12 at 14:07
1  
As a complete aside, you may want to consider migrating away from Qmail to something like Postfix or Exim. There will be a deeper pool of people who know those two mail servers, compared to Qmail. Qmail hasn't been maintained in a while. This article was written a few years ago, so its points are even stronger regarding Qmail: shearer.org/MTA_Comparison –  cjc Nov 15 '12 at 14:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.