Re: SMTP Configurations?

 
From: "Michael Havlicek" <michal7@PROTECTED>
Date: December 21st 2005

Hello,

I am just a beginner to dada mail and a new comer to Perl But I have read the magic book In my opinion you must edit again the dada_bridge pl plugin You are told that to use lib it must be a directory Well In: use lib qw(

/ /DADA /DADA/perllib

/home/account/www/cgi-bin/dada /home/account/www/cgi-bin/dada/DADA /home/account/www/cgi-bin/dada/DADA/perllib

/usr/local/lib/perl5/site_perl/5 8 0/mach /usr/local/lib/perl5/site_perl/5 8 0 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5 8 0/BSDPAN /usr/local/lib/perl5/5 8 0/mach /usr/local/lib/perl5/5 8 0

);

Erase the first 3 lines: this: / /DADA /DADA/perllib end Then edit the 3 lines below It must be absolute path to the folder dada & Dada & perlib on your server 1 Try home/youraccount/www/cgi-bin/ and so on 2 If it don't work try /var/www/cgi-bin and so on

You can get an idea of your absolute path to the librairies doing ftp to your site but sometimes the path is not true for security reasons Read the doc and if it don't help contact your hosting company for the absolute path to cgi-bin Otherwise I give you a third solution which worked very well for me Upload this script to your cgi-bin directory Name it zorro pl

!/usr/bin/perl -w

#

printenv -- demo CGI program which just prints its environment

#

print "Content-type: text/plain\n\n"; foreach $var (sort(keys(%ENV))) { $val = $ENV{$var}; $val =~ s|\n|\n|g; $val =~ s|"|\"|g; print "${var}=\"${val}\"\n"; }

chmod it 755 and open it with your browser the SCRIPT_FILENAME= is the absolute path to your cgi-bin directory

Edit the following lines in Config,pm {-Title => 'About Dada Mail', -Title_URL => "$S_PROGRAM_URL?flavor=manage_script", -Function => 'manage_script', -Activated => 1, }, Uncomment it! (remove the # in the beginning of the line)

Then connect to your administrative board an in the links on the left choose: About Dada Mail and click it

You will see this: Script Information

This is Pro Dada version 2 10 3

More Click on More Copy all the paths which begin with a slash; / Copy exactly this paths to your dada_bridge pl file

You can obtain the same results with ssh Do cd Do ls and walk until your plugins directory Do ls for being sure and the dada_bridge pl must be listed then do this command: perl -e 'print $_ "\n" foreach @INC'; You will get all your librairies on your server as with more on about dada Mail Copy exactly all the data which begin with / and paste it in the dada_bridge pl file

Note my configuration in dada_bridge pl is the following: use lib qw(

/var/www/cgi-bin/dada /var/www/cgi-bin/dada/DADA /var/www/cgi-bin/dada/DADA/perllib

/usr/local/perl/lib/5 8 7/i686-linux /usr/local/perl/lib/5 8 7 /usr/local/perl/lib/site_perl/5 8 7/i686-linux /usr/local/perl/lib/site_perl/5 8 7 /usr/local/perl/lib/site_perl

);

#

There is nothing else to configure in this program

You will obviously need to change it because your librairies on your server are not the same!

Then let's set the cron job: On my server I connect via ssh then I do the following command editcron -e In the magic book the author recommands the following command connect with ssh and perform the following command: crontab -e

First you need to know if you have the ability to set cron jobs Contact your hosting company and ask them if you have the ability or not to set cron jobs Otherwise ask them to set the following cron job for your dada mail: * * * * * /usr/bin/perl /home/myaccount/cgi-bin/dada/plugins/dada_bridge pl >/dev/null 2>&1 replace the /home/myaccount/cgi-bin/ with the absolute path to your cgi-bin directory with the help of zorro pl i gave you or more in

about dada mail

Michael Havlicek Le 21 d�c 05, � 19:10, Amakobe, Peter a �crit :

>

I havew tried to find out what this mesage means or how to correct it but I just can't figure this out Could someone help me

Here the message I get:

#

Subject: "Cron /usr/bin/perl /home/bzckzdcn/public_html/cgi-bin/dada/plugins/dada_bridge pl"

[Body Text]:

Parameter to use lib must be directory, not file at /home/bzckzdcn/public_html/cgi-bin/dada/plugins/dada_bridge pl line 24 Parameter to use lib must be directory, not file at /home/bzckzdcn/public_html/cgi-bin/dada/plugins/dada_bridge pl line 24 Parameter to use lib must be directory, not file at /home/bzckzdcn/public_html/cgi-bin/dada/plugins/dada_bridge pl line 24 Parameter to use lib must be directory, not file at /home/bzckzdcn/public_html/cgi-bin/dada/plugins/dada_bridge pl line 24

#

I will appreciate any help I can get

Thank you

--

Post: dadadev@skazat com

Unsubscribe: http://mojo skazat com/cgi-bin/dada/mail cgi/u/dadadev/

List Information: http://mojo skazat com/cgi-bin/dada/mail cgi/list/dadadev

Archive: http://mojo skazat com/cgi-bin/dada/mail cgi/archive/dadadev

  • This mailing list is a public mailing list - anyone may join or leave, at any time.
  • This mailing list is a group discussion list (unmoderated)
  • Start a new thread, email: dadadev@dadamailproject.com

This is the developer discussion mailing list for Dada Mail.

If you are just looking for support Dada Mail, consult the message boards at:

https://forum.dadamailproject.com

Documentation for Dada Mail:

https://dadamailproject.com/d

Specifically, see the Error FAQ:

https://dadamailproject.com/d/FAQ-errors.pod.html

To post to this list, send a message to:

mailto:dadadev@dadamailproject.com

All subscribers of this list may post to the list itself.

Topics that are welcome:

  • Constructive critiques on the program (I like, "x", but, "y" needs some work - here's an idea on how to make this better...)
  • Bug/Error reports
  • Bug fixes
  • Request For Comments on any changes to the program
  • Help customizing Dada Mail for your own needs
  • Patches
  • Language Translations
  • Support Documentation/Doc editing, FAQ's, etc.
  • Discussion of any changes that you would like to be committed to the next version of Dada Mail -

Dada Mail is on Github:

https://github.com/justingit/dada-mail/

If you would like to fork, branch, send over PRs, open up issues, etc.

Privacy Policy:

This Privacy Policy is for this mailing list, and this mailing list only.

Email addresses collection through this mailing list are used explicitly to work within this email discussion list.

We only collect email addresses through our Closed-Loop Opt-In system.

We don't use your email address for any other purpose.

We won't be sharing your email address with any other entity.

Unsubscription can be done at any time. Please contact us at: justin@dadamailproject.com for any help regarding your subscription, including removal from the mailing list.

All mailing list messages sent from us will include a subscription removal link, which will allow you to remove yourself from this mailing list automatically, and permanently.

All consent to use your email address for any other purpose stated at the time of the mailing list subscription will also be revoked upon mailing list removal.