XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum [Powered by Invision Power Board]
Printable Version of Topic
Click here to view this topic in its original format
XMail Forum > Documentation and Knowledge Base > Xmail and Ecartis mailing list


Posted by: atomant Feb 18 2003, 08:49 AM
Hi!

I have managed with a help of Davide to configure Ecartis with Xmail on linux. If someone desire to make this setup I will help him/her.
QUOTE

Ecartis is a open-source (GNU License) software package that administers mailing lists (similar to Majordomo and Listserv).

Posted by: hschneider Feb 18 2003, 08:54 AM
Would be nice to see a short HowTo here ... :-)

Posted by: atomant Feb 18 2003, 09:31 AM
No problem.

First get a copy of Ecartis (rpm or tarball) at:

www.ecartis.org

If you use rpm it is easy because it is allready compiled. For the tarball you need to compile it. You need to read the docs for that and other things for install and configure.

Create a user ecartis with a group ecartis.

Install ecartis. Edit ecartis.cfg file.

You'll also need three extra files:

- ecartis.sh

CODE

#!/bin/sh
DIRNAME=`dirname $0`
FILENAME=$1
shift
$DIRNAME/econv --mbox --unix --input $FILENAME > $FILENAME.lst
$DIRNAME/ecartis -f $FILENAME.lst $*
rm -f $FILENAME*


- econv (get source econv.c from xmailserver.org) : you need to compile it
CODE

$ gcc -o econv econv.c


- lisset.pl (get it from xmailserver.org)

Put all these files to Ecartis install dir (default "/home/ecartis" ).
Change ownership of these files to ecartis:ecartis.

Create new list:
CODE

$ cd /home/ecartis
$ ./ecartis -newlist listname


Run perl script lisset.pl:
CODE

$ perl lisset.pl --mail-root /var/MailRoot --ecartis /home/ecartis/ecartis.sh --list-name mylist --domain mydomain --admin emailofadmin

This script will create for you the cmdaliases for your list.

you'll also need to create manually ecartis.tab under the /var/MailRoot/cmdaliases/mydomain
CODE

"external"[tab]"0"[tab]"0"[tab]"/home/ecartis/ecartis.sh"[tab]"@@TMPFILE"[newline]


Go to your list directory and open file config and edit it for your taste.


After that you're done. So test it to send a mail to ecartis@mydomain with a subject "help".
If there is no problem you'll get back the help message from ecartis.

Thanks to Davide Libenzi for a BIG help.


Posted by: hschneider Feb 18 2003, 02:15 PM
Thanks for the contrib, atomant!


Posted by: atomant Feb 19 2003, 10:16 AM
Harald,

Maybe it would be good to move this example of configuring Xmail with Ecartis to Knowledge base.

Posted by: fonsy Apr 30 2003, 05:51 PM
In FreeBSD :-)

We have two options, install from ports (/usr/ports/mail/ecartis):


  • cd /usr/ports/mail/ecartis
  • make install

Or get the latest version from ecartis web
(At this moment 1.0.0-snapshot 2003-04-17).

  • cd /datos/Download
    (Or whatever directory you have for downloads)
  • mkdir ecartis
  • cd ecartis
  • fetch ftp://ftp.ecartis.org/pub/ecartis/snapshots/tar/ecartis-1.0.0-snap20030417.tar.gz

Get also, econv.c (XMail spool to email format coverter) and lisset.pl (XMail's cmdaliases generator for ecartis) from xmailserver.org for further use.

  • fetch http://www.xmailserver.org/econv.c
  • fetch http://www.xmailserver.org/lisset.pl

Uncompress

  • cd /datos
  • tar -xvzf ./Download/ecartis/ecartis-1.0.0-snap20030417.tar.gz

rename by comfort if you want.

  • mv ecartis-1.0.0-snap20030417 ecartis-1.0.0

Compile

  • cd ecartis-1.0.0/src
  • cp Makefile.dist Makefile
  • vi Makefile

change #BSDMOD = 1 for BSDMOD = 1 (remove #)
CODE

:%s/#BSDMOD = 1/BSDMOD = 1


  • gmake

If all right, add modules.

  • gmake install

Create group and user.

  • pw groupadd ecartis
  • pw useradd ecartis -g ecartis -d /nonexistent

Make work directory

  • mkdir /datos/ecartis

  • cp ./ecartis ../
  • cp -R ../* /datos/ecartis

  • rm -R /datos/ecartis/src
  • rm -R /datos/ecartis/debian

Get into work directory

  • cd /datos/ecartis

Compile econv and install lisset.pl

  • gcc -o econv ../Download/ecartis/econv.c
  • cp ../Download/ecartis/lisset.pl ./
  • chmod +x lisset.pl

Create ecartis.sh file

  • vi ecartis.sh

CODE

#!/bin/sh
DIRNAME=`dirname $0`
FILENAME=$1
shift
$DIRNAME/econv --mbox --unix --input $FILENAME > $FILENAME.lst
$DIRNAME/ecartis -f $FILENAME.lst $*
rm -f $FILENAME*

Change ownership

  • chown -R ecartis:ecartis /datos/ecartis/*

The rest is just as the saying by atomant for Linux...

Posted by: hschneider Apr 30 2003, 06:33 PM
Thanks for the contrib!

Posted by: pineypl Jan 21 2004, 06:20 PM
Running Xmail on FreeBSD 4.9. I have everything set, however when I run:
#./ecartis -newlist test
The command line pauses for half a second and drops back to prompt. Then I receive an email from Ecartis with the following info:

Error report:

User:
Error: Unrecognized command line argument '-newlist'.
-- queuefile in error --
<< NO QUEUEFILE! >>

---
End of error report.

I followed both the FreeBSD install and the Linux ways, using the FBSD script as described by fonsy and then th remainder portion from Sasa. At least ecartis seems to be working in some way, just having a trouble telling it about the lists.

Thanks for pointers and specific RTFM links. ;-)

Posted by: pineypl Jan 21 2004, 06:46 PM
Nevermind! I am having a Homer Simpson "D'Oh!" moment.

I did not adjust the listserv settings in the ecartis.cfg file. Needless to say, ecartis had no idea where it was nor how to use it. Seems to be prompting me for information right now.

Sorry for the wasted space....

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)