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....
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: