On 2022-11-05 at 21:33:55 UTC-0400 (Sat, 5 Nov 2022 18:33:55 -0700)
Noah <[email protected]>
is rumored to have said:

Hi there,

I am migrating my aliases file from a textfile to mysql.
One of the things I liked about the textfile is I could comment out a line and put notes as to why I disabled the alias. is there a similar method that I can do in mysql - disable the alias and put comments in an extra field?

Yes. See the MYSQL_README file in the Postfix docs. You have to define the SQL query you make to the database that returns the alias, so that database can contain records with whatever fields you want them to have, as long as one is the value of the alias and your query returns it cleanly.


--
Bill Cole
[email protected] or [email protected]
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire

Reply via email to