Class: Mailman::Configuration
- Inherits:
-
Object
- Object
- Mailman::Configuration
- Defined in:
- lib/mailman/configuration.rb
Instance Attribute Summary (collapse)
-
- (boolean) graceful_death
rather than dropping dead immediately.
-
- (boolean) ignore_stdin
Whether or not to ignore stdin.
-
- (Hash) imap
The configuration hash for POP3.
-
- (Logger) logger
The application's logger.
-
- (String) maildir
The path to the maildir.
-
- (Fixnum) poll_interval
The poll interval for POP3 or IMAP.
-
- (Hash) pop3
The configuration hash for POP3.
-
- (String) rails_root
The path to the rails root.
-
- (boolean) watch_maildir
Whether or not to watch for new messages in the maildir.
Instance Attribute Details
- (boolean) graceful_death
rather than dropping dead immediately. Currently only works with POP3 connections.
32 33 34 |
# File 'lib/mailman/configuration.rb', line 32 def graceful_death @graceful_death end |
- (boolean) ignore_stdin
Whether or not to ignore stdin. Setting this to true stops Mailman from entering stdin processing mode.
27 28 29 |
# File 'lib/mailman/configuration.rb', line 27 def ignore_stdin @ignore_stdin end |
- (Hash) imap
The configuration hash for POP3
8 9 10 |
# File 'lib/mailman/configuration.rb', line 8 def imap @imap end |
- (Logger) logger
The application's logger
5 6 7 |
# File 'lib/mailman/configuration.rb', line 5 def logger @logger end |
- (String) maildir
The path to the maildir
15 16 17 |
# File 'lib/mailman/configuration.rb', line 15 def maildir @maildir end |
- (Fixnum) poll_interval
The poll interval for POP3 or IMAP. Setting this to 0 disables polling
12 13 14 |
# File 'lib/mailman/configuration.rb', line 12 def poll_interval @poll_interval end |
- (Hash) pop3
The configuration hash for POP3
8 9 10 |
# File 'lib/mailman/configuration.rb', line 8 def pop3 @pop3 end |
- (String) rails_root
The path to the rails root. Setting this to false to stop the rails environment from loading
23 24 25 |
# File 'lib/mailman/configuration.rb', line 23 def rails_root @rails_root end |
- (boolean) watch_maildir
Whether or not to watch for new messages in the maildir. Settings this to false disables listening for file changes if using the Maildir receiver.
19 20 21 |
# File 'lib/mailman/configuration.rb', line 19 def watch_maildir @watch_maildir end |