I knew there would be a smart way to do it.
I couldn't find the config file for the catchall setting.
Anyway, I did it the dumb way; I created the subdomain in cpanel and set up the catchall to blackhole for all incoming mail just to that subdomain (the others are set to fail), and setup a filter which I hope will discard any mail sent from drupal without causing any errors in the script(s).
I deleted public_html/nomail to declutter the directory, and it doesn't cause any problem. This solution will do fine, and actually, thinking about it, if I ever have to hand the site over to another maintainer, the fact that this is all setup visibly in cpanel will be better for them.
Thanks very much for your input.
|