<?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>Sean Behan&#039;s Web Development Portfolio and Blog &#187; configuration</title>
	<atom:link href="http://seanbehan.com/tag/configuration/feed/" rel="self" type="application/rss+xml" />
	<link>http://seanbehan.com</link>
	<description>Web Development, Wordpress, Moodle, Ruby on Rails and Design in Burlington, Vermont</description>
	<lastBuildDate>Fri, 30 Jul 2010 17:17:12 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using sendmail to send mail on ubuntu box</title>
		<link>http://seanbehan.com/linux/using-sendmail-to-send-mail-on-ubuntu-box/</link>
		<comments>http://seanbehan.com/linux/using-sendmail-to-send-mail-on-ubuntu-box/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 23:37:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[mta]]></category>
		<category><![CDATA[sendmail]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=497</guid>
		<description><![CDATA[I normally install postfix for my MTA. However, I&#8217;ve never really used sendmail so I&#8217;d decide to give it a whirl for a new application I&#8217;m working on. I don&#8217;t use it for anything but handling the mail that the application needs to send out, like new user welcome emails, password resets, etc. 

apt-get install [...]


Related posts:<ol><li><a href='http://seanbehan.com/programming/send-mail-in-ruby-with-a-pony/' rel='bookmark' title='Permanent Link: Send Mail in Ruby with a Pony'>Send Mail in Ruby with a Pony</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/rails-ssl-ubuntu-apache2-w-phussion-on-ubunt/' rel='bookmark' title='Permanent Link: Rails, SSL, Ubuntu, Apache2 with Phusion on Ubuntu'>Rails, SSL, Ubuntu, Apache2 with Phusion on Ubuntu</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/postfix-actionmailer-and-openssl-fix-on-ubuntu/' rel='bookmark' title='Permanent Link: Postfix, ActionMailer and OpenSSL Fix on Ubuntu'>Postfix, ActionMailer and OpenSSL Fix on Ubuntu</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I normally install postfix for my MTA. However, I&#8217;ve never really used sendmail so I&#8217;d decide to give it a whirl for a new application I&#8217;m working on. I don&#8217;t use it for anything but handling the mail that the application needs to send out, like new user welcome emails, password resets, etc. </p>
<pre>
apt-get install sendmail
</pre>
<p>Sendmail, unlike postfix, won&#8217;t work out of the box. Postfix will prompt you for the necessary config setup when running the install. Sendmail won&#8217;t, and therefore it&#8217;s not &#8216;out of the box&#8217;. You&#8217;ll have to make some modifications on your own. Nothing major but this is what I&#8217;ve found in order to get it to work, reliably and quickly. The first thing I did was add the fully qualified domain name to my /etc/hosts file</p>
<pre>
#vim /etc/hosts
127.0.0.1 www.mydomain.com
</pre>
<p>After this I added the fully qualified domain name to my apache default configuration file </p>
<pre>
#/etc/apache2/sites-available/default
ServerName www.mydomain.com
#vhost info etc...
</pre>
<p>Reload and restart&#8230;</p>
<pre>
/etc/init.d/apache2 force-reload
/etc/init.d/sendmail restart
</pre>
<p>You can test sendmail like so </p>
<pre>
sendmail email@example.com
hello
from
me
. 
</pre>
<p>This should deliver a message to you (the &#8220;.&#8221; on a new line, followed by a new line, closes the message). </p>


<p>Related posts:<ol><li><a href='http://seanbehan.com/programming/send-mail-in-ruby-with-a-pony/' rel='bookmark' title='Permanent Link: Send Mail in Ruby with a Pony'>Send Mail in Ruby with a Pony</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/rails-ssl-ubuntu-apache2-w-phussion-on-ubunt/' rel='bookmark' title='Permanent Link: Rails, SSL, Ubuntu, Apache2 with Phusion on Ubuntu'>Rails, SSL, Ubuntu, Apache2 with Phusion on Ubuntu</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/postfix-actionmailer-and-openssl-fix-on-ubuntu/' rel='bookmark' title='Permanent Link: Postfix, ActionMailer and OpenSSL Fix on Ubuntu'>Postfix, ActionMailer and OpenSSL Fix on Ubuntu</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/linux/using-sendmail-to-send-mail-on-ubuntu-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postfix, ActionMailer and OpenSSL Fix on Ubuntu</title>
		<link>http://seanbehan.com/ruby-on-rails/postfix-actionmailer-and-openssl-fix-on-ubuntu/</link>
		<comments>http://seanbehan.com/ruby-on-rails/postfix-actionmailer-and-openssl-fix-on-ubuntu/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 00:27:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=390</guid>
		<description><![CDATA[If you run into problems using ActionMailer > 2.2, Postfix and OpenSSL while sending mail from your application, try changing the following:

  vim /etc/postfix/main.cf

Change 

 smtpd_use_tls=yes

to 

smtpd_use_tls=no

OpenSSL support with Postfix does not work out of the box. You can either generate valid certificates or tell Postfix not to use the certificates. More information is [...]


Related posts:<ol><li><a href='http://seanbehan.com/ruby-on-rails/rails-ssl-ubuntu-apache2-w-phussion-on-ubunt/' rel='bookmark' title='Permanent Link: Rails, SSL, Ubuntu, Apache2 with Phusion on Ubuntu'>Rails, SSL, Ubuntu, Apache2 with Phusion on Ubuntu</a></li>
<li><a href='http://seanbehan.com/linux/openssl-certificate-generation-information-for-certificate-authority-to-serve-traffic-over-https/' rel='bookmark' title='Permanent Link: OpenSSL Certificate Generation Information for Certificate Authority to Serve Traffic Over Https'>OpenSSL Certificate Generation Information for Certificate Authority to Serve Traffic Over Https</a></li>
<li><a href='http://seanbehan.com/linux/using-sendmail-to-send-mail-on-ubuntu-box/' rel='bookmark' title='Permanent Link: Using sendmail to send mail on ubuntu box'>Using sendmail to send mail on ubuntu box</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you run into problems using ActionMailer > 2.2, Postfix and OpenSSL while sending mail from your application, try changing the following:</p>
<pre>
  vim /etc/postfix/main.cf
</pre>
<p>Change </p>
<pre>
 smtpd_use_tls=yes
</pre>
<p>to </p>
<pre>
smtpd_use_tls=no
</pre>
<p>OpenSSL support with Postfix does not work out of the box. You can either generate valid certificates or tell Postfix not to use the certificates. More information is available in this discussion forum. </p>
<p>http://forum.slicehost.com/comments.php?DiscussionID=2656</p>


<p>Related posts:<ol><li><a href='http://seanbehan.com/ruby-on-rails/rails-ssl-ubuntu-apache2-w-phussion-on-ubunt/' rel='bookmark' title='Permanent Link: Rails, SSL, Ubuntu, Apache2 with Phusion on Ubuntu'>Rails, SSL, Ubuntu, Apache2 with Phusion on Ubuntu</a></li>
<li><a href='http://seanbehan.com/linux/openssl-certificate-generation-information-for-certificate-authority-to-serve-traffic-over-https/' rel='bookmark' title='Permanent Link: OpenSSL Certificate Generation Information for Certificate Authority to Serve Traffic Over Https'>OpenSSL Certificate Generation Information for Certificate Authority to Serve Traffic Over Https</a></li>
<li><a href='http://seanbehan.com/linux/using-sendmail-to-send-mail-on-ubuntu-box/' rel='bookmark' title='Permanent Link: Using sendmail to send mail on ubuntu box'>Using sendmail to send mail on ubuntu box</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/ruby-on-rails/postfix-actionmailer-and-openssl-fix-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sample Rails Database Config  for MySQL</title>
		<link>http://seanbehan.com/ruby-on-rails/sample-rails-database-config-for-mysql/</link>
		<comments>http://seanbehan.com/ruby-on-rails/sample-rails-database-config-for-mysql/#comments</comments>
		<pubDate>Fri, 01 May 2009 20:29:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[production]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[yml]]></category>

		<guid isPermaLink="false">http://bseanvt.wordpress.com/?p=209</guid>
		<description><![CDATA[Sample Ruby on Rails database config file for connecting to mysql.

production:
  adapter: mysql
  encoding: utf8
  reconnect: false
  database: db_production
  pool: 5
  username: db_user
  password: db_password
  #socket: /tmp/mysql.sock #this may vary



Related posts:Fixing MySQL for Rails 2.2 Development on Mac OS X
Dump MySQL Database without Drop Table Syntax
Setting up [...]


Related posts:<ol><li><a href='http://seanbehan.com/programming/fixing-mysql-for-rails-2-2-development-on-mac-os-x/' rel='bookmark' title='Permanent Link: Fixing MySQL for Rails 2.2 Development on Mac OS X'>Fixing MySQL for Rails 2.2 Development on Mac OS X</a></li>
<li><a href='http://seanbehan.com/databases/dump-mysql-database-without-drop-table-syntax/' rel='bookmark' title='Permanent Link: Dump MySQL Database without Drop Table Syntax'>Dump MySQL Database without Drop Table Syntax</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/new-ubuntu-slice-apache-mysql-php-ruby-on-rails-git-and/' rel='bookmark' title='Permanent Link: Setting up a new ubuntu server with apache2, php, ruby on rails, rubygems, mysql, and git'>Setting up a new ubuntu server with apache2, php, ruby on rails, rubygems, mysql, and git</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Sample Ruby on Rails database config file for connecting to mysql.</p>
<pre>
production:
  adapter: mysql
  encoding: utf8
  reconnect: false
  database: db_production
  pool: 5
  username: db_user
  password: db_password
  #socket: /tmp/mysql.sock #this may vary
</pre>


<p>Related posts:<ol><li><a href='http://seanbehan.com/programming/fixing-mysql-for-rails-2-2-development-on-mac-os-x/' rel='bookmark' title='Permanent Link: Fixing MySQL for Rails 2.2 Development on Mac OS X'>Fixing MySQL for Rails 2.2 Development on Mac OS X</a></li>
<li><a href='http://seanbehan.com/databases/dump-mysql-database-without-drop-table-syntax/' rel='bookmark' title='Permanent Link: Dump MySQL Database without Drop Table Syntax'>Dump MySQL Database without Drop Table Syntax</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/new-ubuntu-slice-apache-mysql-php-ruby-on-rails-git-and/' rel='bookmark' title='Permanent Link: Setting up a new ubuntu server with apache2, php, ruby on rails, rubygems, mysql, and git'>Setting up a new ubuntu server with apache2, php, ruby on rails, rubygems, mysql, and git</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/ruby-on-rails/sample-rails-database-config-for-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
