1

Topic: User unknown in virtual mailbox table

==== Required information ====
- iRedMail version: 0.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Ubuntu 12.04
- Related log if you're reporting an issue:
====
I have a project server on the same LAN as my iredmail server, i need the project server to relay mail through the iredmail server.

when ever i try to send an email from the project server this is what happens in the  /var/log/mail.log on the iredmail server

Sep 13 12:21:55 mail postfix/smtpd[5708]: connect from project.localdomain.xx[192.168.3.212]
Sep 13 12:21:55 mail postfix/smtpd[5708]: NOQUEUE: reject: RCPT from project.localdomain.xx[192.168.3.212]: 550 5.1.0 <bounce-38771-5F189278BC53413F75449B49F745BE76362F5E0A-21457@localdomain.xx>: Sender address rejected: User unknown in virtual mailbox table; from=<bounce-38771-5F189278BC53413F75F44B49F745BE76362F5E0A-21457@localdomain.xx> to=<somebody@hotmail.com> proto=ESMTP helo=<project>
Sep 13 12:21:55 mail postfix/smtpd[5708]: disconnect from project.localdomain.xx[192.168.3.212]

I have a user configured on the iredmail server through the admin interface, these user credentiels is used by the project server to contact the iredmail server.

/etc/postfix/main.cf:

recipient_bcc_maps = proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_user.cf, proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_domain.cf
relay_domains = $mydestination, proxy:ldap:/etc/postfix/ldap/relay_domains.cf
smtpd_sender_login_maps = proxy:ldap:/etc/postfix/ldap/sender_login_maps.cf
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_authenticated_header = no
smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:7777, check_policy_service inet:127.0.0.1:10031, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031
smtpd_tls_security_level = may
smtpd_tls_loglevel = 0
smtpd_tls_CAfile = /etc/ssl/certs/iRedMail_CA.pem
tls_random_source = dev:/dev/urandom
mailbox_command = /usr/lib/dovecot/deliver
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
smtpd_sasl_type = dovecot
smtpd_sasl_path = ./dovecot-auth
content_filter = smtp-amavis:[127.0.0.1]:10024
smtp-amavis_destination_recipient_limit = 1