| 1 |
innocuous_hdrs = { |
| 2 |
['Message-ID'] = '<[email protected]>', |
| 3 |
['From'] = 'Andrew Lewis <[email protected]>', |
| 4 |
['To'] = '[email protected]', |
| 5 |
['Subject'] = 'innocuous test message', |
| 6 |
['User-Agent'] = 'Horde Application Framework 5', |
| 7 |
['Content-Type'] = 'text/plain; charset=utf-8; format=flowed; DelSp=Yes', |
| 8 |
['MIME-Version'] = '1.0', |
| 9 |
['Content-Disposition'] = 'inline', |
| 10 |
['Date'] = 'Fri, 02 Feb 2018 15:53:26 +0200', |
| 11 |
} |
| 12 |
|
| 13 |
default_hdrs = { |
| 14 |
['Subject'] = 'spam message', |
| 15 |
} |
| 16 |
|
| 17 |
innocuous_msg = 'Hello Rupert' |
| 18 |
|
| 19 |
gtube = [[lo |
| 20 |
|
| 21 |
XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X |
| 22 |
|
| 23 |
thx]] |
| 24 |
|
| 25 |
gtube_add_header = string.gsub(gtube, "XJS", "YJS") |
| 26 |
gtube_rw_subject = string.gsub(gtube, "XJS", "ZJS") |