E-mail notify plugin with local mailer
Hello,
For now, on nightly build, to enable the E-mail notify plugin (email_notify), the user must use a SMTP server with authentication enabled.
I would like to use the local mailer instead, for which i don't need to setup authentication, but without user and password, the form validation is rejected.
Do you plan to add this possibility ?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Tasos Laskos on 03 Dec, 2015 10:41 AM
Hello,
What do you mean by local mailer? Sendmail?
2 Posted by fft on 03 Dec, 2015 11:53 AM
yes, either sendmail, or smtp on localhost:25 without auth
Support Staff 3 Posted by Tasos Laskos on 05 Dec, 2015 12:22 AM
I've updated the nightlies to not require a username and password:
http://downloads.arachni-scanner.com/nightlies/
Let me know how it works.
Cheers
Tasos Laskos closed this discussion on 07 Dec, 2015 09:48 PM.
fft re-opened this discussion on 08 Dec, 2015 03:14 PM
4 Posted by fft on 08 Dec, 2015 03:14 PM
I got this error. I checked thaht unauthenticated SMTP is enabled on localhost:25.
5 Posted by fft on 08 Dec, 2015 03:32 PM
The plugin was configured as following:
server_address: localhost
server_port: 25
tls: false
username: (empty)
password: (empty)
domain: domain.tld
authentication: (empty)
i guess if authentication field is kept empty, it is just kept to the default value ?
maybe a switch is needed like "authentication: false" ?
Support Staff 6 Posted by Tasos Laskos on 08 Dec, 2015 05:33 PM
For now set authentication to an empty string as the default is
plain
, I'll now update it to default to none.Support Staff 7 Posted by Tasos Laskos on 09 Dec, 2015 02:47 PM
Nightlies have been updated with auth disabled by default.
8 Posted by fft on 10 Dec, 2015 09:37 AM
scan is currently running with the new nightly, i'll see what happens at the end.
FYI, on a profile, if i check "Scope exclude binaries", it is not saved. Other options that i checked/unchecked (not many) didn't have the issue.
Support Staff 9 Posted by Tasos Laskos on 10 Dec, 2015 11:54 PM
Fixed the option, cheers for the heads up.
10 Posted by fft on 11 Dec, 2015 01:34 PM
"Scope exclude binaries" option still failing.
The mailer didi'nt receive any mail. Apparently, when a scan is finished with an error, or terminated by a timeout, the mail plugin is not triggered ?
Support Staff 11 Posted by Tasos Laskos on 11 Dec, 2015 02:02 PM
I didn't push the nightlies yet for the option fix.
About the plugin, it should run in both those occasions.
Do you have any instructions on how to setup a local mailer in the same way as you in order to see if I can reproduce the issue and stop bugging you?
12 Posted by fft on 11 Dec, 2015 03:39 PM
yes: a very basic mailer installation with standard settings is sufficient, as long as it accepts localdelivery.
In my case:
apt-get install postfix
And then default answers at configure.
In my case /etc/postfix/main.cf is like
NB: with arachni configuration, i have to make sure postfix is listening on localhost:25 without authentication (that's the standard) ; here we could also directly use the sendmail command.
Support Staff 13 Posted by Tasos Laskos on 15 Dec, 2015 02:50 AM
I'm using the same config but getting a timeout from the SMTP server, have you tried the same configuration but from a different client?
I know the plugin works in general (I've tried it several times with GMail) and I'm just relying on another library to do the work to which I just pass the plugin options.
There's not much to go wrong here, if the client and server configs are OK, then it should work.
Tasos Laskos closed this discussion on 19 Jan, 2016 01:55 PM.