New in CWP Edge / LTSFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers. Available now in the Edge-Latest and LTS-Stable versions. Discuss in the forum

LSPHP / Cache ›
CWP Secure KernelKernel-level protectionEvery site in its own sandbox

Every PHP site, cron job and SSH session runs in its own profile that the kernel enforces. A hacked WordPress cannot read other accounts’ files, and crypto miners and unexpected processes are stopped. Discuss in the forum

Secure Kernel ›
CWP DataCenter PanelFree for CWPpro serversAll your servers on one screen

Manage all your CWP servers from one panel: live health, every hosting account, CWP and OS updates on many servers at once, backups, SSL, firewall and Telegram alerts. Discuss in the forum

DataCenter Panel ›
CWP Backup ServerFree for CWPpro serversBackups that ransomware cannot reach

Protected backups of all your CWP servers on a separate machine. Snapshots a hosting server cannot delete, and restore of files, databases, mail and whole accounts in the admin and user panel. Discuss in the forum

Backup Server ›
WordPress ManagerIncluded & freeWordPress managed from the panel

Install, secure, update, back up and clone WordPress sites without FTP. Updates are tested on a staging clone first and applied to the live site only when they pass, with a backup taken first. Discuss in the forum

WordPress Manager ›
CWP CageIsolationEvery account in its own cage

Per-account isolation built from Linux namespaces and cgroups. A break-in or a runaway script on one site cannot reach another account, the panel or the rest of the server; resource limits per hosting package. Discuss in the forum

CWP Cage ›
Script InstallerOne-click appsWordPress, Joomla, Moodle and more in one click

CWP’s own script installer in the user panel: pick an app, choose the domain and folder, and it is live in seconds with its database and admin login created automatically. Ready for LSPHP and LSAPI-Cache. Discuss in the forum

Script Installer ›
DNS ClusterFor every control panelOne DNS cluster for all your servers

Your servers keep creating domains as usual; the zones are collected into one authoritative PowerDNS cluster you control, with DNSSEC, roles and a full activity trail. Accepts CWP, cPanel, Plesk, DirectAdmin and BIND. Discuss in the forum

DNS Cluster ›
CWP BillingFree to useBilling and support system for hosting providers

Clients, services, invoices, payments, domains, server provisioning and support tickets in one place. All gateways, server modules and registrars are free, with free migration from WHMCS, ClientExec and Blesta. Discuss in the forum

CWP Billing ›
CWPproFrom $1.49 per monthEvery CWP feature unlocked

CWPpro is the professional version of Control Web Panel: all features, unlimited accounts, the latest CWP version and security fixes first. $1.49 per month or $11.99 per year. Discuss in the forum

Get CWPpro ›

Can send mail but cannot receive

Started by Boris, February 06, 2018, 08:36:14 AM

Previous topic - Next topic

Boris

Hi
I have issues with receiving email for my domain mydomain.com From postfix mail log, i can see the the received mail had been removed by queue manager but could not find its final destination in roundcube and there is no error log for roundcube. I have compiled mail server with AntiSpam/AntiVirus (recommended), rDNS Check (recommended):  and Install DKIM & SPF (recommended): options.

/var/log/maillog

