LinuxForum.Fans
Тема

Почтовый сервер для локальной сети предприятия

Автор: drac753 2 сообщений 3485 просмотров
#94955

ОС Debian squeeze

Собственно есть локалка , в ней нужен почтовый сервер для организации обмена почтой между юзерами пока только в локальной сети , но с перспективой выхода в нет хотя и в отдалённом будущем .

Вродеб думаю всё сделать на основе связки Postfix+Dovecot

Если кто делал что подобное поделитесь пытом (ссылки на маны, описание и т.п.)
буду рад любой помощи.

#94964

работаю по этому руководству
http://webcache.googleusercontent.com/search?q=cache:hQd2fzg_HXMJ:www.xakep.ru/magazine/xa/104/134/1.asp+%D0%BD%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B0+dovecot&cd=2&hl=ru&ct=clnk&gl=ru&client=opera

установлены пакеты postfix и dovecot начинаю править под себя
main.cf в логах лезут ошибки

main.cf

text

# See /usr/share/postfix/main.cf.dist for a commented, more complete version

# Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. #myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no

# appending .domain is the MUA's job. append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h

readme_directory = no

# TLS parameters smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client.

myhostname = virdebian.kagaz.local alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = $myhostname mydestination = virdebian.local, localhost.kagaz.local, , localhost relayhost = mynetworks = 192.168.3.0/24,127.0.0.0/8 mailbox_command = procmail -a "$EXTENSION" #mailbox_size_limit = recipient_delimiter = + inet_interfaces = all inet_protocols = ipv4

# Настройки SASL smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_sasl_local_domain = $myhostname

# Файл-сокет для обмена информацией с Dovecot; # путь указывается относительно queue_directory

smtpd_sasl_path = private/auth smtpd_sasl_security_options = noanonymous

# Используем тип dovecot smtpd_sasl_type = dovecot

mail.err
Nov 3 12:06:49 virdebian postfix/smtpd[2744]: fatal: no SASL authentication mechanisms
mail.info
ov 3 12:06:49 virdebian postfix/smtpd[2744]: warning: SASL: Connect to private/auth failed: No such file or directory
Nov 3 12:06:49 virdebian postfix/smtpd[2744]: fatal: no SASL authentication mechanisms
Nov 3 12:06:50 virdebian postfix/master[2703]: warning: process /usr/lib/postfix/smtpd pid 2744 exit status 1
Nov 3 12:06:50 virdebian postfix/master[2703]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
mail.log
Nov 3 12:04:47 virdebian postfix/master[2703]: daemon started -- version 2.7.1, configuration /etc/postfix
Nov 3 12:06:49 virdebian postfix/smtpd[2744]: warning: database /etc/aliases.db is older than source file /etc/aliases
Nov 3 12:06:49 virdebian postfix/smtpd[2744]: connect from virdebian.kagaz.local[192.168.3.25]
Nov 3 12:06:49 virdebian postfix/smtpd[2744]: warning: SASL: Connect to private/auth failed: No such file or directory
Nov 3 12:06:49 virdebian postfix/smtpd[2744]: fatal: no SASL authentication mechanisms
Nov 3 12:06:50 virdebian postfix/master[2703]: warning: process /usr/lib/postfix/smtpd pid 2744 exit status 1
Nov 3 12:06:50 virdebian postfix/master[2703]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
mail.warn
Nov 3 12:06:49 virdebian postfix/smtpd[2744]: warning: database /etc/aliases.db is older than source file /etc/aliases
Nov 3 12:06:49 virdebian postfix/smtpd[2744]: warning: SASL: Connect to private/auth failed: No such file or directory
Nov 3 12:06:49 virdebian postfix/smtpd[2744]: fatal: no SASL authentication mechanisms
Nov 3 12:06:50 virdebian postfix/master[2703]: warning: process /usr/lib/postfix/smtpd pid 2744 exit status 1
Nov 3 12:06:50 virdebian postfix/master[2703]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling

Войдите или зарегистрируйтесь, чтобы ответить.