docker psotfix with relay to relay host nor fallback relay host
1.3K
Simple Postfix SMTP Relay with relay hosts.
Mail logs are streamed to stdout and not stored on disk.
MAILNAME - set this to a legitimate hostname for this service (required).MYNETWORKS - comma separated list of IP subnets that are allowed to relay.RELAYHOST - relay host.FALLBACK_RELAYHOST - fallback relay host.Persistent spool storage: mount /var/spool/postfix outside of the container.
To send a test email via the command line, make sure heirloom-mailx is installed.
echo -e "To: Bob <[email protected]>\nFrom: Bill <[email protected]>\nSubject: Test email\n\nThis is a test email message" | mailx -v -S smtp=smtp://... -S [email protected] -t
# With TLS
echo -e "To: Bob <[email protected]>\nFrom: Bill <[email protected]>\nSubject: Test email\n\nThis is a test email message" | mailx -v -S smtp-use-starttls -S ssl-verify=ignore -S smtp=smtp://... -S [email protected] -t
Content type
Image
Digest
Size
71.7 MB
Last updated
almost 10 years ago
docker pull 74mbit/postfix