From: "A.Kulikovski" <dschoolnet@tut.by>
To: community@altlinux.ru
Subject: Re: [Comm] Вопрос по POSTFIX
Date: Tue, 22 Jun 2004 19:03:25 +0300
Message-ID: <40D8584D.3080806@tut.by> (raw)
In-Reply-To: <43346633983.20040622160520@apex.msk.ru>
Григорий Коган пишет:
>Как настроить 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
next prev parent reply other threads:[~2004-06-22 16:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-22 12:05 Григорий Коган
2004-06-22 13:49 ` Alexey S. Kuznetsov
2004-06-22 16:03 ` A.Kulikovski [this message]
2004-06-23 4:07 ` Mike Lykov
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=40D8584D.3080806@tut.by \
--to=dschoolnet@tut.by \
--cc=community@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 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