The OpenNET Project / Index page

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

форумы  помощь  поиск  регистрация  майллист  вход/выход  слежка  RSS
"Freebsd+ Postfix, Cyrus-SASL, MySQL, Courier-IMAP, postfixad..."
Вариант для распечатки  
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [ Отслеживать ]

"Freebsd+ Postfix, Cyrus-SASL, MySQL, Courier-IMAP, postfixad..."  
Сообщение от immortal email(ok) on 19-Сен-08, 14:41 
Добрый день.
Есть проблема с запуском вот этой замечательной сборки:Postfix, Cyrus-SASL, MySQL, Courier-IMAP, postfixadmin.
Начну с проблемы, при создании почтового ящика test1@rekon.ru через Postfixadmin, в логах следующие:
mks27# cat /var/log/maillog |grep test1
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: < localhost.rekon.ru[127.0.0.1]: RCPT TO:<test1@rekon.ru>
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: extract_addr: input: <test1@rekon.ru>
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: smtpd_check_addr: addr=test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: send attr address = test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: input attribute value: test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: rewrite_clnt: local: test1@rekon.ru -> test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: send attr address = test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: input attribute value: test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: resolve_clnt: `' -> `test1@rekon.ru' -> transp=`local' host=`mks27.rekon.ru' rcpt=`test1@rekon.ru' flags= class=local
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: ctable_locate: install entry key test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: extract_addr: in: <test1@rekon.ru>, result: test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: ctable_locate: leave existing entry key test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: maps_find: recipient_canonical_maps: test1@rekon.ru: not found
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: maps_find: recipient_canonical_maps: test1: not found
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: mail_addr_find: test1@rekon.ru -> (not found)
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: maps_find: canonical_maps: test1@rekon.ru: not found
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: maps_find: canonical_maps: test1: not found
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: mail_addr_find: test1@rekon.ru -> (not found)
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: maps_find: virtual_alias_maps: mysql:/usr/local/etc/postfix/mysqlLookupMaps/alias.conf(0,lock|fold_fix): test1@rekon.ru = test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: mail_addr_find: test1@rekon.ru -> test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/local[1115]: 56F461B2D9: to=<test1@rekon.ru>, relay=local, delay=0.01, delays=0.01/0/0/0, dsn=5.1.1, status=bounced (unknown user: "test1")
Sep 19 15:05:59 mks27 authdaemond: Authenticated: sysusername=<null>, sysuserid=1981, sysgroupid=1981, homedir=/usr/mail, address=test1@rekon.ru, fullname=1, maildir=rekon.ru/test1@rekon.ru/, quota=0, options=<null>
Sep 19 15:05:59 mks27 courier-imap: chdir rekon.ru/test1@rekon.ru/: No such file or directory
Sep 19 15:06:14 mks27 authdaemond: Authenticated: sysusername=<null>, sysuserid=1981, sysgroupid=1981, homedir=/usr/mail, address=test1@rekon.ru, fullname=1, maildir=rekon.ru/test1@rekon.ru/, quota=0, options=<null>
Sep 19 15:06:14 mks27 courier-imap: chdir rekon.ru/test1@rekon.ru/: No such file or directory
mks27#
Помогите разобраться в чем проблема...
даю следующие конфиги.
mks27# cat /usr/local/etc/postfix/main.cf
#
# /usr/local/etc/postfix/main.cf only mail.rekon.ru
#
# LOCAL PATHNAME INFORMATION
#
queue_directory = /var/spool/postfix
command_directory = /usr/local/sbin
#base = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix

# QUEUE AND PROCESS OWNERSHIP
#
mail_owner = postfix
default_privs = nobody

# INTERNET HOST AND DOMAIN NAMES
#
myhostname = mks27.rekon.ru
mydomain = rekon.ru

# SENDING MAIL
#
myorigin = $mydomain

# RECEIVING MAIL
#
inet_interfaces = all
#mydestination = $myhostname, localhost.$mydomain, localhost
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
        mail.$mydomain, www.$mydomain, ftp.$mydomain

