Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alert email settings #105

Open
Haotian-Shi-cyber opened this issue Jan 3, 2021 · 13 comments
Open

alert email settings #105

Haotian-Shi-cyber opened this issue Jan 3, 2021 · 13 comments

Comments

@Haotian-Shi-cyber
Copy link

i left the email setting "open relay", and i got this error
image

@oldkingcone
Copy link

Looks like you got a connection refused from Googles' servers. This is a configuration error on the client side(your end).

@Haotian-Shi-cyber
Copy link
Author

could you be more specific? i dont know how to fix it

@russhaun
Copy link

russhaun commented Jan 6, 2021

you have to use a valid username and password

@Haotian-Shi-cyber
Copy link
Author

i used the correct username and password in config file, and i got emails alert but it shows tcp and udp ports i couldn't bind to.

@Haotian-Shi-cyber
Copy link
Author

image
also this

@oldkingcone
Copy link

did you follow the guide that gmail and google gives for external/custom email clients? because it doesnt sound like you followed the guide.

@Haotian-Shi-cyber
Copy link
Author

it shouldn't be this problem cuz i received emails from smtp server but these emails are all telling me that unable to bind udp or tcp ports.
image

@oldkingcone
Copy link

well yea, if the port is already in use you wont be able to bind a second program onto that port. Im confused here, are you trying to have a client send emails through googles smtp servers or are you trying to host your own smtp server?

@Haotian-Shi-cyber
Copy link
Author

to be honest, i dont know how to let my honeypot send emails to my own email account, so literally the smtp account and password is my gmail account and then use it to send alerts to my another own email. (guess because honeypot hasn't got a email server on it not sure)
btw how can i fix it.. been working it all day for my honours project much appreciated!!

@oldkingcone
Copy link

If i remember correctly, Google only allows specific user-agents or smtp clients to interact with or send email over their SMTP ports. I ran into this issue awhile ago, and had to refer back to googles guide on how to connect an smtp client to their smtp ports, and found they only really allow thunderbird or outlook. For the full implementation of an SMTP client, you may need to consult the RFC on SMTP to understand how the protocol works. https://support.google.com/mail/answer/7126229?hl=en

@Haotian-Shi-cyber
Copy link
Author

i can receive the email alert as i said, in my outlook email account.. i dont know how to bind these ports if it is already in use. which set of commands i can type?

@russhaun
Copy link

in the ports section go through the list currently in the config file and see if there are any conflicting ports and remove them.

@Haotian-Shi-cyber
Copy link
Author

yeah thx fixed, i killed the process

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants