Discussion:
User unknown in virtual mailbox table
(too old to reply)
Mike
2005-01-23 21:42:59 UTC
Permalink
Hi Group,

I have set up a somewhat functional postfix virtual mailbox using
separate domains, non-UNIX accounts. Using Telnet, I have
successfully sent mail to recipients as you can see below. But after
re-reading sections from the Postfix Definitive Guide, man pages, and
the Virtual_Readme, I can't see where my configuration error lies.
Below is the email failure notification when I try to return a message
to my postfix email server. After that I've posted the relevant parts
of my /etc/postfix/main.cf.
Thank you for your help.


This is an automatically generated Delivery Status Notification

Delivery to the following recipient failed permanently:

***@1100100.com

Technical details of failure:
PERM_FAILURE: SMTP Error (state 10): 550 <***@1100100.com>:
Recipient address rejected: User unknown in virtual mailbox table

----- Original message -----

Received: by 10.38.90.52 with SMTP id n52mr104851rnb;
Sun, 23 Jan 2005 13:22:09 -0800 (PST)
Received: by 10.38.24.8 with HTTP; Sun, 23 Jan 2005 13:22:09 -0800 (PST)
Message-ID: <***@mail.gmail.com>
Date: Sun, 23 Jan 2005 16:22:09 -0500
From: Mike <***@gmail.com>
Reply-To: Mike <***@gmail.com>
To: "***@1100100.com" <***@1100100.com>
Subject: Re:
In-Reply-To: <***@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
References: <***@charlie.net>
<***@mail.gmail.com>

Attempt No. 3.
Attempt No. 2.
Checking to see if new config. sets up virtual mailbox correctly
regarding virtual maps and virtual tables.
Testing to see if the mail server is still up.............
- - - - - - - - - - - - - - - - - - - - -
main.cf ---

readme_directory = /usr/share/doc/postfix-2.1.5-r1/readme
default_destination_concurrency_limit = 10
alias_database = hash:/etc/mail/aliases
local_destination_concurrency_limit = 2
alias_maps = hash:/etc/mail/aliases
home_mailbox = .maildir/
#myhostname = primero.charlie.net
#mydomain = charlie.net
#myorigin = $mydomain
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain

virtual_mailbox_domains = 1100100.com
virtual_mailbox_base = /usr/local/vmail
virtual_mailbox_maps = hash:/etc/postfix/virtual
virtual_minimum_uid = 100
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
#virtual_alias_maps = hash:/etc/postfix/virtual

/etc/postfix/virtual =
***@1100100.com 1100100.com/admin/
# Comment out the entry below to implement a catch-all.
# @example.com example.com/catchall
# ...virtual mailboxes for more domains...
#/etc/postfix/virtual =
# ***@1100100.com postmaster
Matt
2005-01-23 21:50:10 UTC
Permalink
Post by Mike
Below is the email failure notification when I try to return a message
to my postfix email server.
What do the logs say? Also, could you be a bit more specific regarding
the exact problem. The above is a tad generalised.


Matt
Wietse Venema
2005-01-23 21:57:38 UTC
Permalink
Post by Mike
Recipient address rejected: User unknown in virtual mailbox table
and...
Post by Mike
virtual_mailbox_domains = 1100100.com
You list 1100100.com in virtual_mailbox_domains, but you did not
list ***@1100100.com in virtual_mailbox_domains.

Wietse
Mike
2005-01-23 22:27:27 UTC
Permalink
Matt, Thanks for the response.
The problem, as specifically as I can relate it, is: Postfix cannot
locate a proper mailbox in which to place the incoming mail. So far,
I have created one mailbox for the one mail account:
***@1100100.com
I can send mail from this user (***@1100100.com) via telnet, during
an SMTP session. But when I try to reply back to user
(***@1100100.com), postfix cannot figure find a place to put the
incoming for that mail account.

Here's a relevant transaction log:

