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
#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


Messages In This Thread
RE: I want to receive an email notification after the crack task is completed, where shou - by 76687371@163.com - 08-28-2019, 03:24 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)