Listing Thumbnail

    Perimattic Managed Mailpit - Email Testing Inbox on AWS

     Info
    Deployed on AWS
    AWS Free Tier
    Mailpit 1.33.0 (MIT) on Ubuntu 24.04: a test SMTP inbox with a web UI, REST API and live updates, behind HTTPS with a generated password; the SMTP listener also requires a login and is reachable on the server only.

    Overview

    This AMI runs Mailpit, an email and SMTP testing tool for developers, on Ubuntu 24.04 LTS. Your applications send mail to its SMTP server instead of a real mail server, and Mailpit catches every message and shows it in a web interface with an HTML preview, headers, raw source, attachments, search and tags, plus a REST API and live updates. Mail is only stored: Mailpit never delivers anything to the outside. The upstream vendor image is release v1.33.0, pinned and baked into the AMI, so first start does not depend on a registry. Messages are kept in a database on the instance.

    What Perimattic adds

    Closed by default: out of the box Mailpit's web interface, API and SMTP server need no login at all, and a mail catcher open to the internet can be abused. Here the web interface, the API (including the Send API) and the live-update websocket require a user name and a random 24-character password generated on your server at first login, and the SMTP server requires its own generated 24-character login. Both are stored only as salted hashes. Setup checks that the passwords work, that admin/admin, a wrong password and anonymous requests are refused on every interface, and that mail without a login is refused and mail with the SMTP login arrives in the inbox, before the site is published.

    SMTP stays on the server: the SMTP port is published on the server's loopback interface only and is never opened to the network. Applications on the server use it directly; from your computer, reach it with an SSH tunnel (the exact command is printed at the end of setup). Only ports 22, 80 and 443 are open.

    HTTPS and live updates: Apache is configured as a reverse proxy and a free Let's Encrypt certificate is requested for your domain with certbot. The live-update websocket works through Apache; the tests open a real websocket through Apache and receive a message sent over SMTP. Mailpit runs as an unprivileged user, accepts only your domain as the Host header, does not check GitHub for new versions, and does not fetch remote CSS or fonts for previews.

    Retention: the newest 2000 messages are kept, none older than 30 days and none larger than 25 MB. Pinned and patched: the application version is fixed, not 'latest', and Ubuntu 24.04 LTS is built through an automated EC2 Image Builder pipeline with security updates applied at build time.

    Limits you should know

    The web login and the SMTP login are two shared logins, not separate accounts: everyone with the password sees the same mailbox. SMTP login is sent without TLS, which is safe inside the SSH tunnel or on the server itself. No relay, forwarding, POP3 or spam-check integration is configured. The link checker, HTML checker and screenshots, if you use them, make web requests from the server to public addresses only. Mailpit used 9 to 30 MB of memory in our tests (about 600 MB for the whole host), so a t3.small is a comfortable size.

    Licence and attribution

    Built on the open-source Mailpit (MIT licence), unmodified. Not affiliated with, endorsed by, or sponsored by Ralph Slooten; Mailpit is a trademark of its owner.

    Getting Started Launch the AMI and open ports 22, 80 and 443 in the security group SSH in and answer the setup prompts (domain and admin email) Open https://your-domain/  and sign in as admin with the password printed at the end of setup Open an SSH tunnel to the SMTP port and point your application at localhost port 1025 with the SMTP login

    A domain name with an A record pointing at the instance is required, because the site is served over HTTPS.

    This AMI is built and supported by Perimattic.

    Book a free setup consultation at https://cal.com/gaurav-pareek-perimattic/marketplace-setup-consultations  or email us at aws-support@perimattic.com .

    Support Managed and supported by Perimattic, a cloud infrastructure company with 13+ years of experience serving global clients. We offer free setup assistance, custom integrations, infrastructure consulting, and 24/7 support.

    Highlights

    • Mailpit 1.33.0 (MIT) pinned and pre-installed: a test SMTP inbox with HTML preview, search, REST API and live updates, SQLite storage.
    • Secure first login: web UI, API and SMTP each require a generated 24-character password, anonymous access is refused, SMTP is reachable on the server only (SSH tunnel for remote use), and the version check is off. HTTPS through Apache and Let's Encrypt.
    • Built on patched Ubuntu 24.04 LTS and supported by Perimattic: free setup assistance at aws-support@perimattic.com.

    Details

    Delivery method

    Delivery option
    64-bit (x86) Amazon Machine Image (AMI)

    Latest version

    Operating system
    Ubuntu 24.04

    Deployed on AWS

    Features and programs

    Financing for AWS Marketplace purchases

    AWS Marketplace now accepts line of credit payments through the PNC Vendor Finance program. This program is available to select AWS customers in the US, excluding NV, NC, ND, TN, & VT.
    Financing for AWS Marketplace purchases

    Pricing

    Perimattic Managed Mailpit - Email Testing Inbox on AWS

     Info
    Pricing is based on actual usage, with charges varying according to how much you consume. Subscriptions have no end date and may be canceled any time.
    Additional AWS infrastructure costs may apply. Use the AWS Pricing Calculator  to estimate your infrastructure costs.
    If you are an AWS Free Tier customer with a free plan, you are eligible to subscribe to this offer. You can use free credits to cover the cost of eligible AWS infrastructure. See AWS Free Tier  for more details. If you created an AWS account before July 15th, 2025, and qualify for the Legacy AWS Free Tier, Amazon EC2 charges for Micro instances are free for up to 750 hours per month. See Legacy AWS Free Tier  for more details.

    Usage costs (685)

     Info
    • ...
    Dimension
    Cost/hour
    t3.medium
    Recommended
    $0.03
    t3.micro
    $0.03
    c3.2xlarge
    $0.03
    c3.4xlarge
    $0.03
    c3.8xlarge
    $0.03
    c3.large
    $0.03
    c3.xlarge
    $0.03
    c4.2xlarge
    $0.03
    c4.4xlarge
    $0.03
    c4.8xlarge
    $0.03

    Vendor refund policy

    For any questions or concerns, please contact: Perimattic.com Email: aws-support@perimattic.com 

    How can we make this page better?

    Tell us how we can improve this page, or report an issue with this product.
    Tell us how we can improve this page, or report an issue with this product.

    Legal

    Vendor terms and conditions

    Upon subscribing to this product, you must acknowledge and agree to the terms and conditions outlined in the vendor's End User License Agreement (EULA) .

    Content disclaimer

    Vendors are responsible for their product descriptions and other product content. AWS does not warrant that vendors' product descriptions or other product content are accurate, complete, reliable, current, or error-free.

    Usage information

     Info

    Delivery details

    64-bit (x86) Amazon Machine Image (AMI)

    Amazon Machine Image (AMI)

    An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.

    Version release notes

    Initial release.

    • Application: Mailpit 1.33.0 (container image pinned, baked into the AMI).
    • Base: Ubuntu 24.04 LTS, fully patched at build time, built by an automated EC2 Image Builder pipeline.
    • TLS: Apache reverse proxy with a Let's Encrypt certificate requested by certbot at first login.
    • Credentials are generated on the instance at first login; none are present in the image.
    • The web login and the SMTP login are generated at first login (24 characters each, stored as salted hashes); anonymous access is refused on the web UI, API and SMTP, and setup verifies all of this before the site is published.
    • Mailpit 1.33.0 (MIT, unmodified official image) runs as an unprivileged user; the SMTP port is on the loopback interface only; the live-update websocket works through Apache.
    • The version check is off; no relay, forwarding, POP3 or spam-check integration is configured; the newest 2000 messages are kept for up to 30 days.

    Additional details

    Usage instructions

    1. Launch an Instance

      From AWS Marketplace, click Continue to Subscribe and then Continue to Configuration to launch the AMI.

    2. Choose the Recommended Instance Type

      t3.small (2 GB of memory) is the recommended size: Mailpit used 9 to 30 MB in our tests and the whole host about 600 MB. Choose t3.medium or larger for very large mailboxes or many concurrent users.

    3. Configure Security Group

      Allow inbound traffic on the following ports:

      • 22 (SSH) - terminal access for setup
      • 80 (HTTP) - needed to validate your domain for the TLS certificate
      • 443 (HTTPS) - access to Mailpit
    4. Point a domain at the instance

      Create a DNS A record (for example mail.example.com) pointing to the instance's public IP before you log in.

    5. Connect to the Instance

      ssh -i <your-key.pem> ubuntu@<public-ip>

    6. First-Login Setup

      The first SSH login runs a guided setup:

      • Prompts for your domain and admin email and checks the DNS A record
      • Generates a random 24-character web password and a random 24-character SMTP password on your server and stores them as salted hashes
      • Starts Mailpit, then checks that the passwords work, that admin/admin, a wrong password and anonymous requests are refused on the web UI, API, Send API and websocket, that SMTP without a login is refused, and that mail sent with the SMTP login reaches the inbox
      • Configures Apache as an HTTPS reverse proxy (with websocket support) and requests a Let's Encrypt certificate
      • Prints the URL, usernames and passwords; they are also stored in /opt/app/access.txt (root only)

      If a step fails, fix the problem shown and log in again: the setup resumes where it stopped.

    7. Access Mailpit

      Open https://<your-domain>/ and sign in as the user admin with the password printed at the end of setup (view it again with: sudo cat /opt/app/access.txt). The same file has the SMTP user name and password and the SSH tunnel command for reaching the SMTP port (localhost port 1025) from your computer.

    8. Credentials

      Generated on your server, never shared between customers. View them again with:

      sudo cat /opt/app/access.txt

    9. Manage the Services

      cd /opt/app sudo docker compose ps sudo docker compose restart

    Messages are stored in /opt/app/data/mailpit.db; back it up or snapshot the volume before upgrades. The SMTP port is on the server's loopback interface only: use an SSH tunnel from other machines.

    Thank you for subscribing.

    Need Support or Customization? Perimattic's team can help with setup issues, custom features and integrations:

    Email us: aws-support@perimattic.com  WhatsApp: +91-92142 66896 Learn more: <www.perimattic.com >

    We offer free setup assistance, custom development and integrations, and infrastructure consulting.

    Support

    Vendor support

    Support by Perimattic

    Perimattic provides 24/7 support for all AWS Marketplace products. Our team has 13+ years of cloud infrastructure expertise serving global clients.

    Contact Channels: Email: aws-support@perimattic.com  WhatsApp: +91-92142 66896 Website: <www.perimattic.com >

    What We Help With: Initial setup and configuration assistance (free) Troubleshooting connectivity, performance, and backup issues Custom development and integrations Infrastructure consulting and architecture review Migration planning from other solutions Automation solutions and scaling guidance

    Instance Sizing Guidance: t2.medium or t3.medium: Development environments, small applications m5.large: Production workloads with moderate traffic m5.xlarge: High-traffic production deployments and larger datasets

    For workload-specific sizing recommendations, contact our team for a free consultation.

    Refunds and Issues: If you experience any issues or need to request a refund, contact us at aws-support@perimattic.com  and we will respond promptly.

    AWS infrastructure support

    AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.

    Similar products

    Customer reviews

    Ratings and reviews

     Info
    0 ratings
    5 star
    4 star
    3 star
    2 star
    1 star
    0%
    0%
    0%
    0%
    0%
    0 reviews
    No customer reviews yet
    Be the first to review this product . We've partnered with PeerSpot to gather customer feedback. You can share your experience by writing or recording a review, or scheduling a call with a PeerSpot analyst.