Jump to content

smtp сервер для dude


Recommended Posts

Подскажите открытый smtp сервер для отправки месаг из dude. 

Вы не поверите, но спамеров такое тоже дюже интересует.

 

Если оно умеет смтп авторизацию - то череж бесплатные типа жмыла с яндексом можно попробовать.

Link to post
Share on other sites

Requirements: blat + stunnel + dude server on windows machine + gmail account

1. Download and install stunnel
stunnel.conf

Quote:
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
debug = 7
output = stunnel.log

client = yes

[pop3s]
accept = 995
connect = pop.gmail.com:995

[ssmtp]
accept = 465
connect = smtp.gmail.com:465

Install stunnel as service:

Quote:
"C:\Program Files\stunnel\stunnel.exe" -install

or

Quote:
Start-->All Programms --> stunnel --> Service install

2. Download blat and unpack 3 file ..

Quote:
blat.dll
blat.exe
blat.lib

in

Quote:
c:\Program Files\Dude\blat

directory or other your Dude directory

3. In directory from p.2 create emailblat.cmd file with the following content

Quote:
set dir=c:\Program Files\Dude\blat
set smtpsender=gmailaccount@gmail.com
set smtpserver=127.0.0.1
set smtpport=465
set smtpuser=gmailaccount
set smtppwd=*********
set mailto=gmailaccount@gmail.com

"%dir%\blat.exe" -to %mailto% -f %smtpsender% -server %smtpserver% -port %smtpport% -u %smtpuser% -pw %smtppwd% -subject %1 -body %2

change in it smtpsendersmtpusersmtppwd

4. Create new Notification 
Name:Email blat
Type:execute on server

Quote:
"c:\Program Files\Dude\blat\emailblat.cmd" "Service [Probe.Name] on [Device.Name] is now [service.Status]" "Service [Probe.Name] on [Device.Name] is now [service.Status] ([service.ProblemDescription])"

And test it.

5. Now you can use it.

It work for me !

 

http://forum.mikrotik.com/viewtopic.php?f=8&t=31779&start=0&hilit=gmail

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...