# REJECTING MAIL FOR UNKNOWN LOCAL USERS
#
unknown_local_recipient_reject_code = 550
#local_recipient_maps = $virtual_mailbox_maps, $virtual_alias_maps, $alias_maps
local_recipient_maps = unix:passwd.byname $alias_maps

# TRUST AND RELAY CONTROL
#
#mynetworks_style = subnet
#mynetworks_style = host
mynetworks = 192.168.1.0/24, 127.0.0.0/8

# ALIAS DATABASE
#
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases

# JUNK MAIL CONTROLS
#
#header_checks = regexp:/usr/local/etc/postfix/header_checks

# SHOW SOFTWARE VERSION OR NOT
#
smtpd_banner = $myhostname mail server

# DEBUGGING CONTROL
#
debug_peer_level = 2
debug_peer_list = 127.0.0.1, mail.rekon.ru
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         xxgdb $daemon_directory/$process_name $process_id & sleep 5

sendmail_path = /usr/local/sbin/sendmail
newaliases_path = /usr/local/bin/newaliases
mailq_path = /usr/local/bin/mailq
setgid_group = maildrop
html_directory = no
manpage_directory = /usr/local/man
sample_directory = /usr/local/etc/postfix
readme_directory = no

# RESTRICTIONS
#
smtpd_client_restrictions =  permit_mynetworks,
                             permit_sasl_authenticated,
                             check_client_access hash:/usr/local/etc/postfix/client_access,
                             reject_unknown_client_hostname

smtpd_helo_restrictions =       check_helo_access hash:/usr/local/etc/postfix/hello_access,
                                permit_mynetworks,
                                permit_sasl_authenticated,
                                reject_invalid_helo_hostname,
                                reject_non_fqdn_helo_hostname,
                                reject_unknown_helo_hostname

smtpd_sender_restrictions =     permit_mynetworks,
                                check_sender_access hash:/usr/local/etc/postfix/sender_access,
                                reject_authenticated_sender_login_mismatch,
                                reject_unknown_sender_domain,
                                reject_unlisted_sender,
                                reject_unverified_sender

smtpd_recipient_restrictions =  permit_mynetworks,
                                permit_sasl_authenticated,
                                reject_unauth_destination,
                                check_recipient_access hash:/usr/local/etc/postfix/recipient_access,
                                reject_unlisted_recipient,
                                reject_unknown_recipient_domain,
                                reject_non_fqdn_recipient,
                                reject_unverified_recipient

#smtpd_data_restrictions =       reject_unauth_pipelining,
#                                reject_multi_recipient_bounce

smtpd_etrn_restrictions = reject
smtpd_reject_unlisted_sender = yes
disable_vrfy_command = yes
strict_rfc821_envelopes = yes
show_user_unknown_table_name = no
address_verify_sender = <>
unverified_sender_reject_code = 550
smtpd_helo_required = yes
smtp_always_send_ehlo = yes
smtpd_hard_error_limit = 8
#smtpd_timeout = 120s
#smtp_helo_timeout = 60s
#smtp_mail_timeout = 60s
#smtp_rcpt_timeout = 90s
smtpd_sasl_auth_enable = yes
smtpd_sasl_application_name = smtpd
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
smtpd_sender_login_maps = mysql:/usr/local/etc/postfix/mysqlLookupMaps/sender.conf
#transport_maps = mysql:/usr/local/etc/postfix/mysqlLookupMaps/transport.conf
virtual_alias_maps = mysql:/usr/local/etc/postfix/mysqlLookupMaps/alias.conf
virtual_mailbox_domains = mysql:/usr/local/etc/postfix/mysqlLookupMaps/domain.conf
virtual_mailbox_maps = mysql:/usr/local/etc/postfix/mysqlLookupMaps/mailbox.conf
virtual_mailbox_base = /usr/mail
virtual_mailbox_limit_maps = mysql:/usr/local/etc/postfix/mysqlLookupMaps/quota.conf
virtual_maildir_extended= yes
virtual_mailbox_limit_override= yes
virtual_create_maildirsize = yes
virtual_overquota_bounce = yes
virtual_maildir_limit_message= "Sorry, the user's maildir has overdrawn his diskspace quota, please try again later"
message_size_limit = 50240880
virtual_gid_maps = static:1981
virtual_uid_maps = static:1981
virtual_minimum_uid = 1000

