# Per-install email configuration

**URL:** <https://www.ruby-forum.com/t/per-install-email-configuration/131184>\
**Category:** Rails\
**Created:** [March 6, 2008, 7:14pm UTC](https://www.ruby-forum.com/t/per-install-email-configuration/131184 "2008-03-06T19:14:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![grav](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a4c791/32.png) [@grav](https://www.ruby-forum.com/u/grav)\
**Post date:** [March 6, 2008, 7:14pm UTC](https://www.ruby-forum.com/t/per-install-email-configuration/131184/1 "2008-03-06T19:14:30Z")

</div>

Hey!

I’m looking for some way of changing email configuration per install  
(eg. different mail server).

It should work a bit like the config/database.yml which I keep per  
install (eg. it isn’t part of the repository) and then just be  
included in the config/environment.rb

Is this a sensible way to go about it and if it is, how can should I  
implement it?

Is there some other, more clever way of doing it?

Regards,  
Mikkel
