CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • Ubuntu Hardy Heron
Pages: [1] 2

Author Topic: Ubuntu Hardy Heron  (Read 11151 times)

FatherShawn

  • Ask me questions
  • ****
  • Posts: 372
  • Karma: 25
    • C3 Design
  • CiviCRM version: 4.2.11
  • CMS version: Drupal 7.23
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
Ubuntu Hardy Heron
August 19, 2008, 08:34:55 am
The installation wiki states:
Quote

  • for ubuntu 7.04 (Feisty) the package installation list is more likely to be something like sudo apt-get install libmailtools-perl libunix-syslog-perl libberkeleydb-perl libsoap-lite-perl libmail-verp-perl libio-stringy-perl libarchive-zip-perl libnet-server-perl libarchive-tar-perl libconvert-uulib-perl libconvert-tnef-perl libio-multiplex-perl libnet-cidr-perl libio-zlib-perl postfix procmail.
  • for all debian/ubuntu-like distributions, you will probably be best served by doing an install of the packages that your OS thinks are best likely to meet the dependencies of the inscrutable amavsid .deb file. the command for this is apt-get -f install, which will helpfully install all the dependencies of any package you try to install. A lot easier, and a lot less error-prone.

Looking at the dependencies listed at Package: amavisd-new I don't see some of the packages itemized under the 7.04 list above, such as the soap package.  What would I need to pass to aptitude to be ready for CiviMail in the latest Ubuntu LTS Hardy release?
Lead Developer, C3 Design.
Twitter: @FatherShawn

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Ubuntu Hardy Heron
August 20, 2008, 04:04:22 am
All the dependencies of the amavisd-new package plus libsoap-lite-perl and  libmail-verp-perl.

Your best bet is to actually install the amavisd-new package and then overwrite the ‘binary’ with what we have in our repository (plus the additional config file).
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

FatherShawn

  • Ask me questions
  • ****
  • Posts: 372
  • Karma: 25
    • C3 Design
  • CiviCRM version: 4.2.11
  • CMS version: Drupal 7.23
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
Re: Ubuntu Hardy Heron
September 29, 2008, 05:28:38 pm
OK, I have postfix and imap up and running properly.  Now I'm ready to add amavisd-new to this new server.

Installed the suggested packages.  hardy installs amavisd-new 2.5.3 & I notice on the CiviMail setup documentation that  amavisd-new_2.4.2-6.1civimail2_all.deb seems to indicate version 2.4.2. 

Is the version mismatch a problem?  If so, how can I resolve it?
Lead Developer, C3 Design.
Twitter: @FatherShawn

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Ubuntu Hardy Heron
September 30, 2008, 01:51:03 am
Quote from: FatherShawn on September 29, 2008, 05:28:38 pm
Installed the suggested packages.

Just make sure you also have libsoap-lite-perl and libmail-verp-perl (these are not amavisd-new’s dependencies, but are required by CiviCRM’s version).

Quote from: FatherShawn on September 29, 2008, 05:28:38 pm
hardy installs amavisd-new 2.5.3 & I notice on the CiviMail setup documentation that  amavisd-new_2.4.2-6.1civimail2_all.deb seems to indicate version 2.4.2. 

Is the version mismatch a problem?  If so, how can I resolve it?

The docs are a bit outdated. We now ship patched versions of AMaViS 2.4.2, 2.5.2 and 2.6.0:
http://svn.civicrm.org/civicrm/branches/v2.0/tools/amavisd-new/
http://svn.civicrm.org/civicrm/branches/v2.1/tools/amavisd-new/
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

FatherShawn

  • Ask me questions
  • ****
  • Posts: 372
  • Karma: 25
    • C3 Design
  • CiviCRM version: 4.2.11
  • CMS version: Drupal 7.23
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
Re: Ubuntu Hardy Heron
September 30, 2008, 04:08:44 am
Absolutely installed the perl packages!

Since Ubuntu Hardy is an LTS version, it seems likely to me that it will be widely installed.  Will you also patch version 2.5.3 (installed in Hardy)?
Lead Developer, C3 Design.
Twitter: @FatherShawn

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Ubuntu Hardy Heron
October 01, 2008, 06:25:07 am
Quote from: FatherShawn on September 30, 2008, 04:08:44 am
Since Ubuntu Hardy is an LTS version, it seems likely to me that it will be widely installed.  Will you also patch version 2.5.3 (installed in Hardy)?

I’m finishing writing a PHP solution that should replace the patched AMaViS in CiviCRM 2.2.

I don’t think there’s much difference between AMaViS 2.5.2 and 2.5.3, so you can simply try using the 2.5.2 file in your setup.

I reopened CRM-2660 and I’ll see how much work will upgrading our patched version to 2.5.3 be.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

