Community discussions

MikroTik App
 
tberg
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 61
Joined: Sun Sep 22, 2013 6:34 pm

Dude x86 send email using host name

Thu May 12, 2016 9:11 pm

Anybody have suggestions for how I could setup email notifications using a host name for SMTP server instead of IP address. I've seen examples using Windows server and scripts to resolve IP from host name. But I'm not sure how to update dude smtp server.

Thank you,
Todd
 
User avatar
geoffsmith31
Member Candidate
Member Candidate
Posts: 155
Joined: Fri Nov 05, 2010 6:08 am
Location: Toowoomba, Australia

Re: Dude x86 send email using host name

Sat May 14, 2016 11:15 am

I have not tried this but a possible workaround for the issue of The Dude not being able to accept a host name as an SMTP server may be:
1. Put in 127.0.0.1 as the IP address of the SMTP server
2. Set up an SMTP server on the same machine that is running The Dude server (hMailServer is an opensource SMTP server for windows)

That way The Dude will send email messages to its own IP address. The hMail server should then receive those messages and forward them on to wherever you want (hMailServer should be able to have a forwarding SMTP server specified by host name)
 
tberg
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 61
Joined: Sun Sep 22, 2013 6:34 pm

Re: Dude x86 send email using host name

Tue May 17, 2016 5:28 am

Thanks Geoff. I wasn't sure how to add smtp software to RouterOS, but I did get it set up on another Linux server on the same network using postfix.
Todd

Who is online

Users browsing this forum: No registered users and 24 guests