After following the Exim documentation on ACLs, I cannot get Exim to utilize the fakereject control for the address
firstname.lastname@example.org with the following config (only relevant lines included):
# config says I shouldn't need this, but the function it said would return it was being wonky, so I included it primary_hostname = actual.domain.com # the domain list, in which the local_domains list is augmented by some others: domainlist other_aliases = other.com : otherother.com domainlist local_domains = @ : localhost : localhost.localdomain : +other_aliases # in the acl_smpt_rcpt list: warn local_parts = noreply domains = +local_domains logwrite = initiating fakereject control = fakereject/This address is not monitored by a human. Please forward your response to the email address provided in the form data. If there is no email address provided in the form data, contact the administrator of the form. # this line immediately follows: accept hosts = : control = dkim_disable_verify
Some notes about
noreply is set up as an actual user on the mailserver, because another client application uses that account to authenticate via SMTP-auth to send email, effectively using the mail server as a relay. The only reason I want to use the
fakereject control is because many of our users still try to reply to email from
noreply (don't ask me why) and I want to show them something nicer than the standard mailer daemon world-burning-down email.
Besides not sending the fake reject, the log message isn't even written. Any ideas or requests for more information would be much appreciated!