On Tue, Apr 01, 2003 at 10:14:32AM +0300, Victor Cheburkin wrote: VC>Hi! VC>On Mon, Mar 31, 2003 at 19:10 +0300, Alexander Trotsai wrote: VC>> В связи с очередно дырок в sendmail планируется переезд VC>> наконец на postfix. VC>> Однако хотелось бы по возможности посмотреть на живые VC>> конфиги (так проще понимать, если кому не жалко) и что VC>> интереснее, есть ли реазация relay based on best MX? VC>в smtpd_[sender|recipient]_restrictions: VC> permit_mx_backup: accept mail for sites that list me as MX host. VC> Use the optional permit_mx_backup_networks parameter to also VC> require that the primary MX hosts match a list of network blocks. VC>Есть еще параметр permit_mx_backup_networks (man smtpd) где можно VC>перечислить сетки, которым разрешено использовать нас как mx_backup. а там только сетки или имена можно тоже? VC>Если так не подходит, других вариантов нет. VC>Что касается "живых конфигов", то вот postconf -n: VC>---8<--- VC>alias_database = hash:/etc/aliases, hash:/usr/local/majordomo/aliases.majordomo VC>alias_maps = $alias_database а чем отличется alias_database от alias_maps? почитал - нифига не понял VC>biff = no VC>command_directory = /usr/local/sbin VC>config_directory = /usr/local/etc/postfix VC>daemon_directory = /usr/local/libexec/postfix VC>debug_peer_level = 2 VC>default_database_type = btree VC>default_destination_concurrency_limit = 50 VC>delay_warning_time = 4h VC>forward_path = $home/.forward${recipient_delimiter}${extension},$home/.forward,/var/forward/.${user} VC>header_checks = pcre:$config_directory/header_checks VC>local_recipient_maps = $alias_maps unix:passwd.byname VC>mail_owner = postfix VC>mailbox_size_limit = 81920000 VC>mailq_path = /usr/local/bin/mailq VC>manpage_directory = /usr/local/man VC>maximal_backoff_time = 2000s VC>maximal_queue_lifetime = 3d VC>message_size_limit = 6000000 VC>minimal_backoff_time = 60s VC>mydestination = $myhostname, btree:$config_directory/local-host-names VC>mynetworks = 127.0.0.0/8, $myhostname, 212.9.224.5/32, 212.9.224.15/32 VC>newaliases_path = /usr/local/bin/newaliases VC>notify_classes = resource, software, policy VC>parent_domain_matches_subdomains = VC>permit_mx_backup_networks = 212.9.224.0/19 213.159.224.0/19 VC>queue_directory = /var/spool/postfix VC>queue_minfree = 8192000 VC>queue_run_delay = 300s VC>readme_directory = no VC>relay_domains = $mydestination, btree:$config_directory/relay_domains VC>sample_directory = /usr/local/etc/postfixsender_canonical_maps = pcre:$config_directory/canonical VC>sendmail_path = /usr/local/sbin/sendmail VC>setgid_group = maildrop VC>show_user_unknown_table_name = no VC>smtpd_recipient_restrictions = reject_non_fqdn_sender reject_non_fqdn_recipient reject_unauth_destination reject_unknown_sender_domain reject_unknown_recipient_domain check_recipient_access btree:$config_directory/access_rcpt check_client_access btree:$config_directory/access check_sender_access btree:$config_directory/access check_client_access btree:$config_directory/access_client check_sender_access btree:$config_directory/access_sender reject_rbl_client dul.ru reject_rbl_client rbl.maps.vix.comreject_rbl_client dul.maps.vix.com reject_rbl_client blackholes.mail-abuse.orgreject_rbl_client dialups.mail-abuse.org reject_rbl_client relays.mail-abuse.orgreject_rhsbl_client relays.ordb.org reject_rhsbl_sender relays.ordb.orgreject_unauth_pipelining permit_mynetworks permit_mx_backup VC>strict_rfc821_envelopes = yes VC>transport_maps = btree:$config_directory/transport VC>unknown_address_reject_code = 550 VC>unknown_client_reject_code = 550 VC>unknown_hostname_reject_code = 550 VC>unknown_local_recipient_reject_code = 550 VC>virtual_alias_maps = btree:$config_directory/virtual -- Best regard, Aleksander Trotsai aka MAGE-RIPE aka MAGE-UANIC My PGP key at ftp://blackhole.adamant.ua/pgp/trotsai.key[.asc] Big trouble - Stray Alpha Particles from memory packaging caused Hard Memory Error on Server. =================================================================== uanog mailing list. To Unsubscribe: send mail to majordomo@uanog.kiev.ua with "unsubscribe uanog" in the body of the message