Sign inSign up

aheadworks/mhsendmail

By aheadworks

•Updated about 6 years ago

mhsendmail in a container

Image
0

10K+

aheadworks/mhsendmail repository overview

⁠docker-mhsendmail

Docker wrapper for mhsendmail⁠

⁠Usage

As a standalone tool

docker run aheadworks/mhsendmail --from="[email protected]" [email protected] ...

As a source of compiled mhsendmail in your image, e.g. PHP devboxes with Mailhog linked

FROM aheadworks/mhsendmail as mhsendmail
FROM your/phpbox
# ...
COPY --from=mhsendmail /usr/bin/mhsendmail /usr/bin/mhsendmail
RUN echo "sendmail_path=/usr/bin/mhsendmail --smtp-addr \$MAIL_HOST:25 " > /usr/local/etc/php/conf.d/sendmail.ini

Tag summary

Content type

Image

Digest

Size

6.1 MB

Last updated

about 6 years ago

docker pull aheadworks/mhsendmail