Class: Mailman::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/mailman/configuration.rb

Instance Attribute Summary (collapse)

Instance Attribute Details

- (boolean) graceful_death

rather than dropping dead immediately. Currently only works with POP3 connections.

Returns:

  • (boolean)

    catch SIGINT and allow current iteration to finish



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.

Returns:

  • (boolean)

    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

Returns:

  • (Hash)

    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

Returns:

  • (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

Returns:

  • (String)

    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

Returns:

  • (Fixnum)

    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

Returns:

  • (Hash)

    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

Returns:

  • (String)

    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.

Returns:

  • (boolean)

    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