It just happens that I messed up the server configuration as to my error's are trying to tell me.

The problem is: servername/domain in vmail (roundcube, postfixadmin) is having a domain ' exampledomain.com' listed in virtual mailbox and NO user mailbox is defined as 'recipient_mail@exampledomain.com' and in this case this user recipient really exists on that domain and is already defined (receiving emails ok), just not on this test server....so the mail is not sent.

Now the trick is how to send emails to that 'exampledomain.com' without checking if this 'recipient_mail' exists on iRedMail server ?(what I'm doing is messing up a live server running emails with new Mail server having iRedMail installed <- new server (testing), to get it in production environment)

I hope I explained what I'm trying to do as I'd like to solve this to move the server to production.

I have lost it in the postfix config. There's so many that I don't know... What I would like is to be able to send any email from server (local messages like LogWatch, users that login into RoundCube etc.) to outside world without being open relay.

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):

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 localhost6192.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.