Problems with setting up Zammad with Sendgrid SMTP

Infos:

  • Used Zammad version: 5.4.0
  • Used Zammad installation type: docker-compose with official compose file from here
  • Operating system: Fedora 37
  • Browser + version: Firefox 100+

Expected behavior:

  • I can successfully setup Zammad with the sendgrid smtp server

Actual behavior:

  • While trying to setting up Zammad with an sendgrid smtp, i get the following error message:
550 The from address does not match a verified Sender Identity. Mail cannot be sent until this error is resolved. Visit https://sendgrid.com/docs/for-developers/sending-email/sender-identity/ to see the Sender Identity requirements 

Notice: Sendgrid requires me to use apikey as the user name for the SMTP.

Steps to reproduce the behavior:

  • Create an API key in sendgrid
  • Run the zammad setup wizard
  • Enter the created credentials into the E-Mail smtp dialog

Hi,

i’m trying to setup Zammad on my home server for evaluation purposes. I’m stuck at the smtp setup as described above. I know, that this is actually a SMTP error. I guess, that i would need to use something like support@mydomain.com as the user, so Zammad knows which sender E-Mail to use, right?

Unfortunately with sendgrid i can only use apikey as the username, which is why (i think) i get the error. Is there any way to circumvent the Wizard dialog?

When i choose to use sendmail i get the error message:

No such file or directory - /usr/sbin/sendmail

The reason i am using a service like Sendgrid is, that i’m using Zammad on my homeserver with dynamic DNS. If i would use any regular SMTP (like gmail, yahoo etc.) it would be blocked quite fast.

Edit: Added reason i’m using sendgrid

Just out of curiosity, i have setup an Amazon Simple Email Service account and verified my domain. I have created credentials for that account and tried them with the Zammad wizard. Now i get the following error message, wich confuses me completely:

554 Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-1: verify-external-smtp-sending@discard.zammad.org 

I solved the problem for now, but setting up the E-Mail channel with a “regular” smtp server. I guess it will be blocked after a time. But for evaluation it should be fine.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.