<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Adding custom tags on E-mail Headers]]></title>
		<link>http://www.iredmail.org/forum/topic4159-adding-custom-tags-on-email-headers.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic4159.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Adding custom tags on E-mail Headers.]]></description>
		<lastBuildDate>Sat, 24 Nov 2012 14:12:15 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Adding custom tags on E-mail Headers]]></title>
			<link>http://www.iredmail.org/forum/post19218.html#p19218</link>
			<description><![CDATA[<p>I cannot figure out why it was detected as spam with pasted mail header. sorry.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sat, 24 Nov 2012 14:12:15 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19218.html#p19218</guid>
		</item>
		<item>
			<title><![CDATA[Re: Adding custom tags on E-mail Headers]]></title>
			<link>http://www.iredmail.org/forum/post19123.html#p19123</link>
			<description><![CDATA[<p>Hi Zhang,</p><p>Here is the header:</p><p>Delivered-To: myid@gmail.com<br />Received: by 10.147.17.16 with SMTP id u16csp466636yai;<br />&nbsp; &nbsp; &nbsp; &nbsp; Wed, 14 Nov 2012 10:42:55 -0800 (PST)<br />Received: by 10.66.85.66 with SMTP id f2mr230462paz.56.1352918575527;<br />&nbsp; &nbsp; &nbsp; &nbsp; Wed, 14 Nov 2012 10:42:55 -0800 (PST)<br />Return-Path: &lt;myuser@mydomain.com&gt;<br />Received: from mydomain.com ([xx.xxx.xxx.xx])<br />&nbsp; &nbsp; &nbsp; &nbsp; by mx.google.com with ESMTP id bc7si19341496pab.123.2012.11.14.10.42.54;<br />&nbsp; &nbsp; &nbsp; &nbsp; Wed, 14 Nov 2012 10:42:55 -0800 (PST)<br />Received-SPF: pass (google.com: domain of myuser@mydomain.com designates xx.xxx.xxx.xx as permitted sender) client-ip=xx.xxx.xxx.xx;<br />Authentication-Results: mx.google.com; spf=pass (google.com: domain of myuser@mydomain.com designates xx.xxx.xxx.xx as permitted sender) smtp.mail=myuser@mydomain.com; dkim=pass header.i=mydomain.com<br />Received: from localhost (myserver.com [127.0.0.1])<br />&nbsp; &nbsp; by mydomain.com (Postfix) with ESMTP id A03072C15BD<br />&nbsp; &nbsp; for &lt;myid@gmail.com&gt;; Wed, 14 Nov 2012 18:42:53 +0000 (GMT)<br />DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=<br />&nbsp; &nbsp; mydomain.com; h=content-type:content-type<br />&nbsp; &nbsp; :content-transfer-encoding:mime-version:x-mailer:message-id<br />&nbsp; &nbsp; :subject:subject:from:from:precedence:to:date:date; s=dkim; t=<br />&nbsp; &nbsp; 1352918573; x=1355510573; bh=74nadMY5tTFftdmBjr+E9YCBzg65mSHlZxV<br />&nbsp; &nbsp; TX9fahus=; b=i/Afv6tXb9lpgz83E7hrsvsb+UWAtaDAFLqcPHLwM83bFmziiYl<br />&nbsp; &nbsp; 3DD8glfEQVlY2dFuTbnEL1RUoYot9ceO+E8TEiCO8OpmJN3rtnTUzt/ydSUPzY1r<br />&nbsp; &nbsp; cehaRgkIZfWgDxWnWgqH9ykqxUOs2NpYJ5izmrQc+ojC9k4oaINqVOPU=<br />X-Virus-Scanned: amavisd-new at mydomain.com<br />Received: from mydomain.com ([127.0.0.1])<br />&nbsp; &nbsp; by localhost (mydomain.com [127.0.0.1]) (amavisd-new, port 10024)<br />&nbsp; &nbsp; with ESMTP id GwkXze0ITcTq for &lt;myid@gmail.com&gt;;<br />&nbsp; &nbsp; Wed, 14 Nov 2012 18:42:53 +0000 (GMT)<br />Received: from 172.16.1.42 (unknown [172.16.1.42])<br />&nbsp; &nbsp; by mydomain.com (Postfix) with ESMTPA id 145F92C1602<br />&nbsp; &nbsp; for &lt;myid@gmail.com&gt;; Wed, 14 Nov 2012 18:42:24 +0000 (GMT)<br />Date: Wed, 14 Nov 2012 18:42:12 +0000<br />To: myid@gmail.com<br />Precedence: bulk<br />From: myuser &lt;myuser@mydomain.com&gt;<br />Subject: deals<br />Message-ID: &lt;c2ba9b38dec985df2ef0842999f22645@172.16.1.42&gt;<br />X-Priority: 3<br />X-Mailer: PHPMailer [version 1.72]<br />MIME-Version: 1.0<br />Content-Transfer-Encoding: 8bit<br />Content-Type: text/html; charset=&quot;UTF-8&quot;</p>]]></description>
			<author><![CDATA[null@example.com (ketan.aagja)]]></author>
			<pubDate>Fri, 16 Nov 2012 15:14:39 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19123.html#p19123</guid>
		</item>
		<item>
			<title><![CDATA[Re: Adding custom tags on E-mail Headers]]></title>
			<link>http://www.iredmail.org/forum/post19096.html#p19096</link>
			<description><![CDATA[<div class="quotebox"><cite>ketan.aagja wrote:</cite><blockquote><p>still the E-mails are going in SPAM</p></blockquote></div><p>We have to figure out why it was going in SPAM first. Is there any related info in mail header of the email which going into SPAM? If you&#039;re not sure, please post all mail headers here to help troubleshoot. Replace sensitive info before posting.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Fri, 16 Nov 2012 03:45:56 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19096.html#p19096</guid>
		</item>
		<item>
			<title><![CDATA[Re: Adding custom tags on E-mail Headers]]></title>
			<link>http://www.iredmail.org/forum/post19080.html#p19080</link>
			<description><![CDATA[<p>Thanks zhang,</p><p>adding tags in headers working fine but still the E-mails are going in SPAM, I don&#039;t know whats the issue as SPF, DKIM and Header tag everything is fine in E-mail.</p>]]></description>
			<author><![CDATA[null@example.com (ketan.aagja)]]></author>
			<pubDate>Wed, 14 Nov 2012 18:08:43 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19080.html#p19080</guid>
		</item>
		<item>
			<title><![CDATA[Re: Adding custom tags on E-mail Headers]]></title>
			<link>http://www.iredmail.org/forum/post19076.html#p19076</link>
			<description><![CDATA[<p>Try Postfix parameter <strong>header_checks</strong>. References:<br />- <a href="http://www.postfix.org/postconf.5.html#header_checks">http://www.postfix.org/postconf.5.html#header_checks</a><br />- <a href="http://www.postfix.org/header_checks.5.html">http://www.postfix.org/header_checks.5.html</a></p><p>You need to filter sender address, then use action PREPEND to insert the header you need. Here&#039;s an example, but i didn&#039;t test it, please test it yourself before applying on production server.</p><p>*) In postfix main.cf:<br /></p><div class="codebox"><pre><code>header_checks = pcre:/etc/postfix/header_checks</code></pre></div><p>*) In /etc/postfix/header_checks:<br /></p><div class="codebox"><pre><code># Filter mail header &#039;From:&#039; which contains email address @domain.com, and insert (PREPEND) required new header.
/^From:.*@domain.com.*/i PREPEND Precedence: bulk</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 14 Nov 2012 14:24:02 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19076.html#p19076</guid>
		</item>
		<item>
			<title><![CDATA[Adding custom tags on E-mail Headers]]></title>
			<link>http://www.iredmail.org/forum/post19075.html#p19075</link>
			<description><![CDATA[<p>==== Required information ====<br />- iRedMail version: iRedAdmin-Pro-LDAP-1.8.1<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP<br />- Linux/BSD distribution name and version: Centos 6.3<br />- Related log if you&#039;re reporting an issue:<br />==== </p><p>Hi we would like to use BULK E-mail marketing for one of our domains. SPF record and DKIM are set also working fine. But E-mails are dropping in SPAM at user end.</p><p>Upon Googling one of the help post of Google suggests: (<a href="https://support.google.com/mail/bin/answer.py?hl=en&amp;answer=81126#thirdparty">https://support.google.com/mail/bin/ans … thirdparty</a>)</p><p>All bulk messages you send must be formatted according to RFC 2822 SMTP3 standards and, if using HTML, w3.org standards.<br /><strong>Messages should indicate that they are bulk mail, using the &#039;Precedence: bulk&#039; header field.</strong><br />Attempts to hide the true sender of the message or the true landing page for any web links in the message may result in non-delivery.<br />The subject of each message should be relevant to the body&#039;s content and not be misleading.</p><p>I would like to know how can we add customer tags in E-mail headers so that E-mails are not treated as SPAM.</p>]]></description>
			<author><![CDATA[null@example.com (ketan.aagja)]]></author>
			<pubDate>Wed, 14 Nov 2012 13:19:06 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19075.html#p19075</guid>
		</item>
	</channel>
</rss>
