ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Вопрос по POSTFIX
@ 2004-06-22 12:05 Григорий Коган
  2004-06-22 13:49 ` Alexey S. Kuznetsov
  2004-06-22 16:03 ` A.Kulikovski
  0 siblings, 2 replies; 4+ messages in thread
From: Григорий Коган @ 2004-06-22 12:05 UTC (permalink / raw)
  To: community

Как настроить Postfix для авторизации при отсылке (по SMTP)?
Не могу найти соотв настройки в main.cf
-- 
С уважением,
 Григорий                          mailto:gregory@apex.msk.ru




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] Вопрос по POSTFIX
  2004-06-22 12:05 [Comm] Вопрос по POSTFIX Григорий Коган
@ 2004-06-22 13:49 ` Alexey S. Kuznetsov
  2004-06-22 16:03 ` A.Kulikovski
  1 sibling, 0 replies; 4+ messages in thread
From: Alexey S. Kuznetsov @ 2004-06-22 13:49 UTC (permalink / raw)
  To: Григорий
	Коган

Hello Григорий,

Tuesday, June 22, 2004, 3:05:20 PM, you wrote:

ГК> Как настроить Postfix для авторизации при отсылке (по SMTP)?
ГК> Не могу найти соотв настройки в main.cf

в каталоге /etc/postfix/README_FILES/
почитай файл SASL_README

-- 
Sincerely,
 Alexey S. Kuznetsov    
 AK2351-RIPE



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] Вопрос по POSTFIX
  2004-06-22 12:05 [Comm] Вопрос по POSTFIX Григорий Коган
  2004-06-22 13:49 ` Alexey S. Kuznetsov
@ 2004-06-22 16:03 ` A.Kulikovski
  2004-06-23  4:07   ` Mike Lykov
  1 sibling, 1 reply; 4+ messages in thread
From: A.Kulikovski @ 2004-06-22 16:03 UTC (permalink / raw)
  To: community

Григорий Коган пишет:

>Как настроить Postfix для авторизации при отсылке (по SMTP)?
>Не могу найти соотв настройки в main.cf
>  
>
У меня было так.
Создаем файлик saslpass и в нем пишем:
#
smtp.domain.com     myusername:mysuperpass  #smtp server
domain.com             myusername:mysuperpass  # mail domain
#
Не помню, нужно ли имя smtp-сервера, или достаточно почт. домена.
Натравим на него postmap

В main.cf должно быть:
relayhost = [smtp.domain.com]
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/saslpass
# для dial-up eще 2 строки. Если они есть, то не забываем
# периодически sendmail -q
defer_transports = smtp
disable_dns_lookups = yes
# Мой сервер требует, чтобы адрес отправителя был myusername@domain.com
# поэтому
sender_canonical_maps = hash:/etc/postfix/sender_canonical
---
В файле sender_canonical
-
local-user-1@my.local.domain      domain.com
...
local-user-N@my.local.domain      domain.com
-
И на него -- postmap
Postfix должен быть собран с sasl. Делал од ASP, под ALT не пробовал.
-- 
Anatoli




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Comm] Вопрос по POSTFIX
  2004-06-22 16:03 ` A.Kulikovski
@ 2004-06-23  4:07   ` Mike Lykov
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Lykov @ 2004-06-23  4:07 UTC (permalink / raw)
  To: community

В сообщении от Вторник 22 Июнь 2004 21:03 A.Kulikovski написал:

> У меня было так.
> Создаем файлик saslpass и в нем пишем:
> smtp.domain.com     myusername:mysuperpass  #smtp server
> domain.com             myusername:mysuperpass  # mail domain
> Не помню, нужно ли имя smtp-сервера, или достаточно почт. домена.
> Натравим на него postmap

у меня это делает saslpasswd2

SASLPASSWD(8)   
saslpasswd - set a user's sasl password

# rpm -qf /usr/sbin/saslpasswd2
cyrus-sasl2-2.1.15-master22

> В файле sender_canonical
> local-user-1@my.local.domain      domain.com
> local-user-N@my.local.domain      domain.com
> И на него -- postmap

А это непонятно зачем.
авторизация требуется тем узерам, которые находятся вне сети, а local-user-n и 
так могут отправить.

-- 
Mike Lykov
Samara, "Vesna" parfum company, System administrator 



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-23  4:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-22 12:05 [Comm] Вопрос по POSTFIX Григорий Коган
2004-06-22 13:49 ` Alexey S. Kuznetsov
2004-06-22 16:03 ` A.Kulikovski
2004-06-23  4:07   ` Mike Lykov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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