Page MenuHomePhabricator
Paste P17773

(An Untitled Masterwork)
ActivePublic

Authored by jbond on Thu, Nov 18, 2:42 PM.
$ sudo exim -bt otrs-test@wikimedia.org
LOG: MAIN
Warning: Tainted filename for search '/etc/exim4/aliases/wikimedia.org'
LOG: MAIN
Warning: Tainted filename '/etc/exim4/aliases/wikimedia.org'
otrs-test@wikimedia.org
router = gsuite_account, transport = remote_smtp
host aspmx.l.google.com [142.250.115.27]
$ grep otrs-test /etc/exim4/otrs_emails
otrs-test@wikimedia.org
mx2001 ~ %

Event Timeline

--------> otrs router <--------
local_part=otrs-test domain=wikimedia.org
checking domains
cached yes match for +local_domains
cached lookup data = 
wikimedia.org in "+local_domains"? yes (matched "+local_domains" - cached)
checking require_files
file check: /etc/exim4/otrs_emails
stat() yielded 0
checking "condition" "${lookup{$local_part@$domain}lsearch*{/etc/exim4/otrs_emails}}"...
 search_open: lsearch "/etc/exim4/otrs_emails"
 search_find: file="/etc/exim4/otrs_emails"
   key="otrs-test@wikimedia.org" partial=-1 affix=NULL starflags=1 opts=NULL
 LRU list:
   :/etc/exim4/otrs_emails
   :/etc/exim4/legacy_mailing_lists
   :/etc/exim4/aliases/wikimedia.org
   :/etc/exim4/wikimedia_domains
   End
 internal_search_find: file="/etc/exim4/otrs_emails"
   type=lsearch key="otrs-test@wikimedia.org" opts=NULL
 file lookup required for otrs-test@wikimedia.org
   in /etc/exim4/otrs_emails
 lookup yielded: 
otrs router skipped: condition failure