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 - lexz

Pages: 1 [2]
16
MySQL / Mysql Query Cache - Cannot create new user or database
« on: November 17, 2017, 03:53:45 PM »
Dear CWP forum users,

Hopefully someone recognizes my problem.
I'm running a Centos7 server with CWP and a high traffic web-shop.

To optimize the server I tried to activate query cache on the database server.

Added the following option:
query_cache_type = 1

After checking the query cache is working. And reduces server load.

Now my difficulty... After activating the query cache, I cannot create a new database and user with CWP.
CWP just working normal and saying the database and user is created.
But in fact the database and user don't exist on the server.

Someone recognizes this? Or knows a solution for this or to debug this?

Thank you very much!!  :D



17
SSL / Re: vhost template - SSL cert Manager
« on: September 26, 2017, 10:13:40 AM »
Thank you for your answer!

Looking forward for this feature!
Is it possible to see when this rebuild will be released?

currently that is integrated so you can't change it...but since cwp is under big rebuild it should probably have also added

18
SSL / vhost template - SSL cert Manager
« on: September 14, 2017, 08:53:52 AM »
Hey cwp forum,

I would like to change the vhost template of the ssl cert manager.
Where can I find it?

Really hope someone can help me with this question.
Thank you!

19
E-Mail / Re: Move spamassassin marked mail to Spam folder
« on: September 13, 2017, 10:09:33 PM »
Thank you for your answer!

I've seen the discussion you've sended but what I meant was more specific.

The spam-filtering works fine but I would like to move the spam tagged mails to a spam folder instead of deleting them.

Probably this is something simple but don't know where to search for it.

Thanks in advance!

20
E-Mail / Move spamassassin marked mail to Spam folder
« on: September 12, 2017, 12:05:55 PM »
Hey CWP users,

I hope someone can help me.
I'm running CWP for a while including mailserver, spamassassin etc.
Everything is running fine.

Lately I'm receiving more spam and would like to put the spamassassin score to catch more spam.

But my question is: How to configure spamassassin to put spam mail in the spam folder? (so I don't lose mail that got marked as spam)

Already searched but not sure how to configure it right.

Thanks in advance!

21
Installation / Re: install mod_passenger in cwp
« on: September 02, 2017, 04:09:15 PM »
I'm also trying to install passenger on my CWP server.
The problem is when I follow the tutorial (https://www.phusionpassenger.com/library/install/apache/install/oss/el7/)
It installs it's own httpd version.

Someone knows how to solve this problem or to use passenger with the httpd of CWP?

Thank you for your time!

22
Installation / Use quota on multiple partitions/external storage
« on: January 26, 2017, 08:46:40 PM »
Good evening!

I'm using CWP for a while and it's working very good.
Now I had the idea to get more storage capacity from VPS provider.

The storage is being mounted as external storage. (/mnt/externalstorage)
I created symlinks to a backup directory in the folders of my users (/home/user1/backup - symlink to -> /mnt/externalstorage/user1/backup)

Is it possible to use the same quota on this external storage?

fstab:
/dev/mapper.....etc /home                   ext4    usrjquota=quota.user,jqfmt=vfsv0        1 2
/dev/vdb1 /mnt/externalstorage           xfs defaults 0 0

thank you very much!

23
My problem is solved.

I removed "check_sender_access hash:/etc/postfix/sender_whitelist," from main.cf and the server is working!

Read this thread:
http://forum.centos-webpanel.com/e-mail/how-to-rebuild-postfix-mail-server/

Hope this solves your problem

24
E-Mail / Re: How to Rebuild Postfix Mail Server
« on: November 18, 2016, 09:58:47 PM »
I removed "check_sender_access hash:/etc/postfix/sender_whitelist," from main.cf and the server is working!

Is it neccesary to do something after I changed it?
Or is it safe to run the server this way?

Thank you for your help!

25
E-Mail / Re: How to Rebuild Postfix Mail Server
« on: November 14, 2016, 05:22:15 PM »
@Jae
I rebuilded the server and get the following output in my log.

Hope it can help!
Thank you!

Code: [Select]
Nov 14 18:12:06 myhostname postfix/postfix-script[25977]: starting the Postfix mail system
Nov 14 18:12:06 myhostname postfix/master[25978]: daemon started -- version 2.6.6, configuration /etc/postfix
Nov 14 18:12:23 myhostname postfix/smtpd[26105]: fatal: open database /etc/postfix/sender_whitelist.db: Bad file descriptor
Nov 14 18:12:24 myhostname postfix/master[25978]: warning: process /usr/libexec/postfix/smtpd pid 26105 exit status 1
Nov 14 18:12:24 myhostname postfix/master[25978]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Nov 14 18:12:24 myhostname spamd[26097]: spamd: server started on port 783/tcp (running version 3.3.1)
Nov 14 18:12:24 myhostname spamd[26097]: spamd: server pid: 26097
Nov 14 18:12:24 myhostname spamd[26097]: spamd: server successfully spawned child process, pid 26107
Nov 14 18:12:24 myhostname spamd[26097]: spamd: server successfully spawned child process, pid 26108
Nov 14 18:12:24 myhostname spamd[26097]: prefork: child states: IS
Nov 14 18:12:24 myhostname spamd[26097]: prefork: child states: II
Nov 14 18:12:25 myhostname amavis[26137]: starting. /usr/sbin/amavisd at [I Removed the hostname] amavisd-new-2.9.1 (20140627), Unicode aware, LANG="en_US.UTF-8"
Nov 14 18:12:26 myhostname amavis[26139]: Net::Server: Group Not Defined.  Defaulting to EGID '489 489'
Nov 14 18:12:26 myhostname amavis[26139]: Net::Server: User Not Defined.  Defaulting to EUID '489'
Nov 14 18:12:26 myhostname amavis[26139]: Module Amavis::Conf        2.321
Nov 14 18:12:26 myhostname amavis[26139]: Module Archive::Zip        1.30
Nov 14 18:12:26 myhostname amavis[26139]: Module BerkeleyDB          0.43
Nov 14 18:12:26 myhostname amavis[26139]: Module Compress::Raw::Zlib 2.021
Nov 14 18:12:26 myhostname amavis[26139]: Module Compress::Zlib      2.021
Nov 14 18:12:26 myhostname amavis[26139]: Module Crypt::OpenSSL::RSA 0.25
Nov 14 18:12:26 myhostname amavis[26139]: Module DB_File             1.82
Nov 14 18:12:26 myhostname amavis[26139]: Module Digest::MD5         2.39
Nov 14 18:12:26 myhostname amavis[26139]: Module Digest::SHA         5.47
Nov 14 18:12:26 myhostname amavis[26139]: Module Encode              2.35
Nov 14 18:12:26 myhostname amavis[26139]: Module File::Temp          0.22
Nov 14 18:12:26 myhostname amavis[26139]: Module IO::Socket::INET6   2.56
Nov 14 18:12:26 myhostname amavis[26139]: Module MIME::Entity        5.427
Nov 14 18:12:26 myhostname amavis[26139]: Module MIME::Parser        5.427
Nov 14 18:12:26 myhostname amavis[26139]: Module MIME::Tools         5.427
Nov 14 18:12:26 myhostname amavis[26139]: Module Mail::DKIM::Signer  0.37
Nov 14 18:12:26 myhostname amavis[26139]: Module Mail::DKIM::Verifier 0.37
Nov 14 18:12:26 myhostname amavis[26139]: Module Mail::Header        2.04
Nov 14 18:12:26 myhostname amavis[26139]: Module Mail::Internet      2.04
Nov 14 18:12:26 myhostname amavis[26139]: Module Mail::SPF           v2.008
Nov 14 18:12:26 myhostname amavis[26139]: Module Mail::SpamAssassin  3.003001
Nov 14 18:12:26 myhostname amavis[26139]: Module Net::DNS            0.65
Nov 14 18:12:26 myhostname amavis[26139]: Module Net::Server         0.99
Nov 14 18:12:26 myhostname amavis[26139]: Module NetAddr::IP         4.027
Nov 14 18:12:26 myhostname amavis[26139]: Module Razor2::Client::Version 2.84
Nov 14 18:12:26 myhostname amavis[26139]: Module Scalar::Util        1.21
Nov 14 18:12:26 myhostname amavis[26139]: Module Socket              1.82
Nov 14 18:12:26 myhostname amavis[26139]: Module Socket6             0.23
Nov 14 18:12:26 myhostname amavis[26139]: Module Time::HiRes         1.9721
Nov 14 18:12:26 myhostname amavis[26139]: Module URI                 1.40
Nov 14 18:12:26 myhostname amavis[26139]: Module Unix::Syslog        1.1
Nov 14 18:12:26 myhostname amavis[26139]: Amavis::ZMQ code     NOT loaded
Nov 14 18:12:26 myhostname amavis[26139]: Amavis::DB code      loaded
Nov 14 18:12:26 myhostname amavis[26139]: SQL base code        NOT loaded
Nov 14 18:12:26 myhostname amavis[26139]: SQL::Log code        NOT loaded
Nov 14 18:12:26 myhostname amavis[26139]: SQL::Quarantine      NOT loaded
Nov 14 18:12:26 myhostname amavis[26139]: Lookup::SQL code     NOT loaded
Nov 14 18:12:26 myhostname amavis[26139]: Lookup::LDAP code    NOT loaded
Nov 14 18:12:26 myhostname amavis[26139]: AM.PDP-in proto code loaded
Nov 14 18:12:26 myhostname amavis[26139]: SMTP-in proto code   loaded
Nov 14 18:12:26 myhostname amavis[26139]: Courier proto code   NOT loaded
Nov 14 18:12:26 myhostname amavis[26139]: SMTP-out proto code  loaded
Nov 14 18:12:26 myhostname amavis[26139]: Pipe-out proto code  NOT loaded
Nov 14 18:12:26 myhostname amavis[26139]: BSMTP-out proto code NOT loaded
Nov 14 18:12:26 myhostname amavis[26139]: Local-out proto code loaded
Nov 14 18:12:26 myhostname amavis[26139]: OS_Fingerprint code  NOT loaded
Nov 14 18:12:26 myhostname amavis[26139]: ANTI-VIRUS code      loaded
Nov 14 18:12:26 myhostname amavis[26139]: ANTI-SPAM code       loaded
Nov 14 18:12:26 myhostname amavis[26139]: ANTI-SPAM-EXT code   NOT loaded
Nov 14 18:12:26 myhostname amavis[26139]: ANTI-SPAM-C code     NOT loaded
Nov 14 18:12:26 myhostname amavis[26139]: ANTI-SPAM-SA code    loaded
Nov 14 18:12:26 myhostname amavis[26139]: Unpackers code       loaded
Nov 14 18:12:26 myhostname amavis[26139]: DKIM code            loaded
Nov 14 18:12:26 myhostname amavis[26139]: Tools code           NOT loaded
Nov 14 18:12:26 myhostname amavis[26139]: Found $file            at /usr/bin/file
Nov 14 18:12:26 myhostname amavis[26139]: Found $altermime       at /usr/bin/altermime
Nov 14 18:12:26 myhostname amavis[26139]: Internal decoder for .mail
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .F    at /usr/bin/unfreeze
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .Z    at /usr/bin/uncompress
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .gz   at /usr/bin/gzip -d
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .bz2  at /usr/bin/bzip2 -d
Nov 14 18:12:26 myhostname amavis[26139]: No ext program for   .xz, tried: xzdec, xz -dc, unxz -c, xzcat
Nov 14 18:12:26 myhostname amavis[26139]: No ext program for   .lzma, tried: lzmadec, xz -dc --format=lzma, lzma -dc, unlzma -c, lzcat, lzmadec
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .lrz  at /usr/bin/lrzip -q -k -d -o -
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .lzo  at /usr/bin/lzop -d
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .rpm  at /usr/bin/rpm2cpio
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .cpio at /bin/cpio
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .tar  at /bin/cpio
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .deb  at /usr/bin/ar
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .rar  at /usr/bin/unrar
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .arj  at /usr/bin/unarj
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .arc  at /usr/bin/nomarch
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .zoo  at /usr/bin/zoo
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .cab  at /usr/bin/cabextract
Nov 14 18:12:26 myhostname amavis[26139]: Internal decoder for .tnef
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .zip  at /usr/bin/7za
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .kmz  at /usr/bin/7za
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .7z   at /usr/bin/7za
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .xz   at /usr/bin/7z
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .lzma at /usr/bin/7z
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .jar  at /usr/bin/7z
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .swf  at /usr/bin/7z
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .lha  at /usr/bin/7z
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .iso  at /usr/bin/7z
Nov 14 18:12:26 myhostname amavis[26139]: Found decoder for    .exe  at /usr/bin/unrar; /usr/bin/lha; /usr/bin/unarj
Nov 14 18:12:26 myhostname amavis[26139]: Using primary internal av scanner code for ClamAV-clamd
Nov 14 18:12:26 myhostname amavis[26139]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Nov 14 18:12:26 myhostname amavis[26139]: Deleting db files  in /var/spool/amavisd/db
Nov 14 18:12:26 myhostname amavis[26139]: Creating db in /var/spool/amavisd/db/; BerkeleyDB 0.43, libdb 4.7
Nov 14 18:12:26 myhostname clamd[26163]: Received 0 file descriptor(s) from systemd.
Nov 14 18:12:26 myhostname clamd[26163]: clamd daemon 0.99.2 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Nov 14 18:12:26 myhostname clamd[26163]: Running as user amavis (UID 489, GID 489)
Nov 14 18:12:26 myhostname clamd[26163]: Log file size limited to 1048576 bytes.
Nov 14 18:12:26 myhostname clamd[26163]: Reading databases from /var/lib/clamav
Nov 14 18:12:26 myhostname clamd[26163]: Not loading PUA signatures.
Nov 14 18:12:26 myhostname clamd[26163]: Bytecode: Security mode set to "TrustSigned".
Nov 14 18:18:07 myhostname postfix/smtpd[26578]: fatal: open database /etc/postfix/sender_whitelist.db: Bad file descriptor
Nov 14 18:18:08 myhostname postfix/master[26300]: warning: process /usr/libexec/postfix/smtpd pid 26578 exit status 1
Nov 14 18:18:08 myhostname postfix/master[26300]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

26
@Darkanoid

Let me know if you find something!

27
E-Mail / Re: How to Rebuild Postfix Mail Server
« on: November 12, 2016, 05:14:34 PM »
@Jae First thank you for your answer.

I tried rebuilding postfix including ClamAV, Amavis & Spamassassin and editing the configfiles.

I couldn't find the mail.cf file. (I found a main.cf but did not had the rule you said)
In the master.cf I commented the line and restarted the server. Still the same result. :(

28
E-Mail / Re: How to Rebuild Postfix Mail Server
« on: November 11, 2016, 01:54:45 PM »
I just started a new thread before I found this. I have the same problem :(

Hi,

whenever I select the following during Rebuild Postfix Mail Server, I can not send and receive email?

AntiSpam/AntiVirus (recommended): ClamAV, Amavis & Spamassassin, Requires 1Gb+ RAM

any ideas ?

thanks

29
E-Mail / Not able to mail when ClamAV, Amavis & Spamassassin are activated
« on: November 11, 2016, 01:51:36 PM »
Good afternoon!

I just started using CWP and everything is working fine.
The only problem I have is a problem with my mail. 
When I activate ClamAV, Amavis & Spamassassin I'm not able to send mails.

Does anyone have an idea what could be the problem?
Thank you!


Pages: 1 [2]