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

Pages: [1] 2
1
Installation / MongoDB Install failed
« on: July 07, 2020, 08:40:51 AM »
Cant install mongodb and this is the error appears.



Code: [Select]
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.glesys.net
 * epel: my.fedora.ipserverone.com
 * extras: mirrors.glesys.net
 * updates: mirrors.glesys.net
http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/repodata/repomd.xml: [Errno 14] curl#63 - "Callback aborted"
Trying other mirror.


 One of the configured repositories failed (MongoDB 2.6 Repository),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=mongodb-org-2.6 ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable mongodb-org-2.6
        or
            subscription-manager repos --disable=mongodb-org-2.6

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=mongodb-org-2.6.skip_if_unavailable=true

failure: repodata/repomd.xml from mongodb-org-2.6: [Errno 256] No more mirrors to try.
http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/repodata/repomd.xml: [Errno 14] curl#63 - "Callback aborted"
Redirecting to /bin/systemctl restart mongod.service
Failed to restart mongod.service: Unit not found.

2
PHP Selector / Re: How to add PHP 7.4 to PHP Selector 2 (CWP Pro)?
« on: June 18, 2020, 09:46:43 AM »
7.4 is not getting installed using the sellector.

Not working for me

3
CentOS Configuration / Re: How to configure SpamAssassin
« on: June 05, 2020, 02:13:36 AM »
Thank you. I just did that.

Your instructions to configure spamassassin definitely works!

They are now being tagged as spam. Finally.

But I want to further strengthen the security by completely blocking domains.

Went to do this one.
https://forum.centos-webpanel.com/e-mail/spam-config/

Now sure yet if it worked.

4
CentOS Configuration / Re: How to configure SpamAssassin
« on: June 04, 2020, 01:06:08 AM »
Thank you so much for this.

I am in desperately need of this config since I moved back to CWP.

I am getting an awful lots of unwanted emails and viruses.

Let me check and update this thread if it works.

The official instructions is definitely outdated because it didnt work for me.


Speaking of viruses, I am also in doubt that the Clamav email antivirus work.
I am receiving attachments in zip, img, pdf that turn out to be viruses.

Hopefully spamassassin will block them first hand.

5
Information / Email hosting only
« on: May 16, 2020, 12:17:41 AM »
Hi,

Can anyone guide me on how to create a package for email hosting only?
And not permit the user to create a website.

For every account, there is always a domain name and public_html. So by default, they can create websites.
But I am trying to figure out how can they be restricted in creating websites.

Perhaps setting nproc and apache_nproc to 0?


6
Apache / Re: Run Node js with CWP
« on: May 13, 2020, 12:16:14 AM »
Anyone please?

7
Information / How Incremental backup works? CWPpro
« on: May 10, 2020, 01:26:04 AM »
Hi,

For CWP pro users.

Is it just me or the incremental backup is just the same as full backup but uncompressed?

By definition: Incremental Backup
a security copy which contains only those files which have been altered since the last full backup.

But when I look at my backups, it's the whole account being backed up that is uncompressed.

8
Apache / Run Node js with CWP
« on: May 09, 2020, 05:18:49 AM »
I followed this guide to install node js

https://wiki.centos-webpanel.com/how-to-install-and-setup-node-js-on-cwp

After this part
Configure webservers for domain to be used for nodejs Application:
CWP.Admin left Menu -> Webserver settings -> Webserver Domain Conf -> Select Username -> Select Domain/Subdomain -> create configuration -> select any option with (custom port) -> check the box Rebuild webserver conf for domain on save -> Enter port number you have used in the application for the custom port, leave IP as 127.0.0.1 -> save changes


I get Service Unavailable.

Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Anyone here knows how to solve this?

My application requires LAMP.

I deployed a brand new server with just CWP just to see what's the issue. Same thing.

So i must be missing 1 step or CWP is creating this error.

9
Information / Re: Mailgun SMTP for Postfix
« on: May 09, 2020, 05:14:00 AM »
Hi All,

Thank you for your replies.

The provider was Vultr. And issue was the same with Upcloud and AWS.


Mailgun uses cyrus-sasl-plain.

By default, these are the only installed only

When you search for sasl

Code: [Select]
rpm -qa|grep sasl
cyrus-sasl-sql-2.1.26-23.el7.x86_64
cyrus-sasl-2.1.26-23.el7.x86_64
cyrus-sasl-devel-2.1.26-23.el7.x86_64
cyrus-sasl-lib-2.1.26-23.el7.x86_64

To fix

Code: [Select]
yum install cyrus-sasl-plain


11
Information / Re: Cannot create email in user side
« on: April 29, 2020, 08:12:43 AM »
Update:

