ispCP - Board - Support
Postfix: Recipient address rejected: User unknown in virtual mailbox table - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Postfix: Recipient address rejected: User unknown in virtual mailbox table (/thread-3159.html)

Pages: 1 2


Postfix: Recipient address rejected: User unknown in virtual mailbox table - xchrix - 04-29-2008 07:51 AM

hello

i have a new server installed latest ispcp
when i try to send mail via webmail tool i get the following error:

Code:
Message not sent. Server replied:

    Requested action not taken: mailbox unavailable
    550 5.1.1 <xxxx@xxxx.com>: Recipient address rejected: User unknown in virtual mailbox table

xxx@xxx.com is a normal email address which is working correct. i haven't changed anything in main.cf in /etc/postfix

postconf -n says following:

Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_at_myorigin = yes
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
inet_interfaces = all
local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database
local_transport = local
mail_spool_directory = /var/mail
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = $myhostname, $mydomain
mydomain = vcvps1301.vcdns.de.local
myhostname = vcvps1301.vcdns.de
mynetworks_style = host
myorigin = $myhostname
recipient_delimiter = +
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP ispCP 1.0.0 RC4 OMEGA Managed
smtpd_data_restrictions = reject_multi_recipient_bounce,                               reject_unauth_pipelining
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,                               permit_sasl_authenticated,                               reject_invalid_helo_hostname,                               reject_non_fqdn_helo_hostname
smtpd_recipient_restrictions = reject_unknown_recipient_domain,                               permit_mynetworks,                               permit_sasl_authenticated,                               reject_unauth_destination,                               reject_unlisted_recipient,                               check_policy_service inet:127.0.0.1:12525,                               check_policy_service inet:127.0.0.1:60000,                               permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sender_restrictions = reject_non_fqdn_sender,                               reject_unknown_sender_domain,                               permit_mynetworks,                               permit_sasl_authenticated
transport_maps = hash:/etc/postfix/ispcp/transport
virtual_alias_maps = hash:/etc/postfix/ispcp/aliases
virtual_gid_maps = static:8
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_domains = hash:/etc/postfix/ispcp/domains
virtual_mailbox_limit = 0
virtual_mailbox_maps = hash:/etc/postfix/ispcp/mailboxes
virtual_minimum_uid = 1000
virtual_transport = virtual
virtual_uid_maps = static:1000

please help me. thanks.[/code]


RE: Postfix: Recipient address rejected: User unknown in virtual mailbox table - joximu - 04-29-2008 07:54 AM

What do you get in the root-mailbox after "sendmail -bv xxx@xxx.com"?

No other error in the mail logs?

/J


RE: Postfix: Recipient address rejected: User unknown in virtual mailbox table - xchrix - 04-29-2008 08:01 AM

joximu Wrote:What do you get in the root-mailbox after "sendmail -bv xxx@xxx.com"?

No other error in the mail logs?

/J

hello. thanks for your fast reply.. when i try your command i get the following in "nobody" mailbox

Code:
This is the mail system at host vcvps1301.vcdns.de.

Enclosed is the mail delivery report that you requested.

                   The mail system

<office@cws-trummer.biz>: delivery via virtual: unknown user:
    "office@cws-trummer.biz"

--E37936D98062.1209419652/vcvps1301.vcdns.de
Content-Description: Delivery report
Content-Type: message/delivery-status

Reporting-MTA: dns; vcvps1301.vcdns.de
X-Postfix-Queue-ID: E37936D98062
X-Postfix-Sender: rfc822; root@vcvps1301.vcdns.de
Arrival-Date: Mon, 28 Apr 2008 23:54:11 +0200 (CEST)

Final-Recipient: rfc822; office@cws-trummer.biz
Action: undeliverable
Status: 5.1.1
Diagnostic-Code: X-Postfix; delivery via virtual: unknown user:
    "office@cws-trummer.biz"

--E37936D98062.1209419652/vcvps1301.vcdns.de
Content-Description: Message Headers
Content-Type: text/rfc822-headers

Received: by vcvps1301.vcdns.de (Postfix, from userid 0)
        id E37936D98062; Mon, 28 Apr 2008 23:54:11 +0200 (CEST)
From: root@vcvps1301.vcdns.de
Subject: probe
To:
        office@cws-trummer.biz
Message-Id: <20080428215411.E37936D98062@vcvps1301.vcdns.de>
Date: Mon, 28 Apr 2008 23:54:11 +0200 (CEST)


in /var/logs/mail.log is the following:

