Page 2 of 4 FirstFirst 1234 LastLast
Results 21 to 40 of 78

Thread: Guide for installing Mailman with DirectAdmin

  1. #21
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    8,134
    Try:
    Code:
    yum install python-devel
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  2. #22
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,747
    I shouldve said its a Debian, apologies.

    Quote Originally Posted by smtalk View Post
    Try:
    Code:
    yum install python-devel
    # apt-get install python-devel
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package python-devel
    but
    # apt-get install python-dev
    worked..........so, lets try again lol

  3. #23
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,747
    now its complaining the /usr/local/mailman isnt set at 02755, whereas it is:
    drwxr-sr-x 2 mailman mailman 4096 2008-10-20 14:44 mailman
    Oh hum.....

  4. #24
    Join Date
    Aug 2008
    Posts
    4,695
    Peter just run this:

    /usr/local/mailman/bin/fix_perms -f

  5. #25
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    8,134
    If you won't be able to solve the problem- feel free to contact me, I'll take a look at it for free, but fix_perms script from /usr/local/mailman/bin should solve it.
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  6. #26
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,747
    But its not installed yet.....

  7. #27
    Join Date
    Aug 2008
    Posts
    4,695
    Show me the exact error you are getting.

  8. #28
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,747
    when the ./configure --with-guid- blah is given
    --snip--
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking whether #! works in shell scripts... yes
    checking for --with-var-prefix... no
    checking for --with-permcheck... yes
    checking for --with-username... mailman
    checking for user name "mailman"... okay
    checking for --with-groupname... mailman
    checking for group name "mailman"... okay
    checking permissions on /usr/local/mailman... configure: error:
    ***** Installation directory /usr/local/mailman is not configured properly!
    ***** Permissions should be at least 02775: /usr/local/mailman

  9. #29
    Join Date
    Aug 2008
    Posts
    4,695
    chmod -R 02775 /usr/local/mailman
    chown -R mailman:mailman /usr/local/mailman

  10. #30
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,747
    Ok, done everything.

    Anyone with or could point me to a Debian /etc/init.d/mailman script?

  11. #31
    Join Date
    Aug 2008
    Posts
    4,695
    update-rc.d mailman defaults

  12. #32
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,747
    The example one was for Redhat, which spouts errors, am looking for one for Debian

    i.e:
    # /etc/init.d/mailman start
    /etc/init.d/mailman: line 70: /etc/rc.d/init.d/functions: No such file or directory

  13. #33
    Join Date
    Aug 2008
    Posts
    4,695
    The one I gave you said it was for debian....

    Check your install folder:

    doc/mailman-install.txt

    Maybe try:

    cp scripts/mailman /etc/init.d/mailman

    when in the install dir.

  14. #34
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,747
    One last thing.....
    After editing the httpd.conf (and restarting apache) as per tlchost's post, I get a 403 forbidden page

    Edit:
    I'm getting somewhere.......slowly

    Now I get a 500 Error Page when going to:

    http :// mailman . xxxxx .co.uk/mailman/admin/mailman

    Ideas?

    Permissions are all ok now, but suexec kicks up a fuss (: error: directory is writable by others: (/usr/local/mailman/cgi-bin))....... Hmmmmmmm
    Last edited by Peter Laws; 10-20-2008 at 04:30 PM.

  15. #35
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    8,134
    Try:
    Code:
    chmod 755 /usr/local/mailman/cgi-bin
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  16. #36
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,747
    Still going 500 with the log now saying:
    [2008-10-21 12:02:48]: info: (target/actual) uid: (mailman/mailman) gid: (mailman/mailman) cmd: admin
    [2008-10-21 12:02:48]: error: target uid/gid (1007/116) mismatch with directory (0/116) or program (0/116)
    I even did ./check_perms -f at first, but still kicks up a fuss lol

    I can't win


    Note: the user:group on all dirs in mailman are root:mailman, is that right or should mailman own them outright?

  17. #37
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,747
    Still have problems.... think I'll give up... am wasting valuable time......

    It looked so simple by the step-by-step guide.......

  18. #38
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    8,134
    Why don't you want me to take a look at it for free?
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  19. #39
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,747
    Done it:
    chown -R mailman:mailman /usr/local/mailman
    So..... my question is, why is chk_perms -f setting everything to root:mailman

  20. #40
    Join Date
    Apr 2007
    Posts
    381
    Quote Originally Posted by Peter Laws View Post
    Done it:

    So..... my question is, why is chk_perms -f setting everything to root:mailman
    It might be better if you let smtalk look at your system....he was of great assistance to me when I set mailman up on mine.

    Thom
    Thom, EIEIO
    Email, Internet, Electronic Information Officer

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Does DirectAdmin have a deployment guide?
    By IT_Architect in forum DirectAdmin General Discussion
    Replies: 11
    Last Post: 04-04-2009, 08:34 AM
  2. Plugins for Mailman in directadmin?
    By vousys in forum E-Mail
    Replies: 5
    Last Post: 10-26-2008, 01:50 AM
  3. Will Pay : want the guide line of Clam AV for directadmin !
    By hkivan in forum Employment Opportunities
    Replies: 2
    Last Post: 11-21-2006, 09:04 AM
  4. Installing Mailman?
    By djcronos in forum Installation / System Requirements
    Replies: 0
    Last Post: 10-03-2006, 12:30 PM
  5. Installing Guide of MOD_DOSEVASIVE for DA server
    By hkivan in forum How-To Guides
    Replies: 27
    Last Post: 12-13-2005, 04:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •