| 1 | # Exim test configuration 0546 |
| 2 | |
| 3 | HELO_MSG=One line |
| 4 | RCPT_MSG=RCPT is OK |
| 5 | |
| 6 | exim_path = EXIM_PATH |
| 7 | host_lookup_order = bydns |
| 8 | spool_directory = DIR/spool |
| 9 | log_file_path = DIR/spool/log/%slog |
| 10 | gecos_pattern = "" |
| 11 | gecos_name = CALLER_NAME |
| 12 | tls_advertise_hosts = |
| 13 | |
| 14 | # ----- Main settings ----- |
| 15 | |
| 16 | acl_smtp_helo = check_helo |
| 17 | acl_smtp_mail = check_mail |
| 18 | acl_smtp_rcpt = check_rcpt |
| 19 | acl_smtp_data = check_data |
| 20 | acl_smtp_predata = check_predata |
| 21 | |
| 22 | qualify_domain = test.ex |
| 23 | queue_only |
| 24 | |
| 25 | |
| 26 | # ----- ACLs ----- |
| 27 | |
| 28 | begin acl |
| 29 | |
| 30 | check_helo: |
| 31 | accept message = HELO_MSG |
| 32 | |
| 33 | check_mail: |
| 34 | accept message = 299 MAIL is\nOK |
| 35 | |
| 36 | check_rcpt: |
| 37 | accept message = RCPT_MSG |
| 38 | |
| 39 | check_data: |
| 40 | accept message = 288 I like the data |
| 41 | |
| 42 | check_predata: |
| 43 | accept message = 300 Funny, but OK code |
| 44 | |
| 45 | |
| 46 | # End |