<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — Error: Domain relay - Recipient address rejected]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic4044.xml" />
	<updated>2012-10-20T13:55:43Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic4044-error-domain-relay-recipient-address-rejected.html</id>
		<entry>
			<title type="html"><![CDATA[Re: Error: Domain relay - Recipient address rejected]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18724.html#p18724" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>DogLand wrote:</cite><blockquote><p>The reported error was &quot;RCPT TO &lt;import@abc.com&gt; failed: &lt;import@abc.com&gt;: Recipient address rejected: User unknown in virtual mailbox table&quot;.</p></blockquote></div><p>User import@abc.com doesnt exist on this server.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-10-20T13:55:43Z</updated>
			<id>http://www.iredmail.org/forum/post18724.html#p18724</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Error: Domain relay - Recipient address rejected]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18696.html#p18696" />
			<content type="html"><![CDATA[<p>==== Required information ====<br />- iRedMail version: 1.5.0<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mySQL<br />- Linux/BSD distribution name and version: Ubuntu 12.04<br />- Related log if you&#039;re reporting an issue: attached<br />==== </p><p>I did setup a domain abc.com to forward ALL emails via the relay option. Under the tab relay I did enter an smtp address where all emails should be forwarded to - &quot;smtp:[1.2.3.4]:25&quot; - when I try to send a email to abc.com then I do receive the following error message: </p><p>The reported error was &quot;RCPT TO &lt;import@abc.com&gt; failed: &lt;import@abc.com&gt;: Recipient address rejected: User unknown in virtual mailbox table&quot;.</p><p>Here is the output of my postconf -n:</p><p>alias_database = hash:/etc/postfix/aliases<br />alias_maps = hash:/etc/postfix/aliases<br />allow_min_user = no<br />allowed_only = check_recipient_access proxy:mysql:/etc/postfix/mysql/mysql-allowed_domains.cf, reject<br />append_dot_mydomain = no<br />biff = no<br />bounce_queue_lifetime = 1d<br />broken_sasl_auth_clients = yes<br />config_directory = /etc/postfix<br />content_filter = smtp-amavis:[127.0.0.1]:10024<br />disable_vrfy_command = yes<br />dovecot_destination_recipient_limit = 1<br />enable_original_recipient = no<br />home_mailbox = Maildir/<br />inet_protocols = ipv4<br />mailbox_command = /usr/lib/dovecot/deliver<br />mailbox_size_limit = 0<br />maximal_backoff_time = 4000s<br />maximal_queue_lifetime = 1d<br />message_size_limit = 15728640<br />minimal_backoff_time = 300s<br />mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname<br />mydomain = xyz.com<br />myhostname = email.xyz.com<br />mynetworks = 127.0.0.0/8,<br />myorigin = email.xyz.com<br />proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps $smtpd_sender_restrictions $allowed_only proxy:mysql:/etc/postfix/mysql/mysql-restricted_senders.cf<br />queue_run_delay = 300s<br />readme_directory = no<br />recipient_bcc_maps = proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_user.cf, proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_domain.cf<br />recipient_delimiter = +<br />relay_domains = $mydestination, proxy:mysql:/etc/postfix/mysql/relay_domains.cf<br />relayhost = mxo.hidden_server.com<br />sender_bcc_maps = proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf, proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_domain.cf<br />smtp-amavis_destination_recipient_limit = 1<br />smtp_data_init_timeout = 240s<br />smtp_data_xfer_timeout = 600s<br />smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache<br />smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)<br />smtpd_data_restrictions = reject_unauth_pipelining<br />smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031<br />smtpd_helo_required = yes<br />smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated, check_helo_access pcre:/etc/postfix/helo_access.pcre<br />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<br />smtpd_reject_unlisted_recipient = yes<br />smtpd_reject_unlisted_sender = yes<br />smtpd_restriction_classes = allowed_only<br />smtpd_sasl_auth_enable = yes<br />smtpd_sasl_authenticated_header = no<br />smtpd_sasl_local_domain =<br />smtpd_sasl_path = ./dovecot-auth<br />smtpd_sasl_security_options = noanonymous<br />smtpd_sasl_type = dovecot<br />smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql/sender_login_maps.cf<br />smtpd_sender_restrictions = check_sender_access proxy:mysql:/etc/postfix/mysql/mysql-restricted_senders.cf, permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated<br />smtpd_tls_CAfile = /etc/ssl/certs/iRedMail_CA.pem<br />smtpd_tls_cert_file = /etc/ssl/certs/iRedMail_CA.pem<br />smtpd_tls_key_file = /etc/ssl/private/iRedMail.key<br />smtpd_tls_loglevel = 0<br />smtpd_tls_security_level = may<br />smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache<br />smtpd_use_tls = yes<br />tls_random_source = dev:/dev/urandom<br />transport_maps = proxy:mysql:/etc/postfix/mysql/transport_maps_user.cf, proxy:mysql:/etc/postfix/mysql/transport_maps_domain.cf<br />virtual_alias_domains =<br />virtual_alias_maps = proxy:mysql:/etc/postfix/mysql/virtual_alias_maps.cf, proxy:mysql:/etc/postfix/mysql/domain_alias_maps.cf, proxy:mysql:/etc/postfix/mysql/catchall_maps.cf, proxy:mysql:/etc/postfix/mysql/domain_alias_catchall_maps.cf<br />virtual_gid_maps = static:1001<br />virtual_mailbox_base = /var/vmail<br />virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf<br />virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_maps.cf<br />virtual_minimum_uid = 1001<br />virtual_transport = dovecot<br />virtual_uid_maps = static:1001<br />administrator@webmail:~$ </p><p>Based on another post I did remove already the entry &quot;$relay_recipient_maps&quot; - but this did not solve the problem !</p><p>For RELAY domains there should be no lookup of recipient addresses - all messages to domains that are set as RELAY domains in iRedadmin should be forwarded without further checks. Any idea how I can modify this ???</p>]]></content>
			<author>
				<name><![CDATA[DogLand]]></name>
				<uri>http://www.iredmail.org/forum/user31999.html</uri>
			</author>
			<updated>2012-10-19T04:39:01Z</updated>
			<id>http://www.iredmail.org/forum/post18696.html#p18696</id>
		</entry>
</feed>
