HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Installation/Configuration (
-   -   Email Forward Accounts "User unknown in virtual mailbox table." (

blinden 16th October 2012 00:43

Email Forward Accounts "User unknown in virtual mailbox table."
When I create email forwards, it doesn't seem to pass a test, and refuses to let the remote server send the email into the server. I checked the DB, and the accounts are listed in the 'Mail_forwarding' table.

sending from a remote account using thunderbird, I get the message:

An error occurred while sending mail. The mail server responded: 5.1.1 <account@domain>: Recipient address rejected: User unknown in virtual mailbox table. Please check the message recipient account@domain and try again.

I've tried searching a bit, and haven't found any luck finding information on this specific situation.

Ubuntu 12.04
ISPConfig Mulitserver Setup

blinden 17th October 2012 20:06

So, I guess this comes down to the fact that when the email attempts to send to the server, it is looking at the mailbox table and not seeing the accounts.

Is there something missed or messed up that would make the server reference the mail_forwarding table additionally to verify the accounts. I've not had any luck finding much info because everything I search for returns a bunch of results about real email addresses not working, but not a lot of info for cases where it's only the forwards that aren't working.

till 18th October 2012 09:37

What is the hostname of the server, is it "domain"?

blinden 18th October 2012 16:11

No, the hostname is it's a different domain altogether.

till 18th October 2012 18:14

Please do a manual ispconfig update:


cd /tmp
tar xvfz ISPConfig-3-stable.tar.gz
cd ispconfig3_install/install
php -q update.php

and choose to reconfigure services during update so that the postfix configuration gets rewritten to ensure that it is correct.

blinden 18th October 2012 18:56

Completed that, no change.

pebkac 25th October 2012 02:08

I have this problem also. I've used ISPConfig for sometime and never had this problem with forwards. I have a forward setup, it is just a forward. When I send a test email from my gmail account I get this:


This is the mail system at host

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                  The mail system

<>: user unknown

This forward is set like so: forwards to

Here is some config properties:

postconf -n

root@abda:/home/sysadmin# postconf -n
alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
append_dot_mydomain = no
biff = no
body_checks = regexp:/etc/postfix/body_checks
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
dovecot_destination_recipient_limit = 1
header_checks = regexp:/etc/postfix/header_checks
html_directory = /usr/share/doc/postfix/html
mailbox_size_limit = 0
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
message_size_limit = 0
mime_header_checks = regexp:/etc/postfix/mime_header_checks
mydestination =, localhost, localhost.localdomain
myhostname =
mynetworks = [::1]/128
myorigin = /etc/mailname
nested_header_checks = regexp:/etc/postfix/nested_header_checks
owner_request_special = no
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
readme_directory = /usr/share/doc/postfix
receive_override_options = no_address_mappings
recipient_delimiter = +
relay_domains = mysql:/etc/postfix/
relay_recipient_maps = mysql:/etc/postfix/
relayhost =
smtp_sasl_auth_enable = no
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_client_message_rate_limit = 100
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
transport_maps = proxy:mysql:/etc/postfix/
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/, proxy:mysql:/etc/postfix/, hash:/var/lib/mailman/data/virtual-mailman
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/
virtual_mailbox_maps = proxy:mysql:/etc/postfix/
virtual_transport = dovecot
virtual_uid_maps = static:5000

Postmap query:

root@abda:/home/sysadmin# postmap -q proxy:mysql:/etc/postfix/

I'm running the latest stable version of ISPConfig and using the latest Perfect Server 3

pebkac 25th October 2012 02:21

Also, I get the same exact problem with the one alias account I have. And it is set as this: goes to

pebkac 25th October 2012 03:29

I fixed my issue by commenting out this line in

receive_override_options = no_address_mappings


till 25th October 2012 08:34

Just a guess, did sou disable amavisd on your srver?

All times are GMT +2. The time now is 06:58.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.