Og2List and Cpanel/WHM????

Events happening in the community are now at Drupal community events on www.drupal.org.
Veggieryan's picture

Hey there,
Tried to get my systems administrator to install og2list today.
He replied:
" Are you sure you want us to make all those mail router configuration changes to your exim config. I do not see cpanel supporting this software and so mails on other domains may get messed up by this. "

So I ask you: "Will og2list work with a dedicated host running cpanel/whm?"
When I tried to add the settings to my exim.conf file on my own all other mail stopped.. When I removed the changes I made the email resumed being sent... all email that didn't go through in the interim was then allowed to be delivered.. so nothing was lost.... but then I had no idea what order to put things in or if some settings should combine with or supercede others...

Please, I really want to get my sites running og2list. Any tips would be appreciated as the install instructions for the exim part are not too easy to follow...

Also, is the cvs version of og2list working with 4.7?

You know what would be helpful is a tarball of all the modules that are making groups.drupal.org work.. so that we don't have to mix and match and fiddle to get this functionality going until our profile install system is ready.

thanks!
ryan grace

Comments

OG2List should use a dedicated mail server

Amazon's picture

Dynamically launching large numbers of mailing lists is something we recommnend you do with a dedicated mail server.

Ryan let's talk how you can contribute to help us meet your needs.

Kieran

To seek, to strive, to find, and not to yield

< a href="http://www.youtube.com/watch?v=COg-orloxlY">Support the Drupal installer, Install profiles, and module install forms
<a href="http://ia310107.us.archive.org/1/items/organicgroups_og2list/dru

I am on a dedicated host...

Veggieryan's picture

Hmmm..
My dedicated host has about 10 sites for organizations with 10-20 core members each.
I would be using it as an intranet.. like a single group for each site that uses og2list to collaborate.
So I wouldnt be adding new lists all the time...

what do you think?

just need to clarify..

Veggieryan's picture

the install instructions for exim integration are a bit vague. i have enlisted help from civicspace but would still like to know how to do this myself...
I'll bet I could get it with just a few hints.
When I tried to enter the settings verbatim all email just stopped. When i rolled back my exim.conf.. all emails that were delayed got delivered...

  1. there are a few parts I don't understand.. in the parts where it says local_part@domain... do i change domain to mine?
  2. does "localhost/drupal/dbuser/dbpass" need to be changed with server specific info?
  3. it says the router order is important.. what is typically first.
  4. perhaps an example of the changes made to an exim.conf would be helpful.

i just saw killes posted a 4.7 version of og2list.
i'd love to try this out on my sites! some are 4.7 and others are 4.6

will i be able to run multiple domains thru og2list on my dedicated host? i mean i just do the og2list user, exim.conf and then each domain's drupal install has its og2list.module so it should work right?

cool!
ryan.

Integration into MTA setup (Exim 4.x)

Global
The global section of Exim's configuration file is the place to
define variables and installation-specific parameters such as the
SQL location below.
See Section 9.21 of the Exim specification for details.

The user/group ID and the home directory need not match any other
user account on the system, in particular not the webserver's or the
web application's user. mail-in.pl only needs to access its
configuration file and the og2list_* tables in the SQL database for
which the credentials are stored in the configuration file.

OG2LIST_HOME = /home/og2list
OG2LIST_UID  = og2list
OG2LIST_GID  = og2list

hide mysql_servers = localhost/drupal/dbuser/dbpass

Router
Routers are rules that determine how a destination address should be
handled. The following piece of code assigns addresses to a
transport rule called og2list_transport which is defined below.
Note that the since Routers are evaluated one after anotehr, their
order in the configuration file will most likely affect overall
behavior.

See section 3.8 of the Exim specification for details.

og2list:
  debug_print "R: og2list from $return_path \
    for $local_part@$domain"
  driver = accept
  transport = og2list_transport
  condition = ${lookup mysql{SELECT 1 FROM og2list_groups \
                             WHERE recipient \
                             LIKE '$local_part@$domain'} \
                       {$value} \
                       fail}

If Exim has been built without MySQL support, the following
condition statement should work:

  condition = ${run{/path/to/valid-recipient.pl $local_part@$domain}{1}{0}}

Transport
Transports are the rules that determine by what means a message
should be delivered that has been assigned to this transport by a
router.
og2list_transport:
debug_print "T: og2list_transport from \
$return_path for $local_part@$domain"
driver = pipe
freeze_exec_fail
log_output
command = OG2LIST_HOME/mail-in.pl \
-f $return_path -t $local_part@$domain
current_directory = OG2LIST_HOME
user = OG2LIST_UID
group = OG2LIST_GID

Hey, ryan...

ajwwong's picture

Hi Ryan... Did you ever get this working?

I'm currently on an el cheapo shared server (one of those $5/month shared deals) so I don't think I'm gonna be able to use og2list, right now :-) , but eventually I'd like to be able to and was curious about what setup / webhost you had and what you did to get it working. [Specifically for 4.7.]

I guess one of these days, I can still hope!

Peace,

Albert

www.ithou.org

example?

echoeng's picture

Did an example ever get posted anywhere? I'd like to see an example of what I need to change in the exim.conf file to get this working. I'm interested in about the same application as ryan so any help would be appreciated-- thanks!

Groups.drupal.org

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: