I've been bashing my head against the wall all week trying to get basic mail sending to myself to work.
I am running 14.4 on my webserver, and want to get the periodic digests sent to my personal inbox . All the web searching I have done points to dma as the perfect option, but it's Just. Not. Working!
The first major hurdle I was running into was a "invalid recipient" error, this was caused by my server hostname being set to the same value as my web address and mail domain. That was resolved and now I am just getting absolutely stuck.
/etc/dma/dma.conf
/etc/dma/auth.conf
Output from
I must be getting something clearly wrong here, but I just can't pinpoint *what* it might be. Please send help!
I am running 14.4 on my webserver, and want to get the periodic digests sent to my personal inbox . All the web searching I have done points to dma as the perfect option, but it's Just. Not. Working!
The first major hurdle I was running into was a "invalid recipient" error, this was caused by my server hostname being set to the same value as my web address and mail domain. That was resolved and now I am just getting absolutely stuck.
/etc/dma/dma.conf
Code:
SMARTHOST smtp.fastmail.com
PORT 587
AUTHPATH /etc/dma/auth.conf
SECURETRANSFER
STARTTLS
MASQUERADE freebsd@example.com
MAILNAME example.com
/etc/dma/auth.conf
Code:
# $DragonFly: src/etc/dma/auth.conf,v 1.1 2008/02/02 18:24:00 matthias Exp $
#
# SMTP authentication entries (currently AUTH LOGIN only)
# Format: user|my.smarthost.example.com:password
root@example.com|smtp.fastmail.com:passwordgoeshere
Output from
tail -f /var/log/maillog
Code:
May 18 08:51:42 freebsd dma[4e466.403778a47000][6875]: trying remote delivery to in2-smtp.messagingengine.com [202.12.124.217] pref 20
May 18 08:52:05 freebsd dma[4e44e.58b298247000][6913]: connect to in1-smtp.messagingengine.com [103.168.172.220] failed: Operation timed out
May 18 08:52:05 freebsd dma[4e44e.58b298247000][6913]: trying remote delivery to in1-smtp.messagingengine.com [103.168.172.216] pref 10
May 18 08:52:12 freebsd dma[4e445.fb1a1847000][6851]: connect to in2-smtp.messagingengine.com [202.12.124.219] failed: Operation timed out
May 18 08:52:12 freebsd dma[4e445.fb1a1847000][6851]: trying remote delivery to in2-smtp.messagingengine.com [202.12.124.216] pref 20
I must be getting something clearly wrong here, but I just can't pinpoint *what* it might be. Please send help!

