Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MatrixD

Pages: 1 2 [3]
31
Russian / Re: Проблемы с firewall Zentyal 3.3.
« on: March 04, 2014, 05:31:18 am »
Можно отключить этот конченный глючный фаирволл что бы прокси работал?

32
Решил.
Не тот конфиг правил надо /usr/share/zentyal/stubs/mail/main.cf.mas

33
Russian / [SOLVED] Проблемы с firewall Zentyal 3.3.
« on: March 03, 2014, 05:49:47 pm »
Есть 2 интерфейса:
-локалка eth0 192.168.*.* откуда берётся инет, настроен шлюз в настройках через прокси, подключение к другому прокси серверу который раздает инет на эту подсеть;
-локалка eth1 192.169.*.* собственно куда раздаётся инет и почта.

Проблема в том что фаирволл рандомно начинает блокировать всю подсеть 192.169.*.* и даже не пингуется. Всё работает нормально, но потом в какой то момент времени начинает всё блокировать.
В правилах фаирволла всё разрешено, все запрещающие правила удалены
Причём в логах фаирволла пишет что блокирует с интерфейса eth0 подключения с локалки 192.169.*.*, когда она висит на eth1.

В чём может быть проблема?

Может в том что я Zentyal на Ubuntu Desktop поставил и конфликтует, а надо на Server именно ставить?

34
Installation and Upgrades / [SOLVED] Relayhost problems. Zentyal 3.3.
« on: February 27, 2014, 07:59:36 am »
Do not send messages through option "Smarthost to send mail", log error:

Code: [Select]
Feb 27 09:51:31 pserver postfix/smtpd[5407]: connect from unknown[192.169.250.16]
Feb 27 09:51:32 pserver postfix/smtpd[5407]: EEBC02A0080: client=unknown[192.169.250.16]
Feb 27 09:51:32 pserver postfix/cleanup[5411]: EEBC02A0080: message-id=<717FC2E4BCC2436184CAB8A621993A80@*****************.ip>
Feb 27 09:51:32 pserver postfix/smtpd[5407]: disconnect from unknown[192.169.250.16]
Feb 27 09:51:32 pserver postfix/qmgr[5272]: EEBC02A0080: from=<***************@**************.ru>, size=2342, nrcpt=1 (queue active)
Feb 27 09:51:32 pserver postfix/smtp[5412]: SSL_connect error to *************[****************]:25: -1
Feb 27 09:51:32 pserver postfix/smtp[5412]: warning: TLS library problem: 5412:error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert unexpected message:s23_clnt.c:724:
Feb 27 09:51:32 pserver postfix/smtp[5412]: EEBC02A0080: to=<***************@mail.ru>, relay=****************[***************]:25, delay=0.57, delays=0.17/0.15/0.25/0, dsn=4.7.5, status=deferred (Cannot start TLS: handshake failure)

ISP server where the mail is sent not support TLS, only plain text.
how to disable SSL in postfix?

SOLVED

/usr/share/zentyal/stubs/mail/main.cf.mas change string: smtp_tls_security_level = none


35
Из документации:

Quote
General configuration

Accessing Mail ‣ General ‣ Mail server options ‣ Options, you can configure the general settings for the mail service:

TLS for SMTP server:
    This forces the clients to connect to the mail server using TLS encryption, thus avoiding eavesdropping.
Require authentication:
    This setting enables the use of authentication. A user must provide an e-mail address and a password to identify; once authenticated, the user can relay mail through the server. An account alias can not be used to authenticate.

Я почему то не могу найти таких настроек, может какой модуль надо поставить кроме почты? Вообще ничего не понимаю.

Может всё глючит потому что я на Ubuntu Desktop сервер накатил, а не ставил с образа вместе с Ubuntu Server?

36
Не отправляет письма от пользователей на ящик провайдера через настройку "Smarthost для отправки почты":
В логах пишет Cannot start TLS: handshake failure.
Авторизация на сервере обычная текстовая, настройки аутентификации smarthost менял PLAIN и LOGIN безпонятия что это, но эффект не меняется.
Причём через "получение почты со сторонних аккаунтов" почта с сервера забирается нормально.

Как отключить этот TLS для релея?
Вот собно код из  /etc/postfix/main.cf

Code: [Select]
relayhost = *.*.*.*


smtp_tls_security_level = may
smtp_tls_key_file  = /etc/postfix/sasl/postfix.pem
smtp_tls_cert_file = /etc/postfix/sasl/postfix.pem

smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous

Ставил smtp_tls_security_level = none эффекта нет, как и удаление  строк:
smtp_tls_security_level = may
smtp_tls_key_file  = /etc/postfix/sasl/postfix.pem
smtp_tls_cert_file = /etc/postfix/sasl/postfix.pem

Есть ещё часть кода:
Code: [Select]
# TLS/SSL
smtpd_use_tls = yes
smtpd_tls_key_file  = /etc/postfix/sasl/postfix.pem
smtpd_tls_cert_file = /etc/postfix/sasl/postfix.pem
smtpd_tls_loglevel = 0

Ставил smtpd_use_tls = no релей просто перестаёт работать.

Pages: 1 2 [3]