1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Reject mail to nonexistent user (/var/qmail/control/rejectnonexist)

Discussion in 'Plesk for Linux - 8.x and Older' started by Baker, Dec 27, 2005.

  1. Baker

    Baker Guest


    Most bounce messages to spammers bounce back. To avoid this, in Mail Preferences > Mail to nonexistent user I specified Reject. This in turn created file /var/qmail/control/rejectnonexist.

    This caused problems with sending and receiving local mail. For example when a user attempted to send mail from the Thunderbird mail client the mail server (sometimes) replied... Send Error: 421 opendir() failed (#5.7.15) No such file or directory. :confused:

    Things worked correctly again when I removed that file, but now I'm back to handling double bounce messages. :(

    My qmail environment uses poppassd and mbox format. The server args in smtp_psa are... "-Rt0 /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /
    var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmai

    Why would the Mail to nonexistent user Reject option cause such behavior and how can I change that behavior?

    advTHANKSance :)
  2. jwdick

    jwdick Guest

    I don't know the answer to your question, but I believe I have a better solution than rejecting email. This next quote is from www.dnsreports.com:

    OK: All of your mailservers accept mail from "<>". You are required (RFC1123 5.2.9) to receive this type of mail (which includes reject/bounce messages and return receipts).

    To comply with RFC1123 5.2.9, what I did is create an email address called 'spam@klicktheweb.com'. However, I did not enable the mailbox for this email address. Then I forward all email for "non-existent" users for all domains on my server to this email address. I then checked my mail queues for the next three days to make sure that email is not piling up there and it is not. Since there is no mailbox for "spam@klicktheweb.com", the email falls off into space without rejecting or bouncing.

    If no one else answers your question for you, you may want to give this a try.
  3. ghazlewood

    ghazlewood Basic Pleskian

    Nov 15, 2004
    Likes Received:
    London, UK
    I'm using a Plesk 8.0.1 box and encountered this error message recently. I had not long before added some aliased domains to this file manually. It was the listing of these aliases which appears to have been causing the problem. I have since removed the aliased domains and the problem has disappeared. Maybe now aliased domains are properly built into Plesk we will see the improvement of how they are handled with respect to mail and qmail...