<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — User unknown in virtual mailbox table]]></title>
		<link>http://www.iredmail.org/forum/topic39-user-unknown-in-virtual-mailbox-table.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic39.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in User unknown in virtual mailbox table.]]></description>
		<lastBuildDate>Fri, 22 May 2009 16:35:03 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[User unknown in virtual mailbox table]]></title>
			<link>http://www.iredmail.org/forum/post146.html#p146</link>
			<description><![CDATA[<p>Hello everyone!</p><p>When I try to send an e-mail to an alias listed in /etc/postfix/aliases, it rejects me.</p><p>This is the log:<br />May 22 16:12:26 correo postfix/smtpd[3119]: NOQUEUE: reject: RCPT from localhost.localdomain[127.0.0.1]: 550 5.1.1 &lt;policyd@xxx.com.uy&gt;: Recipient address rejected: User unknown in virtual mailbox table; from=&lt;test@xxx.com.uy&gt; to=&lt;policyd@xxx.com.uy&gt; proto=ESMTP helo=&lt;192.168.11.200&gt;</p><p>My /etc/postfix/aliases file:<br />#<br />#&nbsp; Aliases in this file will NOT be expanded in the header from<br />#&nbsp; Mail, but WILL be visible over networks or from /bin/mail.<br />#<br />#&nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&nbsp; &nbsp; &nbsp; The program &quot;newaliases&quot; must be run after<br />#&nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt; NOTE &gt;&gt;&nbsp; &nbsp; &nbsp; this file is updated for any changes to<br />#&nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&nbsp; &nbsp; &nbsp; show through to sendmail.<br />#</p><p># Basic system aliases -- these MUST be present.<br />mailer-daemon:&nbsp; postmaster<br />postmaster:&nbsp; &nbsp; &nbsp;root</p><p># General redirections for pseudo accounts.<br />bin:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />daemon:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />adm:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />lp:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />sync:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />shutdown:&nbsp; &nbsp; &nbsp; &nbsp;root<br />halt:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />mail:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />news:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />uucp:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />operator:&nbsp; &nbsp; &nbsp; &nbsp;root<br />games:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />gopher:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />ftp:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />nobody:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />radiusd:&nbsp; &nbsp; &nbsp; &nbsp; root<br />nut:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />dbus:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />vcsa:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />canna:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />wnn:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />rpm:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />nscd:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />pcap:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />apache:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />webalizer:&nbsp; &nbsp; &nbsp; root<br />dovecot:&nbsp; &nbsp; &nbsp; &nbsp; root<br />fax:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />quagga:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />radvd:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />pvm:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />amanda:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />privoxy:&nbsp; &nbsp; &nbsp; &nbsp; root<br />ident:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />named:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />xfs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />gdm:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />mailnull:&nbsp; &nbsp; &nbsp; &nbsp;root<br />postgres:&nbsp; &nbsp; &nbsp; &nbsp;root<br />sshd:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />smmsp:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />postfix:&nbsp; &nbsp; &nbsp; &nbsp; root<br />netdump:&nbsp; &nbsp; &nbsp; &nbsp; root<br />ldap:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />squid:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />ntp:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />mysql:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />desktop:&nbsp; &nbsp; &nbsp; &nbsp; root<br />rpcuser:&nbsp; &nbsp; &nbsp; &nbsp; root<br />rpc:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />nfsnobody:&nbsp; &nbsp; &nbsp; root</p><p>ingres:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />system:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />toor:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />manager:&nbsp; &nbsp; &nbsp; &nbsp; root<br />dumper:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br />abuse:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root</p><p>newsadm:&nbsp; &nbsp; &nbsp; &nbsp; news<br />newsadmin:&nbsp; &nbsp; &nbsp; news<br />usenet:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;news<br />ftpadm:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ftp<br />ftpadmin:&nbsp; &nbsp; &nbsp; &nbsp;ftp<br />ftp-adm:&nbsp; &nbsp; &nbsp; &nbsp; ftp<br />ftp-admin:&nbsp; &nbsp; &nbsp; ftp<br />www:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; webmaster<br />webmaster:&nbsp; &nbsp; &nbsp; root<br />noc:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root<br />security:&nbsp; &nbsp; &nbsp; &nbsp;root<br />hostmaster:&nbsp; &nbsp; &nbsp;root<br />info:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;postmaster<br />marketing:&nbsp; &nbsp; &nbsp; postmaster<br />sales:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; postmaster<br />support:&nbsp; &nbsp; &nbsp; &nbsp; postmaster</p><br /><p># trap decode to catch security attacks<br />decode:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root<br /># Person who should get root&#039;s mail<br />#root:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; marc<br />virusalert:&nbsp; &nbsp; &nbsp;root<br />root: test2@xxx.com.uy<br />policyd: test2@xxx.com.uy</p><br /><p>My /etc/postfix/main.cf<br />alias_database = hash:/etc/postfix/aliases<br />alias_maps = hash:/etc/postfix/aliases<br />allow_min_user = no<br />biff = no<br />bounce_queue_lifetime = 1d<br />broken_sasl_auth_clients = yes<br />command_directory = /usr/sbin<br />config_directory = /etc/postfix<br />content_filter = smtp-amavis:[127.0.0.1]:10024<br />daemon_directory = /usr/libexec/postfix<br />data_directory = /var/lib/postfix<br />debug_peer_level = 2<br />delay_warning_time = 0h<br />disable_vrfy_command = yes<br />enable_original_recipient = no<br />header_checks = pcre:/etc/postfix/header_checks.pcre<br />home_mailbox = Maildir/<br />html_directory = no<br />inet_interfaces = all<br />inet_protocols = all<br />mail_name = iRedMail<br />mail_owner = postfix<br />mail_version = 0.4-stable<br />mailbox_command = /usr/libexec/dovecot/deliver<br />mailbox_size_limit = 15728640<br />mailq_path = /usr/bin/mailq.postfix<br />manpage_directory = /usr/share/man<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 = tata.com<br />myhostname = correo.xxx.com.uy<br />mynetworks = 127.0.0.0/8<br />mynetworks_style = subnet<br />myorigin = correo.xxx.com.uy<br />newaliases_path = /usr/bin/newaliases.postfix<br />queue_directory = /var/spool/postfix<br />queue_run_delay = 300s<br />readme_directory = /usr/share/doc/postfix-2.5.6/README_FILES<br />receive_override_options = no_address_mappings<br />recipient_bcc_maps = mysql:/etc/postfix/mysql_recipient_bcc_maps_domain.cf, mysql:/etc/postfix/mysql_recipient_bcc_maps_user.cf<br />relay_domains = $mydestination<br />sample_directory = /usr/share/doc/postfix-2.5.6/samples<br />sender_bcc_maps = mysql:/etc/postfix/mysql_sender_bcc_maps_domain.cf, mysql:/etc/postfix/mysql_sender_bcc_maps_user.cf<br />sendmail_path = /usr/sbin/sendmail.postfix<br />setgid_group = postdrop<br />smtpd_data_restrictions = reject_unauth_pipelining<br />smtpd_enforce_tls = no<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, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_policy_service inet:127.0.0.1:10031<br />smtpd_reject_unlisted_recipient = yes<br />smtpd_reject_unlisted_sender = yes<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 = mysql:/etc/postfix/mysql_sender_login_maps.cf<br />smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated<br />smtpd_tls_cert_file = /etc/pki/iRedMail/SSL_Cert.pem<br />smtpd_tls_key_file = /etc/pki/iRedMail/SSL_Key.pem<br />smtpd_tls_loglevel = 0<br />smtpd_tls_security_level = may<br />tls_random_source = dev:/dev/urandom<br />transport_maps = mysql:/etc/postfix/mysql_transport_maps.cf, hash:/etc/postfix/transport<br />unknown_local_recipient_reject_code = 550<br />virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf<br />virtual_gid_maps = static:500<br />virtual_mailbox_base = /home/vmail<br />virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_mailbox_domains.cf<br />virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf<br />virtual_minimum_uid = 500<br />virtual_transport = dovecot<br />virtual_uid_maps = static:500</p><p>Thank you in advance!! <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (luliiii)]]></author>
			<pubDate>Fri, 22 May 2009 16:35:03 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post146.html#p146</guid>
		</item>
	</channel>
</rss>
