Need help rejecting mail with no Subject line.
"Steven W. Orr" <[email protected]> Sun, 9 Dec 2007 11:17:00 -0500 (EST)
| Newsgroups | gmane.mail.majordomo.majordomo2.devel |
|---|---|
| Organization | SysLang |
| Message-ID | <[email protected]> |
I have access_rules that says:
configset mjtest access_rules <<ENDAAQ
post
deny, reason="Address was not found in the subscriber list"
!@MAIN
post
deny, replyfile=NoSubject
$admin_nosub >= 2
ENDAAQ
The file NoSubject does exist and I have admin_headers set
configset mjtest admin_headers <<ENDAAE
/^Subject: \[mjtest\]\s*$/i 2,nosub
ENDAAE
I also tried
/^Subject: \s*$/i 2,nosub
I have debug cranked up to 500 and it reports this:
[4481].....Access variables: $VAR1 = {
'posts_this_week' => 6,
'total_header_length' => '654',
'quoted_lines' => 1,
'mode' => '',
'addrcomment' => 'Steven W. Orr',
'consecutive_posts' => 8,
'posts_last_7days' => 6,
'posts_this_day' => 6,
'checksum' => 'c84e4d28b5d560143e4703d260cc683b4e1a6c46',
'nonempty_lines' => 7,
'mismatch' => '',
'interface' => 'resend',
'posts_last_30days' => 6,
'limit_soft' => 0,
'posts' => 8,
'posts_this_month' => 6,
'body_length' => 330,
'mime_require' => 1,
'list' => 'mjtest',
'recipients' => 1,
'admin' => 0,
'hide_post' => 0,
'sublist' => '',
'reasons' => '',
'user_password' => 0,
'chain' => 1,
'posing' => '',
'list_password' => 0,
'percent_quoted' => 12,
'mime' => '',
'time' => 1197216468,
'delay' => 0,
'days_since_last_post' => '0.00126157407407407',
'lines' => 8,
'bad_approval' => 0,
'dup_msg_id' => 0,
'mime_header_length' => 0,
'dup_checksum' => 0,
'days_since_subscribe' => '1658.02556712963',
'limit' => 0,
'notify' => [],
'master_password' => 0,
'post_block' => 0,
'dup_partial_checksum' => 0,
'taboo' => 0,
'fulladdr' => '"Steven W. Orr" <[email protected]>',
'any' => '',
'host' => 'syslang.net',
'blind_copy' => 0,
'partial_checksum' =>
'c84e4d28b5d560143e4703d260cc683b4e1a6c46',
'max_header_length' => '201',
'dup' => '',
'limit_hard' => 0,
'posts_last_24hours' => 6,
'addr' => '[email protected]',
'expire' => -1
};
[4481].....Mj::Util::process_rule
--== Use of uninitialized value in numeric ge (>=) at (eval 847) line 10,
<GEN211> line 14.
The uninitialized variable part is disturbing. Can someone please tell me
what I'm doing wrong?
TIA
--
Time flies like the wind. Fruit flies like a banana. Stranger things have .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net