api ?

Support forum for MailWasher Enterprise Server
eddiex666
Travelling Tuatara
Posts: 36
Joined: Fri Aug 05, 2016 12:30 am

api ?

Postby eddiex666 Mon Dec 12, 2016 12:04 am

Hi,

Maybe i missing somthing :-)

is'ent there any API info MWES at all?

It would be nice to add ip blacklist and email blacklists by API.

tnx, Eddie
User avatar
nick.bolton
The Big Cheese
Posts: 1638
Joined: Thu Aug 28, 2008 4:02 pm

Re: api ?

Postby nick.bolton Mon Dec 12, 2016 6:22 am

Hi, we do but only for these at the moment - which we use for Plesk

• Remote Action
==============
set in mwes.conf/windows registry by default this is set to zero.
use_remote_action=1
examples.
get/post
Login
-----
Use either servlet to login
http://localhost:4044/SystemConfig.srv? ... =admin&p...
http://localhost:4044/Domains.srv?remot ... n&passwo...
{"remoteActionResponse":"success"}
Note. When successfully logged in will use session id
configure table request/response
--------------------------------
http://localhost:4044/SystemConfig.srv? ... a_hostname
{"remoteActionResponse":"get", "mta_hostname":"mail.firetrust.com"}
http://localhost:4044/SystemConfig.srv? ... _hostnam...
{"remoteActionResponse":"success"}
Domain table request/response
-----------------------------
http://localhost:4044/Domains.srv?remot ... rust.co.nz
{"remoteActionResponse":"success"}
query no wild card(*) required.
http://localhost:4044/Domains.srv?remot ... =firetrust
{"remoteActionResponse":"success", "domains":["firetrust.com", "firetrust.co.nz"]}
http://localhost:4044/Domains.srv?remot ... etrust.c...
{"remoteActionResponse":"success"}
eddiex666
Travelling Tuatara
Posts: 36
Joined: Fri Aug 05, 2016 12:30 am

Re: api ?

Postby eddiex666 Mon Dec 12, 2016 10:50 pm

ok, tnx..

looking forward for API for the Linux version to add blacklist email, domains, and IP

Eddie
User avatar
nick.bolton
The Big Cheese
Posts: 1638
Joined: Thu Aug 28, 2008 4:02 pm

Re: api ?

Postby nick.bolton Tue Dec 13, 2016 5:32 am

Sure, I'll ask the developers as it's a good idea.
eddiex666
Travelling Tuatara
Posts: 36
Joined: Fri Aug 05, 2016 12:30 am

Re: api ?

Postby eddiex666 Fri Dec 23, 2016 4:32 am

just a question....
i see that the "recues" button in MWES web portal does referer to something....
like:
http://mailserver/Quarantined.srv?Rescu ... 0#MTA2Nzk3

so there Rescue and Offset is a uniq identifyer...
in teoretic i can just cut and paste this into web browser (witch has a login to the MWES portal) and it would resque the email??? (well it works)

But, what referes is that??? ( example: MTA2Nzk3)
how can i "connect" that identifyer to a mail?
(is possible I would just create a rescue link myself :-))

Eddie
User avatar
nick.bolton
The Big Cheese
Posts: 1638
Joined: Thu Aug 28, 2008 4:02 pm

Re: api ?

Postby nick.bolton Fri Dec 23, 2016 5:50 am

The daily email digests already email you a list of blocked emails, and they have rescue links for each email, if that's what you're looking for?
http://www.firetrust.com/products/mailw ... ily-digest
eddiex666
Travelling Tuatara
Posts: 36
Joined: Fri Aug 05, 2016 12:30 am

Re: api ?

Postby eddiex666 Fri Dec 23, 2016 9:22 am

Hi,
well i just wounder how to "find" the Identifyer for a rescue link?
( example: MTA2Nzk3)
this has a reference link to the mail from blabla@bla.com -> me@email.me
is there any table, files, db that can show me the connectections from the Identifyer in the rescue link and the correct email?

Eddie
User avatar
nick.bolton
The Big Cheese
Posts: 1638
Joined: Thu Aug 28, 2008 4:02 pm

Re: api ?

Postby nick.bolton Fri Dec 23, 2016 1:57 pm

The mwes.db file is the database, and it's an SQLite database.

Location:
Windows: C:\Program Files\MailWasher Enterprise Server\data
Linux: \opt\mwes
eddiex666
Travelling Tuatara
Posts: 36
Joined: Fri Aug 05, 2016 12:30 am

Re: api ?

Postby eddiex666 Sat Dec 24, 2016 3:37 am

tnx,
i cannot find the "URL identifyer" for the rescue link.

for example: MTA2Nzk3
is this a "encoded" value from something?

like mail que numbers??

Eddie
User avatar
nick.bolton
The Big Cheese
Posts: 1638
Joined: Thu Aug 28, 2008 4:02 pm

Re: api ?

Postby nick.bolton Sat Dec 24, 2016 4:04 pm

Sorry I'll have to ask the programmers and they're away on Christmas break for a few weeks.
eddiex666
Travelling Tuatara
Posts: 36
Joined: Fri Aug 05, 2016 12:30 am

Re: api ?

Postby eddiex666 Wed Jan 04, 2017 12:55 am

Hi Nick,
happy new year to all of you.

have you got any time to check how to re-create a "rescue" link.

what i need is to manually recreate a rescue link that i can open in my web browser.
I nedd to know how to get the correct rescue link....

as the link conatins a "identifyer" for the spesifik mail.
http :// mailserver : 4044 / Quarantined.srv ? Rescue = MTEyMjM2 & menu_title = Quarantine & menu_selected = Quarantined & Offset = 0#MTEyMjM2

in this link the identifyer is - MTEyMjM2
in the mwes is shows as:
crowder_seymour@paloaltomedica Move ahead in the game 2017-01-03 11:55:29 First Alert +

How can do that?

Eddie
User avatar
nick.bolton
The Big Cheese
Posts: 1638
Joined: Thu Aug 28, 2008 4:02 pm

Re: api ?

Postby nick.bolton Wed Jan 04, 2017 7:27 am

Hi Eddie

I'll need to wait for the programmer who worked on this to get back from holiday - he's back next week.
eddiex666
Travelling Tuatara
Posts: 36
Joined: Fri Aug 05, 2016 12:30 am

Re: api ?

Postby eddiex666 Wed Jan 11, 2017 4:33 am

any news on my question?
eddiex666
Travelling Tuatara
Posts: 36
Joined: Fri Aug 05, 2016 12:30 am

Re: api ?

Postby eddiex666 Thu Jan 12, 2017 3:51 am

what i need is to know how to generate the resque link.
http://mailserver:4044/Quarantined.srv? Rescue=MTE2NTgx &menu_title=Quarantine&menu_selected=Quarantined&Offset=0#MTE2NTgx

how to know what mail that has "Resque = MTE2NTgx"
is there any DB table or is it generated by something?

Eddie
eddiex666
Travelling Tuatara
Posts: 36
Joined: Fri Aug 05, 2016 12:30 am

Re: api ?

Postby eddiex666 Tue Jan 17, 2017 8:32 pm

hipp hipp, does it use "offset" recalc?

Return to “MailWasher Enterprise Server”

Who is online

Users browsing this forum: No registered users and 2 guests