OpenEMM Support Forum Index OpenEMM Support
Use this forum to get and provide free help regarding OpenEMM
 
 TOP   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

One Openemm - 4 computers. Is this possible?

 
Post new topic   Reply to topic    OpenEMM Support Forum Index -> Development
View previous topic :: View next topic  
Author Message
sfantul



Joined: 15 Aug 2006
Posts: 40

PostPosted: Thu Sep 28, 2006 1:40 pm    Post subject: One Openemm - 4 computers. Is this possible? Reply with quote

I want to broke openemm in modules that stay on different computers.
Mashine 1: the database
Mashine 2: python ,c scripts and sendmail
Mashine 3: openemm interface
Mashine 4: openemm redirection server

Is this possible?
What i want to know to be more exact is how this 4 entities interact.
What i know:
The database is easy to separate from others .
-for this we have to properlly modify emm.properties ,agn.py and Mailgun.ini (By the way who uses this file beside webapps? and if nobody else uses it why cant be used just "emm.properties")

Both webapps write some log files to disk in the openemm file system (but i dont think this is a big problem they could write them anywhere. no other script use them).

Console app write some xml to disk when sending mails that the other scripts fetch. This is the first big problem.

Are there any other problems?
The redirection app for example have any contact with the filesystem ? (beside log files of course)
Back to top
View user's profile Send private message
sfantul



Joined: 15 Aug 2006
Posts: 40

PostPosted: Thu Nov 02, 2006 12:24 pm    Post subject: Reply with quote

I'll answer myself .
Openem can be relatively easy split on 3 mashines .
1) Openemm user, filesystem , python and c script, sendmail and openemm interface
2)database
3)Redirection server.
This is important because the redirection server could be put in a location where a good uptime is ensured and also the database.
The interface doesnt need to be online all the time.
Back to top
View user's profile Send private message
marton



Joined: 09 Aug 2006
Posts: 36

PostPosted: Sun Feb 18, 2007 3:30 pm    Post subject: Reply with quote

hi,

does it work? do you run openemm on three machines?

thanks in advance, marton
Back to top
View user's profile Send private message
sfantul



Joined: 15 Aug 2006
Posts: 40

PostPosted: Mon Feb 19, 2007 8:47 am    Post subject: Reply with quote

yes, I do , i have :
- the database on a mashine
- the interface , python scripts, log files , etc on an other mashine
- redirection (public) server on another mashine
Back to top
View user's profile Send private message
ma
Site Admin


Joined: 03 Aug 2006
Posts: 512
Location: Munich, Germany

PostPosted: Wed Feb 21, 2007 9:23 am    Post subject: distributed openemm Reply with quote

sfantul, I am curious: How many mails per hour can you send with this configuration?
_________________
The OpenEMM Team
Back to top
View user's profile Send private message Visit poster's website
sfantul



Joined: 15 Aug 2006
Posts: 40

PostPosted: Wed Feb 21, 2007 10:45 am    Post subject: Reply with quote

Currently i have a mailing list of 600k subscribers and i limit the mailing to 50k per hour (but it can do better).I did this limitation because of the notifications that i receive from some domains that my mailing rate is too high.
But the mailing rate has nothing to do to with this configuration , its all about configuring sendmail (when i started i had a rate of 10k per hour max). I tried a lot of things to make the sending rate higher.

First big breakthrough was to split the queue folder in 10 folders with persistent runners on every queue
$sm -qp1s -NFAILURE -OQueueDirectory=$BASE/var/spool/QUEUE0
$sm -qp1s -NFAILURE -OQueueDirectory=$BASE/var/spool/QUEUE1
...
$sm -qp1s -NFAILURE -OQueueDirectory=$BASE/var/spool/QUEUE9
changing pickdist.py and mailer.sh accordingly and sorting the queue after the host. here are my defines in sendmail.mc:
define(`confQUEUE_LA', `50')dnl
define(`confREFUSE_LA', `51')dnl
define(`confCON_EXPENSIVE',`true')dnl
define(`confTO_ICONNECT', `5s')dnl
define(`confQUEUE_SORT_ORDER', `Host')dnl
define(`confMIN_QUEUE_AGE', `3h')dnl

This was a big improvement, but finally i'm using an extra postfix mailer as a smarthost which give me the results i was talking about.
The disadvantages of this last solution are that u need to also configure an postfix mailer and that the first type of bounce management does not work properlly.
Back to top
View user's profile Send private message
joedj



Joined: 22 Apr 2008
Posts: 2

PostPosted: Tue Jun 10, 2008 4:07 am    Post subject: Reply with quote

Hi sfantul,

We are interested in doing something similar. Can you tell us what kind of changes you made to pickdist.py to use the multiple queues, or provide a copy? I know this was a while ago now... :)
Back to top
View user's profile Send private message
dcunniff



Joined: 14 Oct 2008
Posts: 4

PostPosted: Wed Oct 29, 2008 2:43 pm    Post subject: Reply with quote

Hi guys,

I'm looking for the same information if it could be provided. I too understand this was a long time ago.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenEMM Support Forum Index -> Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group