I use is ali cloud server, docker + the rabbitmq, main is to send mail verification code problems, set the redis TTL time to 1 second, send verification code, it was found that mail delivery rate less than 50%, @ RabbitListener some don't listen, some mail delay for a long time to send me, even sent 7 times, for example, is made unack, there will be three times and then trace and view the log, and without exception, feeling the trace will only output data, the information later, changed the switch type, set up the manual ack, or half success rate, no obstruction, success rate is very low, redis set to 5 minutes, is a little bit longer, once failed, then I try to use the virtual machine of the rabbitmq, everything was normal, very meng, reason is the server? To solve the
CodePudding user response:
Junction post, ali cloud forced closure SMTP25 port, prevent spicy chicken email, you can use the ali ali cloud service provided by the cloud, or use ssl465 port
CodePudding user response:
Ali, limit is more,
On the one hand is to security concerns, on the other hand, is also the function of each additional, are all can do service, sell,
CodePudding user response:
The same way, just start is not prompt