HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   mailing list ispconfig 3.0.4.3 debian6 (http://www.howtoforge.com/forums/showthread.php?t=56393)

patbonf 1st March 2012 15:26

mailing list ispconfig 3.0.4.3 debian6
 
Hello,

I have a problem with mailing list on my server, i create a mailing list but i don't know how use it.
I have create it like in manual, but i don't receive any email.
here parameter of my mailing list:
Client: client1
Domain: domain.com
Listname: liste001
Email: monmail@domain.com
Password: ********

In manual it's write :"list administrator will receive an email with all important details..."
But witch email is it? where i can configure it.
The 2 link in manual:http://example.com/cgi-bin/mailman/admin/testlist and http://example.com/cgi-bin/mailman/listinfo/testlist don't work.

Can you help me?

Thank's

till 1st March 2012 15:35

The list you created is named "liste001" and not "testlist" as the example links in the manual and your server is not named example.com. Replace testlist with liste001 and example.com with the hostname of your server in the links.

patbonf 1st March 2012 15:49

Sorry, I haven't modify links in my post but I have do that with with my parameters, but it's don't work.

The mail i must receive by creating mailing is witch one: the email I enter in mailing list or another?

Thanks

till 1st March 2012 15:54

Thats the email address that you enter into the email field when you create a list. Are you sure that you installed and configured mailman properly before you installed ispconfig and that you started mailman?

patbonf 1st March 2012 16:04

Its pre-configured distribution, i will check that an post an answers when done.

Thanks you for help, and for ispconfig.

till 1st March 2012 16:24

The installation steps for mailman are:


Since version 3.0.4, ISPConfig also allows you to manage (create/modify/delete) Mailman mailing lists. If you want to make use of this feature, install Mailman as follows:

apt-get install mailman

Before we can start Mailman, a first mailing list called mailman must be created:

newlist mailman

root@server1:~# newlist mailman
Enter the email of the person running the list: <-- admin email address, e.g. info@example.com
Initial mailman password: <-- admin password for the mailman list
To finish creating your mailing list, you must edit your /etc/aliases (or
equivalent) file by adding the following lines, and possibly running the
`newaliases' program:

## mailman mailing list
mailman: "|/var/lib/mailman/mail/mailman post mailman"
mailman-admin: "|/var/lib/mailman/mail/mailman admin mailman"
mailman-bounces: "|/var/lib/mailman/mail/mailman bounces mailman"
mailman-confirm: "|/var/lib/mailman/mail/mailman confirm mailman"
mailman-join: "|/var/lib/mailman/mail/mailman join mailman"
mailman-leave: "|/var/lib/mailman/mail/mailman leave mailman"
mailman-owner: "|/var/lib/mailman/mail/mailman owner mailman"
mailman-request: "|/var/lib/mailman/mail/mailman request mailman"
mailman-subscribe: "|/var/lib/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mailman"

Hit enter to notify mailman owner... <-- ENTER

root@server1:~#

Open /etc/aliases afterwards...

vi /etc/aliases

... and add the following lines:

[...]
mailman: "|/var/lib/mailman/mail/mailman post mailman"
mailman-admin: "|/var/lib/mailman/mail/mailman admin mailman"
mailman-bounces: "|/var/lib/mailman/mail/mailman bounces mailman"
mailman-confirm: "|/var/lib/mailman/mail/mailman confirm mailman"
mailman-join: "|/var/lib/mailman/mail/mailman join mailman"
mailman-leave: "|/var/lib/mailman/mail/mailman leave mailman"
mailman-owner: "|/var/lib/mailman/mail/mailman owner mailman"
mailman-request: "|/var/lib/mailman/mail/mailman request mailman"
mailman-subscribe: "|/var/lib/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mailman"
Run

newaliases

afterwards and restart Postfix:

/etc/init.d/postfix restart

Then start the Mailman daemon:

/etc/init.d/mailman start

-----------------------

afterwards download the ispconfig tar.gz and run the update script and choose to reconfigure services during update:

cd /tmp
wget http://www.ispconfig.org/downloads/I...-stable.tar.gz
tar xvfz ISPConfig-3-stable.tar.gz
cd ispconfig3_install/install
php -q update.php

grungy 11th December 2013 16:11

Till, do we have to configure mailman from shell or does ISPConfig 3 do that for us?


This is what I get when I install and try to run mailman:

# newlist mailman
Enter the email of the person running the list: my@email
Initial mailman password:
/etc/mailman/virtual_to_transport.sh: 39: This is the module which takes your site-specific settings.

From a raw distribution it should be copied to mm_cfg.py. If you
already have an mm_cfg.py, be careful to add in only the new settings
you want. The complete set of distributed defaults, with annotation,
are in ./Defaults. In mm_cfg, override only those you want to
change, after the

from Defaults import *

line (see below).

Note that these are just default settings - many can be overridden via the
admin and user interfaces on a per-list or per-user basis.

Note also that some of the settings are resolved against the active list
setting by using the value as a format string against the
list-instance-object's dictionary - see the distributed value of
DEFAULT_MSG_FOOTER for an example.: File name too long
from: can't read /var/mail/Defaults
/etc/mailman/virtual_to_transport.sh: 55: MAILMAN_SITE_LIST: not found
/etc/mailman/virtual_to_transport.sh: 60: DEFAULT_URL_PATTERN: not found
/etc/mailman/virtual_to_transport.sh: 61: PRIVATE_ARCHIVE_URL: not found
/etc/mailman/virtual_to_transport.sh: 62: IMAGE_LOGOS: not found
/etc/mailman/virtual_to_transport.sh: 66: DEFAULT_EMAIL_HOST: not found
/etc/mailman/virtual_to_transport.sh: 69: DEFAULT_URL_HOST: not found
/etc/mailman/virtual_to_transport.sh: 72: Syntax error: word unexpected (expecting ")")
Traceback (most recent call last):
File "/usr/sbin/newlist", line 266, in <module>
main()
File "/usr/sbin/newlist", line 233, in main
sys.modules[modname].create(mlist)
File "/var/lib/mailman/Mailman/MTA/Postfix.py", line 232, in create
_update_maps()
File "/var/lib/mailman/Mailman/MTA/Postfix.py", line 60, in _update_maps
raise RuntimeError, msg % (vcmd, status, errstr)
RuntimeError: command failed: /etc/mailman/virtual_to_transport.sh /var/lib/mailman/data/virtual-mailman (status: 2, No such file or directory)

till 11th December 2013 16:24

The mailinglist with name "mailman" has to be created on the shell during ininital installation, later all other mailinglists are created trough ispconfig.

Which ispconfig version? Did you install mailman before ispconfig was installed or did you run the ispconfig updater and reconfigured services after you installed mailman?

grungy 11th December 2013 16:32

Quote:

Originally Posted by till (Post 307269)
The mailinglist with name "mailman" has to be created on the shell during ininital installation, later all other mailinglists are created trough ispconfig.

Which ispconfig version? Did you install mailman before ispconfig was installed or did you run the ispconfig updater and reconfigured services after you installed mailman?


I did an update from previous version running php -q update.php. When I wanted to create a mailing list I noticed nothing was happening. Than I noticed the mailman package was not installed and installed it from shell.

Did not reconfigured services after I installed mailman.

grungy 15th December 2013 22:32

I manually run php -q update.php and reconfigured all services, mailing lists are created now. Thanks.


All times are GMT +2. The time now is 20:08.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.