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

Pages: [1]
1
I am trying to move server on (AlmaLinux release 9.4). Cwp to Cwp Migration error is "Connection not reached". Terminal is working but cwp to cwp module is not working.

on server terminal;

[root@server /]# export SSHPASS=xxxxxxx; /usr/bin/sshpass -e /usr/bin/ssh -p1111 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet  root@111.111.111.111
[root@ server /]# test -d /usr/local/cwp/ && echo 'true' || echo 'false'
true


on site cwp-to-cwp save after log file;

[root@server /]# tail -f /var/log/cwp/account_transfer.log
2024-06-09 10:57:49 export SSHPASS=**********;/usr/bin/sshpass -e ssh-copy-id "-p 1111" root@111.111.111.111 -o StrictHostKeyChecking=no 2>&1
2024-06-09 10:57:49 /usr/bin/ssh -p 1111 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet root@111.111.1111 test -d /usr/local/cwp/ && echo 'true' || echo 'false' 2>&1
2024-06-09 10:57:49 false


2
E-Mail / Re: Client host rejected: Access denied
« on: April 11, 2023, 08:12:01 AM »
It is default CWP config after rebuild all mail servers. I've read all the forums stackoverflow etc, tried all the suggestions but it didn't work.

3
E-Mail / Re: Client host rejected: Access denied
« on: April 10, 2023, 10:17:13 PM »
I did not change the conf file after rebuild mailserver

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
smtp_address_preference = ipv4

# 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 = mydomain.com
myhostname = mydomain.com
mynetworks = $config_directory/mynetworks
mydestination = $myhostname, localhost.$mydomain, localhost
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

virtual_uid_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_uid_maps.cf
virtual_gid_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_gid_maps.cf
virtual_transport = lmtp:unix:private/dovecot-lmtp

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

# authentication
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
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

# rules restrictions
smtpd_client_restrictions = reject_unknown_client
# smtpd_client_restrictions =
smtpd_helo_restrictions =
smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_whitelist, check_sender_access hash:/etc/postfix/sender_blacklist
smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10031, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.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

# Limit 500 emails per hour per email address
anvil_rate_time_unit = 3600s
smtpd_client_message_rate_limit = 500

# Vacation Scripts
vacation_destination_recipient_limit = 1
recipient_bcc_maps = proxy:mysql:/etc/postfix/mysql-virtual_vacation.cf
smtpd_milters = inet:127.0.0.1:8891
non_smtpd_milters = $smtpd_milters
milter_default_action = accept
milter_protocol = 2

4
E-Mail / Client host rejected: Access denied
« on: April 10, 2023, 09:11:52 PM »
Hi,
Please help me. I get the following error.

Apr 10 23:56:17 server postfix/smtpd[13250]: NOQUEUE: reject: RCPT from unknown[xx.xxx.xxx.xxx]: 554 5.7.1 : Client host rejected: Access denied; from= to= proto=ESMTP helo=
Apr 10 23:56:17 server postfix/smtpd[13250]: disconnect from unknown[xx.xxx.xxx.xxx] ehlo=2 starttls=1 mail=1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=6/8

- I rebuild all mail server, Reject Unknown Hostname was unchecked.
- I added my IP address to the whitelist. /etc/postfix/sender_whitelist xx.xxx.xxx.xxx OK
- After run postmap /etc/postfix/sender_whitelist command and I am still getting this errors.

I changed the /etc/postfix/main.cf setting many times but none of them worked.

5
PHP / Re: PHP Selector
« on: October 09, 2019, 08:55:52 AM »
same issue!!!
solution : dont use web panels

So you don't see the difference in word meaning between "switch" and "shut down server"? What next? You delete all my data one day because I use free version?

6
same issue!!!
+++++
Disable the feature in the UI if you really want people to sign up for pro.
+++++

7
CentOS-WebPanel Bugs / Re: CPU 100% clamd
« on: March 12, 2018, 10:49:06 AM »
gerasandor method and clamd_fix_100_cpu_usage does not work for me. anyone have another solution?

8
Backup / cifs mount backup
« on: September 26, 2017, 11:52:06 AM »
Hi

My backup server mount string like that. What's cwp autobackup user. I mean uid=root,gid=root is true?

//mybackupserver/backup /mnt/backups       cifs    iocharset=utf8,rw,credentials=/etc/backup-credentials.txt,uid=root,gid=root,file_mode=0660,dir_mode=0770 0       0

9
I found another attacker. Its brute force. I need to change the phpmyadmin directory. cwpsvc normal now.

