search for: search_query

Displaying 20 results from an estimated 26 matches for "search_query".

2006 Jun 25
1
Using AND in :conditions queries
...type=text name="query_location"> <input type="submit" value="Search &#187;" class="primary" /> <%= end_form_tag %> and the controller: @posts = Post.find(:all, :conditions => [ ''title LIKE :search_query OR body LIKE :search_query AND end_date >= :now'', {:search_query => ''%'' + params[:query] + ''%'', :now => Time.now}], :order => ''end_date'') I did check the log...
2006 Jul 26
0
SQL query syntax
...mn with an OR statement from a form, but can''t quite seem to figure out how. Right now I have: @query = request.raw_post || request.query_string @phrase = @query.sub(/ /,"% OR %") @posts = Post.find(:all, :conditions => [ ''(title LIKE :search_query OR body LIKE :search_query OR city LIKE :search_query OR state LIKE :search_query OR category LIKE :search_query) AND end_date >= :enddate'', {:search_query => ''%'' + @phrase + ''%'', :enddate => Time.now}]...
2006 Jun 25
1
Sorting ferret results by column
...osts" table. Here''s the code I have already: @posts = Post.find_by_contents(params[:query]) params[:query] comes from a form. I am replacing less efficent code that has the restrictions working : @posts = Post.find(:all, :conditions => [ ''(title LIKE :search_query OR body LIKE :search_query) AND end_date >= :enddate'', {:search_query => ''%'' + params[:query] + ''%'', :enddate => Time.now}], :order => ''end_date'') I realize i have to pass something sim...
2007 Feb 28
5
How to use find_options in multi_search
...arch to search in some attributes of two classes. One of the attributes is the id of the customer. For each multi_search I want to do a give the id of the current customer as a parameter. This should only return results for the given customer. My current code looks like this: Folder.multi_search(@search_query, [Myfile]) I noticed in the API you can add options and find_options to this. How do I use these parameters, so only results for a certain customer are returned? Thanks in advance. Mischa -- http://boxroom.rubyforge.org -- Posted via http://www.ruby-forum.com/.
2006 Jun 25
3
Sorting results by column
...ts" table. Here''s the code I have already: @posts = Post.find_by_contents(params[:query]) params[:query] comes from a form. I am replacing less efficent code that has the restrictions working : @posts = Post.find(:all, :conditions => [ ''(title LIKE :search_query OR body LIKE :search_query) AND end_date >= :enddate'', {:search_query => ''%'' + params[:query] + ''%'', :enddate => Time.now}], :order => ''end_date'') I realize i have to pass something s...
2012 Jan 04
1
doveadm move from one user's mailbox to another user's mailbox?
Is something along the lines: doveadm move -u sourceuser destinationuser:/inbox search_query possible with 2.0.16? I want to move mails from a backup mailbox (which has no valid password assigned) to a "restore" mailbox (which *HAS* a password assigned to it). -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus Benjami...
2015 Jul 27
2
doveadm import - strange warning
...l) egid=1001(copymail) missing +x perm: /root, dir owned by 0:0 mode=0700) >> doveadm(restore at backup.invalid): Error: chdir(/root) failed: Permission denied > Just guessing? The signature of the command is: doveadm [-Dv] import [-S socket_path] [-s] -u user source_location dest_parent search_query You supply "" as dest_parent which I guess could mean ".", and that may be "/root" when run as root. Try "INBOX" or "restore_folder" and see if the error vanishes. -------------- next part -------------- A non-text attachment was scrubbed... Name:...
2019 Jan 22
2
Moving messages between servers with different configurations
...-t messages test messages=43 [@~]# doveadm mailbox status -u testuser -t messages INBOX/test2 messages=16 Also tried with doveadm -v copy -S 192.168.10.43:542 -u testuser INBOX/test2 user testuser mailbox test >doveadm [-Dv] move [-S socket_path] -u user destination [user source_user] search_query > >Moving all mails from mailbox INBOX/test on serverA to mailbox >Archive/2017 on local serverB. > + destination Archive/2017 must exist > + Limitation: source_user and testuser must share the same UID and GID > >doveadm move -S x.x.x.x:x -u testuserAtServerB > Arc...
2019 Jan 21
2
Moving messages between servers with different configurations
I wanted to move messages from a mbox mailbox on server A to mdbox on server B. I thought I could do this by connecting to the remote server with "doveadm move -S x.x.x.x:x -u testuser Archive/2017 mailbox INBOX/test" but I guess this will only allow and move messages internally on server B? Should I use dsync, or is there another way to move the messages?
2007 Sep 21
3
The ZFS-Man.
...the best talk award and some find it funny, here it is: http://youtube.com/watch?v=o3TGM0T1CvE a bit better version is here: http://people.freebsd.org/~pjd/misc/zfs/zfs-man.swf BTW. Inspired by ZFS demos from OpenSolaris page I created few demos of ZFS on FreeBSD: http://youtube.com/results?search_query=freebsd+zfs&search=Search And better versions: http://people.freebsd.org/~pjd/misc/zfs/ -- Pawel Jakub Dawidek http://www.wheel.pl pjd at FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! -----...
2012 Sep 03
4
finding messages deleted before timespec
Hi! I've been pondering about doveadm-search-query(7) and trying to formulate a search query for some time now and it seems there is no way to search for messages, which have been marked DELETED before a certain time. I want to use this to expunge all DELETED messages which have been in that state for 24h or longer. For example a cronjob runs at midnight to expunge those messages but a user
2006 Aug 10
1
Timeout when rebuilding index
Sorry to post twice in a row, but I also wanted help with my index rebuild process - I seem to be getting timeouts when I run the rebuild_index.rb script, like this: /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/abstract_adapter.rb:120:in `log'': Mysql::Error: Lost connection to MySQL server during query: SELECT * FROM search_queries
2016 Dec 30
3
expunging all mailboxes
...ilbox ALL" or "mailbox '*' were allowed, that would still avoid the accident and yet also avoid the inefficiency of having to perform multiple expunges for one user. *** Enhancement request: provide a "mailbox all" or "mailbox '*'" option for doveadm search_query so that expunge can be used to remove mail without regard to which mailbox it's in. > Are you sure you really want to do this? My server expunges Trash and > Junk on a cycle, but reaching into other mailboxes seems iffy. Yes. I understand it's unusual. This is an RF (radio) appl...
2019 Jan 22
1
Moving messages between servers with different configurations
...t;> messages=16 >> >> Also tried with >> doveadm -v copy -S 192.168.10.43:542 -u testuser INBOX/test2 user >> testuser mailbox test >> >> >> >>> doveadm [-Dv] move [-S socket_path] -u user destination [user >> source_user] search_query >>> >>> Moving all mails from mailbox INBOX/test on serverA to mailbox >>> Archive/2017 on local serverB. >>> + destination Archive/2017 must exist >>> + Limitation: source_user and testuser must share the same UID and >> GID >>>...
2015 Jul 27
0
doveadm import - strange warning
* Daniel Tr?der <troeder at univention.de>: > Just guessing? > > The signature of the command is: > doveadm [-Dv] import [-S socket_path] [-s] -u user source_location > dest_parent search_query > > You supply "" as dest_parent which I guess could mean ".", and that may > be "/root" when run as root. Try "INBOX" or "restore_folder" and see if > the error vanishes. With "INBOX", nothing changes on the output (although...
2016 Dec 30
2
expunging all mailboxes
> > But is there a way tell it all mailboxes for a user? For example, > something > > like: > > > > doveadm expunge -u user at domain mailbox ALL savedbefore 30d > > try: > doveadm expunge -u user at domain ALL savedbefore 30d > > just like the example thats here: > http://wiki2.dovecot.org/Tools/Doveadm/SearchQuery I already tried that. Did you?
2019 Jan 22
0
Moving messages between servers with different configurations
Hi, doveadm [-Dv] move [-S socket_path] -u user destination [user source_user] search_query Moving all mails from mailbox INBOX/test on serverA to mailbox Archive/2017 on local serverB. + destination Archive/2017 must exist + Limitation: source_user and testuser must share the same UID and GID doveadm move -S x.x.x.x:x -u testuserAtServerB? Archive/2017 user source_userAtServerA mail...
2019 Jan 22
0
Moving messages between servers with different configurations
...box status -u testuser -t messages INBOX/test2 > messages=16 > > Also tried with > doveadm -v copy -S 192.168.10.43:542 -u testuser INBOX/test2 user > testuser mailbox test > > > >> doveadm [-Dv] move [-S socket_path] -u user destination [user > source_user] search_query >> >> Moving all mails from mailbox INBOX/test on serverA to mailbox >> Archive/2017 on local serverB. >> + destination Archive/2017 must exist >> + Limitation: source_user and testuser must share the same UID and > GID >> >> doveadm move -S x.x.x.x:x...
2008 Jan 06
1
Which RPM of Hylafax+ should I use?
I want to install Hylafax+, IAXmodem, and T38modem on my Trixbox 2.4 which is built on Centos 5.1 ("vmlinuz-2.6.18-53.1.4.el5"). Over at http://sourceforge.net/project/showfiles.php?group_id=148904 there are Hylafax+ rpms for: Fedora 7,8 Fedora Core 2,5,6 Redhat 7,9 I **think** Fedora Core 6? IAXmodem is only available in source at
2008 Mar 19
1
Ribbit Demo
Nice Ribbit Demo http://blip.tv/file/753401 I think we should get some Asterisk video demo's up on blip.tv as well. Post to this list with the url once you have your demo's up there. Regards, Dean Collins Cognation Pty Ltd dean at cognation.net +1-212-203-4357 +61-2-9016-5642 (Sydney in-dial). -------------- next part -------------- An HTML attachment was scrubbed...