Доброго всем. Есть задача, все письма что приходят на user@mydomain.com пересылать на user@mail.ru. В БД в aliases прописывал не работает. Куда копать ума не приложу Конфиг Postfix postconf -n command_directory = /usr/local/sbin config_directory = /usr/local/etc/postfix content_filter = smtp:127.0.0.1:10025 daemon_directory = /usr/local/libexec/postfix debug_peer_level = 2 default_privs = nobody header_checks = regexp:/usr/local/etc/postfix/header_checks html_directory = no inet_interfaces = 200.*.*.*, 192.168.1.10 local_recipient_maps = $virtual_mailbox_maps $virtual_maps $transport_maps mail_owner = postfix mailq_path = /usr/local/bin/mailq manpage_directory = /usr/local/man mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mydomain = mydomain.ru myhostname = mail.mydomain.ru mynetworks = 192.168.1.0/24, 127.0.0.0/8 mynetworks_style = host myorigin = $mydomain newaliases_path = /usr/local/bin/newaliases queue_directory = /var/spool/postfix readme_directory = no receive_override_options = no_address_mappings relay_domains = $transport_maps sample_directory = /usr/local/etc/postfix sender_bcc_maps = hash:/usr/local/etc/postfix/smtp.senders sendmail_path = /usr/local/sbin/sendmail setgid_group = maildrop smtp_connection_cache_on_demand = no smtpd_banner = $myhostname ESMTP mail server smtpd_recipient_restrictions = permit_mynetworks, reject_unknown_hostname, reject_unauth_destination, reject_non_fqdn_hostname, reject_non_fqdn_sender reject_unauth_pipelining, reject_invalid_hostname, reject_rbl_client sbl-xbl.spamhaus.org smtpd_restriction_classes = OnlyFromMyUsers smtpd_sender_restrictions = check_sender_access hash:/usr/local/etc/postfix/access_sender strict_rfc821_envelopes = yes transport_maps = pgsql:/usr/local/etc/postfix/sql/transport.pgsql unknown_local_recipient_reject_code = 550 virtual_alias_maps = proxy:pgsql:/usr/local/etc/postfix/sql/aliases.pgsql virtual_gid_maps = proxy:pgsql:/usr/local/etc/postfix/sql/gids.pgsql virtual_mailbox_base = /var/mail/virtual virtual_mailbox_maps = proxy:pgsql:/usr/local/etc/postfix/sql/users.pgsql virtual_uid_maps = proxy:pgsql:/usr/local/etc/postfix/sql/uids.pgsql
|