Comment 8 for bug 1753470

Revision history for this message
Ari Sovijärvi (apz-fi) wrote :

After some "yank out lines until the issue stops" detective work, I think I've traced the issue to be this line in Postfix's main.cf:

virtual_alias_maps = pgsql:/etc/postfix/valiases.cf

valiases.cf is very basic example of PostgreSQL based alias maps configuration:

query = SELECT real_address from tempmail where time_expires>now() and temp_address='%s';
user = username-here
password = password-here
dbname = postfix
hosts = ip-here

Postfix-pgsql is naturally installed and Postfix looks up aliases in the database just fine.