I'm trying to set up roundcube on my server which seems to be working fine. I have gone through all of the steps and it allows me to send outgoing emails perfectly fine (tested that with yahoo), emails always go through. For some reason, however, if I reply to an email from yahoo to the mail server it sends back an error 550 (Recipient not found). I've looked everywhere for an answer but haven't found any. Has anyone else ran into this issue and found a fix?

If I need to give more information please let me know and I will do so.

Mail Log: (shortened)

Aug 14 16:35:03 pocketbukkit dovecot: imap-login: Login: user=<philipshilling@pocketbukkit.net>, method=PLAIN, rip=, lip=, mpid=23142, secured
Aug 14 16:35:03 pocketbukkit dovecot: imap(philipshilling@pocketbukkit.net): Disconnected: Logged out bytes=50/404

Failure Notice:

Sorry, we were unable to deliver your message to the following address.

Remote host said: 550 5.1.1 <philipshilling@pocketbukkit.net> Recipient not found.  <http://x.co/irbounce> [RCPT_TO]

--- Below this line is a copy of the message.

Received: from [] by nm14.bullet.mail.bf1.yahoo.com with NNFMP; 14 Aug 2014 17:32:15 -0000
Received: from [] by tm20.bullet.mail.bf1.yahoo.com with NNFMP; 14 Aug 2014 17:32:15 -0000
Received: from [] by omp1050.mail.bf1.yahoo.com with NNFMP; 14 Aug 2014 17:32:15 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 688407.16699.bm@omp1050.mail.bf1.yahoo.com
Received: (qmail 48585 invoked by uid 60001); 14 Aug 2014 17:32:15 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1408037535; bh=x0RlACzX5sVtytN6BXeDvMLGd1pVEFkT/0DVPpu/nj0=; h=Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=k878XbIeHwBebjTlCtTMIDiq4jConh3s2/9XiC/WMt+6p3MqR2F9T5NY637MwcgeqCjzq5zaE4/Szd6Dw+bTgq2cxp7C5zYyAeJLLV6Xpia0ifHNG++5/dnLRsx/Bc+ZDzTRfT3D+c8Qi7anHX8EXDCHbnbCyn05LUfW0merG0Y=
X-YMail-OSG: HqtcMi8VM1kCguInS81hMn_yugn8daDV_XhSowgngtbDUoI
Received: from [] by web140902.mail.bf1.yahoo.com via HTTP; Thu, 14 Aug 2014 10:32:15 PDT
X-Rocket-MIMEInfo: 002.001,VGVzdGluZyBpZiB0aGUgbWFpbCBzZXJ2ZXIgd29ya3MgY29ycmVjdGx5LgEwAQEBAQ--
X-Mailer: YahooMailWebService/
Message-ID: <1408037535.80225.YahooMailNeo@web140902.mail.bf1.yahoo.com>
Date: Thu, 14 Aug 2014 10:32:15 -0700
From: Comedy Man <comedyman937@yahoo.com>
Reply-To: Comedy Man <comedyman937@yahoo.com>
Subject: Checking mail server
To: "philipshilling@pocketbukkit.net" <philipshilling@pocketbukkit.net>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="-18013450-1588383846-1408037535=:80225"

Content-Type: text/plain; charset=us-ascii

Testing if the mail server works correctly.
Content-Type: text/html; charset=us-ascii

<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div>Testing if the mail server works correctly.</div></div></body></html>

Postfix main.cf:

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/postfix/aliases
alias_database = $alias_maps

inet_interfaces = all
inet_protocols = ipv4
mydestination = $myhostname, localhost.$mydomain, localhost

debug_peer_level = 2
debugger_command =
         ddd $daemon_directory/$process_name $process_id & sleep 5

sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.6.6/samples
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES

relay_domains = *

virtual_mailbox_base = /var/vmail
virtual_minimum_uid = 2222
virtual_transport = virtual
virtual_uid_maps = static:2222
virtual_gid_maps = static:2222

smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = /var/run/dovecot/auth-client
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_sasl_local_domain = $mydomain
broken_sasl_auth_clients = yes

smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination


support@pocketbukkit.net support@pocketbukkit.net
philipshilling@pocketbukkit.net philipshilling@pocketbukkit.net


support@pocketbukkit.net           pocketbukkit.net/support
philipshilling@pocketbukkit.net    pocketbukkit.net/philipshilling


pocketbukkit.net            OK
  • Please provide the full error message, as also a complete snippet from your mailserver logs (/var/log/mail.log). Also post your postfix-Configuration /etc/postfix/main.cf.
    – sebix
    Aug 14, 2014 at 17:22
  • @sebix Added them :) Aug 14, 2014 at 17:37
  • @Domedyman937 The log is useless, we need a snippet for postfix, for the SMTP-part (that's for sending mails between servers), not IMAP (that's for checking your mailbox). What is relay_domains = * for?
    – sebix
    Aug 14, 2014 at 18:20
  • Im not sure... I just went through a tutorial on how to set it up ( rosehosting.com/blog/… ) Aug 14, 2014 at 18:40
  • Whats in your /etc/postfix/vmail_aliases and where's a complete mail.log, as requested before?
    – sebix
    Aug 14, 2014 at 18:42

1 Answer 1


I don't believe it's necessary to add aliases from your virtual mailboxes to themselves, and in fact this might be preventing mailbox lookup. Also, since you're using hash: to specify the virtual mailboxes (and domains), you need to use postalias or postmap to create the hashmap versions of the files (the files actually used end in .db in this case and are BDB databases).

I believe you can also simply remove the hash: since your files are tiny and you probably don't need hashing for performance reasons for that.

  • Can you give me an example as to what Ill need to do in the config? Im new to setting up this kind of thing... Aug 14, 2014 at 20:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.