| 1 | # Exim system filter file for XXX |
| 2 | |
| 3 | if $h_X-XXX-Original-Host: is not "" then |
| 4 | unseen mail to $return_path from Mailer-Daemon reply_to postmaster |
| 5 | subject "Submission of mail from $return_path directly to the XXX hosts" |
| 6 | text "You sent the message below from the host\n\ |
| 7 | \n $h_X-XXX-Original-Host:\n\n\ |
| 8 | directly to one of the XXX hosts. It will be delivered without any further\n\ |
| 9 | action on your part.\n\n\ |
| 10 | However, this indicates some mis-configuration, as new mail should be sent\n\ |
| 11 | (if XXX is involved at all) to smtp.xxx.example, which no longer refers\n\ |
| 12 | to the XXX hosts. It may be that your mail user agent has been configured to\n\ |
| 13 | use (for example) xxx.example or pop.xxx.example where smtp.xxx.example\n\ |
| 14 | would have been correct.\n\n\ |
| 15 | Eventually attempts to send messages directly to the XXX hosts in this way\n\ |
| 16 | will be rejected. You should modify the configuration of your mail user agent\n\ |
| 17 | to correct the fault described above." |
| 18 | return message |
| 19 | headers remove X-XXX-Original-Host |
| 20 | endif |
| 21 | |