[ZBX-14628] Zabbix sends notifications with empty MAIL FROM Created: 2018 Jul 23  Updated: 2024 Apr 10  Resolved: 2018 Aug 20

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 4.0.0alpha8
Fix Version/s: 4.0.0beta1, 4.0 (plan)

Type: Problem report Priority: Critical
Reporter: Paul Roland Assignee: Arets Paeglis (Inactive)
Resolution: Fixed Votes: 0
Labels: email, notifications
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 18.04 LTS (GNU/Linux 4.15.0-1010-aws x86_64)

AWS T2.Medium


Attachments: PNG File IMG_23072018_120208_0.png     PNG File ses.png    
Issue Links:
Causes
caused by ZBXNEXT-4175 Ability to send email to several emai... Closed
Team: Team C
Team: Team C
Sprint: Sprint 39, Sprint 40
Story Points: 0.125

 Description   

Steps to reproduce:

  1. Adding AWS SES smtp credentials.
  2. Trigger an email alert
  3. Check debug log

Result:

16252:20180723:082706.244 > MAIL FROM: >
16252:20180723:082706.266 < 501 Invalid MAIL FROM address provided
16252:20180723:082706.266 * MAIL failed: 501
16252:20180723:082706.266 > QUIT

Expected:
Email should be sent, it did work on Zabbix 3.0 LTS (we just updated to 4.0 alpha8)
SMTP credentials are valid, no firewall blocking, tested them on different application (same server)

With other SMTP Credentials (such as o365) it does the same empty MAIL FROM, but some providers are not so strict about that part since the username might supersede, not the case in Amazon's SES.



 Comments   
Comment by Paul Roland [ 2018 Jul 25 ]

4.0.0alpha9 affected as well.

Comment by Vladislavs Sokurenko [ 2018 Aug 03 ]

Thank you for your report could you please be so kind and show output of the following command:

curl -V
Comment by Paul Roland [ 2018 Aug 09 ]

Hi Vladislavs, it's https://packages.ubuntu.com/bionic/curl
Which is whatever ubuntu has on 18.04 LTS.
Unfortunately after this discovery we downgraded to 3.4 for the moment since this was a critical show stopper for us. This issue is not present there.
I cannot help any further, sorry.

Comment by Arets Paeglis (Inactive) [ 2018 Aug 14 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-14628

Comment by Arets Paeglis (Inactive) [ 2018 Aug 15 ]

Available in 4.0.0alpha10 (trunk) r83808.

Generated at Fri Apr 19 01:24:59 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.