LINUX.ORG.RU

Избранные сообщения xlin84

HelpMe Не работает почта (не принимает от gmail и yandex)

Форум — Admin

Доброго дня. Умоляю, помогите. Голова реально уже опухла с этой почтой.

Сервер на postfix+dovecot был замечен на рассылке спама. Проблему нашли и исправили, но письма не ходят на gmail и не принимаются от yandex.

Вчера на домен у провайдера выпросил смену днс на яндекс. Делегировал его на яндексе, тем самым получил доступ к нему.

Добавил DKIM+SPF записи. Тест проходит теперь без проблем http://mxtoolbox.com/domain/gb2bel.ru/

Что еще ему нужно? Устал биться. Кстати, вчера он на гугл пару раз прорвался с письмом и получилось отправить с моего сервера.

 , , ,

xlin84
()

Не собирается PEAR-Net_LDAP3 на gentoo

Форум — General

Обновил постовую вебморду roundcube и в ней перестала работать адресная книга, которая берет адреса через LDAP В логах

[Sun Jul 24 13:20:27.842887 2016] [:error] [pid 3694] [client 176.194.165.155:49854] PHP Fatal error:  Class 'Net_LDAP3' not found in /var/www/localhost/htdocs/roundcube/program/lib/Roundcube/rcube_ldap_generic.php on line 31, referer: https://mail.gb2bel.ru/?_task=mail&_action=compose&_id=50947977957949545a3a8b
Погугли форумы и понял, что нужен пакет dev-php/PEAR-Net_LDAP3-1.0.2::kolab В портах его не оказалась и пришлось установить laymon и подключить оверлей kolab

mail PEAR-Net_LDAP3 # eix -e PEAR-Net_LDAP3
* dev-php/PEAR-Net_LDAP3 [1]
	 Доступные версии:	  1.0.2
	 Описание:			  OO interface for searching and manipulating LDAP-entries

[1] "kolab" /var/lib/layman/kolab

Начал устанавливать, но не получилось. Можно ли это поправить? Клиенты почтового сервера остались без адресной книги и скоро будут кричать, т.к. при обращении к ней вылетает ошибка. Помогите пожалуйста.

mail PEAR-Net_LDAP3 # emerge -auv PEAR-Net_LDAP3

 * IMPORTANT: config file '/etc/portage/package.keywords' needs updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N	 ] dev-php/PEAR-Net_LDAP3-1.0.2::kolab  0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-php/PEAR-Net_LDAP3-1.0.2::kolab
>>> Unpacking source...
Клонирование в голый репозиторий «/usr/portage/distfiles/egit-src/php-net_ldap.git»…
remote: Counting objects: 450, done.
remote: Compressing objects: 100% (266/266), done.
remote: Total 450 (delta 106), reused 383 (delta 82)
Получение объектов: 100% (450/450), 116.40 KiB | 0 bytes/s, готово.
Определение изменений: 100% (106/106), готово.
Проверка соединения… готово.
GIT NEW clone -->
   repository:			   https://git.kolab.org/diffusion/PNL/php-net_ldap.git
   at the commit:			50896031cf5a56057d4fc632c61ad1c663b7debc
   branch:				   master
   storage directory:		"/usr/portage/distfiles/egit-src/php-net_ldap.git"
   checkout type:			bare repository
