Current time: 05-20-2022, 12:05 PM Hello There, Guest! (LoginRegister)


Post Reply 
User unknown in virtual mailbox table
Author Message
Jibbs Offline
Junior Member
*

Posts: 10
Joined: Feb 2009
Reputation: 0
Post: #1
User unknown in virtual mailbox table
Hi,

I have a new setup of ISPCP (all updated) and I've been adding some e-mail forwards that are not working.

Quote:This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:

aj@massivelan.com
SMTP error from remote mail server after RCPT TO:<aj@massivelan.com>:
host mail.massivelan.com [66.71.246.144]: 550 5.1.1 <aj@massivelan.com>:
Recipient address rejected: User unknown in virtual mailbox table

I will include the SQL entry for the account:
Quote:*************************** 1. row ***************************
mail_id: 21
mail_acc: aj
mail_pass: _no_
mail_forward: [FORWARD_OMITTED]
domain_id: 1
mail_type: normal_forward
sub_id: 0
status: ok
mail_auto_respond: 0
mail_auto_respond_text:
quota: 10485760
mail_addr:

any help would be appreciated thank you!
02-13-2009 01:49 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: User unknown in virtual mailbox table
Which OS and ispCP Version ?
Does this Domain and User exists in ispCP ?
Please post the mail logs!

Greez BeNe
02-13-2009 02:07 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Jibbs Offline
Junior Member
*

Posts: 10
Joined: Feb 2009
Reputation: 0
Post: #3
RE: User unknown in virtual mailbox table
(02-13-2009 02:07 AM)BeNe Wrote:  Which OS and ispCP Version ?
Does this Domain and User exists in ispCP ?
Please post the mail logs!

Greez BeNe

Running debian etch and the latest ispCP version (fresh install 2 days ago)

how do I get the mail logs?
also this is not limited to this account it is happening with others
and sorry, yes, it does show up in the e-mail accounts list for the given domain
(This post was last modified: 02-13-2009 02:26 AM by Jibbs.)
02-13-2009 02:09 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: User unknown in virtual mailbox table
In /var/log/mail.log
--> http://www.isp-control.net/documentation...l_problems

Greez BeNe
02-13-2009 06:56 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Jibbs Offline
Junior Member
*

Posts: 10
Joined: Feb 2009
Reputation: 0
Post: #5
RE: User unknown in virtual mailbox table
Telnet to my mail server...

Quote:220 lan4all.net ESMTP ispCP 1.0.0 RC7 OMEGA Managed
HELO example.com
250 lan4all.net
mail from: <aj@example.com>
250 2.1.0 Ok
rcpt to: <aj@massivelan.com>
550 5.1.1 <aj@massivelan.com>: Recipient address rejected: User unknown in virtual mailbox table

postconf -n
Quote: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
message_size_limit = 0
mydestination = $myhostname, $mydomain
mydomain = $myhostname
myhostname = lan4all.net
mynetworks_style = subnet
myorigin = $myhostname
recipient_delimiter = +
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP ispCP 1.0.0 RC7 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_non_fqdn_recipient, 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
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:100

grep -v .^#. /etc/postfix/master.cf
Quote:#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - - - - smtpd
#submission inet n - - - - smtpd
# -o smtpd_enforce_tls=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps inet n - - - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
# For AOL-Accounts
587 inet n - - - - smtpd
-o smtpd_client_restrictions=permit_sasl_authenticated,reject_unauth_destination
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - - - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - - - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
# ====================================================================
# ispCP Ï (OMEGA) a Virtual Hosting Control System
#
# @copyright 2001-2006 by moleSoftware GmbH
# @copyright 2006-2008 by ispCP | http://isp-control.net
# @version SVN: $Id$
# @link http://isp-control.net
# @author ispCP Team
# ====================================================================
# AMaViS => Antivir / Antispam
amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes

localhost:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o smtpd_override_options=no_address_mappings
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes

# ispCP autoresponder
ispcp-arpl unix - n n - - pipe
flags=O user=vmail argv=/var/www/ispcp/engine/messager/ispcp-arpl-msgr

# TLS - Activate, if TLS is avaiable/used
smtps inet n - - - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}

Problem is still happening i cannot send ANY mail to any of the account on my server all return the SAME error message.
02-18-2009 02:51 AM
Find all posts by this user Quote this message in a reply
nuke3d Offline
Junior Member
*

Posts: 107
Joined: Sep 2007
Reputation: 1
Post: #6
RE: User unknown in virtual mailbox table
Well, you still haven't posted any logs...
02-18-2009 10:09 PM
Find all posts by this user Quote this message in a reply
Jibbs Offline
Junior Member
*

Posts: 10
Joined: Feb 2009
Reputation: 0
Post: #7
RE: User unknown in virtual mailbox table
Here are a fresh set of logs I got while tail'ing the mail log and tried to send a message...

Quote:Feb 23 20:04:02 apircio postfix/smtpd[9331]: warning: database /etc/postfix/ispcp/aliases.db is older than source file /etc/postfix/ispcp/aliases
Feb 23 20:04:02 apircio postfix/smtpd[9331]: warning: database /etc/postfix/ispcp/mailboxes.db is older than source file /etc/postfix/ispcp/mailboxes
Feb 23 20:04:02 apircio postfix/smtpd[9331]: warning: IP_OMITTED: address not listed for hostname HOST_OMITTED
Feb 23 20:04:02 apircio postfix/smtpd[9331]: connect from unknown[IP_OMITTED]
Feb 23 20:04:02 apircio postfix/trivial-rewrite[9336]: warning: database /etc/postfix/ispcp/aliases.db is older than source file /etc/postfix/ispcp/aliases
Feb 23 20:04:02 apircio postfix/trivial-rewrite[9336]: warning: database /etc/postfix/ispcp/transport.db is older than source file /etc/postfix/ispcp/transport
Feb 23 20:04:03 apircio postfix/smtpd[9331]: NOQUEUE: reject: RCPT from unknown[IP_OMITTED]: 550 5.1.1 <aj@massivelan.com>: Recipient address rejected: User unknown in virtual mailbox table; from=<ADDRESS_OMITTED> to=<aj@massivelan.com> proto=ESMTP helo=<HOST_OMITTED>
Feb 23 20:04:03 apircio postfix/smtpd[9331]: disconnect from unknown[IP_OMITTED]

I omitted certain fields as you can see.
02-24-2009 06:08 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #8
RE: User unknown in virtual mailbox table
is the address listed in /etc/postfix/ispcp/aliases ?
is the domain listed in /etc/postfix/ispcp/domains ?

you have added the mail account in ispcp? ;-)
(This post was last modified: 02-24-2009 07:51 AM by rbtux.)
02-24-2009 07:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Jibbs Offline
Junior Member
*

Posts: 10
Joined: Feb 2009
Reputation: 0
Post: #9
RE: User unknown in virtual mailbox table
(02-24-2009 07:50 AM)rbtux Wrote:  is the address listed in /etc/postfix/ispcp/aliases ?
is the domain listed in /etc/postfix/ispcp/domains ?

you have added the mail account in ispcp? ;-)

yes
yes

yes

all of this looks fine
02-24-2009 09:34 AM
Find all posts by this user Quote this message in a reply
nuke3d Offline
Junior Member
*

Posts: 107
Joined: Sep 2007
Reputation: 1
Post: #10
RE: User unknown in virtual mailbox table
Well, the .db files aren't regenerated, why this could be is beyond me, though. You can try to manually do it or delete and readd the address in ispcp. Is the ispcp daemon running?
02-24-2009 11:47 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)