On 12/01/2023 12.24, Wietse Venema wrote:
DL Neil:
Having managed two destinations, how far can this reasonably go? Five,
six, ten addresses?
Is there a limit to the number of addresses?

That depends on whether you used virtual_alias_maps or alias_maps.  Also,
there is a limit on the queue file size (with a name message_size_limit
that would more accurately be message_plus_envelope_size_limit).

(from main.cf)
alias_maps = hash:/etc/aliases
alias_database =
virtual_alias_maps = mysql:/etc/postfix/auth/mysql_aliases.cf
virtual_alias_domains =

The standard Linux aliases list is used, where just about everything aliases to root. (and postfix sends root to the postfix-postmaster catch-all account).


Is there a limit to the number of characters being returned from the DB
to postfix?

That is limited by the database, or by the database API.

DB schema can (would need to) be adapted.

MySQL side of the interop is not a worry. IIRC default query-return limit is 1MB* and can be configured upwards.
* maybe more recent releases of MySQL have increased this.

Thus, if max-out at a list of ten accounts, and allow for an average address 50-characters long, only looking at an (ASCII) total of 500B (actual data)!

Unless I've failed to appreciate something...

--
Regards =dn

Reply via email to