Skip to main content

Maildev notes

We use maildev for developing any email-related functionality. For demo and development systems, any sent email will be collected by maildev and will not reach the outside world.

Local development

When you do a vagrant up or vagrant provision, you should have a page locally: http://pixwel.dev:1080/ This will show emails sent by the system.

Demo nodes

This is also set up on demo nodes with credentials. smtp_* in ansible/inventory/group_vars determines the username and password required. You can log into the maildev instance at: http://{branch}.demo.pixwel.com:1080/

Staging

Because Staging is on multiple nodes, Maildev is set up on Jenkins and listens on http://stagingmaildev.pixwel.com/#/ . This is a reverse proxy over http://jenkins.pixwel.com:1080/
# /etc/nginx/conf.d/001-stagingmaildev.conf
server {
    listen  80;
    access_log /var/log/nginx/stagingmaildev_access.log;
    error_log /var/log/nginxstagingmaildev_error.log;
    server_name stagingmaildev.pixwel.com;
    location / {
        proxy_pass http://jenkins.pixwel.com:1080/;
    }
}
http://jenkins.pixwel.com:1080/#/
Back to docs index | Next page in recommended reading order >>