79.137.32.215 - - [21/Sep/2017:16:08:53 +0300] "GET /phpmyadmin/index.php?pma_username=root&pma_password=hna1950&server=1&lang=de-utf-8&convcharset=iso-8859-1 HTTP/1.1" 301 345
79.137.32.215 - - [21/Sep/2017:16:08:54 +0300] "GET /phpmyadmin/index.php?pma_username=root&pma_password=hued&server=1&lang=de-utf-8&convcharset=iso-8859-1 HTTP/1.1" 301 342
79.137.32.215 - - [21/Sep/2017:16:08:54 +0300] "GET /phpmyadmin/index.php?pma_username=root&pma_password=hnyc&server=1&lang=de-utf-8&convcharset=iso-8859-1 HTTP/1.1" 301 342
79.137.32.215 - - [21/Sep/2017:16:08:55 +0300] "GET /phpmyadmin/index.php?pma_username=root&pma_password=ho&server=1&lang=de-utf-8&convcharset=iso-8859-1 HTTP/1.1" 301 340
79.137.32.215 - - [21/Sep/2017:16:08:55 +0300] "GET /phpmyadmin/index.php?pma_username=root&pma_password=hijinks&server=1&lang=de-utf-8&convcharset=iso-8859-1 HTTP/1.1" 301 345
79.137.32.215 - - [21/Sep/2017:16:08:55 +0300] "GET /phpmyadmin/index.php?pma_username=root&pma_password=ho-chi&server=1&lang=de-utf-8&convcharset=iso-8859-1 HTTP/1.1" 301 344
79.137.32.215 - - [21/Sep/2017:16:08:55 +0300] "GET /phpmyadmin/index.php?pma_username=root&pma_password=hueron&server=1&lang=de-utf-8&convcharset=iso-8859-1 HTTP/1.1" 301 344
79.137.32.215 - - [21/Sep/2017:16:08:56 +0300] "GET /phpmyadmin/index.php?pma_username=root&pma_password=ho-ming&server=1&lang=de-utf-8&convcharset=iso-8859-1 HTTP/1.1" 301 345

10
You are right. I found him. Thank you for help!

Sep 21 15:50:08 ext kernel: Firewall: *UDP_IN Blocked* IN=enp4s0 OUT= MAC=38:d5:47:c7:db:0f:2c:21:31:28:a2:c9:08:00 SRC=218.11.2.168 DST=xx.xx.xx.xx LEN=118 TOS=0x00 PREC=0x00 TTL=251 ID=52048 PROTO=UDP SPT=3000 DPT=1900 LEN=98
Sep 21 15:50:11 ext kernel: Firewall: *UDP_IN Blocked* IN=enp4s0 OUT= MAC=38:d5:47:c7:db:0f:2c:21:31:28:a2:c9:08:00 SRC=218.11.2.168 DST=xx.xx.xx.xx LEN=36 TOS=0x00 PREC=0x00 TTL=251 ID=32335 PROTO=UDP SPT=3000 DPT=123 LEN=16
Sep 21 15:50:14 ext kernel: Firewall: *UDP_IN Blocked* IN=enp4s0 OUT= MAC=38:d5:47:c7:db:0f:2c:21:31:28:a2:c9:08:00 SRC=218.11.2.168 DST=xx.xx.xx.xx LEN=118 TOS=0x00 PREC=0x00 TTL=251 ID=19685 PROTO=UDP SPT=3000 DPT=1900 LEN=98
Sep 21 15:50:15 ext kernel: Firewall: *UDP_IN Blocked* IN=enp4s0 OUT= MAC=38:d5:47:c7:db:0f:2c:21:31:28:a2:c9:08:00 SRC=218.11.2.168 DST=xx.xx.xx.xx LEN=118 TOS=0x00 PREC=0x00 TTL=251 ID=52453 PROTO=UDP SPT=3000 DPT=1900 LEN=98
Sep 21 15:50:17 ext kernel: Firewall: *UDP_IN Blocked* IN=enp4s0 OUT= MAC=38:d5:47:c7:db:0f:2c:21:31:28:a2:c9:08:00 SRC=218.11.2.168 DST=xx.xx.xx.xx LEN=29 TOS=0x00 PREC=0x00 TTL=251 ID=58445 PROTO=UDP SPT=3000 DPT=1434 LEN=9

11
Are you sure it's normal? We have install cwp 1 years ago. First time getting this errors.
We have another cwp server. Its not showing errors like that.

Please explain what cwpsvc is doing? top -u cwpsvc command always showing 2 process. 1 hour later its ending and starting again. another server showing nothing.

