<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Почта Postfix и сертификаты, что это и о чем?]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=30334&amp;type=atom" />
	<updated>2013-09-24T08:31:45Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=30334</id>
		<entry>
			<title type="html"><![CDATA[Re: Почта Postfix и сертификаты, что это и о чем?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=364412#p364412" />
			<content type="html"><![CDATA[<p>Ясно</p>]]></content>
			<author>
				<name><![CDATA[AlfaStriker]]></name>
				<uri>https://linuxforum.ru/profile.php?id=15778</uri>
			</author>
			<updated>2013-09-24T08:31:45Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=364412#p364412</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Почта Postfix и сертификаты, что это и о чем?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=364411#p364411" />
			<content type="html"><![CDATA[<p>К моему компу не подцепишся, сетка так настроенна (зачем то!?).<br />А сервак уже готовлю к реинкарнации.</p>]]></content>
			<author>
				<name><![CDATA[srsd]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31369</uri>
			</author>
			<updated>2013-09-24T08:26:04Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=364411#p364411</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Почта Postfix и сертификаты, что это и о чем?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=364409#p364409" />
			<content type="html"><![CDATA[<p>Ты не понял, мы соединимся через TV с твоим компьютером, а потом на твоем компе запустим SSH до сервера.</p>]]></content>
			<author>
				<name><![CDATA[AlfaStriker]]></name>
				<uri>https://linuxforum.ru/profile.php?id=15778</uri>
			</author>
			<updated>2013-09-24T08:11:48Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=364409#p364409</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Почта Postfix и сертификаты, что это и о чем?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=364405#p364405" />
			<content type="html"><![CDATA[<p>Физически сервак стоит в другом городе под ctntos. Я настроил удаленный доступ под SSH из терминала. Что бы поставить на сервак TeamViewer нужно будет многое допилить, и как понимаете безопасность и прочее.<br />Могу поднять из архива чистую систему и заново настроить . пока вижу только такой вариант.<br />И в связи с этим:<br /></p><div class="quotebox"><cite>srsd пишет:</cite><blockquote><p>думаю о полном переделывании.Как теперь все поставить заново на новую - чистую систему, но доки и  статьи нарыл только про frebsb.Мне нужно на CentOs поставить Exim с Dovecot, MySQL, Clamav и Postfixadmin (или думаю над Xams) + SSL шифрование ну и соответственно все сопутствующие, если есть статьи или доки, ссылки буду рад почитать.</p></blockquote></div><p>Нарыл на серваке много не нужных конфигов и мусора и поиск откуда что и куда займет много времени и сил.</p>]]></content>
			<author>
				<name><![CDATA[srsd]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31369</uri>
			</author>
			<updated>2013-09-24T07:48:37Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=364405#p364405</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Почта Postfix и сертификаты, что это и о чем?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=364403#p364403" />
			<content type="html"><![CDATA[<p>Как вариант можно удаленно посмотреть на твой почтовик через TeamViewer.<br />А там уже ясно все станет.</p>]]></content>
			<author>
				<name><![CDATA[AlfaStriker]]></name>
				<uri>https://linuxforum.ru/profile.php?id=15778</uri>
			</author>
			<updated>2013-09-24T07:33:44Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=364403#p364403</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Почта Postfix и сертификаты, что это и о чем?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=364396#p364396" />
			<content type="html"><![CDATA[<p>Такое уже пробывал. Результат тот же.<br />Такое ощущение что это просто тупик.<br />В связи с этим думаю о полном переделывании.<br />Как теперь все поставить заново на новую - чистую систему, но доки и&nbsp; статьи нарыл только про frebsb.<br />Мне нужно на CentOs поставить Exim с Dovecot, MySQL, Clamav и Postfixadmin (или думаю над Xams) + SSL шифрование ну и соответственно все сопутствующие, если есть статьи или доки, ссылки буду рад почитать.</p>]]></content>
			<author>
				<name><![CDATA[srsd]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31369</uri>
			</author>
			<updated>2013-09-24T06:53:48Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=364396#p364396</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Почта Postfix и сертификаты, что это и о чем?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=364391#p364391" />
			<content type="html"><![CDATA[<p>Попробуй в dovecot.conf добавить порт 143:<br /></p><div class="codebox"><pre><code>service imap-login {
executable = /usr/libexec/dovecot/imap-login
inet_listener imap {
address = *
port = 143
}
}</code></pre></div><div class="codebox"><pre><code>service pop3-login {
executable = /usr/libexec/dovecot/pop3-login
inet_listener pop3 {
address = *
port = 110
}
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[AlfaStriker]]></name>
				<uri>https://linuxforum.ru/profile.php?id=15778</uri>
			</author>
			<updated>2013-09-24T06:20:50Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=364391#p364391</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Почта Postfix и сертификаты, что это и о чем?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=364389#p364389" />
			<content type="html"><![CDATA[<p>nslookup -type=any my2.domen.ru</p><p>Non-authoritative answer:<br />-- показал все правельно, мои ip (внешние), dns, домен<br />Authoritative answers can be found from:<br />--пустота<br />==============================<br />/var/log/dovecot.log</p><p>Sep 18 16:49:23 master: Info: Dovecot v2.0.9 starting up (core dumps disabled)<br />Sep 18 16:53:57 auth: Debug: Loading modules from directory: /usr/lib64/dovecot/auth<br />Sep 18 16:53:57 auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libauthdb_ldap.so<br />Sep 18 16:53:57 auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_mysql.so<br />Sep 18 16:53:57 auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so<br />Sep 18 16:53:57 auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libmech_gssapi.so<br />Sep 18 16:53:57 auth: Debug: auth client connected (pid=23791)<br />Sep 18 16:53:57 auth: Debug: client in: AUTH&nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp; &nbsp;CRAM-MD5&nbsp; &nbsp; &nbsp; &nbsp; service=smtp&nbsp; &nbsp; rip=5<br />.34.53.161&nbsp; &nbsp; &nbsp; lip=-ip-мой внешний&nbsp; &nbsp; &nbsp; nologin resp=<br />Sep 18 16:53:57 auth: Debug: client out: CONT&nbsp; &nbsp;1&nbsp; &nbsp; &nbsp; &nbsp;PDYyMzUxNzI4MzcxMDM3MTguMTM3OTUwMTYzN<br />0BtYWlsLmRpcGxla3MucnU+<br />Sep 18 16:53:57 auth: Debug: client in: CONT&nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp; &nbsp;c3VwcG9ydEBhbGxhYm91dC5tZSA5ZjIzZTgzY<br />2NjOTk3NjFjZWQ4MjZlNzFlMmU4NzdmYQ==<br />Sep 18 16:53:57 auth: Debug: Loading modules from directory: /usr/lib64/dovecot/auth<br />Sep 18 16:53:57 auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libauthdb_ldap.so<br />Sep 18 16:53:57 auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_mysql.so<br />Sep 18 16:53:57 auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so<br />Sep 18 16:53:57 auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libmech_gssapi.so<br />Sep 18 16:53:57 auth: Info: mysql: Connected to localhost (db_exim)<br />Sep 18 16:53:57 auth: Debug: sql(support@my2.domen.ru,-ip-мой внешний): query: SELECT `username` a<br />s `user`, `password` FROM&nbsp; `mailbox` WHERE `username` = &#039;support@my2.domen.ru&#039; AND `active`=&#039;1&#039;<br />Sep 18 16:53:57 auth: Debug: password(support@my2.domen.ru, -ip-мой внешний): Credentials: d0714180<br />192a68e3900a2e17b5c83cc3ec555ea787e15456cea30a607bab837c<br />Sep 18 16:53:57 auth: Debug: client out: OK&nbsp; &nbsp; &nbsp;1&nbsp; &nbsp; &nbsp; &nbsp;user=support@my2.domen.ru</p>]]></content>
			<author>
				<name><![CDATA[srsd]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31369</uri>
			</author>
			<updated>2013-09-24T05:56:09Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=364389#p364389</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Почта Postfix и сертификаты, что это и о чем?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=364386#p364386" />
			<content type="html"><![CDATA[<p>По любасу надо лог довекота посмотреть:<br /></p><div class="codebox"><pre><code>/var/log/dovecot.log</code></pre></div><p>Команду не правильно ввел, надо так:<br /></p><div class="codebox"><pre><code>nslookup -type=any my.domen.ru</code></pre></div>]]></content>
			<author>
				<name><![CDATA[AlfaStriker]]></name>
				<uri>https://linuxforum.ru/profile.php?id=15778</uri>
			</author>
			<updated>2013-09-24T04:37:15Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=364386#p364386</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Почта Postfix и сертификаты, что это и о чем?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=364381#p364381" />
			<content type="html"><![CDATA[<p>А вот как ни странно пишет:</p><p>service dovecot status<br />dovecot (pid&nbsp; 22912) is running...</p><p>про exim&nbsp; пишет также.<br />Сервисы проверил в первую очередь, поэтому и думаю что трабл в настройках.</p>]]></content>
			<author>
				<name><![CDATA[srsd]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31369</uri>
			</author>
			<updated>2013-09-24T03:01:22Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=364381#p364381</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Почта Postfix и сертификаты, что это и о чем?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=364328#p364328" />
			<content type="html"><![CDATA[<p>У тебя dovecot отвалился.<br />Все на это указывает:<br /></p><div class="quotebox"><blockquote><p>telnet 127.0.0.1 110<br />Trying 127.0.0.1...<br />telnet: connect to address 127.0.0.1: Connection refused</p></blockquote></div><div class="quotebox"><blockquote><p>$ sudo grep -E -e &#039;warning|critical|error&#039; /var/log/maillog-20130922 (новые удалил)<br />Sep 18 11:49:58 mail dovecot: imap(mail@my2.domen.ru): Error: Internal error occurred. Refer to server log for more information.</p></blockquote></div><p>Введи:<br /></p><div class="quotebox"><blockquote><p>service dovecot status</p></blockquote></div><p>Что пишет...</p>]]></content>
			<author>
				<name><![CDATA[AlfaStriker]]></name>
				<uri>https://linuxforum.ru/profile.php?id=15778</uri>
			</author>
			<updated>2013-09-23T14:06:02Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=364328#p364328</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Почта Postfix и сертификаты, что это и о чем?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=364311#p364311" />
			<content type="html"><![CDATA[<p>$ sudo grep -E -e &#039;warning|critical|error&#039; /var/log/maillog-20130922 (новые удалил)<br />Sep 18 11:49:58 mail dovecot: imap(mail@my2.domen.ru): Error: Internal error occurred. Refer to server log for more information.<br />Sep 18 11:50:40 mail dovecot: imap(mail@my2.domen.ru): Error: Internal error occurred. Refer to server log for more information.<br />Sep 18 11:59:04 mail dovecot: imap(mail@my2.domen.ru): Error: Internal error occurred. Refer to server log for more information.<br />Sep 18 12:01:50 mail dovecot: imap(mail@my2.domen.ru): Error: Internal error occurred. Refer to server log for more information.<br />============<br />$ cat /etc/resolv.conf<br /># Generated by NetworkManager<br />Здесь находятся только домены верхнего уровня и мой айпишник<br />============<br />$ nslookup -type=my.domen.ru<br />&gt; просто появляется &quot;&gt;&quot; и все действий нет<br />============<br />service named status<br />Server:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;мой IP<br />Address:&nbsp; &nbsp; &nbsp; &nbsp; мой IP#53</p><p>** server can&#039;t find service: NXDOMAIN<br />============<br />telnet 127.0.0.1 110<br />Trying 127.0.0.1...<br />telnet: connect to address 127.0.0.1: Connection refused<br />============<br />telnet 127.0.0.1 25<br />Trying 127.0.0.1...<br />Connected to 127.0.0.1.<br />Escape character is &#039;^]&#039;.<br />220 my1.domen.ru, ESMTP EXIM 4.72<br />============<br /> iptables -n -L -v<br />Chain INPUT (policy ACCEPT 0 packets, 0 bytes)<br /> pkts bytes target&nbsp; &nbsp; &nbsp;prot opt in&nbsp; &nbsp; &nbsp;out&nbsp; &nbsp; &nbsp;source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination <br />&nbsp; &nbsp;12&nbsp; &nbsp;864 ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; *&nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;state RELATED,ESTABLISHED<br />&nbsp; &nbsp; 1&nbsp; &nbsp; 84 ACCEPT&nbsp; &nbsp; &nbsp;icmp --&nbsp; *&nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp;<br />&nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp;0 ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; lo&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp;<br />&nbsp; &nbsp; 1&nbsp; &nbsp; 92 ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; *&nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;state NEW tcp dpt:22<br />&nbsp; &nbsp; 8&nbsp; 1284 REJECT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; *&nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;reject-with icmp-host-prohibited</p><p>Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)<br /> pkts bytes target&nbsp; &nbsp; &nbsp;prot opt in&nbsp; &nbsp; &nbsp;out&nbsp; &nbsp; &nbsp;source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination <br />&nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp;0 REJECT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; *&nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;reject-with icmp-host-prohibited</p><p>Chain OUTPUT (policy ACCEPT 14 packets, 1248 bytes)<br /> pkts bytes target&nbsp; &nbsp; &nbsp;prot opt in&nbsp; &nbsp; &nbsp;out&nbsp; &nbsp; &nbsp;source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination <br />=============<br />sudo hostname -f<br />my1.domen.ru<br />=============<br />sudo telnet pop3.mail.ru 110<br />Trying 94.100.180.74...<br />Connected to pop3.mail.ru.<br />Escape character is &#039;^]&#039;.<br />+OK<br />============<br />telnet smtp.mail.ru 25<br />Trying 2a00:1148:1:1322::a1...<br />Connected to smtp.mail.ru.<br />Escape character is &#039;^]&#039;.<br />220 smtpng1.i ESMTP ready<br />====================================<br />Важное замечание<br />my1.domen.ru - это старый домен,к которому ставились сертификаты, и он мне больше не нужен.<br />my2.domen.ru - новый домен к которому надо все подвязать, хоть без сертификатов, а там посмотрим.</p>]]></content>
			<author>
				<name><![CDATA[srsd]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31369</uri>
			</author>
			<updated>2013-09-23T08:54:25Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=364311#p364311</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Почта Postfix и сертификаты, что это и о чем?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=364279#p364279" />
			<content type="html"><![CDATA[<p>Выложи еще это:<br /></p><div class="codebox"><pre><code>grep -E -e &#039;warning|critical|error&#039; /var/log/maillog
ifconfig
cat /etc/resolv.conf
nslookup -type=any ТВОЙ ДОМЕН
service named status
telnet 127.0.0.1 110
telnet 127.0.0.1 25
iptables -n -L -v
hostname -f
telnet pop3.mail.ru 110
telnet smtp.mail.ru 25</code></pre></div>]]></content>
			<author>
				<name><![CDATA[AlfaStriker]]></name>
				<uri>https://linuxforum.ru/profile.php?id=15778</uri>
			</author>
			<updated>2013-09-23T07:00:18Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=364279#p364279</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Почта Postfix и сертификаты, что это и о чем?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=364271#p364271" />
			<content type="html"><![CDATA[<p>Долго не мог дабраться.<br />Вот конфиги:</p><p> /etc/dovecot/dovecot.conf</p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>auth_mechanisms = CRAM-MD5<br />base_dir = /var/run/dovecot/<br />first_valid_uid = 93<br />info_log_path = /var/log/dovecot.log<br />listen = *<br />login_greeting = Dovecot ready man.<br />login_log_format_elements = user=&lt;%u&gt; method=%m rip=%r lip=%l %c<br />mail_location = maildir:/var/vmail/%d/%u<br />auth_debug=yes<br />auth_debug_passwords=yes</p><p>ssl=no</p><p>passdb {<br />&nbsp; args = /etc/dovecot/dovecot-mysql.conf<br />&nbsp; driver = sql<br />}<br />protocols = imap<br />service auth {<br />&nbsp; unix_listener auth-client {<br />&nbsp; &nbsp; mode = 0660<br />&nbsp; &nbsp; user = exim<br />&nbsp; }<br />&nbsp; unix_listener auth-master {<br />&nbsp; &nbsp; group = exim<br />&nbsp; &nbsp; mode = 0660<br />&nbsp; &nbsp; user = exim<br />&nbsp; }<br />&nbsp; user = root<br />}<br />service imap-login {<br />&nbsp; inet_listener imap {<br />&nbsp; &nbsp; port = 0<br />&nbsp; }<br />&nbsp; inet_listener imaps {<br />&nbsp; &nbsp; port = 993<br />&nbsp; }<br />}<br />#ssl_cert = &lt;/etc/dovecot/ssl/dovecot.crt<br />#ssl_key = &lt;/etc/dovecot/ssl/dovecot.key</p><p>userdb {<br />&nbsp; args = /etc/dovecot/dovecot-mysql.conf<br />&nbsp; driver = sql<br />}<br />protocol lda {<br />&nbsp; auth_socket_path = /var/run/dovecot/auth-master<br />&nbsp; postmaster_address = administrator</p></div></div><p>И второй:</p><p>/etc/exim/exim.conf</p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>primary_hostname = my.domen.ru<br />hide mysql_servers = localhost/db_exim/uexim/tYubn-446</p><p>#daemon_smtp_ports = 25:465<br />local_interfaces = 127.0.0.1:xx.xx.xx.xx<br />#tls_on_connect_ports = 465<br />#tls_advertise_hosts = *<br />#tls_certificate = /etc/exim/ssl/exim.crt<br />#tls_privatekey = /etc/exim/ssl/exim.key<br />#auth_advertise_hosts = *<br />domainlist local_domains = ${lookup mysql{SELECT `domain` \<br /> FROM `domain` WHERE \<br /> `domain`=&#039;${quote_mysql:$domain}&#039; AND \<br /> `active`=&#039;1&#039;}}</p><p>domainlist relay_to_domains = ${lookup mysql{SELECT `domain` \<br /> FROM `domain` WHERE \<br /> `domain`=&#039;${quote_mysql:$domain}&#039; AND \<br /> `active`=&#039;1&#039;}}</p><p>hostlist&nbsp; &nbsp;relay_from_hosts = localhost:127.0.0.0/8</p><p>acl_smtp_rcpt = acl_check_rcpt<br />acl_smtp_data = acl_check_data</p><p>av_scanner = clamd:/var/run/clamav/clamd.socket</p><p># spamd_address = 127.0.0.1 783</p><p>qualify_domain = my.domen.ru<br />qualify_recipient = my.domen.ru<br />allow_domain_literals = false<br />exim_user = exim<br />exim_group = exim<br />never_users = root<br />rfc1413_query_timeout = 0s</p><p>sender_unqualified_hosts = +relay_from_hosts<br />recipient_unqualified_hosts = +relay_from_hosts</p><p>ignore_bounce_errors_after = 45m<br />timeout_frozen_after = 15d<br />#helo_accept_junk_hosts = 192.168.50.0/24<br />#auto_thaw = 1h<br />smtp_banner = &quot;$primary_hostname, ESMTP EXIM $version_number&quot;<br />smtp_accept_max = 50<br />smtp_accept_max_per_connection = 25<br />smtp_connect_backlog = 30<br />smtp_accept_max_per_host = 20<br />split_spool_directory = true<br />remote_max_parallel = 15<br />return_size_limit = 70k<br />message_size_limit = 64M<br />helo_allow_chars = _<br />smtp_enforce_sync = true</p><p>log_selector = \<br /> +all_parents \<br /> +connection_reject \<br /> +incoming_interface \<br /> +lost_incoming_connection \<br /> +received_sender \<br /> +received_recipients \<br /> +smtp_confirmation \<br /> +smtp_syntax_error \<br /> +smtp_protocol_error \<br /> -queue_run</p><p>syslog_timestamp = no</p><p>begin acl</p><p>acl_check_rcpt:<br /> accept&nbsp; hosts = :<br /> deny&nbsp; &nbsp; message&nbsp; &nbsp; &nbsp; &nbsp;= &quot;incorrect symbol in address&quot;<br /> domains&nbsp; &nbsp; &nbsp; &nbsp;= +local_domains<br /> local_parts&nbsp; &nbsp;= ^[.] : ^.*[@%!/|]</p><p>deny&nbsp; &nbsp; message&nbsp; &nbsp; &nbsp; &nbsp;= &quot;incorrect symbol in address&quot;<br /> domains&nbsp; &nbsp; &nbsp; &nbsp;= !+local_domains</p><p>deny&nbsp; &nbsp; message&nbsp; &nbsp; &nbsp; &nbsp;= &quot;HELO/EHLO required by SMTP RFC&quot;<br /> condition&nbsp; &nbsp; &nbsp;= ${if eq{$sender_helo_name}{}{yes}{no}}</p><p>deny message&nbsp; &nbsp;= &quot;I don&#039;t know who are you&quot;<br /> authenticated = *<br /> condition&nbsp; &nbsp; &nbsp;= ${if eq{$authenticated_id}{$sender_address}{no}{yes}}</p><p>deny message&nbsp; &nbsp;= &quot;You failed my face control&quot;<br /> sender_domains = +local_domains<br /># condition&nbsp; &nbsp; &nbsp;= ${if eq{$sender_address_domain}{$local_domains}{no}{yes}}<br /> !authenticated = *</p><p>deny&nbsp; &nbsp; message&nbsp; &nbsp; &nbsp; &nbsp;= &quot;Your IP in HELO - access denied!&quot;<br /> hosts&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=&nbsp; * : !+relay_from_hosts : !81-196.point.local<br /> condition&nbsp; &nbsp; &nbsp;= ${if eq{$sender_helo_name}\<br /> {$sender_host_address}{true}{false}}</p><p>deny&nbsp; &nbsp; condition&nbsp; &nbsp; &nbsp;= ${if eq{$sender_helo_name}\<br /> {$interface_address}{yes}{no}}<br /> hosts&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= !127.0.0.1 : !localhost : *<br /> message&nbsp; &nbsp; &nbsp; &nbsp;= &quot;My IP in your HELO! Access denied!&quot;</p><p>deny&nbsp; &nbsp; condition&nbsp; &nbsp; &nbsp;= ${if match{$sender_helo_name}\<br /> {\N^\d+$\N}{yes}{no}}<br /> hosts&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= !127.0.0.1 : !localhost : *<br /> message&nbsp; &nbsp; &nbsp; &nbsp;= &quot;Incorrect HELO string&quot;</p><p># filter spammers from dynamic ips<br /> deny&nbsp; &nbsp; message&nbsp; &nbsp; &nbsp; &nbsp;= &quot;your hostname is bad (adsl, poll, ppp &amp; etc).&quot;<br /> condition&nbsp; &nbsp; &nbsp;= ${if match{$sender_host_name}{adsl|dialup|pool|peer|dhcp}{yes}{no}}</p><p>warn<br /> set acl_m0 = 1s<br /> warn<br /> hosts = +relay_from_hosts:4.3.2.1/32 #disable waits for &#039;friendly&#039; hosts<br /> set acl_m0 = 0s<br /> warn<br /> logwrite = Delay $acl_m0 for $sender_host_name[$sender_host_address] with HELO=$sender_<br />helo_name. Mail from $sender_address to $local_part@$domain.<br /> delay = $acl_m0</p><p>accept&nbsp; domains&nbsp; &nbsp; &nbsp; &nbsp;= +local_domains<br /> endpass<br /> message&nbsp; &nbsp; &nbsp; &nbsp;= &quot;No such user&quot;<br /> verify&nbsp; &nbsp; &nbsp; &nbsp; = recipient</p><p>accept&nbsp; domains&nbsp; &nbsp; &nbsp; &nbsp;= +relay_to_domains<br /> endpass<br /> message&nbsp; &nbsp; &nbsp; &nbsp;= &quot;i don&#039;t know how to relay to this address&quot;<br /> verify&nbsp; &nbsp; &nbsp; &nbsp; = recipient</p><p>#&nbsp; deny&nbsp; &nbsp; message&nbsp; &nbsp; &nbsp; &nbsp;= &quot;you in blacklist - $dnslist_domain \n $dnslist_text&quot;<br />#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dnslists&nbsp; &nbsp; &nbsp; = opm.blitzed.org : \<br />#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cbl.abuseat.org : \<br />#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bl.csma.biz</p><p>accept&nbsp; hosts&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= +relay_from_hosts</p><p>accept&nbsp; authenticated = *<br />deny&nbsp; &nbsp; message&nbsp; &nbsp; &nbsp; &nbsp;= &quot;You are non-authenticated user or something goes wrong!&quot;</p><p>acl_check_data:</p><p># check for viruses<br /> deny malware = *<br /> message = &quot;Your message contains viruses: $malware_name&quot;</p><p># if needed - add spam filtering here</p><p># permit everything else<br /> accept</p><p>begin routers</p><p>dnslookup:<br /> driver = dnslookup<br /> domains = ! +local_domains<br /> transport = remote_smtp<br /> ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8</p><p> no_more</p><p>system_aliases:<br /> driver&nbsp; &nbsp; &nbsp; = redirect<br /> allow_fail<br /> allow_defer<br /> data = ${lookup mysql{SELECT `goto` FROM `alias` WHERE \<br /> `address`=&#039;${quote_mysql:$local_part@$domain}&#039; OR \<br /> `address`=&#039;${quote_mysql:@$domain}&#039;}}</p><p>dovecot_user:<br /> driver = accept<br /> condition = ${lookup mysql{SELECT `goto` FROM \<br /> `alias` WHERE \<br /> `address`=&#039;${quote_mysql:$local_part@$domain}&#039; OR \<br /> `address`=&#039;${quote_mysql:@$domain}&#039;}{yes}{no}}<br /> transport = dovecot_delivery</p><p>begin transports</p><p>remote_smtp:<br /> driver = smtp<br /># interface = 1.2.3.4 #your public ip address, if it&#039;s the main server ip - you could sk<br />ip this parameter. if it&#039;s an alias- it must be specified in clear</p><p>dovecot_delivery:<br /> driver = pipe<br />&nbsp; command = /usr/libexec/dovecot/deliver -d $local_part@$domain<br /> message_prefix =<br /> message_suffix =<br /> delivery_date_add<br /> envelope_to_add<br /> return_path_add<br /> log_output<br /> user = exim</p><p>address_pipe:<br /> driver = pipe<br /> return_output</p><p>address_reply:<br /> driver = autoreply</p><p>begin retry</p><p>*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &nbsp; &nbsp;F,2h,15m; G,16h,1h,1.5; F,4d,6h</p><p>begin rewrite</p><p>begin authenticators</p><p>auth_cram_md5:<br /> driver = dovecot<br /> public_name = CRAM-MD5<br /> server_socket = /var/run/dovecot/auth-client<br /> server_set_id = $auth1</p></div></div>]]></content>
			<author>
				<name><![CDATA[srsd]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31369</uri>
			</author>
			<updated>2013-09-23T05:57:10Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=364271#p364271</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Почта Postfix и сертификаты, что это и о чем?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=363711#p363711" />
			<content type="html"><![CDATA[<p>Это надо проверять, сразу написать сложно.<br />Выложи конфиги.</p>]]></content>
			<author>
				<name><![CDATA[AlfaStriker]]></name>
				<uri>https://linuxforum.ru/profile.php?id=15778</uri>
			</author>
			<updated>2013-09-18T11:11:09Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=363711#p363711</id>
		</entry>
</feed>
