Can I use wild cards or regular expressions in DCC whitelists?
No, regular expressions cannot be used, because DCC client and server whitelists are converted to lists of checksums. The same basic idea is used for DCC client whitelists as for the DCC protocol. A DCC client computes the checksums for a message, and then looks for those checksums in the local whitelist. Depending on the values associated with those checksums, the DCC client asks a DCC server about them. To use regular expressions with the DCC, consider procmail. Procmail is included with many UNIX-like systems. See also the Procmail Homepage. DCC clients can be configured to white- or blacklist using called “substitute” headers. See dccproc -S or dccm -S. It is also possible to use a sendmail access_db file entries to white- or blacklist based on portions of SMTP envelope and client IP addresses. For example, an access_db file line of “From:example.com OK” can be used to tell dccm to whitelist all mail from SMTP clients in the example.com domain. See the -O argument to the misc/hackm
No, regular expressions cannot be used, because DCC client and server whitelists are converted to lists of checksums. The same basic idea is used for DCC client whitelists as for the DCC protocol. A DCC client computes the checksums for a message, and then looks for those checksums in the local whitelist. Depending on the values associated with those checksums, the DCC client asks a DCC server about them. To use regular expressions with the DCC, consider procmail. Procmail is included with many UNIX-like systems. See also the Procmail Homepage. DCC clients can be configured to white- or blacklist using called “substitute” headers. See dccproc -S or dccm -S. It is also possible to use a sendmail access_db file entries to white- or blacklist based on portions of SMTP envelope and client IP addresses. For example, an access_db file line of “From:example.com OK” can be used to tell dccm to whitelist all mail from SMTP clients in the example.com domain. See the -O argument to the /var/dcc/l