diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-04 16:11:37 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-04 16:11:37 +0100 |
commit | 6fbd9fcae218b675b298d7b4101e2f184e56818c (patch) | |
tree | f04f0aa7266711c40b65ad60f29a106747c05202 /lib/mauve/configuration_builders/server.rb | |
parent | b3a4345e1359f77011bd312b1afeed8eb2b97c91 (diff) |
Updated pop3 server to be configurable
Diffstat (limited to 'lib/mauve/configuration_builders/server.rb')
-rw-r--r-- | lib/mauve/configuration_builders/server.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/mauve/configuration_builders/server.rb b/lib/mauve/configuration_builders/server.rb index 0fa811b..3a9f5ec 100644 --- a/lib/mauve/configuration_builders/server.rb +++ b/lib/mauve/configuration_builders/server.rb @@ -64,6 +64,15 @@ module Mauve end end + class Pop3Server < ObjectBuilder + is_attribute "ip" + is_attribute "port" + + def builder_setup + @result = Mauve::Pop3Server.instance + end + end + class Server < ObjectBuilder # # Set up second-level builders @@ -74,6 +83,7 @@ module Mauve is_builder "timer", Timer is_builder "notifier", Notifier is_builder "heartbeat", Heartbeat + is_builder "pop3_server", Pop3Server is_attribute "hostname" is_attribute "database" |