12
CentOS 7 Problems / cwpsvc high cpu usage. lfd sending email every 10 mins
« on: September 21, 2017, 10:08:27 AM »
I get an e-mail every 10 minutes from the server. what's the problem?
cwp restart and server reboot doesnt work..

lfd on xxxxxx: Excessive resource usage: cwpsvc (8078 (Parent PID:780))

Account:      cwpsvc
Resource:     Process Time
Exceeded:     3647 > 3600 (seconds)
Executable:   /usr/local/cwp/php71/sbin/php-fpm
Command Line: php-fpm: pool cwpsvc
PID:          8078 (Parent PID:780)
Killed:       No



strace -p 15097 -s 80 -o debug.txt output :

Code: [Select]
accept(0, {sa_family=AF_LOCAL, NULL}, [2]) = 3
poll([{fd=3, events=POLLIN}], 1, 5000)  = 1 ([{fd=3, revents=POLLIN}])
times({tms_utime=4129, tms_stime=229, tms_cutime=0, tms_cstime=0}) = 429814412
read(3, "\1\1\0\1\0\10\0\0", 8)         = 8
read(3, "\0\1\0\0\0\0\0\0", 8)          = 8
read(3, "\1\4\0\1\2\275\3\0", 8)        = 8
read(3, "\17,SCRIPT_FILENAME/usr/local/cwpsrv/var/services/pma/index.php\v\16SCRIPT_NAME/pma/i"..., 704) = 704
read(3, "\1\4\0\1\0\0\0\0", 8)          = 8
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={60, 0}}, NULL) = 0
rt_sigaction(SIGPROF, {0x7c0f00, [PROF], SA_RESTORER|SA_RESTART, 0x7f510d45d250}, {0x7c0f00, [PROF], SA_RESTORER|SA_RESTART, 0x7f510d45d250}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0
open("/usr/local/cwpsrv/var/services/pma/index.php", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=20807, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=20807, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=20807, ...}) = 0
mmap(NULL, 20807, PROT_READ, MAP_SHARED, 4, 0) = 0x7f510fbac000
getcwd("/usr/local/cwpsrv/var/services/pma", 4095) = 35
chdir("/usr/local/cwpsrv/var/services/pma") = 0
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={90, 0}}, NULL) = 0
munmap(0x7f510fbac000, 20807)           = 0
close(4)                                = 0
getcwd("/usr/local/cwpsrv/var/services/pma", 4096) = 35
open("/usr/local/cwpsrv/var/services/pma/libraries/common.inc.php", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=35171, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=35171, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=35171, ...}) = 0
mmap(NULL, 35171, PROT_READ, MAP_SHARED, 4, 0) = 0x7f510fba9000
munmap(0x7f510fba9000, 35171)           = 0
close(4)                                = 0
getcwd("/usr/local/cwpsrv/var/services/pma", 4096) = 35
getcwd("/usr/local/cwpsrv/var/services/pma", 4096) = 35
open("/usr/local/cwpsrv/var/services/pma/libraries/vendor_config.php", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=2330, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=2330, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=2330, ...}) = 0
mmap(NULL, 2330, PROT_READ, MAP_SHARED, 4, 0) = 0x7f510fc25000
munmap(0x7f510fc25000, 2330)            = 0
close(4)                                = 0
getcwd("/usr/local/cwpsrv/var/services/pma", 4096) = 35
open("/usr/local/cwpsrv/var/services/pma/libraries/php-gettext/gettext.inc", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=17451, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=17451, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=17451, ...}) = 0
mmap(NULL, 17451, PROT_READ, MAP_SHARED, 4, 0) = 0x7f510fbad000
munmap(0x7f510fbad000, 17451)           = 0
close(4)                                = 0
getcwd("/usr/local/cwpsrv/var/services/pma", 4096) = 35
lstat("/usr/local/cwpsrv/var/services/pma/./streams.php", 0x7ffc71ea3a70) = -1 ENOENT (No such file or directory)
lstat("/usr/local/cwp/php71/lib/php/streams.php", 0x7ffc71ea3a70) = -1 ENOENT (No such file or directory)
getcwd("/usr/local/cwpsrv/var/services/pma", 4096) = 35
lstat("/usr/local/cwpsrv/var/services/pma/./streams.php", 0x7ffc71ea3890) = -1 ENOENT (No such file or directory)
lstat("/usr/local/cwp/php71/lib/php/streams.php", 0x7ffc71ea3890) = -1 ENOENT (No such file or directory)
open("/usr/local/cwpsrv/var/services/pma/libraries/php-gettext/streams.php", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=3797, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=3797, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=3797, ...}) = 0
mmap(NULL, 3797, PROT_READ, MAP_SHARED, 4, 0) = 0x7f510fc25000
munmap(0x7f510fc25000, 3797)            = 0
close(4)                                = 0
getcwd("/usr/local/cwpsrv/var/services/pma", 4096) = 35
lstat("/usr/local/cwpsrv/var/services/pma/./gettext.php", 0x7ffc71ea3a70) = -1 ENOENT (No such file or directory)
lstat("/usr/local/cwp/php71/lib/php/gettext.php", 0x7ffc71ea3a70) = -1 ENOENT (No such file or directory)
getcwd("/usr/local/cwpsrv/var/services/pma", 4096) = 35
lstat("/usr/local/cwpsrv/var/services/pma/./gettext.php", 0x7ffc71ea3890) = -1 ENOENT (No such file or directory)
lstat("/usr/local/cwp/php71/lib/php/gettext.php", 0x7ffc71ea3890) = -1 ENOENT (No such file or directory)
open("/usr/local/cwpsrv/var/services/pma/libraries/php-gettext/gettext.php", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=12648, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=12648, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=12648, ...}) = 0
mmap(NULL, 12648, PROT_READ, MAP_SHARED, 4, 0) = 0x7f510fbae000
munmap(0x7f510fbae000, 12648)           = 0
close(4)                                = 0
getcwd("/usr/local/cwpsrv/var/services/pma", 4096) = 35
open("/usr/local/cwpsrv/var/services/pma/libraries/autoloader.php", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=450, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=450, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=450, ...}) = 0
mmap(NULL, 450, PROT_READ, MAP_SHARED, 4, 0) = 0x7f510fc25000
munmap(0x7f510fc25000, 450)             = 0
close(4)                                = 0
getcwd("/usr/local/cwpsrv/var/services/pma", 4096) = 35
open("/usr/local/cwpsrv/var/services/pma/libraries/Psr4Autoloader.php", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=4966, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=4966, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=4966, ...}) = 0
mmap(NULL, 4966, PROT_READ, MAP_SHARED, 4, 0) = 0x7f510fbb0000
munmap(0x7f510fbb0000, 4966)            = 0
close(4)                                = 0
access("./libraries/ErrorHandler.php", F_OK) = 0
getcwd("/usr/local/cwpsrv/var/services/pma", 4096) = 35
getcwd("/usr/local/cwpsrv/var/services/pma", 4096) = 35
open("/usr/local/cwpsrv/var/services/pma/libraries/ErrorHandler.php", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=16875, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=16875, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=16875, ...}) = 0
mmap(NULL, 16875, PROT_READ, MAP_SHARED, 4, 0) = 0x7f510fbad000
munmap(0x7f510fbad000, 16875)           = 0
close(4)                                = 0
getcwd("/usr/local/cwpsrv/var/services/pma", 4096) = 35
getcwd("/usr/local/cwpsrv/var/services/pma", 4096) = 35
open("/usr/local/cwpsrv/var/services/pma/libraries/core.lib.php", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=30656, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=30656, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=30656, ...}) = 0
mmap(NULL, 30656, PROT_READ, MAP_SHARED, 4, 0) = 0x7f510fbaa000
munmap(0x7f510fbaa000, 30656)           = 0
close(4)                                = 0
getcwd("/usr/local/cwpsrv/var/services/pma", 4096) = 35
open("/usr/local/cwpsrv/var/services/pma/libraries/string.lib.php", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=800, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=800, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=800, ...}) = 0
mmap(NULL, 800, PROT_READ, MAP_SHARED, 4, 0) = 0x7f510fc25000
munmap(0x7f510fc25000, 800)             = 0
close(4)                                = 0
getcwd("/usr/local/cwpsrv/var/services/pma", 4096) = 35
open("/usr/local/cwpsrv/var/services/pma/libraries/stringMb.lib.php", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1906, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=1906, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=1906, ...}) = 0
mmap(NULL, 1906, PROT_READ, MAP_SHARED, 4, 0) = 0x7f510fc25000
munmap(0x7f510fc25000, 1906)            = 0
...........................

