What's new

[solved with Syno in 5 min] Setup & configure homelab smtp relay

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

busch09

Regular Contributor
Hi,
Trying to setup a smtp relay on asus merlin. tried all google threads, no avail.
found this guide:
http://smartpost.sourceforge.net/virtual_mail_server_with_xmail.htm

on the asus copied all xmail files to /opt/var/Mailroot
copied xmail to /opt/var/etc/inti.d

start the server with /bin ./xmail start, check with

telnet 127.0.0.1 25

create user
CtrlClnt -s localhost -u admin -p password useradd domain username password U
CtrlClnt -s 192.168.1.1 -u admin -p password useradd home.lan username userpassword U
Command line:
./sendmail -fuser@home.lan user@home.lan < msg.txt

email client:
pop/smtp point to router: 192.168.1.1
pop/smtp user: user@home.lan / pw in plain text (need to add domain to username)

for SMTP Relay (trying to get it top work with postmarkapp.com (9k free emails/month):
vi smtpfwd.tab
"*"[Tab]"smtp.postmarkapp.com"
then in /userauth/smtp
mkdir smtp.postmarkapp.com
vi smtp.postmarkapp.com
"login"[tab]"postmarkuser"[tab]"postmarkpw"

I can now send email internally.
I havent figured out yet how to get xmail to fwd an email to the internet smtp....
 
Last edited:

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top