public
Description: Puppet configuration for Tryphon servers
Homepage:
Clone URL: git://github.com/albanpeignier/tryphon-puppet.git
tryphon-puppet / features / mail-server.feature
100644 55 lines (44 sloc) 1.799 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Test mail server features
 
  Scenario: Accept mails for test@tryphon.test
    When a mail is sent to test@tryphon.test
    Then the mail should be accepted
 
  Scenario: Reject mails for external domain
    When a mail is sent to test@external-domain
    Then the mail should not be accepted
 
  Scenario: Reject spam mails
    Given a spam mail
    When the mail is sent to test@tryphon.test
    Then the mail should not be accepted
 
  Scenario: Accept external mails for authenticated user
    Given an authenticated user
    When a mail is sent to test.tryphon@gmail.com
    Then the mail should be accepted
 
  Scenario: Accept external mails for authenticated user in smtps
    Given an authenticated user
    And using smtps
    When a mail is sent to test.tryphon@gmail.com
    Then the mail should be accepted
 
  Scenario: Receive email in imap with cram_md5
    Given an authenticated user
    And an authentication cram_md5
    When connecting in imap
    Then the connection should be successful
 
  Scenario: Can't receive email in imap with plaintext authentication
    Given an authenticated user
    And an authentication login
    When connecting in imap
    Then the connection should not be successful
 
  Scenario: Receive email in imaps
    Given an authenticated user
    When connecting in imaps
    Then the connection should be successful
 
  Scenario: Visit postfixadmin login page
    When I visit the page http://mail.tryphon.test/admin/
    Then I should see "Postfix Admin"
 
  Scenario: Visit postfixadmin login page
    When I visit the page http://mail.tryphon.test/admin/users/
    Then I should see "Postfix Admin"
 
  Scenario: Can connect the sieve manager
    Given an authenticated user
    When connecting the sieve manager
    Then the connection should be successful