Pasting into vim from Win2k via SSH
Hi all,
I have a Debian box that acts as a file and mail server along with a
Win2k laptop belonging to my employer. (I work from home).
Currently I'm trying to edit a .forward file by adding a score based
filter. Its too long to typoe manually but I can't paste it in without
the test going all over the place.
My .vimrc reads:
set esckeys
set tw=72
set ff=unix
Is there something I need to add to enable me to paste test in?
Patrick
As an example, see this...
if( ${lc:$message_body} matches
"a\\\\shref=(['\"])mailto:([^@]@[^@])\$1" and
$2 is not {$lc:$return_path} and $2 is not
{$lc:$sender_address})
then
add 60 to n9
endif
if (${lc:$message_body} matches "<html>")
then
add 60 to n9
endif
if (${lc:$message_body} matches
"<script")
then
add 90 to n9
endif
if
(${lc:$message_body}
matches
"checks?\\\\spayable\\\\sto.*for
\\\\\\$\\\\d+")
then
add
90
to
n9
endif
if($message_body
matches
"Dear
Friend,")
then
add
80
to
n9
endif
A
very
standard
spam
pointer
if(${lc:$header_subject}
matches
"\\\\s\\\\s\\\\s\\\\s+(\\\\(\\\\d+\\\\)|\\\\d+)\\\$")
then
add
40
to
n9
endif
if(${lc:$header_to}
matches
"friend@"
or
${lc:$header_from}
matches
"friend@")
then
add
90
to
n9
endif
if(${lc:$header_to}
matches
"@public.com")
then
add
90
to
n9
endif
if(${lc:$message_body}
matches
"not
spam"
or
${lc:$message_body}
matches
"spam
free")
then
add
80
to
n9
endif
if(${lc:$message_body}
matches
"not
junk
mail")
then
add
80
to
n9
endif
if(${lc:$message_body}
matches
"university
diploma")
then
add
80
to
n9
endif
if(${domain:${lc:$header_to}}
is
"")
then
add
30
to
n9
endif
if($header_subject
matches
\\\$\\\$+)
then
add
50
to
n9
endif
if(${lc:$sender_host_name}
matches
"ppp"
or
${lc:$sender_host_name}
matches
"dial-?up")
then
add
50
to
n9
endif
if($n9
is
above
99)
then
$home/mail/exim
logfile
$home/files/reject.log
0644
logwrite
"[$tod_log]
${lc:$sender_address}
[$sender_host_address]
->
${lc:$original_local_part}@${lc:$original_domain}:
score
failure"
finish
endif
Reply to: