Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Trovan

Pages: 1 [2]
16
E-Mail / Re: Spam @mydomain - Mail Queue
« on: May 01, 2016, 09:14:04 PM »
Hello, what is configuration for this postfix?

I think spf1 is disabled, i am trying to set all correct values.

Can you send me or post a example configuration?

Regards,

17
E-Mail / Spam @mydomain - Mail Queue
« on: May 01, 2016, 06:38:15 PM »
Hello, i am getting a lot of spam in my queue, i think it's a spam, anyone can help me to stop this?

I receveid a mail queue from my domain, where user's domain is faker.



I have the all options enabled when i rebuild mail server.


18
E-Mail / Move "/var/vmail" to "/home/vmail"
« on: April 23, 2016, 09:28:32 PM »
Hello,

I need to move the folder where the emails are storaged.

What is the best solution for that?

19
Updates / WARNING: Your ClamAV installation is OUTDATED!
« on: March 29, 2016, 08:10:56 PM »
Hello, i am getting this log when i try to upgrade local version of Clamav installation:



The new version is 0.99.3

Anyone can help me to upgrade installation files?

I also tryed yum update | yum upgrade | yum update clamav, etc. Nothinhg happened.

Regards,

20
E-Mail / Postfix Mail Aliases to forward to Command Pipe
« on: March 21, 2016, 07:15:16 PM »
It's possible configure e-mail to forward to command pipe?

In cpanel, this option is avaliable here:



Thanks,

21
Backup / Re: Change default backup location
« on: March 21, 2016, 07:10:35 PM »
Solved.

Thanks,


22
CentOS 6 Problems / Re: Disk Details - Increase Free Space
« on: March 21, 2016, 07:10:08 PM »
Aparently, the backups id making to a SSD, this option will use any free space on disk.

I have changed the backups location to another disk, and removed the backups in SSD.

Solved,

Thanks

23
Backup / Change default backup location
« on: March 04, 2016, 05:19:55 PM »
Hello,

I need to change the backup folder in my VPS to another location

How i can do that?


24
CentOS 6 Problems / Disk Details - Increase Free Space
« on: March 04, 2016, 05:11:08 PM »
Hello,

I have installed CWP in machine with Two Disk's

1 SSD 120GB (System)
1 HDD 1TB (/Home).

Details:



How i can use all space of SSD in Filesystem?


25
PHP / PHP Fatal error - Cannot use lexical variable $eventName
« on: February 26, 2016, 04:15:35 PM »
Hello, i am getting this error in my apache log:

[Fri Feb 26 16:05:17 2016] [error] [client 10.50.1.254] PHP Fatal error:  Cannot use lexical variable $eventName as a parameter name in /home/USERNAME/public_html/cloud/3rdparty/guzzlehttp/guzzle/src/Event/Emitter.php on line 48

Apache version: Apache/2.2.31
PHP version: 7.1.0-dev

I have installed owncloud.

Details of Emitter.php:

Quote
<?php
namespace GuzzleHttp\Event;

/**
 * Guzzle event emitter.
 *
 * Some of this class is based on the Symfony EventDispatcher component, which
 * ships with the following license:
 *
 *     This file is part of the Symfony package.
 *
 *     (c) Fabien Potencier <fabien@symfony.com>
 *
 *     For the full copyright and license information, please view the LICENSE
 *     file that was distributed with this source code.
 *
 * @link https://github.com/symfony/symfony/tree/master/src/Symfony/Component/EventDispatcher
 */
class Emitter implements EmitterInterface
{
    /** @var array */
    private $listeners = [];

    /** @var array */
    private $sorted = [];

    public function on($eventName, callable $listener, $priority = 0)
    {
        if ($priority === 'first') {
            $priority = isset($this->listeners[$eventName])
                ? max(array_keys($this->listeners[$eventName])) + 1
                : 1;
        } elseif ($priority === 'last') {
            $priority = isset($this->listeners[$eventName])
                ? min(array_keys($this->listeners[$eventName])) - 1
                : -1;
        }

        $this->listeners[$eventName][$priority][] = $listener;
        unset($this->sorted[$eventName]);
    }

    public function once($eventName, callable $listener, $priority = 0)
    {
        $onceListener = function (
            EventInterface $event,
            $eventName
        ) use (&$onceListener, $eventName, $listener, $priority) {
            $this->removeListener($eventName, $onceListener);
            $listener($event, $eventName, $this);
        };

        $this->on($eventName, $onceListener, $priority);
    }

    public function removeListener($eventName, callable $listener)
    {
        if (empty($this->listeners[$eventName])) {
            return;
        }

        foreach ($this->listeners[$eventName] as $priority => $listeners) {
            if (false !== ($key = array_search($listener, $listeners, true))) {
                unset(
                    $this->listeners[$eventName][$priority][$key],
                    $this->sorted[$eventName]
                );
            }
        }
    }

    public function listeners($eventName = null)
    {
        // Return all events in a sorted priority order
        if ($eventName === null) {
            foreach (array_keys($this->listeners) as $eventName) {
                if (empty($this->sorted[$eventName])) {
                    $this->listeners($eventName);
                }
            }
            return $this->sorted;
        }

        // Return the listeners for a specific event, sorted in priority order
        if (empty($this->sorted[$eventName])) {
            $this->sorted[$eventName] = [];
            if (isset($this->listeners[$eventName])) {
                krsort($this->listeners[$eventName], SORT_NUMERIC);
                foreach ($this->listeners[$eventName] as $listeners) {
                    foreach ($listeners as $listener) {
                        $this->sorted[$eventName][] = $listener;
                    }
                }
            }
        }

        return $this->sorted[$eventName];
    }

    public function hasListeners($eventName)
    {
        return !empty($this->listeners[$eventName]);
    }

    public function emit($eventName, EventInterface $event)
    {
        if (isset($this->listeners[$eventName])) {
            foreach ($this->listeners($eventName) as $listener) {
                $listener($event, $eventName);
                if ($event->isPropagationStopped()) {
                    break;
                }
            }
        }

        return $event;
    }

    public function attach(SubscriberInterface $subscriber)
    {
        foreach ($subscriber->getEvents() as $eventName => $listeners) {
            if (is_array($listeners[0])) {
                foreach ($listeners as $listener) {
                    $this->on(
                        $eventName,
                        [$subscriber, $listener[0]],
                        isset($listener[1]) ? $listener[1] : 0
                    );
                }
            } else {
                $this->on(
                    $eventName,
                    [$subscriber, $listeners[0]],
                    isset($listeners[1]) ? $listeners[1] : 0
                );
            }
        }
    }

    public function detach(SubscriberInterface $subscriber)
    {
        foreach ($subscriber->getEvents() as $eventName => $listener) {
            $this->removeListener($eventName, [$subscriber, $listener[0]]);
        }
    }
}

Can anyone help?




Pages: 1 [2]