Jan 23 16:43:12 charlie postfix/smtpd[12864]: >>> CHECKING RECIPIENT MAPS <<<
Jan 23 16:43:12 charlie postfix/smtpd[12864]: ctable_locate: leave
existing entry key ***@1100100.com
Jan 23 16:43:12 charlie postfix/smtpd[12864]: maps_find:
recipient_canonical_maps: ***@1100100.com: not found
Jan 23 16:43:12 charlie postfix/smtpd[12864]: match_string:
1100100.com ~? charlie.net
Jan 23 16:43:12 charlie postfix/smtpd[12864]: match_string:
1100100.com ~? localhost.charlie.net
Jan 23 16:43:12 charlie postfix/smtpd[12864]: match_string:
1100100.com ~? localhost
Jan 23 16:43:12 charlie postfix/smtpd[12864]: match_list_match:
1100100.com: no match
Jan 23 16:43:12 charlie postfix/smtpd[12864]: maps_find:
recipient_canonical_maps: @1100100.com: not found
Jan 23 16:43:12 charlie postfix/smtpd[12864]: mail_addr_find:
***@1100100.com -> (not found)
Jan 23 16:43:12 charlie postfix/smtpd[12864]: maps_find:
canonical_maps: ***@1100100.com: not found
Jan 23 16:43:12 charlie postfix/smtpd[12864]: match_string:
1100100.com ~? charlie.net
Jan 23 16:43:12 charlie postfix/smtpd[12864]: match_string:
1100100.com ~? localhost.charlie.net
Jan 23 16:43:12 charlie postfix/smtpd[12864]: match_string:
1100100.com ~? localhost
Jan 23 16:43:12 charlie postfix/smtpd[12864]: match_list_match:
1100100.com: no match
Jan 23 16:43:12 charlie postfix/smtpd[12864]: maps_find:
canonical_maps: @1100100.com: not found
Jan 23 16:43:12 charlie postfix/smtpd[12864]: mail_addr_find:
***@1100100.com -> (not found)
Jan 23 16:43:12 charlie postfix/smtpd[12864]: maps_find:
virtual_alias_maps: ***@1100100.com: not found
Jan 23 16:43:12 charlie postfix/smtpd[12864]: match_string:
1100100.com ~? charlie.net
Jan 23 16:43:12 charlie postfix/smtpd[12864]: match_string:
1100100.com ~? localhost.charlie.net
Jan 23 16:43:12 charlie postfix/smtpd[12864]: match_string:
1100100.com ~? localhost
Jan 23 16:43:12 charlie postfix/smtpd[12864]: match_list_match:
1100100.com: no match
Jan 23 16:43:12 charlie postfix/smtpd[12864]: maps_find:
virtual_alias_maps: @1100100.com: not found
Jan 23 16:43:12 charlie postfix/smtpd[12864]: mail_addr_find:
***@1100100.com -> (not found)
Jan 23 16:43:12 charlie postfix/smtpd[12864]: maps_find:
virtual_mailbox_maps: ***@1100100.com: not found
Jan 23 16:43:12 charlie postfix/smtpd[12864]: match_string:
1100100.com ~? charlie.net
Jan 23 16:43:12 charlie postfix/smtpd[12864]: match_string:
1100100.com ~? localhost.charlie.net
Jan 23 16:43:12 charlie postfix/smtpd[12864]: match_string:
1100100.com ~? localhost
Jan 23 16:43:12 charlie postfix/smtpd[12864]: match_list_match:
1100100.com: no match
Jan 23 16:43:12 charlie postfix/smtpd[12864]: maps_find:
virtual_mailbox_maps: @1100100.com: not found
Jan 23 16:43:12 charlie postfix/smtpd[12864]: mail_addr_find:
***@1100100.com -> (not found)
Jan 23 16:43:12 charlie postfix/smtpd[12864]: NOQUEUE: reject: RCPT
from rproxy.gmail.com[64.233.170.200]: 550 <***@1100100.com>:
Recipient address rejected: User unknown in virtual mailbox table;
from=<110010$
Jan 23 16:43:12 charlie postfix/smtpd[12864]: >
rproxy.gmail.com[64.233.170.200]: 550 <***@1100100.com>: Recipient
address rejected: User unknown in virtual mailbox table
Post by Matt
Post by Mike
Below is the email failure notification when I try to return a message
to my postfix email server.
What do the logs say? Also, could you be a bit more specific regarding
the exact problem. The above is a tad generalised.
Matt
Mike
2005-01-23 22:32:45 UTC
Permalink
Big Ohh!
Let me try this right now.

