Roundcube Password change plugin

To enable the email account password change option from roundcube, you can edit file: /usr/local/cwpsrv/var/services/roundcube/plugins/password/config.inc.php Don't forget to replace your postfix user "PASSWORD" $config['password_driver'] = 'sql'; $config['password_db_dsn'] = 'mysqli://postfix:PASSWORD@localhost/postfix'; $config['password_query'] = "UPDATE mailbox SET password=CONCAT('{PLAIN-MD5}', MD5(%p)),modified=NOW() WHERE username=%u LIMIT 1"; You can find your postfix password here: grep pass /etc/postfix/mysql-virtual_mailbox_maps.cf

Read More

How to resolve spamming issue with postfix

How to resolve the spamming issue with your postfix mailserver having CWP. Before starting we should stop the postfix mailserver. service postix stop For start lets count the number of emails stuck in the mail server queue: postqueue -p | grep -c "^[A-Z0-9]" Select few similar emails and use IDs to check them postqueue -p […]

Read More

How to test SMTP with telnet

How to test the remote SMTP connection from your server by using telent. Before starting you will need to encoded your username and password with base 64 encoder. BASE64 Encoder websites https://www.base64encode.org http://www.freeformatter.com/base64-encoder.html http://encodertool.com/base64 SMTP Ports: 25, 465, 587 TEST CONNECTION telnet IP PORT EHLO >HOSTNAME< AUTH LOGIN >Your BASE64 encoded username< >Your BASE64 encoded […]

Read More

How to manually import emails

Instructions for manual import of the emails to your CWP server. 1. Create all required mailboxes via CWP 2. Login in each created mailbox (this will create required file and folder structure) 3. Copy the emails (like any other files) in /var/vmail/DOMAIN.COM/USERNAME 4. Fix Permissions (chown uploaded files vmail:mail) Example path for email account: mark.s@cwp.com […]

Read More

Tracking PHP Script SPAM

CWP is automatically saving to the log when PHP is sending mail using mail() function. This allows you to easily track a spammer by checking the log file. Minimum supported PHP version is: PHP 5.3 Log File: /usr/local/apache/logs/phpmail.log CWP will add a header to mail source for all outgoing emails sent by PHP scripts. Here […]

Read More

Resolve, Emails marked as SPAM

Are you emails ending up in the SPAM folder or are they marked as a SPAM ? You need to check for the tree most common issues: 1. Check rDNS if its properly set 2. Check that you have enabled DKIM 3. Check that you are not blacklisted 1. Check rDNS if its properly set […]

Read More

How to Rebuild Postfix Mail Server ?

Starting from the CWP version 0.9.6+ you have a new awesome Postfix Mail Server Manager (Re-Builder) With a single click you can select additional Mail Server options and ReBuild your mail server according to your needs. Location in the CWP.admin area Left Menu --> Email --> Postfix Manager Options - AntiSpam and AntiVirus Protection (Spamassassin […]

Read More

Postfix Mail Server commands

Video instructions for MailServer Stats Some useful postfix commands //postqueue -p is the same as mailq List mail queue and MAIL_ID's, list mail queue postqueue -p mailq Reload config service postfix reload Restart postfix server service postfix restart View the postfix version postconf mail_version Show default postfix values postconf -d Show non default postfix values […]

Read More