<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Control WebPanel Wiki &#187; E-Mail</title>
	<atom:link href="https://wiki.centos-webpanel.com/category/e-mail/feed" rel="self" type="application/rss+xml" />
	<link>https://wiki.centos-webpanel.com</link>
	<description>CentOS WebPanel Wiki</description>
	<lastBuildDate>Wed, 12 Feb 2025 20:38:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>Postfix Blacklist/Whitelist Domain or IP</title>
		<link>https://wiki.centos-webpanel.com/postfix-blacklist-domain-or-ip</link>
		<comments>https://wiki.centos-webpanel.com/postfix-blacklist-domain-or-ip#comments</comments>
		<pubDate>Fri, 14 Jan 2022 21:51:58 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[Block Spam Domain]]></category>
		<category><![CDATA[sender_access]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1692</guid>
		<description><![CDATA[This option works only if you have rebuilt the mail server in cwp.admin with antispam. You can blacklist or whitelist incoming emails in the following files: /etc/postfix/sender_blacklist /etc/postfix/sender_whitelist After making changes you need to run the following command for the files you edited postmap /etc/postfix/sender_blacklist postmap /etc/postfix/sender_whitelist Options: # Example for blacklisting domains/IP's or emails, [&#8230;]]]></description>
				<content:encoded><![CDATA[<div class="st-alert st-alert- ">We recommend that you rebuild the mail server with antispam before using this info if your mail server was rebuilt before 14.01.2022.</div>
<p>This option works only if you have rebuilt the mail server in cwp.admin with antispam.<br />
You can blacklist or whitelist incoming emails in the following files:</p>
<pre>/etc/postfix/sender_blacklist
/etc/postfix/sender_whitelist</pre>
<p>After making changes you need to run the following command for the files you edited</p>
<pre>postmap /etc/postfix/sender_blacklist
postmap /etc/postfix/sender_whitelist</pre>
<p><strong>Options: </strong><br />
# Example for blacklisting domains/IP's or emails, one per line:</p>
<pre>1.2.3.4 REJECT
1.2.3.5 REJECT
mail.freemailer.tld REJECT We don't allow emails from mail.freemailer.tld
test@test.test REJECT</pre>
<p>After <strong>REJECT</strong> you can add the message which will be returned to the sender.<br />
The whitelist is the same only difference is that instead of <strong>REJECT</strong> you use <strong>OK</strong>.</p>
<p>Example for whitelisting domains/IP's, one per line:</p>
<pre>1.2.3.4 OK
1.2.3.5 OK
mail.freemailer.tld OK
test@test.test OK</pre>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/postfix-blacklist-domain-or-ip/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install DKIM 2048 bits long key</title>
		<link>https://wiki.centos-webpanel.com/how-to-install-dkim-2048-bits-long-key</link>
		<comments>https://wiki.centos-webpanel.com/how-to-install-dkim-2048-bits-long-key#comments</comments>
		<pubDate>Sun, 09 Jan 2022 20:41:36 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[dkim 2048]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1675</guid>
		<description><![CDATA[You might need to install a custom DKIM key on your CWP DNS/bind server in case if you use your CWP server for nameservers and you use some external mail server with a custom DKIM key. In the user panel, you can do that by using DNS Zone Editor. Add New TXT Record and make [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>You might need to install a custom DKIM key on your CWP DNS/bind server in case if you use your CWP server for nameservers and you use some external mail server with a custom DKIM key.</p>
<p>In the user panel, you can do that by using DNS Zone Editor.<br />
Add New TXT Record and make sure you split 2048 bit long key in half and wrap in quotes.</p>
<p><strong>Example of the full key:</strong></p>
<pre>v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlTtO1qRFaK955gz16Y8c1EMCqtaT4exCrwfor2yT438ZVjrUcqo2tPUNR4eqkD+xcKRQnWSw931uVUY6YJWtOrgrXTIrHnTkf5Xtg+jaXr0OhjdeVDIG/Le7oOVWncMf+9J4ZSRybOpb+XZPp/JLjis6pmCLrt5j82yBC9DCbsEPSOVVOC1mr5lq8irQs+qAv6M/DnjNcUrdiRBJyNrs2lfuvfs8BFceZAk1AwcVBcYCmZl5OkxZBn8liTC34FPJLLHm6jMp9+c0OaEtxo8zr3QX0ZYEWC3XqZ/p9fo4Pcg+fpyjee79wBVqUzhVAWdzE5+qAIn4e1Dmslyb6IX4mwIDAQAB</pre>
<p><strong>Example of key split, first half:</strong></p>
<pre>v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlTtO1qRFaK955gz16Y8c1EMCqtaT4exCrwfor2yT438ZVjrUcqo2tPUNR4eqkD+xcKRQnWSw931uVUY6YJWtOrgrXTIrHnTkf5Xtg+jaXr0OhjdeVDIG/Le7oOVWncMf+9J4ZSRybOpb+XZPp/JLjis6pmC</pre>
<p><strong>second half:</strong></p>
<pre>Lrt5j82yBC9DCbsEPSOVVOC1mr5lq8irQs+qAv6M/DnjNcUrdiRBJyNrs2lfuvfs8BFceZAk1AwcVBcYCmZl5OkxZBn8liTC34FPJLLHm6jMp9+c0OaEtxo8zr3QX0ZYEWC3XqZ/p9fo4Pcg+fpyjee79wBVqUzhVAWdzE5+qAIn4e1Dmslyb6IX4mwIDAQAB</pre>
<p><strong>And now you can add it like this, both parts wrapped in the quotes:</strong></p>
<pre>"v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlTtO1qRFaK955gz16Y8c1EMCqtaT4exCrwfor2yT438ZVjrUcqo2tPUNR4eqkD+xcKRQnWSw931uVUY6YJWtOrgrXTIrHnTkf5Xtg+jaXr0OhjdeVDIG/Le7oOVWncMf+9J4ZSRybOpb+XZPp/JLjis6pmC" "Lrt5j82yBC9DCbsEPSOVVOC1mr5lq8irQs+qAv6M/DnjNcUrdiRBJyNrs2lfuvfs8BFceZAk1AwcVBcYCmZl5OkxZBn8liTC34FPJLLHm6jMp9+c0OaEtxo8zr3QX0ZYEWC3XqZ/p9fo4Pcg+fpyjee79wBVqUzhVAWdzE5+qAIn4e1Dmslyb6IX4mwIDAQAB"</pre>
<p><em>* Wrap in quotes both parts and split it by space in the same line.</em></p>
<p><a href="http://wiki.centos-webpanel.com/wp-content/uploads/2022/01/Screenshot-from-2022-01-09-21-39-00.png"><img src="http://wiki.centos-webpanel.com/wp-content/uploads/2022/01/Screenshot-from-2022-01-09-21-39-00-1024x360.png" alt="Screenshot from 2022-01-09 21-39-00" width="980" height="345" class="alignnone size-large wp-image-1678" /></a></p>
<hr />
<h3>Manual Instructions:</h3>
<p>As an admin, you can also add it manually by editing the DNS zone file in /var/named/DOMAIN.COM.db ,example:</p>
<pre>default._domainkey 14400 IN TXT "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlTtO1qRFaK955gz16Y8c1EMCqtaT4exCrwfor2yT438ZVjrUcqo2tPUNR4eqkD+xcKRQnWSw931uVUY6YJWtOrgrXTIrHnTkf5Xtg+jaXr0OhjdeVDIG/Le7oOVWncMf+9J4ZSRybOpb+XZPp/JLjis6pmC" "Lrt5j82yBC9DCbsEPSOVVOC1mr5lq8irQs+qAv6M/DnjNcUrdiRBJyNrs2lfuvfs8BFceZAk1AwcVBcYCmZl5OkxZBn8liTC34FPJLLHm6jMp9+c0OaEtxo8zr3QX0ZYEWC3XqZ/p9fo4Pcg+fpyjee79wBVqUzhVAWdzE5+qAIn4e1Dmslyb6IX4mwIDAQAB"</pre>
<p>Then reload named/bind</p>
<pre>service named reload</pre>
<hr />
<h3>TESTING</h3>
<p>The output should show the full dkim line</p>
<pre>dig TXT default._domainkey.DOMAIN.COM @10.10.10.10</pre>
<p><em>* replace <strong>DOMAIN.COM</strong> and IP <strong>10.10.10.10</strong> with CWP IP</em></p>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/how-to-install-dkim-2048-bits-long-key/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SpamAssassins Learning</title>
		<link>https://wiki.centos-webpanel.com/spamassassins-learning</link>
		<comments>https://wiki.centos-webpanel.com/spamassassins-learning#comments</comments>
		<pubDate>Mon, 27 Dec 2021 20:58:08 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[SpamAssassins Learning]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1646</guid>
		<description><![CDATA[Learn SpamAssassins about new spam messages Before starting, by using your mail client move all spam messages to a custom folder named Junk and then you can scan that folder as Junk/Spam. sa-learn -p /home/USER/.spamassassin/user_prefs --spam /var/vmail/DOMAIN.TLD/ACCOUNT/.Junk/{cur,new} By default, SpamAssassins will deny messages or save them in the folder /var/vmail/DOMAIN.TLD/ACCOUNT/.Spam/ Learn SpamAssassins about NOT spam [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><strong>Learn SpamAssassins about new spam messages</strong><br />
Before starting, by using your mail client move all spam messages to a custom folder named <strong>Junk</strong> and then you can scan that folder as Junk/Spam.</p>
<pre>sa-learn -p /home/USER/.spamassassin/user_prefs --spam /var/vmail/DOMAIN.TLD/ACCOUNT/.Junk/{cur,new}</pre>
<p><em>By default, SpamAssassins will deny messages or save them in the folder /var/vmail/DOMAIN.TLD/ACCOUNT/.Spam/</em></p>
<p><strong>Learn SpamAssassins about NOT spam messages</strong><br />
Before starting, by using your mail client move all valid messages to a custom folder named <strong>Seen</strong> and then scan it with <strong>--ham</strong>, example:</p>
<pre>sa-learn -p /home/USER/.spamassassin/user_prefs --ham /var/vmail/DOMAIN.TLD/ACCOUNT/.Seen/{cur,new}</pre>
<p>Don't forget to replace <strong>USER</strong>, <strong>DOMAIN.TLD</strong>, and <strong>ACCOUNT</strong><br />
Example for mailbox <strong>john@testaccount.com</strong> owned by system user <strong>testacc</strong>:</p>
<pre>sa-learn -p /home/testacc/.spamassassin/user_prefs --spam /var/vmail/testaccount.com/john/.Junk/{cur,new}</pre>
<p>More info about SpamAssassins<br />
<a href="https://spamassassin.apache.org/full/3.1.x/doc/sa-learn.html" target="_blank">https://spamassassin.apache.org/full/3.1.x/doc/sa-learn.html</a></p>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/spamassassins-learning/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test SpamAssassin and ClamAV</title>
		<link>https://wiki.centos-webpanel.com/test-spamassassin-and-clamav</link>
		<comments>https://wiki.centos-webpanel.com/test-spamassassin-and-clamav#comments</comments>
		<pubDate>Mon, 27 Dec 2021 12:41:56 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[clamav]]></category>
		<category><![CDATA[spamassassin]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1640</guid>
		<description><![CDATA[By default when you rebuild the mail server in CWP with antispam then it comes with enabled ClamAV &#038; SpamAssassin protection. You can enable it from CWP.admin by going to MailServer Manager. Test ClamAV Send an email with content X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H* If ClamAV works you will see the following in the log: /var/log/maillog Dec 27 07:22:42 [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>By default when you rebuild the mail server in CWP with antispam then it comes with enabled ClamAV &#038; SpamAssassin protection.<br />
You can enable it from CWP.admin by going to MailServer Manager.</p>
<h3>Test ClamAV</h3>
<p>Send an email with content</p>
<pre>X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*</pre>
<p>If ClamAV works you will see the following in the log: <strong>/var/log/maillog</strong></p>
<pre>
Dec 27 07:22:42 cwp1 clamd[17958]: /var/spool/amavisd/tmp/amavis-20211227T071305-18132-Ocyoo8yY/parts/p001: {HEX}EICAR.TEST.3.UNOFFICIAL FOUND

Dec 27 07:22:42 cwp1 amavis[18132]: (18132-02) Blocked INFECTED ({HEX}EICAR.TEST.3.UNOFFICIAL) {DiscardedOpenRelay,Quarantined}, [209.85.216.47]:46925 [209.85.216.47] <cwptest@gmail.com> -> <mailbox@centos-webpanel.com>, Queue-ID: 9762E703FD2, Message-ID: <CAPpHnLrWNtv33LpLmFMQ=tXsttb1GuLL=Gh1=QNQZA-H+9rWeg@mail.gmail.com>, mail_id: TKHZnGx2Bs7T, Hits: -, size: 3868, dkim_sd=20210112:gmail.com, 111 ms

Dec 27 07:22:42 cwp1 postfix/smtp[12663]: 9762E703FD2: to=<mailbox@centos-webpanel.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.34, delays=0.21/0.02/0/0.11, dsn=2.7.0, status=sent (250 2.7.0 Ok, discarded, id=18132-02 - INFECTED: {HEX}EICAR.TEST.3.UNOFFICIAL)</pre>
<h3>Test SpamAssassin</h3>
<p>Send an email with content:</p>
<pre>XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X</pre>
<p>If SpamAssassin works you will see the following in the log: <strong>/var/log/maillog</strong></p>
<pre>Dec 27 07:25:37 cwp1 amavis[18133]: (18133-02) Blocked SPAM {DiscardedOpenRelay,Quarantined}, [209.85.215.174]:37637 [209.85.215.174] <cwptest@gmail.com> -> <mailbox@centos-webpanel.com>, Queue-ID: 59C16703FD2, Message-ID: <CAPpHnLrfq+9m1gdBmrNtkn97CERDqhbs7nestLeqxkNCewqrrg@mail.gmail.com>, mail_id: vES-jRB7LKPt, Hits: 999.904, size: 3903, dkim_sd=20210112:gmail.com, 579 ms</pre>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/test-spamassassin-and-clamav/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RoundCube (Internal Server Error)</title>
		<link>https://wiki.centos-webpanel.com/roundcube-internal-server-error</link>
		<comments>https://wiki.centos-webpanel.com/roundcube-internal-server-error#comments</comments>
		<pubDate>Tue, 21 Dec 2021 13:08:32 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[RoundCube - Internal Server Error]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1636</guid>
		<description><![CDATA[If you're getting Server error (Internal Server Error) in Roundcube that is because you've some incompatible version of the Roundcube mail client is installed on your server which we didn't currently support. To fix the issue you need to run these commands one by one : First run the CWP Update script that will ensure [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>If you're getting <strong>Server error (Internal Server Error) </strong>in Roundcube that is because you've some incompatible version of the Roundcube mail client is installed on your server which we didn't currently support. To fix the issue you need to run these commands one by one :</p>
<p><strong>First</strong> run the<strong> CWP Update script</strong> that will ensure you've latest version of CWP :</p>
<pre>sh /scripts/update_cwp
</pre>
<p><strong>Second</strong> run the<strong> CWP roundcube update script</strong> :</p>
<pre>sh /scripts/mail_roundcube_update
</pre>
<p>This will install supported version of Roundcube and error will be fixed, if you're <strong>still getting internal error</strong> then you need run this script to fix the mail permissions :</p>
<pre>/scripts/cwp_api account mail_fix_permissions
</pre>
<p><em>* pleas note that on servers with big /var/vmail folder this can take some time</em></p>
<p><strong>Make sure you also check the logs</strong><br />
/usr/local/cwpsrv/var/services/roundcube/logs/errors.log<br />
/var/log/dovecot.log</p>
<p><strong>Permissions for /var/vmail</strong></p>
<pre>chown vmail.mail /var/vmail
chmod 770 /var/vmail</pre>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/roundcube-internal-server-error/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dkim double signature</title>
		<link>https://wiki.centos-webpanel.com/dkim-double-signature</link>
		<comments>https://wiki.centos-webpanel.com/dkim-double-signature#comments</comments>
		<pubDate>Sun, 28 Nov 2021 18:52:24 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[Dkim Double Signature]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1607</guid>
		<description><![CDATA[This issue can happen when using amavis. In case you have a double email signature you can edit your postfix config. File: /etc/postfix/master.cf smtp inet n - n - - smtpd -o content_filter=smtp-amavis:127.0.0.1:10024 -o receive_override_options=no_address_mappings After no_address_mappings add no_milters , example: smtp inet n - n - - smtpd -o content_filter=smtp-amavis:127.0.0.1:10024 -o receive_override_options=no_address_mappings,no_milters After changes [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>This issue can happen when using amavis.<br />
In case you have a double email signature you can edit your postfix config.</p>
<div class="st-alert st-alert- ">
However, mostly double dkim is NOT an issue, you need to be sure that your dkim signature is added on the DNS servers (if you are using an external DNS).
</div>
<p>File: <strong>/etc/postfix/master.cf</strong></p>
<pre>smtp	  inet  n	-	n	-	-	smtpd
  -o content_filter=smtp-amavis:127.0.0.1:10024
  -o receive_override_options=no_address_mappings</pre>
<p>After <strong>no_address_mappings</strong> add <strong>no_milters</strong> , example:</p>
<pre>
smtp	  inet  n	-	n	-	-	smtpd
  -o content_filter=smtp-amavis:127.0.0.1:10024
  -o receive_override_options=no_address_mappings,no_milters</pre>
<p>After changes restart postfix:</p>
<pre>service postfix restart</pre>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/dkim-double-signature/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To reduce the amount of spam sent to Gmail</title>
		<link>https://wiki.centos-webpanel.com/to-reduce-the-amount-of-spam-sent-to-gmail</link>
		<comments>https://wiki.centos-webpanel.com/to-reduce-the-amount-of-spam-sent-to-gmail#comments</comments>
		<pubDate>Fri, 23 Apr 2021 08:40:53 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[E-Mail]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1551</guid>
		<description><![CDATA[Since many today have an issue with the gmail blocking them in case of the spam, here is a short info about it. If you see in your postfix log file /var/log/maillog messages like: Mar 29 08:13:02 cwp-mailserver postfix/smtp[12934]: A35C2137013: to=, relay=gmail-smtp-in.l.google.com[173.194.69.26]:25, delay=1.1, delays=0.1/0.02/0.61/0.34, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[173.194.69.26] said: 550-5.7.1 [85.111.34.35 12] Our system has [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Since many today have an issue with the gmail blocking them in case of the spam, here is a short info about it.</p>
<p>If you see in your postfix log file <strong>/var/log/maillog</strong> messages like:</p>
<pre>
Mar 29 08:13:02 cwp-mailserver postfix/smtp[12934]: A35C2137013: to=<someone@gmail.com>, relay=gmail-smtp-in.l.google.com[173.194.69.26]:25, delay=1.1, delays=0.1/0.02/0.61/0.34, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[173.194.69.26] said: 550-5.7.1 [85.111.34.35      12] Our system has detected that this message is 550-5.7.1 likely unsolicited mail. To reduce the amount of spam sent to Gmail, 550-5.7.1 this message has been blocked. Please visit 550-5.7.1  https://support.google.com/mail/?p=UnsolicitedMessageError 550 5.7.1  for more information. hc31si12141407ejc.524 - gsmtp (in reply to end of DATA command))
</pre>
<p>This can mean in some cases that gmail blocked your domain and/or IP address.<br />
In a case of the blocked domain when you resolve the issue with spam they could continue to block all the emails for the next 30 days.</p>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/to-reduce-the-amount-of-spam-sent-to-gmail/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postfix send email from dedicated ip address</title>
		<link>https://wiki.centos-webpanel.com/postfix-send-email-from-dedicated-ip-address</link>
		<comments>https://wiki.centos-webpanel.com/postfix-send-email-from-dedicated-ip-address#comments</comments>
		<pubDate>Tue, 19 Jan 2021 17:55:34 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[Postfix Dedicated IP]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1538</guid>
		<description><![CDATA[Create file called sdd_transport_maps.regexp: /@customer1-dom\.tld$/ customer1: /@customer2-dom\.tld$/ customer2: /@customer3-dom\.tld$/ customer3: ..... next ..... In master.cf create special transport called customer1, customer2, customer3….and so on customer1 unix - - n - - smtp -o smtp_bind_address=1.1.1.1 -o smtp_helo_name=customer1-dom.tld -o syslog_name=postfix-customer1 customer2 unix - - n - - smtp -o smtp_bind_address=1.1.1.2 -o smtp_helo_name=customer2-dom.tld -o syslog_name=postfix-customer2 customer3 unix - [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Create file called sdd_transport_maps.regexp:</p>
<pre class="brush: plain; title: ; notranslate" title="">/@customer1-dom\.tld$/		customer1:
/@customer2-dom\.tld$/		customer2:
/@customer3-dom\.tld$/		customer3:
..... next .....
</pre>
<p>In master.cf create special transport called customer1, customer2, customer3….and so on</p>
<pre class="brush: plain; title: ; notranslate" title="">customer1  unix -       -       n       -       -       smtp
   -o smtp_bind_address=1.1.1.1
   -o smtp_helo_name=customer1-dom.tld
   -o syslog_name=postfix-customer1

customer2  unix -       -       n       -       -       smtp
   -o smtp_bind_address=1.1.1.2
   -o smtp_helo_name=customer2-dom.tld
   -o syslog_name=postfix-customer2

customer3  unix -       -       n       -       -       smtp
   -o smtp_bind_address=1.1.1.3
   -o smtp_helo_name=customer3-dom.tld
   -o syslog_name=postfix-customer3

..... next .....
</pre>
<p>In main.cf add <strong>sender_dependent_default_transport_maps</strong> line:</p>
<pre class="brush: plain; title: ; notranslate" title="">sender_dependent_default_transport_maps = regexp:/etc/postfix/sdd_transport_maps.regexp
</pre>
<p>Don’t forget to create ip aliasing for each ip address in smtp_bind_address</p>
<p>reload/ restart postfix</p>
<pre class="brush: bash; title: ; notranslate" title=""># service postfix restart
</pre>
<p><strong>to set for server-wide for all clients</strong><br />
You want smtp_bind_address=66.66.66.67 and inet_interfaces=all<br />
or inet_interfaces=eth(whatever) that 66.66.66.67 is on.<br />
and RESTART postfix</p>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/postfix-send-email-from-dedicated-ip-address/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Roundcube Update</title>
		<link>https://wiki.centos-webpanel.com/roundcube-update</link>
		<comments>https://wiki.centos-webpanel.com/roundcube-update#comments</comments>
		<pubDate>Thu, 05 Nov 2020 08:59:52 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[Roundcube update]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1504</guid>
		<description><![CDATA[You can easily update your RoundCube to the latest version by using this command: sh /scripts/mail_roundcube_update The latest version will also bring you the new RoundCube skin elastic. If you skin is not set to elastic you can do it by yourself - check that you have this folder: /usr/local/cwpsrv/var/services/roundcube/skins/elastic - then run the command [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>You can easily update your RoundCube to the latest version by using this command:</p>
<pre>sh /scripts/mail_roundcube_update</pre>
<p>The latest version will also bring you the new RoundCube skin <strong>elastic</strong>.</p>
<p>If you skin is not set to <strong>elastic</strong> you can do it by yourself<br />
- check that you have this folder: /usr/local/cwpsrv/var/services/roundcube/skins/elastic<br />
- then run the command to set the elastic skin as default</p>
<pre>sed -i "s/larry/elastic/g" /usr/local/cwpsrv/var/services/roundcube/config/config.inc.php</pre>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/roundcube-update/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>catch-all emails</title>
		<link>https://wiki.centos-webpanel.com/catch-all-emails</link>
		<comments>https://wiki.centos-webpanel.com/catch-all-emails#comments</comments>
		<pubDate>Tue, 22 Sep 2020 20:08:39 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[catch-all emails]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1470</guid>
		<description><![CDATA[In cwp you can easily set up a catch-all email for domain and send all to a single email account. From the mail forwarders in the user panel create a new forwarder with email address * In the "Redirects to:" option, you can enter any email address and all email coming for *@domain1.com will be [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>In cwp you can easily set up a catch-all email for domain and send all to a single email account.<br />
From the mail forwarders in the user panel create a new forwarder with email address *</p>
<p>In the "Redirects to:" option, you can enter any email address and all email coming for *@domain1.com will be forwarded to "Redirects to:" email address which can be for example catchall@domain2.com</p>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/catch-all-emails/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