Wietse, thanks for your help.

Mike


On Sun, 23 Jan 2005 16:57:24 -0500 (EST), Wietse Venema
Post by Wietse Venema
Post by Mike
Recipient address rejected: User unknown in virtual mailbox table
and...
Post by Mike
virtual_mailbox_domains = 1100100.com
You list 1100100.com in virtual_mailbox_domains, but you did not
Wietse
Wietse Venema
2005-01-23 22:35:16 UTC
Permalink
Post by Mike
Big Ohh!
Let me try this right now.
That should be:

1100100.com in virtual_mailbox_domains

***@1100100.com virtual_mailbox_maps.

Wietse
Post by Mike
Wietse, thanks for your help.
Mike
On Sun, 23 Jan 2005 16:57:24 -0500 (EST), Wietse Venema
Post by Wietse Venema
Post by Mike
Recipient address rejected: User unknown in virtual mailbox table
and...
Post by Mike
virtual_mailbox_domains = 1100100.com
You list 1100100.com in virtual_mailbox_domains, but you did not
Wietse
Mike
2005-01-23 22:39:42 UTC
Permalink
Isn't that what I had, though?

virtual_mailbox_maps = hash:/etc/postfix/virtual

/etc/postfix/virtual =
***@1100100.com 1100100.com/admin/



On Sun, 23 Jan 2005 17:35:03 -0500 (EST), Wietse Venema
Post by Wietse Venema
Post by Mike
Big Ohh!
Let me try this right now.
1100100.com in virtual_mailbox_domains
Wietse
Post by Mike
Wietse, thanks for your help.
Mike
On Sun, 23 Jan 2005 16:57:24 -0500 (EST), Wietse Venema
Post by Wietse Venema
Post by Mike
Recipient address rejected: User unknown in virtual mailbox table
and...
Post by Mike
virtual_mailbox_domains = 1100100.com
You list 1100100.com in virtual_mailbox_domains, but you did not
Wietse
Wietse Venema
2005-01-24 02:38:43 UTC
Permalink
Post by Mike
Isn't that what I had, though?
virtual_mailbox_maps = hash:/etc/postfix/virtual
/etc/postfix/virtual =
Run this command:

% postmap -q ***@1100100.com hash:/etc/postfix/virtual
Mike
2005-01-24 02:54:30 UTC
Permalink
Wietse,

I ran the command and received no output or error messages.
Good sign? yes?

Mike


On Sun, 23 Jan 2005 21:38:28 -0500 (EST), Wietse Venema
Post by Mike
Isn't that what I had, though?
virtual_mailbox_maps = hash:/etc/postfix/virtual
/etc/postfix/virtual =
Mike
2005-01-24 02:58:12 UTC
Permalink
Attempted to send another email to the user account - ***@1100100.com.
The same failure occurred.
hmm....
Post by Mike
Wietse,
I ran the command and received no output or error messages.
Good sign? yes?
Mike
On Sun, 23 Jan 2005 21:38:28 -0500 (EST), Wietse Venema
Post by Mike
Isn't that what I had, though?
virtual_mailbox_maps = hash:/etc/postfix/virtual
/etc/postfix/virtual =
Wietse Venema
2005-01-24 03:14:01 UTC
Permalink
Post by Mike
Wietse,
I ran the command and received no output or error messages.
Good sign? yes?
RTFM. It means the user is not in the table.

Wietse
Post by Mike
Mike
On Sun, 23 Jan 2005 21:38:28 -0500 (EST), Wietse Venema
Post by Mike
Isn't that what I had, though?
virtual_mailbox_maps = hash:/etc/postfix/virtual
/etc/postfix/virtual =
Continue reading on narkive:
Search results for 'User unknown in virtual mailbox table' (Questions and Answers)
733
replies
How do you protect yourself against computer viruses?
started 2010-02-07 19:54:16 UTC
computers & internet
Loading...