ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexei Takaseev <taf@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Re: [sisyphus] Postfix+TLS
Date: Sun, 26 Oct 2003 21:52:27 +0800
Message-ID: <20031026215227.1a0157ef.taf@altlinux.ru> (raw)
In-Reply-To: <20031025193740.GA458@basalt.office.altlinux.org>

On Sat, 25 Oct 2003 23:37:40 +0400
"Dmitry V. Levin" <ldv@altlinux.org> wrote:

> On Sat, Oct 25, 2003 at 08:02:26AM +0300, Serge V Kompan wrote:
> [...]
> > Есть просьба к мантейнеру данного пакета: Если можно собирите
> > postfix с поддержкой TLS
> 
> Всё бы ничего, если бы не размер патча:
> $ wc pfixtls-0.8.16-2.0.16-0.9.7b/pfixtls.diff
>    7845   37646  268752 pfixtls-0.8.16-2.0.16-0.9.7b/pfixtls.diff
> $ lsdiff pfixtls-0.8.16-2.0.16-0.9.7b/pfixtls.diff |wc -l
>      42
> 
> Отсмотреть такой объём кода у меня сейчас возможности нет.

Там больше половины патча - документация :)

> Вопросы в первую очередь к тем, кто этот патч видел и/или использует:
> - как можно было бы собрать postfix-tls в виде дополнения к
> стандартному

То, что в одну кучу свалили IPv6 и TLS мне совсем не нравится. Может,
для начала, взять на заметку патч для поддержки TLS от
http://www.aet.tu-cottbus.de/personen/jaenicke/postfix_tls/ ? Ну гораздо
скромнее он по количеству изменений.

>   postfix'у, чтобы не подвергать риску последний?
> - какая должна быть конфигурация по умолчанию, поставляемая с
> postfix-tls?

/etc/postfix/main.cf
...
# TLS
smtp_use_tls = yes
smtpd_use_tls = yes
smtpd_tls_key_file = /etc/postfix/tls/newreq.pem
smtpd_tls_cert_file = /etc/postfix/tls/newcert.pem
smtpd_tls_CAfile = /etc/postfix/tls/cacert.pem
smtpd_tls_loglevel = 0
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
...

Выставление параметров smtp_use_tls и smtpd_use_tls в значение "no"
полностью дезактивирует все остальные *_tls_* значения. На мой взгляд,
для "по-умолчанию" это самые оптимальные настройки.


  reply	other threads:[~2003-10-26 13:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-25 19:37 ` Dmitry V. Levin
2003-10-26 13:52   ` Alexei Takaseev [this message]
2003-10-26 14:46     ` Dmitry V. Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031026215227.1a0157ef.taf@altlinux.ru \
    --to=taf@altlinux.ru \
    --cc=devel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git