Mailer Issue

4 views
Skip to first unread message

Eric Kaltman

unread,
Oct 29, 2020, 2:02:59 AM10/29/20
to eaasi-t...@googlegroups.com

Howdy,

 

I got the EaaSI node installed on our local network and am testing the email password functions. According to the mail.log, the sender is “eaasi@eaasi@csuci.edu”, I’m wondering why there is a second “@” symbol? The smtp configuration we used is expecting to forward any email with a “ea...@csuci.edu” sender from the server, so I think this double @ is getting blocked. Also, it appears to have sent to “root” instead of my user email address? I’m thinking the “identity” user needed to be the same as the sender? Is there a way to manipulate this without a reinstallation?

 

Also, eric.k...@csuci.edu is still not able to access this list, so if that email could be added I’d appreciate it.  

 

Best,

Eric

 

Relevant yaml file:

    mailer:

      port: 25

      host: "smtp.csuci.edu"

      user:

      password:

      sender: ea...@csuci.edu

 

  initial_user:

    # NOTE: email must match that registered with your identity provider!

    email: "eric.k...@csuci.edu"

    username: "admin"

    first_name: "Eric"

    last_name: "Kaltman"

 

Mail.log:

Oct 29 05:28:04 eaasi postfix/pickup[15879]: A28D45C004C: uid=1002 from=<eaasi>

Oct 29 05:28:04 eaasi postfix/cleanup[17605]: A28D45C004C: message-id=<20201029052804.A28D45C004C@eaasi>

Oct 29 05:28:04 eaasi postfix/qmgr[1673]: A28D45C004C: from=<eaasi@eaasi@csuci.edu>, size=536, nrcpt=1 (queue active)

Oct 29 05:28:04 eaasi postfix/smtp[17607]: A28D45C004C: to=<root@eaasi@csuci.edu>, orig_to=<root>, relay=smtp.csuci.edu[172.30.118.38]:25, delay=0.16, delays=0.01/0/0.01/0.14, dsn=2.6.0, status=sent (250 2.6.0 <20201029052804.A28D45C004C@eaasi> [InternalId=25817048416296, Hostname=fillmore.csuci.edu] Queued mail for delivery)

Oct 29 05:28:04 eaasi postfix/qmgr[1673]: A28D45C004C: removed

Andrii Kost

unread,
Oct 29, 2020, 10:57:56 AM10/29/20
to EaaSI Tech Talk
Hello,

Yes, you can change the mailer config without reinstallation.

To do that, go to <EAASI_DIR>/portal/eaasi-web-api, and open .env.production file with your prefered editor.

On the bottom of the file, you'll see various configs with the prefix MAILER_*. 

After changing the desired config property, simply rebuild the eaasi-web-api docker container.

`sudo docker-compose up --build --force-recreate --no-deps -d eaasi-web-api`

After the container rebuilds and restarts, it should pick up changed properties and run with them.

Thanks,

Eric Kaltman

unread,
Oct 29, 2020, 12:30:51 PM10/29/20
to Andrii Kost, EaaSI Tech Talk

Thanks Andrii. I don’t actually know what to change in there is the thing. The yaml I included had the correct information (I thought) but the eaasi target machine does not appear to be sending the password reset to my user email address? The sender is not ea...@csuci.edu but eaasi@ea...@csuci.edu .  I’m also not clear on what “email must match that registered with your identity provider” means exactly. I’ll chat with our IT folks about this as well.

--
You received this message because you are subscribed to the Google Groups "EaaSI Tech Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eaasi-tech-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eaasi-tech-talk/e144843c-03da-42eb-b666-e13b265d35e9n%40googlegroups.com.

Andrii Kost

unread,
Oct 29, 2020, 1:16:49 PM10/29/20
to EaaSI Tech Talk
I am no expert at SMTP configuration, but it might be because of some sort of redirect rule on your SMTP server, that redirects the user that you created to a root user.

You might want to double-check with your SMTP expert.

Thanks

Eric Kaltman

unread,
Oct 29, 2020, 1:18:23 PM10/29/20
to Andrii Kost, EaaSI Tech Talk

Thanks, I’ll work this out with them then.

Reply all
Reply to author
Forward
0 new messages