Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I want to receive an email notification after the crack task is completed, where shou
#1
I want to receive an email notification after the crack task is completed, where should I set it?
Reply
#2
https://github.com/s3inlc/hashtopolis/wi...ifications
Reply
#3
(08-25-2019, 06:05 PM)s3in!c Wrote: https://github.com/s3inlc/hashtopolis/wi...ifications
Is it necessary to first configure the email service in the ubuntu server, then return to the hashtopolis to fill in Base hostname/port/protocol to use.
Reply
#4
Email sending needs to be configured on the ubuntu server (e.g. using ssmtp), afterwards you don't need to configure anything, as php will automatically use the system's mail service.
Reply
#5
(08-26-2019, 02:56 PM)s3in!c Wrote: Email sending needs to be configured on the ubuntu server (e.g. using ssmtp), afterwards you don't need to configure anything, as php will automatically use the system's mail service.
Ssmpt is installed on my ubuntu server 16.04

And the parameters are configured in /etc/ssmtp/ssmtp.conf and /etc/ssmtp/revaliases. I repeatedly checked the configuration parameters and found no errors. The operation in hashtopolis triggered the email notification, but I did not receive the email, I Check the log found /var/log/mail.err found error 553, please help me see where the problem occurred.

Configuration information:
/etc/ssmtp/ssmtp.conf
#
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
Root=hashtopolis@163.com

# The place where the mail goes. The actual machine name is required no
# MX records are consulted. Commonly mailhosts are named mail.domain.com
Mailhub=smtp.163.com:25

# Where will the mail seem to come from?
#rewriteDomain=163.com

# The full hostname
Hostname=hashtopolis

# Are users allowed to set their own From: address?
# YES - Allow the user to specify their own From: address
# NO - Use the system generated From: address
#FromLineOverride=YES

AuthUser=hashtopolis@163.com
AuthPass=************

UseTLS=YES
UseSTARTTLS=YES


Nano /etc/ssmtp/revaliases
# sSMTP aliases
#
# Format: local_account:outgoing_address:mailhub
#
# Example: root:hashtopolis@163.comConfusedmtp.163.com:25
# where [:port] is an optional port number that defaults to 25.




Log information:
/var/log/mail.err:

Aug 27 10:04:05 hashtopolis sSMTP[24860]: 553 Mail from must equal authorized user
Aug 27 10:06:43 hashtopolis sSMTP[24863]: 553 Mail from must equal authorized user
Aug 27 10:07:17 hashtopolis sSMTP[24864]: 553 Mail from must equal authorized user
Aug 27 22:41:40 hashtopolis sSMTP[25500]: 553 Mail from must equal authorized user

/var/log/mail.log:
Aug 27 08:57:21 hashtopolis sSMTP[24669]: Creating SSL connection to host
Aug 27 08:57:21 hashtopolis sSMTP[24669]: SSL connection using RSA_AES_128_GCM_SHA256
Aug 27 08:57:21 hashtopolis sSMTP[24669]: 553 Mail from must equal authorized user
Aug 27 09:01:16 hashtopolis sSMTP[24673]: Creating SSL connection to host
Aug 27 09:01:17 hashtopolis sSMTP[24673]: SSL connection using RSA_AES_128_GCM_SHA256
Aug 27 09:01:17 hashtopolis sSMTP[24673]: 553 Mail from must equal authorized user
Aug 27 09:03:01 hashtopolis sSMTP[24677]: Creating SSL connection to host
Aug 27 09:03:02 hashtopolis sSMTP[24677]: SSL connection using RSA_AES_128_GCM_SHA256
Reply
#6
Did you set the email hashtopolis@163.com also as sender in Hashtopolis in the config? Config -> Server -> Server -> First Item
Reply
#7
(08-28-2019, 12:43 PM)s3in!c Wrote: Did you set the email hashtopolis@163.com also as sender in Hashtopolis in the config? Config -> Server -> Server -> First Item
Yes, I have set hashtopolis@163.com as the sender after Config -> Server -> Server -> First Item (Email address used as sender on notification emails.).

Set (sender's name on emails sent from Hashtopolis.) to: hashtopolis
Reply
#8
Ok, so most likely this issue is either related to ssmtp having an issue here (but which I doubt, as the config looks correct) or your email provider.

Surprisingly when searching for your error (553 Mail from must equal authorized user), mostly Chinese-related stuff pops up. Either this is e specific thing with 163.com or in general with Chinese email providers. I would recommend trying with another email provider to see if you have the same issue there.
Reply
#9
(08-28-2019, 02:02 PM)s3in!c Wrote: Ok, so most likely this issue is either related to ssmtp having an issue here (but which I doubt, as the config looks correct) or your email provider.

Surprisingly when searching for your error (553 Mail from must equal authorized user), mostly Chinese-related stuff pops up. Either this is e specific thing with 163.com or in general with Chinese email providers. I would recommend trying with another email provider to see if you have the same issue there.
Yes, I am a Chinese user. It may be a common problem for Chinese email service providers. I have tried gmail before, but I am not allowed to use gmail in China, which is destined to fail the gmail test. I use a translation language to communicate with you.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)