Добрый день, Есть почтавик, все существующие ящика храняться в mysql, как сделать так, чтобы локальные пользователи не могли отправить почту, если ящика нет в базе?конфиг: command_directory = /usr/local/sbin config_directory = /etc/postfix daemon_directory = /usr/local/libexec/postfix data_directory = /var/postfix debug_peer_level = 2 default_privs = vmail disable_vrfy_command = yes html_directory = /usr/local/share/doc/postfix/html inet_protocols = ipv4 local_recipient_maps = $virtual_mailbox_maps $virtual_maps $transport_maps mail_owner = _postfix mailbox_size_limit = 204800000 mailq_path = /usr/local/sbin/mailq manpage_directory = /usr/local/man maps_rbl_reject_code = 554 maximal_backoff_time = 7200s message_size_limit = 51200000 mydestination = $myhostname, localhost.$mydomain, localhost mydomain = khakensb.ru myhostname = mail.khakensb.ru mynetworks = 127.0.0.0/8, 172.27.40.0/24, 172.27.42.0/24, 192.168.0.0/18 newaliases_path = /usr/local/sbin/newaliases queue_directory = /var/spool/postfix readme_directory = /usr/local/share/doc/postfix/readme relay_domains = $transport_maps sample_directory = /etc/postfix sendmail_path = /usr/local/sbin/sendmail setgid_group = _postdrop smtpd_data_restrictions = reject_multi_recipient_bounce smtpd_delay_reject = yes smtpd_helo_required = yes smtpd_helo_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_non_fqdn_hostname, permit smtpd_recipient_restrictions = reject_unauth_pipelining, reject_unlisted_recipient, permit_sasl_authenticated, reject_non_fqdn_recipient, permit_mynetworks, reject_unauth_destination, reject_non_fqdn_hostname, reject_invalid_hostname, reject_rbl_client list.dsbl.org, reject_rbl_client dynablock.wirehub.net, reject_rbl_client blackholes.wirehub.net, reject_rbl_client dnsbl.njabl.org permit smtpd_reject_unlisted_recipient = yes smtpd_reject_unlisted_sender = yes smtpd_sender_restrictions = reject_unlisted_sender, permit strict_rfc821_envelopes = yes transport_maps = mysql:/etc/postfix/transport.cf unknown_local_recipient_reject_code = 550 virtual_alias_maps = mysql:/etc/postfix/aliases.cf virtual_gid_maps = static:1005 virtual_mailbox_base = /var/spool/virtual virtual_mailbox_maps = mysql:/etc/postfix/users.cf virtual_uid_maps = static:1004
|