Current time: 12-23-2024, 05:30 PM Hello There, Guest! (LoginRegister)


Post Reply 
Postfix "unkown user"
Author Message
asdfg Offline


Posts: 3
Joined: Apr 2010
Reputation: 0
Post: #1
Postfix "unkown user"
Hello,

I use Debian Lenny 5.0.4 and last ispCP.

I have problem with delivery mail, send work.

Here is log:

Code:
Apr 26 14:25:48 vhq postfix/smtpd[2716]: connect from sender.com[SenderIP]
Apr 26 14:25:48 vhq postfix/trivial-rewrite[2737]: warning: do not list domain delivery.com in BOTH mydestination and virtual_mailbox_domains
Apr 26 14:25:48 vhq postfix/smtpd[2716]: 5D6FA4821A: client=sender.com[SenderIP]
Apr 26 14:25:48 vhq postfix/cleanup[2740]: 5D6FA4821A: message-id=<19cab7ad762df3c93e8ad2c4106bb92a@SenderIP>
Apr 26 14:25:48 vhq postfix/qmgr[2646]: 5D6FA4821A: from=<test@sender.com>, size=699, nrcpt=1 (queue active)
Apr 26 14:25:48 vhq postfix/smtpd[2716]: disconnect from sender.com[SenderIP]
Apr 26 14:25:48 vhq postfix/smtpd[2744]: connect from localhost[127.0.0.1]
Apr 26 14:25:48 vhq postfix/trivial-rewrite[2737]: warning: do not list domain delivery.com in BOTH mydestination and virtual_mailbox_domains
Apr 26 14:25:48 vhq postfix/smtpd[2744]: B3C4B4821C: client=localhost[127.0.0.1]
Apr 26 14:25:48 vhq postfix/cleanup[2740]: B3C4B4821C: message-id=<19cab7ad762df3c93e8ad2c4106bb92a@SenderIP>
Apr 26 14:25:48 vhq postfix/qmgr[2646]: B3C4B4821C: from=<test@sender.com>, size=1091, nrcpt=1 (queue active)
Apr 26 14:25:48 vhq postfix/trivial-rewrite[2737]: warning: do not list domain delivery.com in BOTH mydestination and virtual_mailbox_domains
Apr 26 14:25:48 vhq postfix/smtpd[2744]: disconnect from localhost[127.0.0.1]
Apr 26 14:25:48 vhq amavis[1299]: (01299-05) Passed CLEAN, [SenderIP] [SenderIP] <test@sender.com> -> <test@delivery.com>, Message-ID: <19cab7ad762df3c93e8ad2c4106bb92a@SenderIP>, mail_id: IWoinyyM4B7L, Hits: 6.559, size: 699, queued_as: B3C4B4821C, 362 ms
Apr 26 14:25:48 vhq postfix/smtp[2741]: 5D6FA4821A: to=<test@delivery.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.49, delays=0.08/0.02/0.01/0.39, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=01299-05, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as B3C4B4821C)
Apr 26 14:25:48 vhq postfix/qmgr[2646]: 5D6FA4821A: removed
Apr 26 14:25:48 vhq postfix/local[2746]: B3C4B4821C: to=<test@delivery.com>, relay=local, delay=0.11, delays=0.03/0.05/0/0.03, dsn=5.1.1, status=bounced (unknown user: "test")
Apr 26 14:25:48 vhq postfix/cleanup[2740]: CF07F4821A: message-id=<20100426122548.CF07F4821A@delivery.com>
Apr 26 14:25:48 vhq postfix/qmgr[2646]: CF07F4821A: from=<>, size=2760, nrcpt=1 (queue active)
Apr 26 14:25:48 vhq postfix/bounce[2747]: B3C4B4821C: sender non-delivery notification: CF07F4821A
Apr 26 14:25:48 vhq postfix/qmgr[2646]: B3C4B4821C: removed
Apr 26 14:25:48 vhq postfix/smtp[2748]: CF07F4821A: to=<test@sender.com>, relay=mail.sender.com[SenderIP]:25, delay=0.08, delays=0.02/0.03/0.01/0.03, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as EF5B3120D2)
Apr 26 14:25:48 vhq postfix/qmgr[2646]: CF07F4821A: removed

postfix config

Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = /usr/share/doc/postfix

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
mydomain = $myhostname
myhostname = delivery.com
myorigin = $myhostname
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
#myorigin = /etc/mailname
mydestination = $myhostname, $mydomain
relayhost =
mynetworks = 127.0.0.0/8 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
html_directory = /usr/share/doc/postfix/html
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /var/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_tls_security_level = may
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
virtual_create_maildirsize = yes
virtual_maildir_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
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
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
virtual_transport = maildrop
header_checks = regexp:/etc/postfix/header_checks
mime_header_checks = regexp:/etc/postfix/mime_header_checks
nested_header_checks = regexp:/etc/postfix/nested_header_checks
body_checks = regexp:/etc/postfix/body_checks
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings

Where is problem? Delivery.com and Sender.com are for example, not really in configuration.
Thanks for resolv.
(This post was last modified: 04-26-2010 10:57 PM by asdfg.)
04-26-2010 10:28 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Postfix "unkown user"
Read the lines with "warning:" a hundred times - then fix the problem. I think the mentioned problem will be gone...

/J
04-26-2010 11:00 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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