| 1 | # Optional MAIL FROM args processing |
| 2 | # |
| 3 | # SIZE alone |
| 4 | exim -bs |
| 5 | ehlo Testing |
| 6 | mail from:<x@y> SIZE=1000 |
| 7 | rcpt to:<userx@test.ex> |
| 8 | quit |
| 9 | **** |
| 10 | # BODY alone |
| 11 | exim -bs |
| 12 | ehlo Testing |
| 13 | mail from:<x@y> BODY=7BIT |
| 14 | rcpt to:<userx@test.ex> |
| 15 | quit |
| 16 | **** |
| 17 | # SIZE then BODY |
| 18 | exim -bs |
| 19 | ehlo Testing |
| 20 | mail from:<x@y> SIZE=1000 BODY=7BIT |
| 21 | rcpt to:<userx@test.ex> |
| 22 | quit |
| 23 | **** |
| 24 | # BODY then SIZE |
| 25 | exim -bs |
| 26 | ehlo Testing |
| 27 | mail from:<x@y> BODY=7BIT SIZE=1000 |
| 28 | rcpt to:<userx@test.ex> |
| 29 | quit |
| 30 | **** |
| 31 | # AUTH then BODY then SIZE |
| 32 | exim -bs |
| 33 | ehlo Testing |
| 34 | mail from:<x@y> AUTH=x@y BODY=7BIT SIZE=1000 |
| 35 | rcpt to:<userx@test.ex> |
| 36 | quit |
| 37 | **** |
| 38 | # BODY then AUTH then SIZE |
| 39 | exim -bs |
| 40 | ehlo Testing |
| 41 | mail from:<x@y> BODY=7BIT AUTH=x@y SIZE=1000 |
| 42 | rcpt to:<userx@test.ex> |
| 43 | quit |
| 44 | **** |
| 45 | # SIZE then BODY then AUTH |
| 46 | exim -bs |
| 47 | ehlo Testing |
| 48 | mail from:<x@y> SIZE=1000 BODY=7BIT AUTH=x@y |
| 49 | rcpt to:<userx@test.ex> |
| 50 | quit |
| 51 | **** |
| 52 | # SIZE then BODY then SIZE |
| 53 | exim -bs |
| 54 | ehlo Testing |
| 55 | mail from:<x@y> SIZE=1000 BODY=7BIT SIZE=1200 |
| 56 | rcpt to:<userx@test.ex> |
| 57 | quit |
| 58 | **** |
| 59 | # (over)SIZE then BODY |
| 60 | exim -bs |
| 61 | ehlo Testing |
| 62 | mail from:<x@y> SIZE=40004 BODY=8BITMIME |
| 63 | rcpt to:<userx@test.ex> |
| 64 | quit |
| 65 | **** |
| 66 | # BODY then (over)SIZE |
| 67 | exim -bs |
| 68 | ehlo Testing |
| 69 | mail from:<x@y> BODY=8BITMIME SIZE=40004 |
| 70 | rcpt to:<userx@test.ex> |
| 71 | quit |
| 72 | **** |
| 73 | # no BODY, data |
| 74 | exim -bs |
| 75 | ehlo Testing |
| 76 | mail from:<x@y> |
| 77 | rcpt to:<userx@test.ex> |
| 78 | data |
| 79 | Subject: test |
| 80 | |
| 81 | foo |
| 82 | . |
| 83 | quit |
| 84 | **** |
| 85 | sleep 1 |
| 86 | # 7bit BODY, data |
| 87 | exim -bs |
| 88 | ehlo Testing |
| 89 | mail from:<x@y> BODY=7BIT |
| 90 | rcpt to:<userx@test.ex> |
| 91 | data |
| 92 | Subject: test |
| 93 | |
| 94 | foo |
| 95 | . |
| 96 | quit |
| 97 | **** |
| 98 | sleep 1 |
| 99 | # 8bit BODY, data |
| 100 | exim -bs |
| 101 | ehlo Testing |
| 102 | mail from:<x@y> BODY=8BITMIME |
| 103 | rcpt to:<userx@test.ex> |
| 104 | data |
| 105 | Subject: test |
| 106 | |
| 107 | foo |
| 108 | . |
| 109 | quit |
| 110 | **** |
| 111 | sleep 1 |
| 112 | # bad BODY, data |
| 113 | # should fail |
| 114 | 1 |
| 115 | exim -bs |
| 116 | ehlo Testing |
| 117 | mail from:<x@y> BODY=wrong |
| 118 | rcpt to:<userx@test.ex> |
| 119 | data |
| 120 | Subject: test |
| 121 | |
| 122 | foo |
| 123 | . |
| 124 | quit |
| 125 | **** |
| 126 | no_msglog_check |