You are not logged in.

#1 2023-03-17 16:13:31

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

Gmail (Google Workspace) and mutt

Every 6 months or so, I must bulk send thousands of emails (same domain). Every email has a different attachment. I use mutt. Something like


echo "This is the body text" | mutt -s "This is the subject" address_0001@ourdomain.com -a attachment_0001.file
echo "This is the body text" | mutt -s "This is the subject" address_0002@ourdomain.com -a attachment_0002.file
.
.
.
echo "This is the body text" | mutt -s "This is the subject" address_2000@ourdomain.com -a attachment_2000.file


After about 800 email mutt will fail because gmail detects multiple logins. 454 4.7.0 Too many login attempts, please try again later. After that I have to wait about 10 minutes.


Can I use mutt in such a way that it won't login for every email it sends? The configuration is via /etc/ssmtp/ssmtp.conf

Open a mutt session and send signals to it?


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#2 2023-03-17 16:20:35

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,517
Website

Re: Gmail (Google Workspace) and mutt

This is most likely not a mutt issue but a gmail restriction.  Gmail documentation suggests sending could be blocked after 500 messages in a day - so the fact that you are getting to 800 is better than expected.  You'll need to check with gmail support or use a different mail service.

Alternatively, if you could split the mailing up over several days (e.g., send 400 a day for 5 days) you should be fine.

Last edited by Trilby (2023-03-17 16:27:28)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2023-03-17 16:32:34

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

Re: Gmail (Google Workspace) and mutt

Our Workspace limit is 2000/day. This is not an email per day limit. It is login attempts issue.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

Board footer

Powered by FluxBB