• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Postfix error

Daniel_Macák

New Pleskian
Hello,

i have a new install plesk 12.0.18 Update #31 on CentOS 6.6 and i have a problem with postfix. SMTP working fine, but when i send mail to exist mail user mailerdeamon my message rejected with error "unknown user"

# less /usr/local/psa/var/log/maillog (with error)
Jan 17 14:32:14 bohemia-design postfix/smtpd[21386]: connect from mxs2.seznam.cz[77.75.76.125]
Jan 17 14:32:14 bohemia-design postfix/smtpd[21386]: F3679320422: client=mxs2.seznam.cz[77.75.76.125]
Jan 17 14:32:15 bohemia-design postfix/cleanup[21390]: F3679320422: message-id=<[email protected]>
Jan 17 14:32:15 bohemia-design /usr/lib64/plesk-9.0/psa-pc-remote[10758]: handlers_stderr: SKIP
Jan 17 14:32:15 bohemia-design /usr/lib64/plesk-9.0/psa-pc-remote[10758]: SKIP during call 'check-quota' handler
Jan 17 14:32:15 bohemia-design postfix/qmgr[18055]: F3679320422: from=<[email protected]>, size=1324, nrcpt=1 (queue active)
Jan 17 14:32:15 bohemia-design postfix/smtpd[21386]: disconnect from mxs2.seznam.cz[77.75.76.125]
Jan 17 14:32:15 bohemia-design postfix/local[21392]: F3679320422: to=<[email protected]>, relay=local, delay=0.34, delays=0.25/0.03/0/0.06, dsn=5.1.1, status=bounced (unknown user: "dmacak")
Jan 17 14:32:15 bohemia-design postfix/cleanup[21390]: 4C547320D88: message-id=<[email protected]>
Jan 17 14:32:15 bohemia-design postfix/bounce[21393]: F3679320422: sender non-delivery notification: 4C547320D88
Jan 17 14:32:15 bohemia-design postfix/qmgr[18055]: 4C547320D88: from=<>, size=3100, nrcpt=1 (queue active)
Jan 17 14:32:15 bohemia-design postfix/qmgr[18055]: F3679320422: removed

# /etc/postfix/main.cf (delete all #comments - this is my exactly config)
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
inet_interfaces = all
inet_protocols = all
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases, hash:/var/spool/postfix/plesk/aliases
alias_database = hash:/etc/aliases
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.8.17/samples

readme_directory = /usr/share/doc/postfix-2.8.17/README_FILES
virtual_mailbox_domains = $virtual_mailbox_maps, hash:/var/spool/postfix/plesk/virtual_domains
virtual_alias_maps = $virtual_maps, hash:/var/spool/postfix/plesk/virtual
virtual_mailbox_maps = , hash:/var/spool/postfix/plesk/vmailbox
transport_maps = , hash:/var/spool/postfix/plesk/transport
smtpd_tls_cert_file = /etc/postfix/postfix_default.pem
smtpd_tls_key_file = $smtpd_tls_cert_file
smtpd_tls_security_level = may
smtpd_use_tls = yes
smtp_tls_security_level = may
smtp_use_tls = no
smtpd_timeout = 3600s
smtpd_proxy_timeout = 3600s
disable_vrfy_command = yes
mynetworks =
smtpd_sender_restrictions = check_sender_access hash:/var/spool/postfix/plesk/blacklists, permit_sasl_authenticated
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated
smtp_send_xforward_command = yes
smtpd_authorized_xforward_hosts = 127.0.0.0/8 [::1]/128
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
virtual_mailbox_base = /var/qmail/mailnames
virtual_uid_maps = static:30
virtual_gid_maps = static:31
smtpd_milters = , inet:127.0.0.1:12768
sender_dependent_default_transport_maps = hash:/var/spool/postfix/plesk/sdd_transport_maps
virtual_transport = plesk_virtual
plesk_virtual_destination_recipient_limit = 1
mailman_destination_recipient_limit = 1
mailbox_size_limit = 0
virtual_mailbox_limit = 0
myhostname = bohemia-design.cz


i find i try much choice, but i dont have luck.

Please help or show me the right way to solve the problem

Thank you very much,

Daniel
 
Back
Top