From: Peter Grübl (no email)
Date: Thu Sep 08 2005 - 04:35:45 EDT
Hi
I try to configure a virtual domain with a virtual mailbox. I read the "Postfix Virtual Domain Hosting Howto". Every time I send a E-Mail to my virtual address I get the following error message:
***********************************************************************************************************************
The original message was received at Thu, 8 Sep 2005 09:56:13 +0200
from fmservice14.dlan.cinetic.de [172.20.7.87]
----- The following addresses had permanent fatal errors -----
<>
(reason: 550 <>: Recipient address rejected: User unknown in local recipient table)
----- Transcript of session follows -----
... while talking to appendix.udag.de.:
>>> DATA
<<< 550 <>: Recipient address rejected: User unknown in local recipient table
550 5.1.1 <>... User unknown
<<< 554 Error: no valid recipients
***********************************************************************************************************************
I changed the local_recipient_maps :
local_recipient_maps = $virtual_mailbox_maps
local_transport = virtual:nexthop
Here is my complete configuration:
postfix version 2.0.14
[main.cf]
alias_maps = hash:/etc/aliases
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
inet_interfaces = all
local_recipient_maps = $virtual_mailbox_maps
local_transport = virtual:nexthop
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
mydestination = localhost, gutschein24.info, flirtpub.us, badbrain.dyndns.org, n
unki.de, badbrain-webhosting.de
mydomain = nunki.de
myhostname = y208.yellow.fastwebserver.de
myorigin = nunki.de
newaliases_path = /usr/bin/newaliases
program_directory = /usr/lib/postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relay_domains = $mydestination, nunki.de, badbrain-webhosting.de, badbrain.dyndn
s.org, eurobrand.de, spartrend.de
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = no
smtp_use_tls = no
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
soft_bounce = yes
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 450
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/mail/vhosts
virtual_mailbox_domains = eurobrand.de, spartrend.de
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_minimum_uid = 100
virtual_uid_maps = static:5000
[vmailbox]
spartrend.de/webmaster
spartrend.de/presse
spartrend.de/testaccount
Thank you for your help
best regards
Peter Gruebl
|
|
|