Code:
Apr 28 23:54:11 vcvps1301 postfix/pickup[13433]: E37936D98062: uid=0 from=<root>
Apr 28 23:54:12 vcvps1301 postfix/cleanup[13693]: E37936D98062: message-id=<20080428215411.E37936D98062@vcvps1301.vcdns.de>
Apr 28 23:54:12 vcvps1301 postfix/qmgr[13434]: E37936D98062: from=<root@vcvps1301.vcdns.de>, size=301, nrcpt=1 (queue active)
Apr 28 23:54:12 vcvps1301 postfix/virtual[13881]: E37936D98062: to=<office@cws-trummer.biz>, relay=virtual, delay=0.91, delays=0.75/0.04/0/0.12, dsn=5.1.1, status=undeliverable$
Apr 28 23:54:12 vcvps1301 postfix/cleanup[13693]: 552126D98064: message-id=<20080428215412.552126D98064@vcvps1301.vcdns.de>
Apr 28 23:54:12 vcvps1301 postfix/bounce[13902]: E37936D98062: sender delivery status notification: 552126D98064
Apr 28 23:54:12 vcvps1301 postfix/qmgr[13434]: E37936D98062: removed
Apr 28 23:54:12 vcvps1301 postfix/qmgr[13434]: 552126D98064: from=<>, size=1885, nrcpt=1 (queue active)
Apr 28 23:54:12 vcvps1301 postfix/local[13991]: 552126D98064: to=<root@vcvps1301.vcdns.de>, relay=local, delay=0.43, delays=0.08/0.1/0/0.25, dsn=2.0.0, status=sent (delivered t$
Apr 28 23:54:12 vcvps1301 postfix/qmgr[13434]: 552126D98064: removed



RE: Postfix: Recipient address rejected: User unknown in virtual mailbox table - joximu - 04-29-2008 08:09 AM

Hi

it seems that there is really no user office - I also just tried from outside... (you maybe got a mail to the abuse-address...)

So, either the relevant files were not converted to hash files or there is another problem.

Can you have a look at /etc/postfix/ispcp/* if the mailbox is ok (file mailbox and aliases) - and the .db files should not be older than the text files.


RE: Postfix: Recipient address rejected: User unknown in virtual mailbox table - xchrix - 04-29-2008 04:36 PM

I think the files are ok. I have defined 2 URLs. digitale-postkarten.com and brandingpark.at I am trying to send mails from office (at) brandingpark.at

mailboxes:

Code:
webmaster@digitale-postkarten.com       digitale-postkarten.com/webmaster/
postmaster@digitale-postkarten.com      digitale-postkarten.com/postmaster/
abuse@digitale-postkarten.com   digitale-postkarten.com/abuse/
webmaster@brandingpark.at       brandingpark.at/webmaster/
postmaster@brandingpark.at      brandingpark.at/postmaster/
abuse@brandingpark.at   brandingpark.at/abuse/
office@brandingpark.at  brandingpark.at/office/
jp@brandingpark.at      brandingpark.at/jp/
kt@brandingpark.at      brandingpark.at/kt/


aliases
Code:
webmaster@cws-trummer.biz       office@cws-trummer.biz
postmaster@cws-trummer.biz      christian.trummer@gmail.com
abuse@cws-trummer.biz   christian.trummer@gmail.com
webmaster@digitale-postkarten.com       office@cws-trummer.biz
postmaster@digitale-postkarten.com      christian.trummer@gmail.com
abuse@digitale-postkarten.com   christian.trummer@gmail.com
webmaster@brandingpark.at       office@brandingpark.at
postmaster@brandingpark.at      christian.trummer@gmail.com
abuse@brandingpark.at   christian.trummer@gmail.com
office@brandingpark.at  office@brandingpark.at
jp@brandingpark.at      jp@brandingpark.at
kt@brandingpark.at      kt@brandingpark.at

db files were modified at same time as the text files
how can i view the db files or is there a way to generate them new??

the email office@cws-trummer.biz is on another server and i want to send a mail to it!!


RE: Postfix: Recipient address rejected: User unknown in virtual mailbox table - xchrix - 04-29-2008 04:46 PM

STOP!!!!!!!!!!!!!!

i tried to send a mail to a gmail account and this works!!! i think there is something wrong with the cws-trummer.biz domain. but i set the MX records correct i think...


RE: Postfix: Recipient address rejected: User unknown in virtual mailbox table - joximu - 04-29-2008 07:09 PM

if you create the domain cws-drummer.biz on a ispcp system, then this system also feels responsible for mails for this domain.

And you have the webmaster/postmaster & abuse addresses - so I think this is the problem.

You may need to remove all cws-drummer.biz entries in you postfix/ispcp/* files and postmap them. Also do the changes in the working copy.


RE: Postfix: Recipient address rejected: User unknown in virtual mailbox table - xchrix - 04-29-2008 07:13 PM

ahh.. okay.. i know what you mean! that makes sense!
stupid error Sad

but thank you for your help!! i will try to set everything correct. ispcp is almost working fine! great software Wink


RE: Postfix: Recipient address rejected: User unknown in virtual mailbox table - ramires - 01-29-2009 07:20 PM

hi
i have same problem but my customer hold his web pages to our server. Becouse of this i cant delete domain. how can i solve this problem???
thanks..


RE: Postfix: Recipient address rejected: User unknown in virtual mailbox table - joximu - 01-29-2009 11:48 PM

@ramires

please open a new thread and put more infos in the post.
You can add a link to this one but I think a new thread is better...

most important: more infos!

/J