Topic: Cannot send mail from iRedMail server to other domains except itself
Hello
I'm stuck at something that bothers me a few weeks now.
I successfully installed server with 2 domains and emails are coming in ok,
But whenever the user tries to send from Roundcube webmail to some other person (let's say to any domain you can imagine - gmail.com, yahoo.com etc.) the mail cannot be sent.
The error log says (I replaced SERVERNAME and servername.fqdn.com for my reasons not exposing real domain name and server):
May 24 14:21:56 SERVERNAME roundcube: [24-May-2010 14:21:56 +0200]: Successful login for user@domain.com (id 2) from 192.168.0.254
May 24 14:22:07 SERVERNAME postfix/smtpd[3385]: connect from servername.fqdn.com[127.0.0.1]
May 24 14:22:07 SERVERNAME postfix/smtpd[3385]: NOQUEUE: reject: RCPT from servername.fqdn.com[127.0.0.1]: 550 5.1.1 <user.receiving-mail@example.com>: Recipient address rejected: User unknown in virtual mailbox table; from=<user@domain.com > to=<user.receiving-mail@example.com> proto=ESMTP helo=<servername.fqdn.com>
May 24 14:22:07 SERVERNAME roundcube: Invalid response code received from server (550):
May 24 14:22:07 SERVERNAME postfix/smtpd[3385]: disconnect from servername.fqdn.com[127.0.0.1]
May 24 14:22:07 SERVERNAME roundcube: [24-May-2010 14:22:07 +0200] SMTP Error: SMTP error: Failed to add recipient 'user.receiving-mail@example.com' in /var/www/roundcubemail-0.2.1/program/steps/mail/func.inc on line 1296 (POST /mail/?_task=mail&_action=send)
Also as I'm administrator/root I can't send mail from SSH terminal session with same error.
My /etc/hosts :
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.0.14 servername.fqdn.com SERVERNAME
Please help me with this, because I need to be able to send emails outside (some aliases must be redirected to gmail.com) and it doesn't work the way I wanted.
If needed I will post other config. files.
Thank you
Regards,
Thomas
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.