13
CentOS-WebPanel Bugs / Re: Amavis not working
« on: September 18, 2017, 01:39:40 PM »
I found the solution

amavisd -u amavis -c /etc/amavisd/amavisd.conf debug
 
The value of variable $myhostname is "Mydomain", but should have been  a fully qualified domain name; perhaps uname(3) did not provide such. You must explicitly assign a FQDN of this host to variable $myhostname in amavisd.conf, or fix what uname(3) provides as a host's network name!

14
CentOS-WebPanel Bugs / Amavis not working
« on: September 18, 2017, 01:25:23 PM »
Hello

I did a clean CWP installation today. But amavis did not work for me. What am I doing wrong?

Sep 18 15:17:19.407 mydomain.com /usr/sbin/amavisd[4519]: logging initialized, log level 1, syslog: amavis.mail
Sep 18 15:17:19.407 mydomain.com /usr/sbin/amavisd[4519]: sd_notify (no socket): STATUS=Config files have been read, modules loaded.
Sep 18 15:17:19.407 mydomain.com /usr/sbin/amavisd[4519]: no $pid_file configured, not checking it
Sep 18 15:17:19.407 mydomain.com /usr/sbin/amavisd[4519]: starting. /usr/sbin/amavisd at mydomain.com amavisd-new-2.11.0 (20160426), Unicode aware, LANG="en_US.UTF-8"
Sep 18 15:17:19.407 mydomain.com /usr/sbin/amavisd[4519]: perl=5.016003, user=amavis, EUID: 988 (988);  group=, EGID: 986 (986)
Sep 18 15:17:19.429 mydomain.com /usr/sbin/amavisd[4519]: INFO: no optional modules: unicore::lib::Nt::De.pl Unix::Getrusage
Sep 18 15:17:19.429 mydomain.com /usr/sbin/amavisd[4519]: SpamControl: attempting to load scanner SpamAssassin, module Amavis::SpamControl::SpamAssassin
Sep 18 15:17:19.429 mydomain.com /usr/sbin/amavisd[4519]: SpamControl: scanner SpamAssassin, module Amavis::SpamControl::SpamAssassin
Sep 18 15:17:19.574 mydomain.com /usr/sbin/amavisd[4519]: INFO: SA version: 3.4.0, 3.004000, no optional modules: Net::CIDR::Lite Image::Info Image::Info::GIF Image::Info::JPEG Image::Info::PNG Image::Info::BMP Image::Info::TIFF
Sep 18 15:17:19.574 mydomain.com /usr/sbin/amavisd[4519]: SpamControl: init_pre_chroot on SpamAssassin done
Sep 18 15:17:19.574 mydomain.com /usr/sbin/amavisd[4519]: socket module IO::Socket::IP, protocol families available: INET, INET6
Sep 18 15:17:19.575 mydomain.com /usr/sbin/amavisd[4519]: will bind to /var/amavis/amavisd.sock|unix, 127.0.0.1:10024/tcp, [::1]:10024/tcp
Sep 18 15:17:19.575 mydomain.com /usr/sbin/amavisd[4519]: sd_notify (no socket): STATUS=Transferring control to Net::Server.
Sep 18 15:17:19.575 mydomain.com /usr/sbin/amavisd[4519]: sd_notify (no socket): STATUS=Preparing to bind sockets.
Sep 18 15:17:19.575 mydomain.com /usr/sbin/amavisd[4519]: Net::Server: 2017/09/18-15:17:19 Amavis (type Net::Server::PreForkSimple) starting! pid(4519)
Sep 18 15:17:19.578 mydomain.com /usr/sbin/amavisd[4519]: Net::Server: Binding to UNIX socket file "/var/amavis/amavisd.sock"
Sep 18 15:17:19.578 mydomain.com /usr/sbin/amavisd[4519]: (!)Net::Server: 2017/09/18-15:17:19 Can't connect to UNIX socket at file /var/amavis/amavisd.sock [No such file or directory]\n  at line 70 in file /usr/share/perl5/vendor_perl/Net/Server/Proto/UNIX.pm
Sep 18 15:17:19.578 mydomain.com /usr/sbin/amavisd[4519]: sd_notify (no socket): STOPPING=1\nSTATUS=Server rundown, notifying child processes.
Sep 18 15:17:19.578 mydomain.com /usr/sbin/amavisd[4519]: Net::Server: 2017/09/18-15:17:19 Server closing!
Sep 18 15:17:19.578 mydomain.com /usr/sbin/amavisd[4519]: sd_notify (no socket): STATUS=Child processes have been stopped.

15
CentOS 6 Problems / Re: CentOS6 Upgrade
« on: May 17, 2017, 09:41:11 PM »
can you help me please?

Code: [Select]
Starting httpd: AH00548: NameVirtualHost has no effect and will be removed in the next release /usr/local/apache/conf/sharedip.conf:1
AH00526: Syntax error on line 9 of /usr/local/apache/conf.d/webmail.conf:
Invalid command 'ProxyPass', perhaps misspelled or defined by a module not included in the server configuration
                                                           [FAILED]

Pages: [1]