Sponsored Content
The Lounge What is on Your Mind? Search for REALLY old threads / posts Post 303029097 by Neo on Monday 21st of January 2019 09:09:00 AM
Old 01-21-2019
Code:
condor2769:~/debug# tail -f neo_search_by_year.log

These queries will not work because you added another field (not in my instructions)

Code:
Mon, 21 Jan 19 07:33:21 -0600  UserID: RudiC logic : ["post.dateline >= 1325397600 AND post.dateline <= 1357019999","post.userid IN(302122047)","post.dateline > 1547991201"] 
Mon, 21 Jan 19 07:33:37 -0600  UserID: RudiC logic : ["post.dateline >= 1357020000 AND post.dateline <= 1388555999","post.userid IN(302122047)","post.dateline > 1547991217"] 
Mon, 21 Jan 19 07:35:10 -0600  UserID: RudiC logic : ["post.dateline >= 1357020000 AND post.dateline <= 1388555999","post.userid IN(302122047)","post.dateline > 1547991310"]

This query works, per my instruction:

Code:
Mon, 21 Jan 19 07:36:13 -0600  UserID: RudiC logic : ["post.userid IN(302122047)","post.dateline > 1547991373"] 
Mon, 21 Jan 19 07:49:50 -0600  UserID: RudiC logic : ["post.userid IN(302122047)","post.dateline > 1547992190"]

It works when I do it as well:

Code:
Mon, 21 Jan 19 07:50:13 -0600  UserID: Neo logic : ["post.dateline >= 1514786400 AND post.dateline <= 1546322399","post.userid IN(302122047)"]

This query by you adds a field which you should not add, since my instructions were to set three fields (not four):

Code:
Mon, 21 Jan 19 07:51:02 -0600  UserID: RudiC logic : ["post.dateline >= 1357020000 AND post.dateline <= 1388555999","post.userid IN(302122047)","post.dateline > 1547992262"] 
Mon, 21 Jan 19 07:51:22 -0600  UserID: RudiC logic : ["post.dateline >= 1357020000 AND post.dateline <= 1388555999","post.userid IN(302122047)","post.dateline < 1547992282"]

I really do not want to have to spend time testing every possible case where people do not follow my instructions (which are in the mouse over I provided over the "question-mark" icon). Just set the three fields and it works fine. I have tested it many times.

If you want to search by year, unlimited in results, I have provided you that capability as a Moderator!
 

We Also Found This Discussion For You

1. Post Here to Contact Site Administrators and Moderators

How do i delete threads/posts?

I cannot find the option anywhere when i click on "Edit". (2 Replies)
Discussion started by: johnthebaptist
2 Replies
post(8) 						      System Manager's Manual							   post(8)

NAME
post - deliver a message SYNOPSIS
/usr/lib/mh/post [options] file OPTIONS
Specifies a file that post should take aliases from. More than one file can be specified, each being preceded with the -alias option. The post program automatically consults the system alias file, /usr/lib/mh/MailAliases. If there is an Aliasfile entry in your post also con- sults the file named in that entry. Filters (re-formats) messages sent to blind copy recipients. Recipients named in the Bcc: field nor- mally receive a new message which includes a copy of the message sent to the other recipients. If this option is specified, this copy of the message is filtered according to the instructions in the named file. The default is -nofilter. Formats messages so as to conform to ARPAnet Internet Message Format protocol. This is the default behavior. You can post from formatting messages in this way by using the -noformat option. Prints a list of the valid options to this command. Adds a Message-ID: or Resent-Message-ID: field to the header. Specifies the mail system over which mail is sent. The only value allowed is smtp, which is the standard mail system. Additional values are supported only for use with other mail systems. Informs the user of each step of the posting/filing process. Allows the user to watch the transport system's handling of the message (for example, local and fast delivery). Specifies the preferred length of the header compo- nents that contain addresses. The default settings for post are: -alias /usr/lib/mh/MailAliases -format -nomsgid -mts smtp -noverbose -nowatch -width 72 -nofilter DESCRIPTION
The program post is called by send(1) to deliver the message in the named file to local and remote users. In fact, all of the functions at- tributed to send on its reference page are performed by post, with send acting as a relatively simple pre-processor. Thus, it is post which parses the various header fields, appends From: and Date: lines, and interacts with the transport system. Normally, post would not be called directly by the user. It searches the To:, cc:, Bcc:, and Resent-xxx: header lines of the specified message for destination addresses, checks these addresses for validity, and formats them so as to conform to ARPAnet Internet Message Format protocol (unless the -noformat option is set). This will normally cause @local-site to be appended to each local destination address, as well as any local return addresses. If a Bcc: field is encountered, the mail system will use its addresses for delivery. The Bcc: is removed from the message sent to original recipients. The copied recipients will receive an entirely new message with a minimal set of headers. The mail system includes a copy of the message sent to the original recipients in the body of the message. This command consults the environment variable $SIGNATURE to determine the sender's personal name in constructing the From: line of the message. RESTRICTIONS
For this version, the -mts option only supports the value smtp. Additional values are supported for use only with other mail systems. PROFILE COMPONENTS
The post command does not consult the user's FILES
The system customization file. The program to process Fcc:s. The program to process Bcc:s. The system alias file. SEE ALSO
Commands: comp(1), mhmail(1), send(1) Files: mh-alias(4), mh-mail(4), mtstailor(4) Standard for the Format of ARPA Internet Text Messages (RFC 822) post(8)
All times are GMT -4. The time now is 07:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy