Page MenuHomePhabricator

SMTP service on toolserver.org down
Closed, ResolvedPublic

Description

The SMTP service on toolserver.org is not responding from tools-mail:

scfc@tools-mail:~$ sudo exim -v -M 1ZeuQb-0001fr-MR
delivering 1ZeuQb-0001fr-MR
Connecting to toolserver.org [10.68.16.162]:25 ... failed: Connection refused
LOG: MAIN
  toolserver.org [10.68.16.162] Connection refused
LOG: MAIN
  == valhallasw@toolserver.org R=dnslookup T=remote_smtp defer (111): Connection refused
scfc@tools-mail:~$

Event Timeline

scfc raised the priority of this task from to Unbreak Now!.
scfc updated the task description. (Show Details)
scfc added a project: Toolforge.
scfc moved this task to Ready to be worked on on the Toolforge board.
scfc subscribed.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

I restarted exim on the box, is it better now?

No, the host's SMTP service is still unreachable:

scfc@tools-mail:~$ sudo exim -v -M 1ZeuQb-0001fr-MR
delivering 1ZeuQb-0001fr-MR
Connecting to toolserver.org [10.68.16.162]:25 ... failed: Connection refused
LOG: MAIN
  toolserver.org [10.68.16.162] Connection refused
LOG: MAIN
  == valhallasw@toolserver.org R=dnslookup T=remote_smtp defer (111): Connection refused
scfc@tools-mail:~$

Yeah, something in puppet is actually disabling the SMTP daemon in /etc/defaulst/exim4. I'm trying to track down what changed now.

Change 241263 had a related patch set uploaded (by coren):
toolserver-legacy: exim4 needs SMTP running

https://gerrit.wikimedia.org/r/241263

Change 241263 merged by coren:
toolserver-legacy: exim4 needs SMTP running

https://gerrit.wikimedia.org/r/241263

Now it rejects (I suppose) valid addresses:

scfc@tools-mail:~$ sudo exim -v -M 1ZeuQb-0001fr-MR
delivering 1ZeuQb-0001fr-MR
Connecting to toolserver.org [10.68.16.162]:25 ... connected
  SMTP<< 220 relic.toolserver-legacy.eqiad.wmflabs ESMTP Exim 4.82 Ubuntu Sat, 26 Sep 2015 02:37:40 +0000
  SMTP>> EHLO mail.tools.wmflabs.org
  SMTP<< 250-relic.toolserver-legacy.eqiad.wmflabs Hello mail.tools.wmflabs.org [10.68.16.27]
         250-SIZE 52428800
         250-8BITMIME
         250-PIPELINING
         250 HELP
  SMTP>> MAIL FROM:<root@tools.wmflabs.org> SIZE=2399
  SMTP>> RCPT TO:<valhallasw@toolserver.org>
  SMTP>> DATA
  SMTP<< 250 OK
  SMTP<< 550 Administrative prohibition
  SMTP<< 503-All RCPT commands were rejected with this error:
         503-Administrative prohibition
         503 Valid RCPT command must precede DATA
  SMTP>> RSET
  SMTP<< 250 Reset OK
[…]
scfc assigned this task to coren.
scfc set Security to None.

Closing this here as the scope was SMTP service not being accessible, which now is the case.