[Koha] Need help to reconfigure Koha Mail with Gmail

Thomas Klausner domm at plix.at
Tue Jun 21 06:27:47 NZST 2022


Hi!

On Mon, Jun 20, 2022 at 06:40:58PM +0100, Chris Brown wrote:
 
> Our koha mail system is set up to use a gmail account to process outbound
> email, using the "less secure apps" option in the gmail account. This has
> stopped working for us (and I'm sure for many others) now that Google have
> disabled this feature. I am looking for specific advice on how to
> reconfigure Koha so it continues to work with gmail (setting up an "app
> password" perhaps?). I have seen a little discussion about this on the list
> but no real guidance. Can anyone help please?

This is not related to Koha, and cannot be fixed in Koha, but needs to 
be fixed on your SMTP connection (in postfix)

I did a blog post (in a different context) on how to set up a google 
"app password":

To get such an app password, you first have to secure your account with Two Factor Authentication (2FA) (if you haven't already done that):

    Go to https://myaccount.google.com
    Find "2-Step Verification" under the Security headline
    Go through the process. I use the "Google Authenticator" app on my mobile phone
    After you've set this up, you'll find the new option "App passwords" under "Security" / "Signing into Google"
    Select an app ("Mail") and give it a custom name (eg "offlineimap"), click on "generate" and copy the password (you'll never see it again!)

The full blog post is here: https://domm.plix.at/perl/2022_05_use_multiple_gmail_accounts_via_mutt_and_offlineimap.html


Then you will need to figure out how make postfix use that new password.

A little bit of googling found this:

https://www.linode.com/docs/guides/configure-postfix-to-send-mail-using-gmail-and-google-workspace-on-debian-or-ubuntu/

Which also goes through the process of setting up an app password.


Greetings,
domm

-- 
#!/usr/bin/perl                             https://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}


More information about the Koha mailing list