问题 I'm using IMAPFilter, and I'd like to keep my global configuration in a public repository, while keeping the local (and secret) configuration in a separate file. So I'm running imapfilter from some directory, it includes ~/.imapfilter/config.lua, and that should include ./config_local.lua, where "." is the directory of config.lua , not the shell $PWD or the location of imapfilter . Here's what I've tried so far: require "config_local" require "./config_local" Edit: An absolute path works: