Roundcube Community Forum

Release Support => Pending Issues => Topic started by: flashpoint on December 27, 2014, 02:24:49 AM

Title: Roumdcube cannot receive email.
Post by: flashpoint on December 27, 2014, 02:24:49 AM
Hey there,

For some reason my roundcube cannot receive email. Once I send the email I get a non-delivery response from my server.

Here is the message that I get:

Code: [Select]
This is the mail system at host InstantGaming.net.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<alex@instantgaming.net>: unknown user: "alex"


--Forwarded Message Attachment--
From: pilot.berry@hotmail.com
To: alex@instantgaming.net
Subject: test
Date: Sat, 27 Dec 2014 01:20:58 -0600




test

I also used this tutorial to do everything:
http://www.howtoforge.com/perfect-server-centos-7-apache2-mysql-php-pureftpd-postfix-dovecot-and-ispconfig3

(pages 2 - 3)

Thanks for your time and help.
Title: Re: Roumdcube cannot receive email.
Post by: SKaero on December 27, 2014, 02:35:07 AM
This isn't a Roundcube problem, something is wrong with your Dovecot configuration or possibly ISPConfig isn't setting up the account correctly.
Title: Re: Roumdcube cannot receive email.
Post by: flashpoint on December 27, 2014, 02:52:56 AM
This isn't a Roundcube problem, something is wrong with your Dovecot configuration or possibly ISPConfig isn't setting up the account correctly.

True, I fixed it for anyone who wants to know how:
(I am using CentOS 7 so it may be different for you)

1 ) Go to /etc/postfix
2 ) Find the main.cf file
( or just do nano /etc/postfix/main.cf )
3 ) and edit it. ctrl+f for the following:

mydestination - remove your domain from it and make sure it looks like this:

Code: [Select]
mydestination = localhost, localhost.localdomain

search for myhostname

and make sure that the domain that shows up is NOT your emailing domain.

Ex: if your email is alex@emailservice.com
and myhostname is:
myhostname = emailservice.com you have to change it to something else. for example you have to change it to server.emailservice.com
and make sure "mydomain" is either commented out or is NOT your emails domain.

and then restart postfix.