A
A
Alexander2015-06-11 12:17:05
Google
Alexander, 2015-06-11 12:17:05

How can I find out how many emails Exim has sent today?

Exim sends emails via the smtp.google.com relay because my VPS provider has closed outgoing connections to port 25 to fight spam.
I saw messages in the log today:
host gmail-smtp-msa.l.google.com [74.125.133.109]: 550 5.4.5 Daily sending quota exceeded.
Google's limit on the number of emails sent through its smtp worked. But I suppose that very few letters should have been sent. I would like to see some statistics on the number of sent letters ... To figure out what's going on.
And along the way, what is the current limit for Google per day for its smtp and what for Yandex?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vlad Zhivotnev, 2015-06-11
@inkvizitor68sl

awk '/<=/ {print $3}' /var/log/exim4/mainlog | wc -l

D
Dmitry Shitskov, 2016-02-11
@Zarom

eximstats /var/log/exim/mainlog

O
oni__ino, 2016-06-07
@oni__ino

Gentlemen, what to do if the provider writes Daily sending quota exceeded and fewer letters are actually sent. Limit 500, according to logs 300. ?
UPD: figured it out, it turned out that another service used this address for its own needs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question