Hello,
I have to configure mailman and do this for the first time.
It was not so obvious to find the SuSE doc, so I copied it to the wiki
here:
http://en.opensuse.org/Mailman
mailman :-)
I mean, how can I find mailman from the web?
the first step of the instructions is:
1) in /etc/sysconfig/mailman tweak the parameters
MAILMAN_SMTPHOST
MAILMAN_DEFAULT_NNTP_HOST
MAILMAN_DEFAULT_EMAIL_HOST
MAILMAN_DEFAULT_URL_HOST
MAILMAN_VIRTUAL_HOSTS
and run "SuSEconfig -module mailman".
my host is culte.org, so did I write in the file (same for all)
but I let empty the VIRTUAL_HOSTS part, because I don't know what to
write there.
May I add myself a virtual mailman directory?
the default /etc/apache2/conf.d/mailman.conf file is (and I don't see
any ServerRoot):
ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
Alias /mailmanicons/ /usr/lib/mailman/icons/
Alias /pipermail/ /var/lib/mailman/archives/public/
<Directory /usr/lib/mailman/cgi-bin>
order allow,deny
allow from all
</Directory>
<Directory /usr/lib/mailman/icons>
order allow,deny
allow from all
</Directory>
<Directory /var/lib/mailman/archives/>
Options +FollowSymLinks
order allow,deny
allow from all
</Directory>
thanks
jdd
--
To unsubscribe, e-mail: opensuse+unsubscribe*******
To contact the owner, e-mail: opensuse+owner*******
You can usually access mailman under http://example.com/mailman
mailman can serve multiple domains, if you only need one, you probably
don't need virtual hosts.
I think that means mailman is accessible on all websites in your apach
config.
--
Per Jessen, Zürich (2.1
°C)
--
To unsubscribe, e-mail: opensuse unsubscribe*******
To contact the owner, e-mail: opensuse owner*******
Assuming you did a "rcapache2 reload" (or whatever the equivalent
systemd incantation is).
--
Per Jessen, Zürich (2.3
°C)
--
To unsubscribe, e-mail: opensuse unsubscribe*******
To contact the owner, e-mail: opensuse owner*******
logical, but
http://www.culte.org/mailman
gives "error 404"
so the mailman pre-configuration do not work
ok, was what I thought
here my virtualhosts config (below), how do I insert mailman in it?:
# forbid access to the entire filesystem by default
<Directory />
Options None
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory "/srv/www/htdocs">
Options FollowSymLinks Includes
#AllowOverride None
AllowOverride All
Order allow,deny
Allow from all
#DirectoryIndex index.html index.php
</Directory>
NameVirtualHost *:80
<VirtualHost *:80>
ServerName culte.org
ServerAlias asso.culte.org
ServerAlias www.culte.org
ServerAlias 192.168.56.2
DocumentRoot /srv/www/htdocs/
DirectoryIndex index.html index.php
<Directory />
Options None
AllowOverride None
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
thanks
jdd
--
To unsubscribe, e-mail: opensuse+unsubscribe*******
To contact the owner, e-mail: opensuse+owner*******
I am pretty certain the conf.d/mailman.conf will apply to all virtual
hosts, but I've never used that config myself. If you don't think it
is included, you can always take the three lines :
ScriptAlias
mailman
/usr/lib/mailma/cgi-bin/
Alias
mailmanicons
/usr/lib/milman/icons/
Alias
pipermail
/var/ib/mailman/archives/public/
and add them to your virtualhost config directly.
I guess there is no doubt that mailman was installed
in /usr/lib/mailman ?
--
Per Jessen, Zürich (2.4
°C)
--
To unsubscribe, e-mail: opensuse unsubscribe*******
To contact the owner, e-mail: opensuse owner*******
Hi jdd
for me it works now:
http://www.culte.org/mailman/listinfo
--
Per Jessen, Zürich (2.4
°C)
--
To unsubscribe, e-mail: opensuse unsubscribe*******
To contact the owner, e-mail: opensuse owner*******
well... befiore going further, I detected a big problem
reading this:
5) In /etc/sysconfig/apache2, add "MAILMAN" to the APACHE_SERVER_FLAGS:
a2enflag MAILMAN
and restart Apache:
rcapache2 restart
I added
APACHE_SERVER_FLAGS= a2enflag MAILMAN
to the etc/sysconfig/apache2
and this filled the "ps ax" screen with
25102 ? S 0:00 /bin/bash /usr/sbin/sysconf_addword
/etc/sysconfig/apache2 APACHE_SERVER_FLAGS MAILMAN
25107 ? S 0:00 /bin/bash /usr/sbin/a2enflag MAILMAN
I now understand than the sentence should read
In /etc/sysconfig/apache2, add "MAILMAN" to the APACHE_SERVER_FLAGS
*with* a2enflag MAILMAN
but as I never had to use a2enflag...
a2enflag MAILMAN
sysconf_addword: variable APACHE_SERVER_FLAGS does not occur in
/etc/sysconfig/apache2
and if I add APACHE_SERVER_FLAGS = "MAILMAN" manually in the file, I get
/etc/sysconfig/apache2: ligne274: APACHE_SERVER_FLAGS : command not found
so I'm still stuck :-(
thanks
jdd
--
To unsubscribe, e-mail: opensuse+unsubscribe*******
To contact the owner, e-mail: opensuse+owner*******
does it really, not for me :-(
(apache2, mailman and postfix are running! is the starting order
important?)
thanks
jdd
--
To unsubscribe, e-mail: opensuse+unsubscribe*******
To contact the owner, e-mail: opensuse+owner*******
Well it worked before, definitely, but now it has stopped again.
No, not at all. The web-interface also works alone without postfix an
mailman actually running.
--
Per Jessen, Zürich (3.7
°C)
--
To unsubscribe, e-mail: opensuse unsubscribe*******
To contact the owner, e-mail: opensuse owner*******
well... thanks saying this.
I added again the APACHE_SERVER_FLAGS line manually... and it worked
(without error message)
dunno why, but who cares :-)
hope it will stay so
thanks
jdd
--
To unsubscribe, e-mail: opensuse+unsubscribe*******
To contact the owner, e-mail: opensuse+owner*******
I could be wrong but does adding -D MAILMAN to the APACHE_SERVER_FLAGS
make it work
Togan
--
To unsubscribe, e-mail: opensuse+unsubscribe*******
To contact the owner, e-mail: opensuse+owner*******
[ 8< ]
Please keep in mind to cleanup the wiki article. You've now made the
experience and are able to do this. Please share your experience with
the community after the community helped you to get it working.
If it stays how it is I'm going to remove it next week. Cause if it
stays with the current content a pointer to the README.SuSE file is
enough.
Thanks,
Lars
--
Lars Müller [ËlaË(r)z ËmÊlÉ]
Samba Team
SUSE Linux, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
we still need a on line acticle, not to be obliged to install a
product only to read a file.
Right now I have access to the web interface, but the list manager
itself don't seems to work (I don't receive any mail from it, when I
can mail from my server account.
more to come
jdd
--
To unsubscribe, e-mail: opensuse+unsubscribe*******
To contact the owner, e-mail: opensuse+owner*******
may be.
right now I have
APACHE_SERVER_FLAGS="MAILMAN"
in the config file, and it works partially. Too short to say all
works, but I have yet to understand why
and what is the -D for?
only openSUSE seems to need this flag (no such instruction in ubuntu
web site)
thanks
jdd
--
To unsubscribe, e-mail: opensuse+unsubscribe*******
To contact the owner, e-mail: opensuse+owner*******
The mailman.conf file uses "<IfDefine MAILMAN>". (in my installation
anyway).
D = Define variable.
--
Per Jessen, Zürich (3.9
°C)
--
To unsubscribe, e-mail: opensuse unsubscribe*******
To contact the owner, e-mail: opensuse owner*******
And that's correct and that works. Tested with openSUSE 11.4 and 12.1.
It looks like you need to add a debugging section to the wiki article.
I'm quite sure we'll never see one. As we'll never will see a further
cleanup of the mailman wiki article.
No.
Lars
--
Lars Müller [ËlaË(r)z ËmÊlÉ]
Samba Team
SUSE Linux, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
yes, I have now access to the web interface and it seems to (mostly)
works - I could subscribe two account through it
I will later investigate to understand why a2enflags didn't work and
why I had error messages
sure, I will
I was speaking of the mailman server flag, not the -D
it's a french page, but it's easy to see there is no apache flag here
http://fr.wikibooks.org/wiki/Ubuntu/Mailman#Apache
NEW:
I found and fixed a (documentation ?) bug.
look at the 3) here: http://en.opensuse.org/Mailman
a) adding POSTFIX_ADD_ALIAS_MAPS="hash:/etc/aliases,
hash:/var/lib/mailman/data/aliases" to etc/sysconfig/postfix do *not*
change anything in the main.cf file and so don't change the postfix
config.
SuSEconfig -module postfix say there is no config module, and running
without option do not seems even to look at the main.cf file. I didn't
try YaST. I remember some SuSEconfig modules where removed some years
ago...
b) Look like, in the main.cf file, the last config win.
And the default openSUSE config add a
alias_maps
so any change in the middle of the file, where the usual alias_maps
config is is not used. This is the (?) bug.
changing manually this line to
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
allowed the mailing list manager to receive mails *good*.
I now have list archives with test messages!
BUT
I do *not* receive these messages from the list. Of course I
subscribed with two different accounts to see the messages.
archive page is here
http://culte.org/pipermail/linux-31/2012-February/thread.html
(and should be public)
you can also subscribe the list to try if you want
next step: read the logs
thanks
jdd
--
To unsubscribe, e-mail: opensuse+unsubscribe*******
To contact the owner, e-mail: opensuse+owner*******
I chmod to 0660
postfix complaines not to be able to open the file, hope this will not
be anymore with the change
postfix also complained about restriction option lacking. I commented
out the offending lins in main.cf
still don't receive posts from the list
jdd
--
To unsubscribe, e-mail: opensuse+unsubscribe*******
To contact the owner, e-mail: opensuse+owner*******
https://bugzilla.novell.com/show_bug.cgi?id=737260
I thought I had accidentally done this change myself, but if you're
seeing it too, I suggest you reopen.
Is mailman running? Check the mail log, are the mails being sent?
--
Per Jessen, Zürich (2.2
°C)
--
To unsubscribe, e-mail: opensuse unsubscribe*******
To contact the owner, e-mail: opensuse owner*******
may be open a new one, reopening rarely goes well.
yes, as you can see
http://culte.org/pipermail/linux-31/2012-February/thread.html
the archives are created, but no mail is sent to the list members.
how can I debug this? may be simply a bad variable somewhere!
I can send and receive mail from and to the server (thunderbird at
home, mailx on the server)
thanks
jdd
--
To unsubscribe, e-mail: opensuse+unsubscribe*******
To contact the owner, e-mail: opensuse+owner*******
That isn't mailman, that is pipermail.
What does the mail log show?
Is mailman running? The mailman processes I mean?
--
Per Jessen, Zürich (1.9
°C)
--
To unsubscribe, e-mail: opensuse unsubscribe*******
To contact the owner, e-mail: opensuse owner*******
Le 16/02/2012 18:57, Per Jessen a écrit :
are the mail archived before mailman process them?
/var/log/mail says:
Feb 16 19:21:27 savage-reborn postfix/smtpd[2973]: warning: database
/var/lib/mailman/data/aliases.db is older than source file
/var/lib/mailman/data/aliases
mail.ifon: nothing since this morning
mail.warn: lot of spam rejected (recipient unknown)
the only problem seems to be the database one, but from the mailman
bin: ./check_db says "nothing to do".
seems to be !
systemctl status mailman.service
mailman.service - LSB: Starts the mailinglist manager Mailman
Loaded: loaded (/etc/init.d/mailman)
Active: active (running) since Thu, 16 Feb 2012 16:31:37
+0100; 2h 51min ago
Process: 1851 ExecStop=/etc/init.d/mailman stop
(code=exited, status=0/SUCCESS)
Process: 1859 ExecStart=/etc/init.d/mailman start
(code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/mailman.service
â 1873 /usr/bin/python
/usr/lib/mailman/bin/mailmanctl --quiet --stale-lock-cleanup start
â 1874 /usr/bin/python /usr/lib/mailman/bin/qrunner
--runner=ArchRunner:0:1 -s
â 1875 /usr/bin/python /usr/lib/mailman/bin/qrunner
--runner=BounceRunner:0:1 -s
â 1876 /usr/bin/python /usr/lib/mailman/bin/qrunner
--runner=CommandRunner:0:1 -s
â 1877 /usr/bin/python /usr/lib/mailman/bin/qrunner
--runner=IncomingRunner:0:1 -s
â 1878 /usr/bin/python /usr/lib/mailman/bin/qrunner
--runner=NewsRunner:0:1 -s
â 1879 /usr/bin/python /usr/lib/mailman/bin/qrunner
--runner=OutgoingRunner:0:1 -s
â 1880 /usr/bin/python /usr/lib/mailman/bin/qrunner
--runner=VirginRunner:0:1 -s
â 1881 /usr/bin/python /usr/lib/mailman/bin/qrunner
--runner=RetryRunner:0:1 -s
do mailman use an other port than postfix (25)? (could be a firewall
problem??)
thanks
jdd
--
To unsubscribe, e-mail: opensuse+unsubscribe*******
To contact the owner, e-mail: opensuse+owner*******
Yes, I'm pretty certain they are.
Run "newaliases". This could be your problem - I'm pretty certain a
normal mailman installation will update your mail aliases.
No, mailman is only the list manager, postfix remains as the MTA. For
delivery, Postfix will call mailman scripts via the aliases file.
--
Per Jessen, Zürich (1.4
°C)
--
To unsubscribe, e-mail: opensuse unsubscribe*******
To contact the owner, e-mail: opensuse owner*******
I did this several times, but the mailman aliases.db don't seems
affected. I wonder how it is managed
I even verify I can send a mail as mailman user (with mailx) but still
the list manager do not send me mails
I also followed this page
http://wiki.list.org/display/DOC/4.78+Troubleshooting-+No+ma[..]
without luck
I subscribed the mailman list, but seems it's moderated, I received no
mail
thanks
jdd
--
To unsubscribe, e-mail: opensuse+unsubscribe*******
To contact the owner, e-mail: opensuse+owner*******
"newaliases" only manages the aliases specified with
postfix::alias_database.
Depending on how openSUSE has set this up, the mailman aliases.db coul
be fixed, but it might be updated by mailman whenever you change the
list configuration. In the latter case, postfix will notice the chang
and automatically reload it.
Check that the mailman alias is in fact part of your postfix config.
Check postfix::alias_maps.
I have a feeling that the mail aliases are being ignored by postfix.
--
Per Jessen, Zürich (0.7
°C)
--
To unsubscribe, e-mail: opensuse unsubscribe*******
To contact the owner, e-mail: opensuse owner*******
some time silent beacause a reboot didn't allow the network to restart
on the server. Glad it was a virtual server and the host still worked,
so I could fix this, after much work.
For whatever reason, ipv6 forgived the network start (but only since
the last start, few days ago).
But this do not makes mailman work better, still investigating (the
aliases)
jdd
--
To unsubscribe, e-mail: opensuse+unsubscribe*******
To contact the owner, e-mail: opensuse+owner*******
French readers can follow my work here
http://dodin.org/wordpress/?p=13
I subscribed the mailman-user mailing list and posted there but the
first posts are moderated, so not yet published
jdd
--
To unsubscribe, e-mail: opensuse+unsubscribe*******
To contact the owner, e-mail: opensuse+owner*******
just a note to say I could install mailman on an other server (11.4,
if this have any importance) and it works without problem.
so I will asap redo all the config on the 12.1 one to see if this
solve the problem
thanks
jdd
--
To unsubscribe, e-mail: opensuse+unsubscribe*******
To contact the owner, e-mail: opensuse+owner*******
problem solved.
as dumb as we could think.
For any unknown reason, SuSEconfig thought that mm_cfg.py was hand
once I found it and replaced the default one by the openSUSE one, all
started as needed
I will soon comment the wiki page
thanks
jdd
--
To unsubscribe, e-mail: opensuse+unsubscribe*******
To contact the owner, e-mail: opensuse+owner*******
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
Feb 17 10:35:06 savage-reborn postfix/smtpd[6881]: connect from
smtp5-g21.free.fr[212.27.42.5]
Feb 17 10:35:07 savage-reborn postfix/smtpd[6881]: C037C3FBBB:
client=smtp5-g21.free.fr[212.27.42.5]
Feb 17 10:35:08 savage-reborn postfix/cleanup[6897]: C037C3FBBB:
message-id=<4F3E1F47.4050007*******>
Feb 17 10:35:08 savage-reborn postfix/qmgr[2268]: C037C3FBBB:
from=<jdanield*******>, size=797, nrcpt=1 (queue active)
Feb 17 10:35:08 savage-reborn postfix/smtpd[6881]: disconnect from
smtp5-g21.free.fr[212.27.42.5]
Feb 17 10:35:08 savage-reborn postfix/local[6898]: C037C3FBBB:
to=<linux-31*******>, relay=local, delay=1.2,
delays=0.85/0.01/0/0.37, dsn=2.0.0, status=sent (delivered to command:
/usr/lib/mailman/mail/mailman post linux-31)
Feb 17 10:35:08 savage-reborn postfix/qmgr[2268]: C037C3FBBB: removed
--
To unsubscribe, e-mail: opensuse+unsubscribe*******
To contact the owner, e-mail: opensuse+owner*******
a post that made in 6 days after post...
gmane problem...
jdd
--
To unsubscribe, e-mail: opensuse+unsubscribe*******
To contact the owner, e-mail: opensuse+owner*******