The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"postfix почта идет не туда!!!!(помогите)"
Вариант для распечатки  
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"postfix почта идет не туда!!!!(помогите)"  
Сообщение от jack123 (ok) on 12-Сен-06, 13:36 
установил postfix + cyrus-sasl + courier-imap + ldap все автоизирует и читает входящие сообщения.
Но если через какойнибудь почтовик отправить письмо то оно не приходит.
вот конфиг postfix:

myhostname = airwaves                                                                                                          
mydomain = pioner                                                                                                                        
myorigin = $mydomain                                                                                                                      
inet_interfaces = all                                                                                                                    
mydestination = pioner                                                                                                                    
unknown_local_recipient_reject_code = 550                                                                                                
mynetworks = 192.168.1.0/24, 127.0.0.0/8                                                                                                  
home_mailbox = Maildir/                                                                                                                  
smtpd_etrn_restrictions = permit_mynetworks, reject                                                                                      
smtpd_helo_required = yes                                                                                                                
smtpd_recipient_restrictions=permit_sasl_authenticated permit_mynetworks reject_unauth_destination                                        
smtpd_sasl_auth_enable = yes                                                                                                              
smtpd_sasl_security_options = noanonymous                                                                                                
smtpd_sasl_local_domain =                                                                                                                
broken_sasl_auth_clients = yes                                                                                                            
smtp_use_tls = yes                                                                                                                        
smtp_tls_key_file = /etc/ssl/certs/imapd.pem                                                                                              
smtp_tls_cert_file = $smtp_tls_key_file                                                                                                  
smtp_tls_CAfile = $smtp_tls_key_file                                                                                                      
smtp_tls_note_starttls_offer = yes                                                                                                        
smtpd_tls_auth_only = yes                                                                                                                
smtpd_use_tls = yes                                                                                                                      
smtpd_tls_loglevel = 1                                                                                                                    
smtpd_tls_received_header = yes                                                                                                          
smtpd_tls_session_cache_timeout = 3600s                                                                                                  
tls_random_source = dev:/dev/urandom                                                                                                      
smtpd_tls_key_file = /etc/ssl/certs/imapd.pem                                                                                            
smtpd_tls_cert_file = $smtpd_tls_key_file                                                                                                
smtpd_tls_CAfile = $smtpd_tls_key_file                                                                                                    
virtual_transport = virtual                                                                                                              
virtual_mailbox_domains = $myhostname $mydomain                                                                                          
                                                                                                    virtual_mailbox_base = /home/vmail/                                                                                                      
virtual_mailbox_maps = ldap:ldapvirtual                                                                                                  
virtual_uid_maps = static:800                                                                                                            
virtual_gid_maps = static:800                                                                                                            
virtual_mailbox_limit = 1000000                                                                                                          
ldapvirtual_server_host = localhost                                                                                                      
ldapvirtual_server_port = 389                                                                                                            
ldapvirtual_bind = yes                                                                                                                    
ldapvirtual_bind_dn = cn=postfix,ou=daemons,dc=pioner                                                                                    
ldapvirtual_bind_pw = 123                                                                                                                
ldapvirtual_search_base = ou=users,dc=pioner                                                                                              
ldapvirtual_query_filter = (&(mail=%s)(|(AccountStatus=active)(accountStatus=shared)))                                                    
ldapvirtual_result_attribute = mailMessageStore                                                                                          

отправляю письмо пользователю stas21@pioner
во входящих оно не появляется.

Вот его лог(самое на мой взгляд странное):
Sep 12 16:34:46 airwaves postfix/smtpd[4049]: maps_find: recipient_canonical_maps: stas21@pioner.pioner: not found                        
Sep 12 16:34:46 airwaves postfix/smtpd[4049]: match_string: pioner.pioner ~? pioner                                                      
Sep 12 16:34:46 airwaves postfix/smtpd[4049]: match_list_match: pioner.pioner: no match                                                  
Sep 12 16:34:46 airwaves postfix/smtpd[4049]: maps_find: recipient_canonical_maps: @pioner.pioner: not found                              
Sep 12 16:34:46 airwaves postfix/smtpd[4049]: mail_addr_find: stas21@pioner.pioner -> (not found)                                        
Sep 12 16:34:46 airwaves postfix/smtpd[4049]: maps_find: canonical_maps: stas21@pioner.pioner: not found                                  
Sep 12 16:34:46 airwaves postfix/smtpd[4049]: match_string: pioner.pioner ~? pioner                                                      
Sep 12 16:34:46 airwaves postfix/smtpd[4049]: match_list_match: pioner.pioner: no match                                                  
Sep 12 16:34:46 airwaves postfix/smtpd[4049]: maps_find: canonical_maps: @pioner.pioner: not found                                        
Sep 12 16:34:46 airwaves postfix/smtpd[4049]: mail_addr_find: stas21@pioner.pioner -> (not found)                                        
Sep 12 16:34:46 airwaves postfix/smtpd[4049]: maps_find: virtual_alias_maps: stas21@pioner.pioner: not found                              
Sep 12 16:34:46 airwaves postfix/smtpd[4049]: match_string: pioner.pioner ~? pioner                                                      
Sep 12 16:34:46 airwaves postfix/smtpd[4049]: match_list_match: pioner.pioner: no match                                                  
Sep 12 16:34:46 airwaves postfix/smtpd[4049]: maps_find: virtual_alias_maps: @pioner.pioner: not found                                    
Sep 12 16:34:46 airwaves postfix/smtpd[4049]: mail_addr_find: stas21@pioner.pioner -> (not found)  

то есть я так понял что он к имени домена дописывает через точку еще раз имя домена:
pioner.pioner

Правка | Высказать мнение | Ответить | Cообщить модератору | Наверх

 Оглавление

Сообщения по теме [Сортировка по времени, UBB]


1. "postfix почта идет не туда!!!!(помогите)"  
Сообщение от sclif13 (??) on 12-Сен-06, 15:27 
пропиши нормальный домен, т.е. pioner.ru, если таковой есть!!!
Еслу есть то днс не забудь на него настроить!
Правка | Высказать мнение | Ответить | Cообщить модератору | Наверх

Архив | Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ] [Рекомендовать для помещения в FAQ]




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру