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