<?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>Tech.It.2.Me-&#62;{By.Anton.Perez} &#187; Mail Server</title>
	<atom:link href="http://antonperez.com/category/mail-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://antonperez.com</link>
	<description>Technical satisfaction guaranteed...</description>
	<lastBuildDate>Fri, 10 Feb 2012 02:06:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Fix for undeletable user-defined Squirrelmail folder</title>
		<link>http://antonperez.com/2007/05/14/fix-for-undeletable-user-defined-squirrelmail-folder/</link>
		<comments>http://antonperez.com/2007/05/14/fix-for-undeletable-user-defined-squirrelmail-folder/#comments</comments>
		<pubDate>Mon, 14 May 2007 16:17:20 +0000</pubDate>
		<dc:creator>anton</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mail Server]]></category>

		<guid isPermaLink="false">http://antonperez.com/?p=143</guid>
		<description><![CDATA[I run my own mail server and use Squirrelmail to facilitate webmail access using HTTPS.&#160; I encountered problems trying to delete a folder that I created&#160;as part of a test to find out if things were working correctly: ERROR : Could not delete &#8220;Archive&#8221;&#160;Given: Invalid mailbox name SquirrelMail is a Webmail application started by Nathan [...]]]></description>
			<content:encoded><![CDATA[<p>I run my own <a href="http://antoniopereziii.com/tech/2007/05/01/use-another-smtp-server-with-postfix/">mail server</a> and use <a href="http://squirrelmail.org/" target="_blank">Squirrelmail</a> to facilitate webmail access using HTTPS.&nbsp; I encountered problems trying to delete a folder that I created&nbsp;as part of a test to find out if things were working correctly:</p>
<p><font face="Courier New" color="#0000ff" size="2">ERROR : Could not delete &#8220;Archive&#8221;&nbsp;<br />Given: Invalid mailbox name</font></p>
<blockquote><p>SquirrelMail is a Webmail application started by Nathan and Luke Ehresman and written in the PHP scripting language. It can be installed on almost all web servers so long as PHP is present and the web server has access to an IMAP and SMTP server</p>
</blockquote>
<p>After some digging around,&nbsp;I found that&nbsp;after modifying a setting via <font face="Courier New" color="#0000ff" size="2">./conf.pl</font> I was able to delete the folder.&nbsp; If you&#8217;re experiencing the same thing, do the following:</p>
<p>1.&nbsp;&nbsp; Open a terminal window.</p>
<p>2.&nbsp;&nbsp; Navigate to Squirrelmail&#8217;s root dir, which in my case is <strong>/usr/share/squirrelmail</strong>.</p>
<p>3.&nbsp;&nbsp; Navigate to the <strong>config/ folder </strong>then type:&nbsp;<font face="Courier New" color="#0000ff" size="2">./conf.pl</font>.</p>
<p>4.&nbsp;&nbsp; Select option <strong>3</strong> then <strong>1</strong> and enter&nbsp;<strong>none</strong>. </p>
<p>5.&nbsp;&nbsp; Save your changes and exit.</p>
<p>It may not work on all situations, and&nbsp;some have said that in version <strong>1.4.0</strong>, you may need to&nbsp;set/pick your IMAP server (I use <a href="http://www.dovecot.org/" target="_blank">Dovecot</a>), like so:</p>
<p>1.&nbsp;&nbsp; Open terminal window (again).</p>
<p>2.&nbsp; &nbsp;Navigate to the <strong>config/ folder </strong>then type:&nbsp;<font face="Courier New" color="#0000ff" size="2">./conf.pl</font>.</p>
<p>3.&nbsp; From the menu options, select <strong>D</strong>, then save and exit.</p>
<p>If you still have problems after performing these steps, modify your <strong>php.ini</strong> config file to report more verbosely by changing the following lines:</p>
<p><font face="Courier New" color="#0000ff" size="2">display_errors = on <br />error_reporting = E_ALL</font></p>
<p>After saving the modifications you just made, restart your web server via (I run FC6 so) <font face="Courier New" color="#0000ff" size="2">service httpd restart</font>, then watch your Apache <strong>error_log</strong> for more info.&nbsp; </p>
<p>That&#8217;s it.&nbsp; Hopefully, this helps you from having to do the legwork.&nbsp; Take care.&nbsp; =0)</p>
]]></content:encoded>
			<wfw:commentRss>http://antonperez.com/2007/05/14/fix-for-undeletable-user-defined-squirrelmail-folder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use another SMTP server with Postfix</title>
		<link>http://antonperez.com/2007/05/01/use-another-smtp-server-with-postfix/</link>
		<comments>http://antonperez.com/2007/05/01/use-another-smtp-server-with-postfix/#comments</comments>
		<pubDate>Tue, 01 May 2007 17:28:12 +0000</pubDate>
		<dc:creator>anton</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mail Server]]></category>

		<guid isPermaLink="false">http://antonperez.com/?p=132</guid>
		<description><![CDATA[Over the weekend, I finally installed and configured my own e-mail server. What a challenge that was! I&#8217;m successfully running Postfix, Dovecot, Spamassassin, Amavisd-new, ClamAV, SQLgrey, and Squirrelmail. I, however, encountered problems sending to Gmail. It returned with the following message: host gmail-smtp-in.l.google.com[64.233.163.27] said: 550-5.7.1 [76.170.212.236] Our system has detected an unusual amount of unsolicited [...]]]></description>
			<content:encoded><![CDATA[<p>Over the weekend, I finally installed and configured my own e-mail server.  What a challenge that was!</p>
<p>I&#8217;m successfully running <a href="http://www.postfix.org" title="Postfix" target="_blank">Postfix</a>, <a href="http://www.dovecot.org" title="Dovecot" target="_blank">Dovecot</a>, <a href="http://spamassassin.apache.org" title="Spamassassin" target="_blank">Spamassassin</a>, <a href="http://www.ijs.si/software/amavisd/" title="Amavisd-new" target="_blank">Amavisd-new</a>, <a href="http://www.clamav.net/" title="ClamAV" target="_blank">ClamAV</a>, <a href="http://sqlgrey.sourceforge.net/" title="SQLgrey" target="_blank">SQLgrey</a>, and <a href="http://www.squirrelmail.org" title="Squirrelmail" target="_blank">Squirrelmail</a>.  I, however,  encountered problems sending to <a href="http://www.gmail.com" title="Gmail" target="_blank">Gmail</a>.</p>
<p>It returned with the following message:</p>
<blockquote><p><font face="Courier New" size="2">host gmail-smtp-in.l.google.com[64.233.163.27] said:<br />
550-5.7.1 [76.170.212.236] Our system has detected an unusual amount of unsolicited 550-5.7.1 mail originating from your IP address. To protect our<br />
550-5.7.1 users from spam, mail sent from your IP address has been 550-5.7.1 rejected. Please visit 550-5.7.1 </font><a href="http://www.google.com/mail/help/bulk_mail.html"><font face="Courier New" size="2">http://www.google.com/mail/help/bulk_mail.html</font></a><font face="Courier New" size="2"> to review 550 5.7.1 our Bulk Email Senders Guidelines. 39si20019987nzk (in reply to end of DATA command)</font></p></blockquote>
<p>Rejected?  Huh?  Apparently, my IP address has been blacklisted because Google couldn&#8217;t identify my server; also because I don&#8217;t have a static IP.</p>
<p>They said:</p>
<blockquote><p><font face="Courier New" size="2">To ensure that Gmail can identify you: </font></p>
<ul>
<li><font face="Courier New" size="2">Use a consistent IP address to send bulk mail. </font></li>
<li><font face="Courier New" size="2">Keep valid reverse DNS records for the IP address(es) from which you send mail, pointing to your domain. </font></li>
<li><font face="Courier New" size="2">Use the same address in the &#8216;From:&#8217; header on every bulk mail you send. </font></li>
</ul>
<p><font face="Courier New" size="2">We also recommend publishing an </font><a href="http://spf.pobox.com/wizard.html"><font face="Courier New" size="2">SPF record</font></a><font face="Courier New" size="2">, and signing with </font><a href="http://antispam.yahoo.com/domainkeys"><font face="Courier New" size="2">DomainKeys</font></a><font face="Courier New" size="2">. </font></p></blockquote>
<p>At this point, I don&#8217;t really want to run and maintain my own DNS server nor obtain a static IP (everything works fine and it&#8217;s cheaper!), so I found a way around it: <strong>Set Postfix to use another SMTP server.</strong></p>
<p>Here&#8217;s how:</p>
<p>1.   Edit <strong>/etc/postfix/main.cf</strong>, and add or edit this line:</p>
<p><font color="#0000ff" face="Courier New" size="2">relayhost = smtp.servertouse.com</font></p>
<p><font color="#000000">2.   Restart the Postfix service (I run FC6), so:</font></p>
<p><font color="#0000ff" face="Courier New" size="2">sudo service postfix restart</font></p>
<p>That&#8217;s it!  Your server will now send to the SMTP server specified above rather than sending <strong>directly </strong>to the destination, which as a result, will not be &#8220;rejected&#8221; by Gmail or the like.  ;0)</p>
]]></content:encoded>
			<wfw:commentRss>http://antonperez.com/2007/05/01/use-another-smtp-server-with-postfix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

