ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Laaz Vadim <checked@mail.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] Postfix + SMTP-AUTH + SASL + MySQL
Date: Mon, 31 Oct 2005 09:02:55 +0300
Message-ID: <200510310902.55161.checked@mail.ru> (raw)
In-Reply-To: <43651B6B.60802@stc.donpac.ru>

В сообщении от 30 Октябрь 2005 22:13 Eugene Prokopiev написал(a):
> >> sql_hostnames: localhost
>
> вот здесь пришлось указать 127.0.0.1, и все заработало :)
>
> может можно как-нибудь оставить localhost, но указать, что интересует
> именно tcp сокет?
postfix работает в chroot, что-бы он работал через сокет, нужно
ln -f /var/lib/mysql/mysql.sock /var/spool/postfix/var/lib/mysql/mysql.sock
причем ссылку нужно делать при каждом старте/рестарте mysql
я изменял /etc/rc.d/init.d/mysqld
...
make_link()
{
 while true; do
 if [ -S /var/lib/mysql/mysql.sock ]; then
   break;
 fi
 done
 ln -f /var/lib/mysql/mysql.sock /var/spool/postfix/var/lib/mysql/mysql.sock
}
...
case "$1" in
        start)
                start
                make_link
                ;;
        stop)
                stop
                ;;
        restart|reload)
                restart
                make_link
                ;;
...
esac


> Эти вопросы по-прежнему актуальны:
> > 2. Как авторизоваться телнетом? Чем генерить логин/пароль?
> > 3. Зачем в принципе нужен saslauthd? Если Postfix в состоянии без него
> > обходиться, то кто не в состоянии и почему?

-- 
инженер-электроник Лааз Вадим
Железноводский ГУС
т. (87932) 3-14-30

  reply	other threads:[~2005-10-31  6:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-30 16:01 Eugene Prokopiev
2005-10-30 16:28 ` Alexei Takaseev
2005-10-30 18:27   ` Eugene Prokopiev
2005-10-30 18:43     ` Eugene Prokopiev
2005-10-30 19:13     ` Eugene Prokopiev
2005-10-31  6:02       ` Laaz Vadim [this message]
2005-10-31  7:36       ` Alexey I. Froloff
2005-10-31 12:58       ` Alexei Takaseev
2005-10-31 14:09       ` [Comm] " Michael Shigorin
2005-10-31 18:36         ` Pavel Usischev
2005-11-01  6:30       ` [Comm] " Dmitry Lebkov

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=200510310902.55161.checked@mail.ru \
    --to=checked@mail.ru \
    --cc=community@lists.altlinux.org \
    /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