Discussion:
[Koha] Koha Emails
Hira Akram
2018-07-31 11:03:00 UTC
Permalink
Hi All,
I was using Koha to send Emails at check-in/checkout and claims section. It was working fine till yesterday. But today it is not sending emails and it is also not showing message “email sent to vendor” in claims section. What might have happened and how can I correct this now? Can anyone help?
Thanks

_______________________________________________
Koha mailing list http://koha-community.org
***@lists.katipo.co.nz
https://lists.katipo.co
SATISH
2018-07-31 11:21:40 UTC
Permalink
Hello,

1. Please verify firewall is enabled or disabled for your machine's IP
address.
2. Next, You could check for "mail log" to the know exact status.

*# tail -f /var/log/mail.log*
*# mialq*

example is shown here.
---------
*# tail -f /var/log/mail.log*
Apr 28 11:20:03 gechlibrary postfix/smtpd[4449]: disconnect from
localhost[127.0.0.1]
Apr 28 11:20:32 gechlibrary postfix/smtp[4451]: connect to
smtp.gmail.com[74.125.24.108]:587:
Connection timed out
Apr 28 11:20:32 gechlibrary postfix/smtp[4452]: connect to
smtp.gmail.com[74.125.24.109]:587:
Connection timed out
Apr 28 11:21:02 gechlibrary postfix/smtp[4451]: 9BE0E7805B6: to=<
***@gmail.com>, relay=none, delay=60, delays=0.12/0/60/0, dsn=4.4.1,
status=deferred (connect to smtp.gmail.com[74.125.24.109]:587: Connection
timed out)
Apr 28 11:21:03 gechlibrary postfix/smtp[4452]: connect to
smtp.gmail.com[74.125.24.108]:587:
Connection timed out
Apr 28 11:21:03 gechlibrary postfix/smtp[4452]: C7A8F7805E6: to=<
***@gmail.com>, relay=none, delay=60, delays=0.07/0.01/60/0, dsn=4.4.1,
status=deferred (connect to smtp.gmail.com[74.125.24.108]:587: Connection
timed out)
Apr 28 11:21:03 gechlibrary postfix/smtp[4453]: connect to
smtp.gmail.com[74.125.24.108]:587:
Connection timed out
Apr 28 11:21:03 gechlibrary postfix/smtp[4453]: E4358780614: to=<
***@gmail.com>, relay=none, delay=60, delays=0.07/0.01/60/0, dsn=4.4.1,
status=deferred (connect to smtp.gmail.com[74.125.24.108]:587: Connection
timed out)

firewall was blocked, and because of this reason, status = deferred was
appeared in mail log.

*#mialq*

18308780A2A 918 Sat Apr 28 10:40:03 ***@localhost
(delivery temporarily suspended: connect to smtp.gmail.com[74.125.24.109]:587:
Connection timed out)
***@rediffmail.com


---------
Also refer
https://unix.stackexchange.com/questions/21407/postfix-doesn
t-send-mail-complaining-about-host-or-domain-name-not-found

Hope! It helps to identify the problem.

*Satish MV*
Librarian - Govt. Engineering College
Opp. Dairy Circle, B.M.Road, Hassan 573 201
Karnataka, INDIA
Website: www. <http://www.git.edu/>gechassan.ac.in,
www.library.wordpress.com
Hira Akram
2018-07-31 12:15:51 UTC
Permalink
I Checked and it is showing too many login attempts in log that’s why google server has blocked emails from this account. In Gmail account, it is showing too many random emails on invalid accounts. But I haven’t sent these through Koha or anything. Is it possible that koha sent these emails automatically??

Sent from Mail for Windows 10

From: SATISH
Sent: Tuesday, July 31, 2018 4:21 PM
To: Hira Akram
Cc: ***@calyx.net.au; ***@lists.katipo.co.nz
Subject: Re: [Koha] Koha Emails

Hello, 

1. Please verify firewall is enabled or disabled for your machine's IP address.
2. Next, You could check for "mail log"  to the know exact status.

# tail -f /var/log/mail.log
# mialq

example is shown here.
---------
# tail -f /var/log/mail.log
Apr 28 11:20:03 gechlibrary postfix/smtpd[4449]: disconnect from localhost[127.0.0.1]
Apr 28 11:20:32 gechlibrary postfix/smtp[4451]: connect to smtp.gmail.com[74.125.24.108]:587: Connection timed out
Apr 28 11:20:32 gechlibrary postfix/smtp[4452]: connect to smtp.gmail.com[74.125.24.109]:587: Connection timed out
Apr 28 11:21:02 gechlibrary postfix/smtp[4451]: 9BE0E7805B6: to=<***@gmail.com>, relay=none, delay=60, delays=0.12/0/60/0, dsn=4.4.1, status=deferred (connect to smtp.gmail.com[74.125.24.109]:587: Connection timed out)
Apr 28 11:21:03 gechlibrary postfix/smtp[4452]: connect to smtp.gmail.com[74.125.24.108]:587: Connection timed out
Apr 28 11:21:03 gechlibrary postfix/smtp[4452]: C7A8F7805E6: to=<***@gmail.com>, relay=none, delay=60, delays=0.07/0.01/60/0, dsn=4.4.1, status=deferred (connect to smtp.gmail.com[74.125.24.108]:587: Connection timed out)
Apr 28 11:21:03 gechlibrary postfix/smtp[4453]: connect to smtp.gmail.com[74.125.24.108]:587: Connection timed out
Apr 28 11:21:03 gechlibrary postfix/smtp[4453]: E4358780614: to=<***@gmail.com>, relay=none, delay=60, delays=0.07/0.01/60/0, dsn=4.4.1, status=deferred (connect to smtp.gmail.com[74.125.24.108]:587: Connection timed out)

firewall was blocked, and because of this reason, status = deferred was appeared in mail log.

#mialq

18308780A2A      918 Sat Apr 28 10:40:03  ***@localhost
(delivery temporarily suspended: connect to smtp.gmail.com[74.125.24.109]:587: Connection timed out)
                                         ***@rediffmail.com


---------
Also refer
https://unix.stackexchange.com/questions/21407/postfix-doesnt-send-mail-complaining-about-host-or-domain-name-not-found

Hope! It helps to identify the problem.

Satish MV
Librarian - Govt. Engineering College
Opp. Dairy Circle, B.M.Road, Hassan 573 201
Karnataka, INDIA
Website: www.gechassan.ac.in, www.library.wordpress.com



_______________________________________________
Koha mailing list http://koha-community.org
***@lists.katipo.co.nz
https://lists.kat
vinod mishra
2018-07-31 12:22:49 UTC
Permalink
There is chances of attack/spam through your Koha server, however gmail
always block such automated emails after some time as per my observation.


With Regards,

Vinod Kumar Mishra,
Assistant Librarian,
Biju Patnaik Central Library (BPCL),
NIT Rourkela,
Sundergadh-769008,
Odisha,
India.
Mob:91+9439420860
Website: http://mishravk.com/
ORCID ID: http://orcid.org/0000-0003-4666-7874

*"Spiritual relationship is far more precious than physical. Physical
relationship divorced from spiritual is body without soul" -- Mahatma
Gandhi*
Post by Hira Akram
I Checked and it is showing too many login attempts in log that’s why
google server has blocked emails from this account. In Gmail account, it is
showing too many random emails on invalid accounts. But I haven’t sent
these through Koha or anything. Is it possible that koha sent these emails
automatically??
Sent from Mail for Windows 10
From: SATISH
Sent: Tuesday, July 31, 2018 4:21 PM
To: Hira Akram
Subject: Re: [Koha] Koha Emails
Hello,
1. Please verify firewall is enabled or disabled for your machine's IP
address.
2. Next, You could check for "mail log" to the know exact status.
# tail -f /var/log/mail.log
# mialq
example is shown here.
---------
# tail -f /var/log/mail.log
Apr 28 11:20:03 gechlibrary postfix/smtpd[4449]: disconnect from
localhost[127.0.0.1]
Apr 28 11:20:32 gechlibrary postfix/smtp[4451]: connect to smtp.gmail.com
[74.125.24.108]:587: Connection timed out
Apr 28 11:20:32 gechlibrary postfix/smtp[4452]: connect to smtp.gmail.com
[74.125.24.109]:587: Connection timed out
Apr 28 11:21:02 gechlibrary postfix/smtp[4451]: 9BE0E7805B6: to=<
status=deferred (connect to smtp.gmail.com[74.125.24.109]:587: Connection
timed out)
Apr 28 11:21:03 gechlibrary postfix/smtp[4452]: connect to smtp.gmail.com
[74.125.24.108]:587: Connection timed out
Apr 28 11:21:03 gechlibrary postfix/smtp[4452]: C7A8F7805E6: to=<
status=deferred (connect to smtp.gmail.com[74.125.24.108]:587: Connection
timed out)
Apr 28 11:21:03 gechlibrary postfix/smtp[4453]: connect to smtp.gmail.com
[74.125.24.108]:587: Connection timed out
Apr 28 11:21:03 gechlibrary postfix/smtp[4453]: E4358780614: to=<
status=deferred (connect to smtp.gmail.com[74.125.24.108]:587: Connection
timed out)
firewall was blocked, and because of this reason, status = deferred was
appeared in mail log.
#mialq
Connection timed out)
---------
Also refer
https://unix.stackexchange.com/questions/21407/postfix-
doesnt-send-mail-complaining-about-host-or-domain-name-not-found
Hope! It helps to identify the problem.
Satish MV
Librarian - Govt. Engineering College
Opp. Dairy Circle, B.M.Road, Hassan 573 201
Karnataka, INDIA
Website: www.gechassan.ac.in, www.library.wordpress.com
_______________________________________________
Koha mailing list http://koha-community.org
https://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________
Koha mailing list http://koha-community.org
***@lists.katipo.co.nz
https://lists.katipo.co.nz/mail
Paul A
2018-07-31 22:58:04 UTC
Permalink
Post by vinod mishra
There is chances of attack/spam through your Koha server, however gmail
always block such automated emails after some time as per my observation.
[snip]
Post by vinod mishra
Post by Hira Akram
I Checked and it is showing too many login attempts in log that’s why
google server has blocked emails from this account. In Gmail account, it is
showing too many random emails on invalid accounts. But I haven’t sent
these through Koha or anything. Is it possible that koha sent these emails
automatically??
This is not a Koha problem. Do you use DKIM and SPF? If so you can
*perhaps* contact gmail for a solution. See
<https://support.google.com/mail/answer/6227174>, specifically
"authentication domain".

In a nutshell, email deliverability to gmail is getting very complicated
-- they handle billions of pieces of email/day, and (since at least
2015) have radical protection/rejection practices after even the most
minor "sniff" of UBE -- and this could well not be *you* but some other
user in a bigger block of IP space that has a bad reputation.

Your logs show "(delivery temporarily suspended: connect to
smtp.gmail.com[74.125.24.109]:587: Connection timed out)" which looks
like tar-pitting. Unless you have an experienced email technician on
staff, you could have problems. Once your (or whoever owns your block of
IP space) "reputation" is hurt, it's not easy to get delisted.

Good luck -- Paul





[snip]
Post by vinod mishra
Post by Hira Akram
example is shown here.
---------
# tail -f /var/log/mail.log
Apr 28 11:20:03 gechlibrary postfix/smtpd[4449]: disconnect from
localhost[127.0.0.1]
Apr 28 11:20:32 gechlibrary postfix/smtp[4451]: connect to smtp.gmail.com
[74.125.24.108]:587: Connection timed out
Apr 28 11:20:32 gechlibrary postfix/smtp[4452]: connect to smtp.gmail.com
[74.125.24.109]:587: Connection timed out
Apr 28 11:21:02 gechlibrary postfix/smtp[4451]: 9BE0E7805B6: to=<
status=deferred (connect to smtp.gmail.com[74.125.24.109]:587: Connection
timed out)
Apr 28 11:21:03 gechlibrary postfix/smtp[4452]: connect to smtp.gmail.com
[74.125.24.108]:587: Connection timed out
Apr 28 11:21:03 gechlibrary postfix/smtp[4452]: C7A8F7805E6: to=<
status=deferred (connect to smtp.gmail.com[74.125.24.108]:587: Connection
timed out)
Apr 28 11:21:03 gechlibrary postfix/smtp[4453]: connect to smtp.gmail.com
[74.125.24.108]:587: Connection timed out
Apr 28 11:21:03 gechlibrary postfix/smtp[4453]: E4358780614: to=<
status=deferred (connect to smtp.gmail.com[74.125.24.108]:587: Connection
timed out)
firewall was blocked, and because of this reason, status = deferred was
appeared in mail log.
#mialq
Connection timed out)
_______________________________________________
Koha mailing list http://koha-community.org
***@lists.katipo.co.nz
https://lists.ka
Hira Akram
2018-08-01 05:33:06 UTC
Permalink
Is there any way through which I can stop these junk emails and use this account for koha genuine emails only?

Sent from Mail for Windows 10

From: vinod mishra
Sent: Tuesday, July 31, 2018 8:06 PM
To: Hira Akram
Cc: SATISH; ***@lists.katipo.co.nz
Subject: Re: [Koha] Koha Emails

There is chances of attack/spam through your Koha server, however gmail always block such automated emails after some time as per my observation.



With Regards,

Vinod Kumar Mishra,
Assistant Librarian,
Biju Patnaik Central Library (BPCL),
NIT Rourkela,
Sundergadh-769008,
Odisha,
India.
Mob:91+9439420860
Website: http://mishravk.com/
ORCID ID: http://orcid.org/0000-0003-4666-7874

"Spiritual relationship is far more precious than physical. Physical relationship divorced from spiritual is body without soul" -- Mahatma Gandhi

On Tue, Jul 31, 2018 at 5:45 PM, Hira Akram <***@almusnet.com> wrote:
I Checked and it is showing too many login attempts in log that’s why google server has blocked emails from this account. In Gmail account, it is showing too many random emails on invalid accounts. But I haven’t sent these through Koha or anything. Is it possible that koha sent these emails automatically??

Sent from Mail for Windows 10

From: SATISH
Sent: Tuesday, July 31, 2018 4:21 PM
To: Hira Akram
Cc: ***@calyx.net.au; ***@lists.katipo.co.nz
Subject: Re: [Koha] Koha Emails

Hello, 

1. Please verify firewall is enabled or disabled for your machine's IP address.
2. Next, You could check for "mail log"  to the know exact status.

# tail -f /var/log/mail.log
# mialq

example is shown here.
---------
# tail -f /var/log/mail.log
Apr 28 11:20:03 gechlibrary postfix/smtpd[4449]: disconnect from localhost[127.0.0.1]
Apr 28 11:20:32 gechlibrary postfix/smtp[4451]: connect to smtp.gmail.com[74.125.24.108]:587: Connection timed out
Apr 28 11:20:32 gechlibrary postfix/smtp[4452]: connect to smtp.gmail.com[74.125.24.109]:587: Connection timed out
Apr 28 11:21:02 gechlibrary postfix/smtp[4451]: 9BE0E7805B6: to=<***@gmail.com>, relay=none, delay=60, delays=0.12/0/60/0, dsn=4.4.1, status=deferred (connect to smtp.gmail.com[74.125.24.109]:587: Connection timed out)
Apr 28 11:21:03 gechlibrary postfix/smtp[4452]: connect to smtp.gmail.com[74.125.24.108]:587: Connection timed out
Apr 28 11:21:03 gechlibrary postfix/smtp[4452]: C7A8F7805E6: to=<***@gmail.com>, relay=none, delay=60, delays=0.07/0.01/60/0, dsn=4.4.1, status=deferred (connect to smtp.gmail.com[74.125.24.108]:587: Connection timed out)
Apr 28 11:21:03 gechlibrary postfix/smtp[4453]: connect to smtp.gmail.com[74.125.24.108]:587: Connection timed out
Apr 28 11:21:03 gechlibrary postfix/smtp[4453]: E4358780614: to=<***@gmail.com>, relay=none, delay=60, delays=0.07/0.01/60/0, dsn=4.4.1, status=deferred (connect to smtp.gmail.com[74.125.24.108]:587: Connection timed out)

firewall was blocked, and because of this reason, status = deferred was appeared in mail log.

#mialq

18308780A2A      918 Sat Apr 28 10:40:03  ***@localhost
(delivery temporarily suspended: connect to smtp.gmail.com[74.125.24.109]:587: Connection timed out)
                                         ***@rediffmail.com


---------
Also refer
https://unix.stackexchange.com/questions/21407/postfix-doesnt-send-mail-complaining-about-host-or-domain-name-not-found

Hope! It helps to identify the problem.

Satish MV
Librarian - Govt. Engineering College
Opp. Dairy Circle, B.M.Road, Hassan 573 201
Karnataka, INDIA
Website: www.gechassan.ac.in, www.library.wordpress.com



_______________________________________________
Koha mailing list  http://koha-community.org
***@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


_______________________________________________
Koha mailing list http://koha-community.org
***@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/li
Alvaro Cornejo
2018-08-01 13:24:13 UTC
Permalink
Hi Hira

In other words, you gmail account has/might been compromised/hacked and is
being used to spam.

Gmail usually do not block accounts due to failed logins since this means
someone is trying to hack your account. If they do so, they usually block
it temporarily. They do block it permanently when you/your account start
sending "random emails" where there a lot of failed ones. This usually
means the account has been compromised/hacked and is being actively used
for spamming/phishing/etc.

You must change the password for a hard to guess one AND also change the
account identification info in order to avoid hackers to recover its
password, since they already know that info. Also, as per Paul, follow
gmail instructions in order to de-list it from spam and unblock it.

Else, create another account with a hard to guess password and reconfigure
koha.

Regards,

Alvaro

|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS
y GPRS online
Visitenos en www.perusms.com
Post by Hira Akram
Is there any way through which I can stop these junk emails and use this
account for koha genuine emails only?
Sent from Mail for Windows 10
From: vinod mishra
Sent: Tuesday, July 31, 2018 8:06 PM
To: Hira Akram
Subject: Re: [Koha] Koha Emails
There is chances of attack/spam through your Koha server, however gmail
always block such automated emails after some time as per my observation.
With Regards,
Vinod Kumar Mishra,
Assistant Librarian,
Biju Patnaik Central Library (BPCL),
NIT Rourkela,
Sundergadh-769008,
Odisha,
India.
Mob:91+9439420860
Website: http://mishravk.com/
ORCID ID: http://orcid.org/0000-0003-4666-7874
"Spiritual relationship is far more precious than physical. Physical
relationship divorced from spiritual is body without soul" -- Mahatma Gandhi
I Checked and it is showing too many login attempts in log that’s why
google server has blocked emails from this account. In Gmail account, it is
showing too many random emails on invalid accounts. But I haven’t sent
these through Koha or anything. Is it possible that koha sent these emails
automatically??
Sent from Mail for Windows 10
From: SATISH
Sent: Tuesday, July 31, 2018 4:21 PM
To: Hira Akram
Subject: Re: [Koha] Koha Emails
Hello,
1. Please verify firewall is enabled or disabled for your machine's IP
address.
2. Next, You could check for "mail log" to the know exact status.
# tail -f /var/log/mail.log
# mialq
example is shown here.
---------
# tail -f /var/log/mail.log
Apr 28 11:20:03 gechlibrary postfix/smtpd[4449]: disconnect from
localhost[127.0.0.1]
Apr 28 11:20:32 gechlibrary postfix/smtp[4451]: connect to smtp.gmail.com
[74.125.24.108]:587: Connection timed out
Apr 28 11:20:32 gechlibrary postfix/smtp[4452]: connect to smtp.gmail.com
[74.125.24.109]:587: Connection timed out
Apr 28 11:21:02 gechlibrary postfix/smtp[4451]: 9BE0E7805B6: to=<
status=deferred (connect to smtp.gmail.com[74.125.24.109]:587: Connection
timed out)
Apr 28 11:21:03 gechlibrary postfix/smtp[4452]: connect to smtp.gmail.com
[74.125.24.108]:587: Connection timed out
Apr 28 11:21:03 gechlibrary postfix/smtp[4452]: C7A8F7805E6: to=<
status=deferred (connect to smtp.gmail.com[74.125.24.108]:587: Connection
timed out)
Apr 28 11:21:03 gechlibrary postfix/smtp[4453]: connect to smtp.gmail.com
[74.125.24.108]:587: Connection timed out
Apr 28 11:21:03 gechlibrary postfix/smtp[4453]: E4358780614: to=<
status=deferred (connect to smtp.gmail.com[74.125.24.108]:587: Connection
timed out)
firewall was blocked, and because of this reason, status = deferred was
appeared in mail log.
#mialq
Connection timed out)
---------
Also refer
https://unix.stackexchange.com/questions/21407/postfix-
doesnt-send-mail-complaining-about-host-or-domain-name-not-found
Hope! It helps to identify the problem.
Satish MV
Librarian - Govt. Engineering College
Opp. Dairy Circle, B.M.Road, Hassan 573 201
Karnataka, INDIA
Website: www.gechassan.ac.in, www.library.wordpress.com
_______________________________________________
Koha mailing list http://koha-community.org
https://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________
Koha mailing list http://koha-community.org
https://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________
Koha mailing list http://koha-community.org
***@lists.katipo.

Loading...