Feb  6 08:18:59 tuxlab postfix/smtpd[10435]: connect from mail-oi0-x236.google.com[2607:f8b0:4003:c06::236]
Feb  6 08:18:59 tuxlab postfix/smtpd[10435]: Anonymous TLS connection established from mail-oi0-x236.google.com[2607:f8b0:4003:c06::236]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
Feb  6 08:18:59 tuxlab postfix/trivial-rewrite[10442]: warning: do not list domain mydomain.com in BOTH mydestination and virtual_mailbox_domains
Feb  6 08:19:00 tuxlab postfix/smtpd[10435]: 1A92682E8: client=mail-oi0-x236.google.com[2607:f8b0:4003:c06::236]
Feb  6 08:19:00 tuxlab postfix/cleanup[10446]: 1A92682E8: message-id=<CAJtoDzc1xNGMkUPvRtGzh+nCk=Sbf3Ck-xWgRkLVNiVPewQDoQ@mail.gmail.com>
Feb  6 08:19:00 tuxlab opendkim[7226]: 1A92682E8: mail-oi0-x236.google.com [2607:f8b0:4003:c06::236] not internal
Feb  6 08:19:00 tuxlab opendkim[7226]: 1A92682E8: not authenticated
Feb  6 08:19:00 tuxlab opendkim[7226]: 1A92682E8: DKIM verification successful
Feb  6 08:19:00 tuxlab postfix/qmgr[9099]: 1A92682E8: from=<testuser@gmail.com>, size=2751, nrcpt=1 (queue active)
Feb  6 08:19:00 tuxlab postfix/smtpd[10435]: disconnect from mail-oi0-x236.google.com[2607:f8b0:4003:c06::236]
Feb  6 08:19:00 tuxlab postfix/smtpd[10450]: connect from unknown[127.0.0.1]
Feb  6 08:19:00 tuxlab postfix/trivial-rewrite[10442]: warning: do not list domain mydomain.com in BOTH mydestination and virtual_mailbox_domains
Feb  6 08:19:00 tuxlab postfix/smtpd[10450]: DCB078422: client=unknown[127.0.0.1]
Feb  6 08:19:00 tuxlab postfix/cleanup[10446]: DCB078422: message-id=<CAJtoDzc1xNGMkUPvRtGzh+nCk=Sbf3Ck-xWgRkLVNiVPewQDoQ@mail.gmail.com>
Feb  6 08:19:00 tuxlab opendkim[7226]: DCB078422: no signing table match for 'testuser@gmail.com'
Feb  6 08:19:00 tuxlab opendkim[7226]: DCB078422: DKIM verification successful
Feb  6 08:19:00 tuxlab postfix/qmgr[9099]: DCB078422: from=<testuser@gmail.com>, size=3272, nrcpt=1 (queue active)
Feb  6 08:19:00 tuxlab postfix/smtpd[10450]: disconnect from unknown[127.0.0.1]
Feb  6 08:19:00 tuxlab postfix/trivial-rewrite[10442]: warning: do not list domain mydomain.com in BOTH mydestination and virtual_mailbox_domains
Feb  6 08:19:00 tuxlab postfix/trivial-rewrite[10442]: warning: do not list domain mydomain.com in BOTH mydestination and virtual_mailbox_domains
Feb  6 08:19:00 tuxlab postfix/trivial-rewrite[10442]: warning: do not list domain mydomain.com in BOTH mydestination and virtual_mailbox_domains
Feb  6 08:19:00 tuxlab postfix/local[10453]: DCB078422: to=<root@mydomain.com>, orig_to=<support@mydomain.com>, relay=local, delay=0.06, delays=0.05/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
Feb  6 08:19:00 tuxlab postfix/qmgr[9099]: DCB078422: removed
Feb  6 08:19:00 tuxlab amavis[7218]: (07218-03) Passed CLEAN {RelayedInbound}, [2607:f8b0:4003:c06::236]:34891 [2607:f8b0:4003:c06::236] <testuser@gmail.com> -> <support@mydomain.com>, Queue-ID: 1A92682E8, Message-ID: <CAJtoDzc1xNGMkUPvRt                       Gzh+nCk=Sbf3Ck-xWgRkLVNiVPewQDoQ@mail.gmail.com>, mail_id: cIWwRVEn_IHU, Hits: -0.798, size: 2843, queued_as: DCB078422,                        dkim_sd=20161025:gmail.com, 665 ms
Feb  6 08:19:00 tuxlab postfix/smtp[10447]: 1A92682E8: to=<support@mydomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.98, delays=0.29/0.02/0/0.67, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued                        as DCB078422)
Feb  6 08:19:00 tuxlab postfix/qmgr[9099]: 1A92682E8: removed


/var/log/dovecot.log

Feb 06 08:15:13 imap(support@mydomain.com): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Feb 06 08:15:13 dict: Error: Failed to initialize dictionary 'quotadict': dict mysql: Can't open configuration file /etc/dovecot/dovecot-dict-quota.conf: Permission denied
Feb 06 08:15:13 dict: Error: Failed to initialize dictionary 'quotadict': dict mysql: Can't open configuration file /etc/dovecot/dovecot-dict-quota.conf: Permission denied
Feb 06 08:15:13 imap(support@mydomain.com): Error: write(/var/run/dovecot/dict) failed: Broken pipe


Does it related to the 'permission denied' error ? I have checked the permission of the /etc/dovecot folder and it looks correct.


# ls -l /etc/dovecot/

total 24
drwxr-xr-x 2 root root 4096 Feb  3 05:40 conf.d
-rw-r--r-- 1 root root 2908 Feb  6 08:25 dovecot.conf
-rw-r--r-- 1 root root 2894 Feb  6 07:20 dovecot.conf_bkp
-rw-r----- 1 root mail  274 Feb  6 08:25 dovecot-dict-quota.conf
-rw-r----- 1 root mail  731 Feb  6 08:25 dovecot-mysql.conf
-rw-r--r-- 1 root root   54 Mar 27  2017 trash.conf

Can anyone point me where could be the error ?

Regards

Boris

Hi
I have changed myhostname to mail.mydomain.com from mydomain.com and now i can receive the mail.
Brris

cwp_user2018

I have the same problem any solution for it ?

ghoghnose

Hi Dear all, I have Same problem please help me :'( :'(

ejsolutions

Invalid hostname.
You should not have domain name as the hostname.
Another basic error, which isn't a CWP problem.   :-\