Клонирование в «/var/tmp/portage/dev-php/PEAR-Net_LDAP3-1.0.2/work/PEAR-Net_LDAP3-1.0.2»…
готово.
Ветка branch-master отслеживает внешнюю ветку master из origin.
Переключено на новую ветку «branch-master»
>>> Unpacked to /var/tmp/portage/dev-php/PEAR-Net_LDAP3-1.0.2/work/PEAR-Net_LDAP3-1.0.2
>>> Source unpacked in /var/tmp/portage/dev-php/PEAR-Net_LDAP3-1.0.2/work
>>> Preparing source in /var/tmp/portage/dev-php/PEAR-Net_LDAP3-1.0.2/work/PEAR-Net_LDAP3-1.0.2 ...
 * Applying PEAR-Net_LDAP3-1.0.2-4918-fix-debug-level.patch ...

 * Failed Patch: PEAR-Net_LDAP3-1.0.2-4918-fix-debug-level.patch !
 *  ( /var/lib/layman/kolab/dev-php/PEAR-Net_LDAP3/files/PEAR-Net_LDAP3-1.0.2-4918-fix-debug-level.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/dev-php/PEAR-Net_LDAP3-1.0.2/temp/PEAR-Net_LDAP3-1.0.2-4918-fix-debug-level.patch.out

 * ERROR: dev-php/PEAR-Net_LDAP3-1.0.2::kolab failed (prepare phase):
 *   Failed Patch: PEAR-Net_LDAP3-1.0.2-4918-fix-debug-level.patch!
 * 
 * Call stack:
 *	 ebuild.sh, line  133:  Called src_prepare
 *   environment, line 2268:  Called epatch '/var/lib/layman/kolab/dev-php/PEAR-Net_LDAP3/files/PEAR-Net_LDAP3-1.0.2-4918-fix-debug-level.patch'
 *   environment, line  729:  Called die
 * The specific snippet of code:
 *			   die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of `emerge --info '=dev-php/PEAR-Net_LDAP3-1.0.2::kolab'`,
 * the complete build log and the output of `emerge -pqv '=dev-php/PEAR-Net_LDAP3-1.0.2::kolab'`.
 * The complete build log is located at '/var/tmp/portage/dev-php/PEAR-Net_LDAP3-1.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-php/PEAR-Net_LDAP3-1.0.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-php/PEAR-Net_LDAP3-1.0.2/work/PEAR-Net_LDAP3-1.0.2'
 * S: '/var/tmp/portage/dev-php/PEAR-Net_LDAP3-1.0.2/work/PEAR-Net_LDAP3-1.0.2'

>>> Failed to emerge dev-php/PEAR-Net_LDAP3-1.0.2, Log file:

>>>  '/var/tmp/portage/dev-php/PEAR-Net_LDAP3-1.0.2/temp/build.log'

 * Messages for package dev-php/PEAR-Net_LDAP3-1.0.2:

 * Failed Patch: PEAR-Net_LDAP3-1.0.2-4918-fix-debug-level.patch !
 *  ( /var/lib/layman/kolab/dev-php/PEAR-Net_LDAP3/files/PEAR-Net_LDAP3-1.0.2-4918-fix-debug-level.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/dev-php/PEAR-Net_LDAP3-1.0.2/temp/PEAR-Net_LDAP3-1.0.2-4918-fix-debug-level.patch.out
 * ERROR: dev-php/PEAR-Net_LDAP3-1.0.2::kolab failed (prepare phase):
 *   Failed Patch: PEAR-Net_LDAP3-1.0.2-4918-fix-debug-level.patch!
 * 
 * Call stack:
 *	 ebuild.sh, line  133:  Called src_prepare
 *   environment, line 2268:  Called epatch '/var/lib/layman/kolab/dev-php/PEAR-Net_LDAP3/files/PEAR-Net_LDAP3-1.0.2-4918-fix-debug-level.patch'
 *   environment, line  729:  Called die
 * The specific snippet of code:
 *			   die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of `emerge --info '=dev-php/PEAR-Net_LDAP3-1.0.2::kolab'`,
 * the complete build log and the output of `emerge -pqv '=dev-php/PEAR-Net_LDAP3-1.0.2::kolab'`.
 * The complete build log is located at '/var/tmp/portage/dev-php/PEAR-Net_LDAP3-1.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-php/PEAR-Net_LDAP3-1.0.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-php/PEAR-Net_LDAP3-1.0.2/work/PEAR-Net_LDAP3-1.0.2'
 * S: '/var/tmp/portage/dev-php/PEAR-Net_LDAP3-1.0.2/work/PEAR-Net_LDAP3-1.0.2'

emerge --info '=dev-php/PEAR-Net_LDAP3-1.0.2::kolab'

Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-4.7.3, glibc-2.22-r4, 3.12.21-gentoo-r1 x86_64)
=================================================================
						 System Settings
=================================================================
System uname: Linux-3.12.21-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_E5520_@_2.27GHz-with-gentoo-2.2
KiB Mem:	 6106920 total,	493788 free
KiB Swap:	3145724 total,   3115524 free
Timestamp of repository gentoo: Sun, 24 Jul 2016 10:15:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:		  4.3_p42-r1::gentoo
dev-lang/perl:			5.20.2::gentoo
dev-lang/python:		  2.7.10-r1::gentoo, 3.2.5-r6::gentoo, 3.3.5-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:		   3.3.1-r1::gentoo
dev-util/pkgconfig:	   0.28-r2::gentoo
sys-apps/baselayout:	  2.2::gentoo
sys-apps/openrc:		  0.19.1::gentoo
sys-apps/sandbox:		 2.10-r1::gentoo
sys-devel/autoconf:	   2.69::gentoo
sys-devel/automake:	   1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:	   2.25.1-r1::gentoo
sys-devel/gcc:			4.7.3-r1::gentoo, 4.8.5::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:	 1.7.3::gentoo
sys-devel/libtool:		2.4.6::gentoo
sys-devel/make:		   4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:		   2.22-r4::gentoo
Repositories:

gentoo
	location: /usr/portage
	sync-type: rsync
	sync-uri: rsync://rsync2.ru.gentoo.org/gentoo-portage
	priority: -1000

x-portage
	location: /usr/local/portage
	masters: gentoo
	priority: 0

kolab
	location: /var/lib/layman/kolab
	masters: gentoo
	priority: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y --autounmask-write"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j15"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 apache2 berkdb bzip2 cli cracklib crypt cxx dovecot-sasl dri fortran gdbm iconv imap iproute2 kerberos logrotate mmx mmxext modules multilib ncurses nls nptl openmp openssl pam pcre pdo postgres python readline samba seccomp session sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 tcpd unicode vim-pager vim-syntax winbind xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="dav actions alias auth_basic authz_host cgi cgid dir env mime mime_magic proxy proxy_connect proxy_ftp proxy_http vhost_alias asis auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_owner authz_user autoindex cache cern_meta deflate disk_cache dumpio expires ext_filter file_cache filter ident imagemap info mem_cache proxy_ajp proxy_balancer rewrite speling status headers include log_config log_forensic logio negotiation setenvif substitute unique_id userdir usertrack version" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru_RU ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.4"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

 , , , ,

xlin84
()