On Tue, Oct 27, 2026 at 10:01:57 +0100, Ömer Güven via Postfix-users wrote:
> Hi,
> 
> What you describe already exists. It’s called texthash.
> 
> For example:
> 
> virtual_alias_maps = texthash:/etc/postfix/virtual
> 
> No postmap step, no .db file. The text file is read into memory
> when the map is opened.
> 
> The main caveat is that changes aren’t automatically detected by
> processes that already have the map open, so a postfix reload may
> be needed.
> 
> See https://www.postfix.org/DATABASE_README.html


Shouldn't commands like "newaliases" ignore this gracefully then?

$ postconf alias_database
alias_database = texthash:/etc/postfix/aliases
$ sudo newaliases 
postalias: fatal: no 'map create' support for this type: texthash
$ echo $?
1


        Geert


_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to