Page MenuHomePhabricator

Mail for root is stuck
Closed, ResolvedPublic

Description

scfc@tools-mail:~$ sudo exim -v -M 1WOCCI-0002sK-7X
delivering 1WOCCI-0002sK-7X
LOG: MAIN
== root@tools.wmflabs.org R=user_forward defer (-17): error in redirect data: missing or malformed local part (expected word or "<") in "No such object (32)"
scfc@tools-mail:~$ localuser root
No such object (32)
Matched DN: ou=people,dc=wikimedia,dc=org
Additional information: The search base entry 'uid=root,ou=people,dc=wikimedia,dc=org' does not exist
scfc@tools-mail:~$

I added "root: tools.admin" to /etc/aliases and ran newaliases (old sendmail habit, with exim a no-op), but the error remains as apparently user_forward takes precedence over /etc/aliases, so this forward probably needs to be integrated in modules/toollabs/templates/exim4.conf.erb.


Version: unspecified
Severity: blocker

Details

Reference
bz63165

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:07 AM
bzimport added a project: Toolforge.
bzimport set Reference to bz63165.

(Of course we could also work around that in localuser ... but where's the fun in that? :-))

Change 121377 had a related patch set uploaded by Tim Landscheidt:
Tools: Forward mail for root to the admin group

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

On second thought, I'm fine with fixing this is in localuser. I tested the patch live on tools-mail.

Yeah, I'm on it with a better solution atm. :-)

Change 121380 had a related patch set uploaded by coren:
Tool Labs: fixes mail to root (and postmaster)

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

Change 121380 merged by coren:
Tool Labs: fixes mail to root (and postmaster)

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

Change 121377 abandoned by Tim Landscheidt:
Tools: Forward mail for root to the admin group

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