ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] postfix gmail relay
@ 2016-04-12 22:05 Alexei V. Mezin
  2016-04-12 22:51 ` Alexei V. Mezin
  0 siblings, 1 reply; 2+ messages in thread
From: Alexei V. Mezin @ 2016-04-12 22:05 UTC (permalink / raw)
  To: sysadmins

Хочу настроить postfix на пересылку почты через gmail. Делал так два 
раза на системах их p7, по инструкции типа
http://www.shellhacks.com/ru/Postfix-Reley-cherez-Gmail-Linux-Mint-Ubuntu-Debian

Все работало и работает.

Теперь пытаюсь повторить тот же фокус на системе из Сизифа. Не выходит 
каменный цветок.


Вот как выглядит лог в работающей системе:



  starting new SASL client
  name_mask: noanonymous
  smtp_sasl_authenticate: smtp.gmail.com[173.194.222.109]:587: SASL 
mechanisms LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
  > smtp.gmail.com[173.194.222.109]:587: AUTH LOGIN
  vstream_fflush_some: fd 17 flush 12
  vstream_buf_get_ready: fd 17 got 18
  < smtp.gmail.com[173.194.222.109]:587: 334 VXNlcm5hbWU6
  xsasl_cyrus_client_next: decoded challenge: Username:
  xsasl_cyrus_client_get_user: хххххххххх
  xsasl_cyrus_client_get_passwd: хххххххххх


А в Сизифе это почему-то выглядит вот так:

starting new SASL client
name_mask: noanonymous
smtp_sasl_authenticate: smtp.gmail.com[74.125.205.108]:587: SASL 
mechanisms LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
warning: SASL authentication failure: No worthy mechs found
6369D580D3E: SASL authentication failed; cannot authenticate to server 
smtp.gmail.com[74.125.205.108]: no mechanism available


То есть сервер сообщает механизмы, которые он умеет, а клиент их не 
понимает. В интернете везде пишут что-то вроде 
http://priority-zero.blogspot.ru/2013/03/postfix-with-gmail.html " 
libplain.so or liblogin.so modules are not installed in the 
/usr/lib/sasl2". Но такие файлы там есть, точнее они есть в 
/usr/lib64/sasl2-3/




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

* Re: [Sysadmins] postfix gmail relay
  2016-04-12 22:05 [Sysadmins] postfix gmail relay Alexei V. Mezin
@ 2016-04-12 22:51 ` Alexei V. Mezin
  0 siblings, 0 replies; 2+ messages in thread
From: Alexei V. Mezin @ 2016-04-12 22:51 UTC (permalink / raw)
  To: sysadmins

13.04.2016 01:05, Alexei V. Mezin пишет:
> Хочу настроить postfix на пересылку почты через gmail.

Нашел https://bugzilla.altlinux.org/show_bug.cgi?id=30135

Все заработало. Но очень жаль нескольких убитых часов, и что полтора 
года багу, а postfix так и не работает.



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

end of thread, other threads:[~2016-04-12 22:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-12 22:05 [Sysadmins] postfix gmail relay Alexei V. Mezin
2016-04-12 22:51 ` Alexei V. Mezin

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

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

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


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