Witam, Mam problem z konfiguracją postfixa na serwerze dedykowanym, a chodzi konkretnie o wysyłaniem poczty na alians lokalnie. Jak wysyłam wiadomości z zewnątrz (nr. z poczty wp.pl) na ustawiony na swoim serwerze alians to wiadomości docierają. Natomiast gdy wysyłam wiadomość lokalnie na tą samą domenę z tym że konto jest aliansem który powinien dostarczyć wiadomości na konta pocztowe, to serwer zwraca poniższy komunikat: The mail system: user unknown
Plik main.cf
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
myhostname = mojserwer.eu
mydomain = localdomain
myorigin = $mydomain
inet_interfaces = all
inet_protocols = all
mydestination = localhost.$mydomain, localhost, localhost.localdomain
local_recipient_maps = unix:passwd.byname
unknown_local_recipient_reject_code = 550
mynetworks = 127.0.0.0/8
alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases
alias_database = hash:/etc/aliases, hash:/etc/mailman/aliases
recipient_delimiter = +
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.6.6/samples
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
smtpd_recipient_restrictions = check_recipient_access mysql:/etc/postfix/sql/mysql_amavis_in.cf permit_mynetworks reject_non_fqdn_sender reject_unknown_sender_domain reject_unknown_recipient_domain reject_non_fqdn_recipient reject_unauth_destination reject_sender_login_mismatch reject_unknown_client reject_unknown_sender_domain reject_non_fqdn_hostname reject_rbl_client bl.spamcop.net reject_rbl_client zen.spamhaus.org reject_rbl_client dnsbl.sorbs.net check_policy_service unix:postgrey/socket
external_submission_restrictions=check_recipient_access mysql:/etc/postfix/sql/mysql_amavis_in.cf, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
virtual_mailbox_domains = mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = mysql:/etc/postfix/sql/mysql_virtual_mailbox_maps.cf, mysql:/etc/postfix/sql/mysql_virtual_alias_domain_mailbox_maps.cf
virtual_alias_maps = mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf, mysql:/etc/postfix/sql/mysql_virtual_alias_domain_maps.cf, mysql:/etc/postfix/sql/mysql_virtual_alias_domain_catchall_maps.cf, mysql:/etc/postfix/sql/mysql_virtual_mailing.cf
virtual_mailbox_base = /var/mail/vhosts
virtual_uid_maps = static:500
virtual_gid_maps = static:101
virtual_transport = dovecot
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = mysql:/etc/postfix/sql/mysql_virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later.
virtual_overquota_bounce = yes
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps=hash:/etc/postfix/sender_canonical
dovecot_destination_recipient_limit = 1
smtpd_tls_security_level = may
smtpd_tls_key_file = /etc/pki/valid/mail.key
smtpd_tls_cert_file = /etc/pki/valid/mail.crt
smtpd_tls_CAfile = /etc/pki/valid/ca.crt
smtpd_tls_loglevel = 1
smtpd_tls_session_cache_timeout = 3600s
smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_tls_cache.db
tls_random_source = dev:/dev/urandom
mailbox_command = /usr/libexec/dovecot/deliver
message_size_limit = 231457280
Co może być nie tak?
Z góry dzięki za oprowiedzi.