tor2web / Tor2web

Tor2web is an HTTP proxy software that enables access to Tor Hidden Services by mean of common web browsers
https://www.tor2web.org
GNU Affero General Public License v3.0
705 stars 176 forks source link

If notification's email are not configured (default to [USERNAME]) t2w should not try to send them #154

Closed fpietrosanti closed 10 years ago

fpietrosanti commented 10 years ago

If notification's email are not configured (default to [USERNAME]) t2w should not try to send them.

Currently the default configuration file have [USERNAME] and [PASSWORD] as default value.

In this condition Tor2web, if a notification is sent due to stack-exception or abuse, will try anyway to send an email creating a loop of stack-exceptions.

In this situation (default configuration with email disabled) Tor2web should not try to send email

evilaliv3 commented 10 years ago

implemented.

https://github.com/globaleaks/Tor2web-3.0/commit/863a4ec542a45ad016e471202b19fc352a0e21e8: as discriminator to understand if the user has configured the mailing system i've decided to use the source email configuration.