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


ru.unix

 
 - RU.UNIX ----------------------------------------------------------------------
 From : Alexander Titaev                     2:5070/66      25 Sep 2007  20:45:45
 To : All
 Subject : postfix - reject unknown recipients
 -------------------------------------------------------------------------------- 
 
   Имеем следующее
 
 ns5# postconf -n
 alias_database = hash:/etc/aliases
 alias_maps = hash:/etc/aliases
 append_dot_mydomain = no
 biff = no
 config_directory = /etc/postfix
 content_filter = smtp-amavis:[127.0.0.1]:10024
 debug_peer_level = 9
 debug_peer_list = 87.241.208.158
 home_mailbox = .maildir/
 inet_interfaces = all
 local_recipient_maps = unix:passwd.byname $alias_maps $virtual_alias_maps
 mailbox_size_limit = 0
 mydestination = localhost
 mynetworks = 127.0.0.0/8
 myorigin = /etc/mailname
 recipient_delimiter = +
 relayhost = 
 smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
 smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
 smtpd_recipient_restrictions = permit_sasl_authenticated,
 reject_unauth_destination
 smtpd_sasl_auth_enable = yes
 smtpd_sasl_path = /etc/sasldb2
 smtpd_sender_restrictions = permit_sasl_authenticated
 smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
 smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
 smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
 smtpd_use_tls = yes
 unknown_local_recipient_reject_code = 550
 unverified_recipient_reject_code = 450
 virtual_alias_maps = hash:/etc/mail/virtusertable
 virtual_mailbox_base = /var/www
 virtual_mailbox_domains = /etc/mail/local-host-names
 
 все домены виртуальные, в системных юзеров осуществляется трансляция через 
 virtual_alias_maps = hash:/etc/mail/virtusertable
 
 постфикс примает любую чушь для "своих" доменов c последующим ответом от "mail
 delivery" unknown user
 
 изучение 
 http://www.postfix.org/LOCAL_RECIPIENT_README.html
 и включение максимального дебага ясности не внесли
 юзер не мапится, но почту принимаем...
 
 Sep 25 13:31:29 ns5 postfix/smtpd[3927]: >>> CHECKING RECIPIENT MAPS <<<
 Sep 25 13:31:29 ns5 postfix/smtpd[3927]: ctable_locate: leave existing entry key
 sdfsfsf@ns5.ru
 Sep 25 13:31:29 ns5 postfix/smtpd[3927]: maps_find: recipient_canonical_maps:
 sdfsfsf@ns5.ru: not found
 Sep 25 13:31:29 ns5 postfix/smtpd[3927]: match_string: ns5.ru ~? localhost
 Sep 25 13:31:29 ns5 postfix/smtpd[3927]: match_list_match: ns5.ru: no match
 Sep 25 13:31:29 ns5 postfix/smtpd[3927]: maps_find: recipient_canonical_maps:
 @ns5.ru: not found
 Sep 25 13:31:29 ns5 postfix/smtpd[3927]: mail_addr_find: sdfsfsf@ns5.ru -> (not 
 found)
 Sep 25 13:31:29 ns5 postfix/smtpd[3927]: maps_find: canonical_maps:
 sdfsfsf@ns5.ru: not found
 Sep 25 13:31:29 ns5 postfix/smtpd[3927]: match_string: ns5.ru ~? localhost
 Sep 25 13:31:29 ns5 postfix/smtpd[3927]: match_list_match: ns5.ru: no match
 Sep 25 13:31:29 ns5 postfix/smtpd[3927]: maps_find: canonical_maps: @ns5.ru: not
 found
 Sep 25 13:31:29 ns5 postfix/smtpd[3927]: mail_addr_find: sdfsfsf@ns5.ru -> (not 
 found)
 Sep 25 13:31:29 ns5 postfix/smtpd[3927]: maps_find: virtual_alias_maps:
 sdfsfsf@ns5.ru: not found
 Sep 25 13:31:29 ns5 postfix/smtpd[3927]: match_string: ns5.ru ~? localhost
 Sep 25 13:31:29 ns5 postfix/smtpd[3927]: match_list_match: ns5.ru: no match
 Sep 25 13:31:29 ns5 postfix/smtpd[3927]: maps_find: virtual_alias_maps: @ns5.ru:
 not found
 Sep 25 13:31:29 ns5 postfix/smtpd[3927]: mail_addr_find: sdfsfsf@ns5.ru -> (not 
 found)
 Sep 25 13:31:29 ns5 postfix/smtpd[3927]: smtpd_check_rewrite: trying:
 permit_inet_interfaces
 Sep 25 13:31:29 ns5 postfix/smtpd[3927]: permit_inet_interfaces: unknown
 87.241.208.158
 Sep 25 13:31:29 ns5 postfix/smtpd[3927]: before input_transp_cleanup: cleanup
 flags = enable_header_body_filter enable_automatic_bcc enable_address_mapping
 enable_milters
 
 куда копать не пойму
 
 -- 
 Sanyo     mailto:tit@irk.ru
 
 --- tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/6.2-RELEASE-p7 (i386))
  * Origin: The_Bulls echo gate (2:5070/66)
 
 

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

 Тема:    Автор:    Дата:  
 postfix - reject unknown recipients   Alexander Titaev   25 Sep 2007 20:45:45 
Архивное /ru.unix/414331f5efe82.html, оценка 3 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional