On Sun, Oct 15, 2017 at 05:18:33PM +0200, Peter Hessler wrote:
> I'm in the process of migrating my email server from Postfix to
> OpenSMTPd, and are running into a small issue.
> 
> In my postfix configuration, I had multiple aliases files.  The system
> default one, my local one, and one for the mailing list software I use.
> 
> according to the aliases(5) man page, I should be able to use
> ':include:/path/to/file' to include files, but that seems to be ignored.

I don't think thats what you want. It works like so:

edgar:include: /path/to/filename

cat /path/to/filename

george, user2, someoneelse

thus being the same as having
edgar: george, user2, someoneelse 

in the aliases file. Then again maybe it is what you want and it isn't working.
> 
> Is this possible?  Can I configure smtpd.conf to pull in multiple aliases
> into a single lookup table?
> 
> Obviously, the workaround is 'cat aliases aliases.local aliases.foo > 
> /path/to/file'
> but I'd prefer not to use that.
> 

seems like you could do something like:

table aliases file:/etc/mail/aliases
table local file:/etc/mail/aliases.local

accept for local alias <aliases> deliver to mbox
accept for local alias <local> deliver to mbox

etc, etc 
> -- 
> Overdrawn?  But I still have checks left!
> 

Reply via email to