Opened 13 months ago

Closed 12 months ago

Last modified 11 months ago

#3013 closed task (fixed)

Submission service to send formal emails

Reported by: Ariel Anthieni Owned by: sac@…
Priority: normal Milestone: Sysadmin Contract 2023-II
Component: SysAdmin/Postfix Keywords: board, un committe
Cc: jef

Description

I am needing to see how I can send email from my osgeo inbox because I am having formal conversations with people from UN, World Bank and IDB for possible alliances. Best Regards

Change History (18)

comment:1 by strk, 13 months ago

Component: SysAdmin/MailmanSysAdmin
Summary: SMTP server to send formal emailsMail Submission Agent service to send formal emails

You need a MSA service (Submission service), see https://en.wikipedia.org/wiki/Message_submission_agent

I would postpone this to after #2823 is done, but in any case I suggest we do setup Dovecot to deal with authenticating the users. Postfix is able to use Dovecot authentication DB to provide MSA service.

comment:2 by strk, 13 months ago

Cc: jef added

I've found a precedent ticket asking for this: #2132

The ticket was referenced by a git commit on the mail server which enabled the submissions service. The commit was by Juergen, which I'm adding in Cc. Chances are we are already all setup for this.

comment:3 by strk, 13 months ago

I've just restored MSA service, it somehow broke at some point and nobody complained but now it is working again.

Ariel: the setting for your MUA should be:

  • Outgoing server: smtps://lists.osgeo.org
  • Username: aanthieni
  • Password: your OSGeo UserID credentials

I *think* we need to explicitly enable your username to be able to use the service. Juergen could know more about how to do that as he was the one setting up the SASL configuration in 2016

comment:4 by strk, 13 months ago

Component: SysAdminSysAdmin/Postfix
Milestone: UnplannedSysadmin Contract 2023-II
Summary: Mail Submission Agent service to send formal emailsSubmission service to send formal emails

comment:5 by Ariel Anthieni, 13 months ago

Hi STRK, with this SMTP server it doesn't work for me, it gives me a DNS error, with lists.osgeo.org it tells me to check the port, it could be a url or port error. Also the options with TSL or SSL, I don't know what the server configuration is. Could you specify these data for me?

Thank you

comment:6 by jsanz, 13 months ago

Hi Ariel,

Using the terminology from the Thunderbird email client, these settings are working for me (tested on various devices and clients):

  • Server Name: lists.osgeo.org
  • Port: 465
  • User Name: jsanz (my OSGeo id)
  • Authentication method: Normal password
  • Connection security: SSL/TLS

BTW, I promised publicly I'll write a wiki page to document this better 😅

comment:7 by Ariel Anthieni, 13 months ago

I tried with this data but it tells me that the user is not correct "An authentication error occurred. Check the username and password." I don't know if I need to enable something else for my user, it's aanthieni

Thank you

comment:8 by jsanz, 13 months ago

Ariel, did you manage to configure your client?

I've created a wiki page for the MSA service description.

https://wiki.osgeo.org/wiki/SAC:Message_Submission_Agent

comment:9 by jsanz, 12 months ago

@strk a follow up

I just met with Ariel and we checked together than everything on his end seems to be OK. He showed me how the GMail alternate SMTP account fails to authenticate his user.

Just to be sure, I set also up on my Google Mail settings for an alternate account with the OSGeo SMTP settings successfully.

So it seems the issue has to be with Ariel's LDAP user settings.

Can you please take a look? Thanks!

comment:10 by strk, 12 months ago

Can Ariel log into other OSGeo services just fine ? I think it's easier if you debug Ariel's problem next time you meet, given you could make your GMail setting work...

comment:11 by strk, 12 months ago

Resolution: fixed
Status: newclosed

I'll actually close this ticket as completed and please file separate tickets for problems that might arise. The fact that it works for jsanz confirms it works

comment:12 by jsanz, 12 months ago

Can Ariel log into other OSGeo services just fine ? I think it's easier if you debug Ariel's problem next time you meet, given you could make your GMail setting work...

He can. I actually met with him, and we checked together his settings were OK.

@strk, do you mind adding to the wiki page some guidelines for admins? Ariel can't send emails (I think) because there is some missing configuration, but I don't know what to check or how 😞

comment:13 by strk, 12 months ago

Resolution: fixed
Status: closedreopened

Jurgen: I believe you made the MSA configuration long ago, can you help here ? Is MSA only enabled for OSGeo users in a given group ? Shell group maybe ?

comment:14 by Ariel Anthieni, 12 months ago

Good morning, did you have any update on this, does my user have to be added to any group that the Jsanz user has that permission? Thank you very much as I need to continue with the dialogues with possible MoUs and other actions. ?

comment:15 by cvvergara, 12 months ago

Maybe this procedure from your kan.ar service provider is needed

comment:16 by Ariel Anthieni, 12 months ago

Dear @strk @jurgen @jsanz, perform the tests from the client that I use @jsanz, simulating the same situation, he can and I can't, it is clearly an authentication problem, since the error is:

Sending of the message failed. An error occurred while sending mail. The mail server responded: <aanthieni@…>: Relay access denied. Please check the message recipient "aanthieni@…" and try again.

He considered that it would be adding me to one of the groups that the LDAP MUA has configured or if it is with everyone who has access to the Server it will be on that side, it all depends on how the MuA is configured.

I was looking at the LDAP groups with this tutorial https://wiki.osgeo.org/wiki/SAC:LDAP, but I don't have access to that or I'm not doing it right.

My email provider @cvvergara does not intervene with this test.

Thank you very much in advance and I am waiting if you can help me.

comment:17 by jsanz, 12 months ago

Resolution: fixed
Status: reopenedclosed

Thanks Ariel for the pointer to the LDAP documentation.

I added Ariel to the shell group as per the wiki documentation and we confirmed Ariel can finally send emails with his OSGeo alias 🎉

I will update the wiki page with this missing info.

comment:18 by strk, 11 months ago

Thank you jsanz !

Note: See TracTickets for help on using tickets.