Fixed at v0.9.8.965

12
Information / Cannot create email in user side
« on: April 28, 2020, 07:42:47 PM »
Anyone here experiencing CWP is unable to create new email addresses in the user side?

When you click Add, it will just stuck in processing.

I have 6 servers. 3 new ones. I noticed it with those first. Then I turned to my old 3 servers. And the same issue.


EDIT:

I confirm that this is an issue because CWP's own demo has the same issue.

In fact, I conclude that this is on the latest update. I created an email on the user side and it was a success. Then I logged in to the root user of the demo to update it to latest CWP update. After that, I logged in once again in the user and the issue is confirmed

13
Information / Mailgun SMTP for Postfix
« on: April 12, 2020, 10:55:29 AM »
Hi,

Im trying to use mailgun as SMTP for the postfix email server. So that any user email will be sent via Mailgun SMTP.

But I cannot get it working.

I followed the guide here
https://documentation.mailgun.com/en/latest/user_manual.html#smtp-relay


Some of the lines are already in the original main.cf config as default installation of CWP.
But I cannot get it working

I instantly see error SMTP Error (250): Authentication failed when I hit send.

Some config shows normal behavior. But I receive bounce email and the message is
Remote-MTA: dns; smtp.mailgun.org
Diagnostic-Code: smtp; 550 5.7.1 Relaying denied


Here is my config.


Code: [Select]
# postfix config file

# uncomment for debugging if needed
#soft_bounce=yes

# postfix main
mail_owner = postfix
setgid_group = postdrop
delay_warning_time = 4

# postfix paths
html_directory = no
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
queue_directory = /var/spool/postfix
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man

# network settings
inet_interfaces = all
mydomain = yourdomain.com
myhostname = "my.actualhostname.com"
mynetworks = $config_directory/mynetworks
mydestination = $myhostname =  "my.actualhostname.com"
relay_domains = proxy:mysql:/etc/postfix/mysql-relay_domains_maps.cf

# mail delivery
recipient_delimiter = +

# mappings
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
transport_maps = hash:/etc/postfix/transport
#local_recipient_maps =

# virtual setup
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_alias_default_maps.cf, proxy:mysql:/etc/postfix/mysql-virtual_alias_maps.cf, regexp                                                                                              :/etc/postfix/virtual_regexp
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf, proxy:mysql:/etc/postfix/mysql-virtual_alias_pipe_maps.cf
virtual_minimum_uid = 101
virtual_uid_maps = static:101
virtual_gid_maps = static:12
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1

# debugging
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
                 xxgdb $daemon_directory/$process_name $process_id & sleep 5

relayhost = [smtp.mailgun.org]:587
smtp_sasl_password_maps = static:mailgun@user.com:mysmtppassword

# authentication
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname =  "my.actualhostname.com"
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth

# tls config
smtp_use_tls = yes
smtpd_use_tls = yes
smtpd_tls_security_level = may
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
smtp_tls_session_cache_database = btree:$data_directory/smtp_tls_session_cache
# Change mail.example.com.* to your host name
smtpd_tls_key_file = /etc/pki/tls/private/hostname.key
smtpd_tls_cert_file = /etc/pki/tls/certs/hostname.bundle
smtpd_tls_CApath = /etc/ssl/certs

# rules restrictions
smtpd_client_restrictions =
smtpd_helo_restrictions =
smtpd_sender_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_non_fqdn_sender, reject_non_fqdn                                                                                              _recipient, reject_unknown_recipient_domain
# uncomment for realtime black list checks
# ,reject_rbl_client zen.spamhaus.org
# ,reject_rbl_client bl.spamcop.net
# ,reject_rbl_client dnsbl.sorbs.net
smtpd_helo_required = yes
unknown_local_recipient_reject_code = 550
disable_vrfy_command = yes
smtpd_data_restrictions = reject_unauth_pipelining

# Other options
# email size limit ~20Meg
message_size_limit = 204800000
mailbox_size_limit = 2048000000

# Vacation Scripts
vacation_destination_recipient_limit = 1
recipient_bcc_maps = proxy:mysql:/etc/postfix/mysql-virtual_vacation.cf

14
CentOS-WebPanel Bugs / Re: Bug on deleting cron job on user account
« on: January 03, 2018, 01:37:01 PM »
still not fixed. Anyone else experiencing the same problem?

both on my server and CWP official demo

15
CentOS-WebPanel Bugs / Re: Bug on deleting cron job on user account
« on: December 07, 2017, 12:11:53 AM »
Just tried the cwp official demo

http://demo1.centos-webpanel.com:2082

Same thing. So it's not fixed

Pages: [1] 2