similar to: need some help designing my messaging system

Displaying 20 results from an estimated 700 matches similar to: "need some help designing my messaging system"

2011 Feb 16
1
test emails did not arrive at SMTP server : after dovecot installation
Just set up postfix & it's running on my RHES 4.2 box. Immediately after postfix is up, I test sending emails from a permitted domain (ahhh, on this postfix server's domain firewall, we even have a firewall rule which permits Tcp25 from those few sending domains' SMTP servers) using an email client to sender_id@[IP_address_of_the_postfix_server] & the /var/log/maillog on
2007 Dec 13
16
"Tricks" for testing after_create callback???
I''ve got a model Message, which needs to send an email using action mailer after it''s first saved in the database. I want to pass the model to the mailer which then uses methods on the message model to render the email. So the natural way to do this is in an after_create callback on the Message model. But I can''t see an easy way to test this. Here''s my spec
2008 Apr 08
1
Problem with has_many
Hi all I''ve got a message table, where the sender and the receiver are stored (sender_user_id, receiver_user_id) How must i declare this dependencies in the user and message model? I''ve got the following one: has_many :messages, :foreign_key=> ''receiver_user_id'' but how to declare the secound one? Thank you for your help! Greets --
2005 Dec 21
2
Missing error page templates
Whenever I get any errors on my application, I don''t get the regular rails error page with all the debugging information. What could''ve cause this? This is from the logs: ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template found for /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/template_error.rhtml):
2006 Jan 21
3
need some help designing my threaded messaging system
Hi, I want to create a messaging system that recognizes threads of messages, not unlike gmail. So far I have these models: Conversation belongs_to :user has_many :messages Message belongs_to :conversation The problem I am running into is not only does a conversation belong to a user but the conversation also has a receipient user with his/her corresponding conversation. How would I
2007 Mar 29
3
Samba logging behavior on new files
Hi list, I have home made program, which uses File Alteration Monitor library to watch samba log files for new file creation in samba share directory. This technique works fine when I use GNU/Linux machine as client and it fails when I use Windows machine as client. The cause of failure is, samba server creates different pattern of logs and sometimes it does not create log entries on new file
2010 Nov 11
2
Rails 3 - Nested Forms, using Builder -- Check_box issue
Hello, I have the following: My Controller: def new . . @teammembers.each do |teammember| request = @request_thread.requests.build(:recipient_id => teammember.user_id, :full_name => ''Billy Bob T'') end My View: . . <%= f.fields_for :requests do |builder| %> <div class="field"> <%= builder.label
2006 Feb 28
2
SwitchTower rake deply failure on DreamHost
I''ve been following some tutorials on how to get switchtower working on dreamhost. I got the setup to work just fine, but the rake deploy doesn''t work. I get the following error. any ideas? ---------------------------------------------- > rake deploy (in /home/.interim/i8ramin/work/yaram.com) loading configuration
2006 Apr 22
7
Proper Database Design For A Newbie
Hi all, I am starting out learning Ruby on Rails (coming from a PHP background) and I have a question about proper database design. Let me give you a quick example of what I want to do: Database: CREATE TABLE `users` ( `id` int(11) NOT NULL auto_increment, `login` varchar(40) default NULL, `email` varchar(100) default NULL, `crypted_password` varchar(40) default NULL, `salt`
2007 Apr 02
7
Feature Missing OUTBOX Folder
Hi Dovecot People, i have switched my system from courier-imap to dovecot and iam quite happy with it, the performance is well and i had nearly no problems. One little feature iam missing is in Courier i had a folder called "Outbox" there i could paste mails which i want to sent out. In some networks its not always available to sent mails via port 21, i know i could just set up my
2006 Jan 28
1
Advice on Optimization, and where to put what?
In my last post I was asking how I could check for the existance of a record before inserting a new one and this was the helper method that I was using to do this: def already_friend_of?(friend) begin self.friends.find(friend.id) true rescue false end end I was told that this is not very efficient, as it hits the db every time I call it. I completely agree and would like to
2007 Dec 21
7
Using my models
I''m working on upgrading my app to the latest version of backgroundrb. Everything went find until I tried to execute my tasks. Here is my simple worker for testing: class MscWorker < BackgrounDRb::MetaWorker set_worker_name :msc_worker def create(args = nil) # this method is called, when worker is loaded for the first time end # Send a message to everyone def
2004 Sep 02
2
isync with dovecot
Hi folks, I use isync, an IMAP sync tool (Debian package isync 0.9.2-2) together with dovecot (dovecot-imapd 0.99.10.8-0.backports.org.1). Everytime when isync wants to upload a new mail from the client to the server I got messages like this: Mailbox outbox Selecting IMAP mailbox... >>> 16 SELECT "outbox" * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) * OK [PERMANENTFLAGS
2011 Apr 21
2
What is the recommended way to delete a message from a mailbox ?
Hi, I'm implementing a shell-script (pseudo) solution to the missing IMAP Outbox feature in Dovecot (Courier IMAP feature http://www.inter7.com/courierimap/INSTALL.html#imapsend) In order to remove the message from the Outbox once it is sent I have a question: What is the recommended way to delete a message from a mailbox (from an "external" server side program - such as a shell
2012 Apr 17
1
simple time series plot
I'm an absolute R newbie, but my question is (or at least seems) simple: I have a number of sensor values from different sensors, along with timestamps, so something like this: sensor 1: read_at: 1 2 4 5 6 value: 1 15 8 15 23 sensor 2: read_at: 2 3 4 6 7 value: 10 11 7 12 28 what I need is a line plot of the sensor values,
2006 Jun 26
1
OE pop3 > imap subfolder migration?
Hello. This isn't actually a dovecot question, but I'm running in clienys servers dovecot mostly as pop3 server and now started to migrate some servers to imap. But as clients uses Outlook Express how to transfer their pop3 settings and mailboxes to imap?. Making a new mail account for imap is easy, and drag & drop the default folders (inbox, outbox etc) messages to imap accounts
2006 Feb 21
7
Self-referencial habtm relationship
Heyo! I am setting up a self-referencial habtm relationship with the users of my app. I am using Chad Fowler''s "Rails Recipes" to get me started, and everything works great with the join table "people_friends". I add friends by doing somebody.friends << somebodyelse. However, with my app, there is an approval process so my join table has columns person_id,
2018 Aug 07
2
limit sharing ability to certain users
Sorry for that! I was offline during writing my answer to your mail and so it left my outbox after the advice from Sami. The solution works well when using passwd userdbs only. I didn?t get it running in conjunction with ldap userdb. I tried to use an LDAP attribute and mapping it to userdb_acl_globals_only and another try with acl_globals_only. Both attributes were not considered by the lookup.
2009 Sep 25
5
OT: IMAP folder aliases
It seems that there is no standard for folder names that deal with typical message classes such as drafts, outbox, sent, spam etc. At least there's no common sense on a naming convention that tells how client should handle this. Worse than this, most IMAP clients auto-create folders according to their own naming convention if they don't exist. Every client introduces its own view. Users
2003 Jul 29
5
Sending emails from R under Windows
Hi Does anyone know of any R routines to send emails from R, under Windows? I thought about writing such a facility using the R(D)COM package to drive e.g. MS Outlook, but I don't want to reinvent the wheel. I have found a function Sys.mail in the library syskern, but this only works under Unix by shelling out a mail command. Thanks, David