Главная страница


ru.unix

 
 - RU.UNIX ----------------------------------------------------------------------
 From : Maxim Timofeyev                      2:5030/1763.1  06 May 2003  13:29:07
 To : Alexander Kolesnikoff
 Subject : Re: postfix & To:
 -------------------------------------------------------------------------------- 
 
 >> AK>     Без PCRE тоже можно: 
 >> AK>   /^From:.*[[:<:]][0-9]+@yandex\.ru[[:>:]]/  
 >> Чего-то он пропустил тестовое письмо от меня... ;(
 AK>     Заголовки тестового письма
 
 Заголовки... Сейчас снова сооружу... ;)
 
 >Return-Path: <12345@yandex.ru>
 >From: Maxim Timofeyev <12345@yandex.ru>
 >Message-Id: <20030506132437.295e168a.12345@yandex.ru>
 >X-Mailer: Sylpheed version 0.7.8 (GTK+ 1.2.10; i586-alt-linux)
 
 Этого хватит?
 
 AK> и postconf -n - в студию !
 
 access_map_reject_code = 550
 alias_database = hash:/etc/aliases
 alias_maps = hash:/etc/aliases
 allow_mail_to_commands = alias,forward
 allow_mail_to_files = alias,forward
 allow_percent_hack = yes
 allow_untrusted_routing = no
 append_at_myorigin = yes
 append_dot_mydomain = yes
 canonical_maps = hash:/etc/postfix/canonical
 command_directory = /usr/sbin
 config_directory = /etc/postfix
 daemon_directory = /usr/libexec/postfix
 debug_peer_level = 2
 default_privs = nobody
 default_rbl_reply = $rbl_code Service unavailable; $rbl_class [$rbl_what]
 blocked using $rbl_domain${rbl_reason?; $rbl_reason}
 defer_code = 450
 empty_address_recipient = MAILER-DAEMON
 forward_path = $home/.forward$recipient_delimiter$extension,$home/.forward
 header_checks = regexp:/etc/postfix/header_checks
 inet_interfaces = all
 invalid_hostname_reject_code = 501
 local_recipient_maps = 
 mail_owner = postfix
 mail_spool_directory = /var/spool/mail
 mailq_path = /usr/bin/mailq
 manpage_directory = /usr/man
 maps_rbl_reject_code = 550
 masquerade_classes = envelope_sender, header_sender, header_recipient
 masquerade_domains = 
 masquerade_exceptions = 
 mydestination = $myhostname, localhost.$mydomain
 mydomain = spb.ru
 myhostname = mydomain.spb.ru
 mynetworks = 127.0.0.0/8, XXX.XXX.XXX.0/24
 mynetworks_style = subnet
 newaliases_path = /usr/bin/newaliases
 queue_directory = /var/spool/postfix
 rbl_reply_maps = 
 readme_directory = no
 recipient_canonical_maps = 
 reject_code = 550
 relay_domains = $mydestination, $virtual_maps, dtu.spb.ru, mail.dtu.spb.ru,
 anichkov-dvorets.spb.ru
 relay_domains_reject_code = 550
 sample_directory = /etc/postfix
 sender_canonical_maps = 
 sendmail_path = /usr/sbin/sendmail
 setgid_group = postdrop
 smtpd_banner = $myhostname ESMTP
 smtpd_client_restrictions = hash:/etc/postfix/access, permit_mynetworks
 smtpd_error_sleep_time = 1s
 smtpd_etrn_restrictions = 
 smtpd_expansion_filter =
 \t\40!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghij
 klmnopqrstuvwxyz{|}~
 smtpd_hard_error_limit = 20
 smtpd_helo_required = no
 smtpd_helo_restrictions = 
 smtpd_history_flush_threshold = 100
 smtpd_noop_commands = 
 smtpd_recipient_limit = 1000
 smtpd_recipient_restrictions = permit_mynetworks,
 reject_unauth_destination, check_sender_access hash:/etc/postfix/sender_access,   
 check_client_access hash:/etc/postfix/client_access,  hash:/etc/postfix/access,   
 reject_rbl_client relays.ordb.org, reject_rbl_client
 sbl.spamhaus.org,  reject_rbl_client
 proxies.relays.monkeys.com,   reject_rbl_client opm.blitzed.org,  permit
 smtpd_sender_restrictions = reject_unknown_sender_domain,
 hash:/etc/postfix/access
 smtpd_soft_error_limit = 10
 smtpd_timeout = 300s
 strict_rfc821_envelopes = no
 swap_bangpath = yes
 transport_maps = hash:/etc/postfix/transport
 unknown_address_reject_code = 450
 unknown_client_reject_code = 450
 unknown_hostname_reject_code = 450
 unknown_local_recipient_reject_code = 550
 virtual_alias_domains = $virtual_alias_maps
 virtual_alias_maps = hash:/etc/postfix/virtual
 
 -- 
 0BDE AC68 5418 B40A 0C85  C081 037A 6542 55F6 ADEC
 [2:5030/1763@fidonet.org][tmahome@tma.spb.ru][http://tma.spb.ru]
 --- tin/1.5.10-20011117 ("Darkcell") (UNIX) (Linux/2.4.18-alt9-up (i686))
  * Origin: TMA at HOME (2:5030/1763.1)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Re: postfix & To:   Maxim Timofeyev   06 May 2003 13:29:07 
Архивное /ru.unix/39743bb9c13dd.html, оценка 3 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional