| 1 | # Exim test configuration 0496 |
| 2 | |
| 3 | .include DIR/aux-var/std_conf_prefix |
| 4 | |
| 5 | primary_hostname = myhost.test.ex |
| 6 | |
| 7 | # ----- Main settings ----- |
| 8 | |
| 9 | acl_smtp_rcpt = check_rcpt |
| 10 | |
| 11 | |
| 12 | # ----- ACL ----- |
| 13 | |
| 14 | begin acl |
| 15 | |
| 16 | check_rcpt: |
| 17 | warn message = data1 data1\ndata2 data2\n |
| 18 | warn message = \n\ndata3\n\ndata4\n\n |
| 19 | warn message = :after_received:After-Received: some text\n\ |
| 20 | :at_start:At-Start: some text\n\ |
| 21 | :at_end: At-End: some text |
| 22 | warn message = data4 |
| 23 | warn add_header = X-multiline: foo\n\tbar |
| 24 | accept logwrite = $headers_added |
| 25 | |
| 26 | |
| 27 | # ----- Routers ----- |
| 28 | |
| 29 | begin routers |
| 30 | |
| 31 | r9: |
| 32 | driver = accept |
| 33 | transport = t1 |
| 34 | |
| 35 | |
| 36 | # ----- Transports ----- |
| 37 | |
| 38 | begin transports |
| 39 | |
| 40 | t1: |
| 41 | driver = appendfile |
| 42 | file = DIR/test-mail/$local_part |
| 43 | user = CALLER |
| 44 | |
| 45 | # End |