Jonah Simandjuntak wrote:
Hello,

I've searched the available archives regarding the subject line above and 
couldn't find an answer.

Is there a maximum line that the relay_recipient_maps (or in my case inside the 
relay_recipients file) can contain? Here is the line: relay_recipient_maps = 
dbm:/etc/postfix/domain/relay_recipients

Any real life sample on what is the number of lines in the relay_recipients 
file before starting to see system performance degradation (if any)?

Thanks,

--Jonah

Postfix has no built-in limits on file sizes.

With dbm: type, likely hundreds of thousands of entries before lookups are affected, although rebuilding the file might be kinda slow. The hash: or btree: type will probably perform somewhat better if they are available on your platform.

For larger numbers, cdb: scales well to millions of entries. Consider building postfix with cdb: support if you need large, fast tables. http://www.postfix.org/CDB_README.html

Many people prefer to use *sql or LDAP when they get past a couple thousand entries simply for ease of maintenance.

  -- Noel Jones

Reply via email to