aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/configuration_builders/server.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mauve/configuration_builders/server.rb')
-rw-r--r--lib/mauve/configuration_builders/server.rb10
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"