mks27#
При получении письма test1@rekon.ru
mks27# cat /var/log/maillog |grep test1
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: < localhost.rekon.ru[127.0.0.1]: RCPT TO:<test1@rekon.ru>
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: extract_addr: input: <test1@rekon.ru>
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: smtpd_check_addr: addr=test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: send attr address = test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: input attribute value: test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: rewrite_clnt: local: test1@rekon.ru -> test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: send attr address = test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: input attribute value: test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: resolve_clnt: `' -> `test1@rekon.ru' -> transp=`local' host=`mks27.rekon.ru' rcpt=`test1@rekon.ru' flags= class=local
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: ctable_locate: install entry key test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: extract_addr: in: <test1@rekon.ru>, result: test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: ctable_locate: leave existing entry key test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: maps_find: recipient_canonical_maps: test1@rekon.ru: not found
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: maps_find: recipient_canonical_maps: test1: not found
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: mail_addr_find: test1@rekon.ru -> (not found)
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: maps_find: canonical_maps: test1@rekon.ru: not found
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: maps_find: canonical_maps: test1: not found
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: mail_addr_find: test1@rekon.ru -> (not found)
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: maps_find: virtual_alias_maps: mysql:/usr/local/etc/postfix/mysqlLookupMaps/alias.conf(0,lock|fold_fix): test1@rekon.ru = test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/smtpd[1103]: mail_addr_find: test1@rekon.ru -> test1@rekon.ru
Sep 19 13:27:34 mks27 postfix/local[1115]: 56F461B2D9: to=<test1@rekon.ru>, relay=local, delay=0.01, delays=0.01/0/0/0, dsn=5.1.1, status=bounced (unknown user: "test1")
Sep 19 15:05:59 mks27 authdaemond: Authenticated: sysusername=<null>, sysuserid=1981, sysgroupid=1981, homedir=/usr/mail, address=test1@rekon.ru, fullname=1, maildir=rekon.ru/test1@rekon.ru/, quota=0, options=<null>
Sep 19 15:05:59 mks27 courier-imap: chdir rekon.ru/test1@rekon.ru/: No such file or directory
Sep 19 15:06:14 mks27 authdaemond: Authenticated: sysusername=<null>, sysuserid=1981, sysgroupid=1981, homedir=/usr/mail, address=test1@rekon.ru, fullname=1, maildir=rekon.ru/test1@rekon.ru/, quota=0, options=<null>
Sep 19 15:06:14 mks27 courier-imap: chdir rekon.ru/test1@rekon.ru/: No such file or directory
Sep 19 17:39:38 mks27 courier-imap: LOGIN FAILED, user=test1@rekon.ru, ip=[192.168.1.4]
Sep 19 17:40:02 mks27 courier-imap: LOGIN FAILED, user=test1@rekon.ru, ip=[192.168.1.4]
mks27#
Проблема я так думаю в том что не может создать дир. не знаю что может быть где ошибка????

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

 Оглавление

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


1. "Freebsd+ Postfix, Cyrus-SASL, MySQL, Courier-IMAP, postfixad..."  
Сообщение от ALex_hha (??) on 19-Сен-08, 18:08 
>Проблема я так думаю в том что не может создать дир. не
>знаю что может быть где ошибка????

проблема в mydestination

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

2. "Freebsd+ Postfix, Cyrus-SASL, MySQL, Courier-IMAP, postfixad..."  
Сообщение от immortal (ok) on 25-Сен-08, 08:40 
>>Проблема я так думаю в том что не может создать дир. не
>>знаю что может быть где ошибка????
>
>проблема в mydestination

Да совершенно справедливо,спасибо с проблемой разобрался.

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

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

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




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

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