FatherShawn

  • Ask me questions
  • ****
  • Posts: 372
  • Karma: 25
    • C3 Design
  • CiviCRM version: 4.2.11
  • CMS version: Drupal 7.23
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
Re: Ubuntu Hardy Heron
October 01, 2008, 07:08:24 am
Quote from: Piotr Szotkowski on October 01, 2008, 06:25:07 am
I’m finishing writing a PHP solution that should replace the patched AMaViS in CiviCRM 2.2.

That's very cool!! Thank you so much.  Open source is quite literally the gift of an IT dept. to all of us.

We had not implemented CiviMail previously, although I've been using amavis-new for spam scanning on the CentOS server that I'm retiring. Will your new php based solution still "play nicely" with the usual purpose of content filtering in general?
Lead Developer, C3 Design.
Twitter: @FatherShawn

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Ubuntu Hardy Heron
October 01, 2008, 10:45:56 am
Quote from: FatherShawn on October 01, 2008, 07:08:24 am
We had not implemented CiviMail previously, although I've been using amavis-new for spam scanning on the CentOS server that I'm retiring. Will your new php based solution still "play nicely" with the usual purpose of content filtering in general?

the new solution will be based of a mailbox/imap account and will not be a content filter. So it will be similar to the imap2soap.pl script which has been community developed/supported.

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Ubuntu Hardy Heron
October 02, 2008, 02:39:54 am
As Lobo said, it will be a imap2soap-like solution – it will periodically poll your mbox/Maildir/POP3/IMAP account and take care of any CiviMail-bound emails there – so it won’t be a ‘live’ solution (but will be relatively trivial to setup, all you need will be a cron entry).
« Last Edit: October 02, 2008, 10:19:58 am by Piotr Szotkowski »
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

FatherShawn

  • Ask me questions
  • ****
  • Posts: 372
  • Karma: 25
    • C3 Design
  • CiviCRM version: 4.2.11
  • CMS version: Drupal 7.23
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
Re: Ubuntu Hardy Heron
October 02, 2008, 03:11:50 am
Piotr-

That sounds fabulous!

Well, with 2.1 we're implementing a big expansion of Civi features into our organizational life: contributions, pledges, front-end profiles.  We're now able to use it as our "real" membership db.  So I have a lot to work on.  What that means is CiviMail can wait for your new script.

Amavis-new was only worth keeping for CiviMail.  We're on a 256Mb server and amavis is so memory hungry - almost half the ram with only two child processes.  I'll find a less resource hungry spam solution.  I really like what I'm reading about dspam at the moment.

- Shawn
Lead Developer, C3 Design.
Twitter: @FatherShawn

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: Ubuntu Hardy Heron
October 10, 2008, 01:03:13 pm
Just a thought, and I posted this in another place as well, it seems to me placing optoutUrl token in the emails means the recipient can opt out by clicking a link in the email, going to the website, and opting out.
To me this is way easier to admin then the opt out via reply in the email.
I assume this is what the above question relates to since you do not need to do the civimail alternative install if you use this?
But I could be wrong.

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Ubuntu Hardy Heron
October 10, 2008, 08:55:42 pm
Quote from: alfred_nutile on October 10, 2008, 01:03:13 pm
Just a thought, and I posted this in another place as well, it seems to me placing optoutUrl token in the emails means the recipient can opt out by clicking a link in the email, going to the website, and opting out.

Correct.

Quote from: alfred_nutile on October 10, 2008, 01:03:13 pm
To me this is way easier to admin then the opt out via reply in the email.

It depends. We considered dropping the SMTP actions altogether (for CiviCRM 1.9, IIRC), but the community reply was that having the SMTP counterparts – i.e., the ability to (re-,un-)subscribe and opt-out by email – was a needed feature, so we kept it.

Quote from: alfred_nutile on October 10, 2008, 01:03:13 pm
I assume this is what the above question relates to since you do not need to do the civimail alternative install if you use this?

Well, if you do not setup the email return channel, you can’t track non-immediate bounces (the ones that happen during the initial SMTP connection, when a given email is being sent).
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: Ubuntu Hardy Heron
October 11, 2008, 02:04:48 am
oh, so setting it up so soap still runs the process.
I see.
That makes sense and is quite important.

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Ubuntu Hardy Heron
October 11, 2008, 06:26:13 am
Quote from: alfred_nutile on October 11, 2008, 02:04:48 am
oh, so setting it up so soap still runs the process.

Um, did you mean cron, not SOAP here? SOAP is a way to remotely access CiviCRM; the new script will work as a part of an existing CiviCRM installation, so will just make that installation’s API calls – no SOAP necessary. (But it will have to be periodically triggered by cron.)
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: Ubuntu Hardy Heron
October 12, 2008, 06:49:25 am
I guess what I meant was the imap2soap to clean out the imap folder and deal with bounces.

The cron, I thought, was there to tell CiviMail there are jobs to be sent etc.
???

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • Ubuntu Hardy Heron

This forum was archived on 2017-11-26.