Errors on mailman startup
![](https://secure.gravatar.com/avatar/bae8c21416925078085efc889dc8c61f.jpg?s=120&d=mm&r=g)
My ISP had a major power outage a while back and I realized that mailman was no longer running. When trying to start it again, I am getting the following errors:
/usr/local/mailman/bin/mailmanctl start Starting Mailman's master qrunner. [root@ebony ~]# Traceback (most recent call last): File "/usr/local/mailman/bin/qrunner", line 270, in ? main() File "/usr/local/mailman/bin/qrunner", line 230, in main qrunner.run() File "/usr/local/mailman/Mailman/Queue/Runner.py", line 70, in run filecnt = self._oneloop() File "/usr/local/mailman/Mailman/Queue/Runner.py", line 99, in _oneloop msg, msgdata = self._switchboard.dequeue(filebase) File "/usr/local/mailman/Mailman/Queue/Switchboard.py", line 143, in dequeue fp = open(filename) IOError: [Errno 2] No such file or directory: '/usr/local/mailman/qfiles/out/1243356180.407516+c6c334592170b450a79140940b2a3ba17d3b962a.pck' Traceback (most recent call last): File "/usr/local/mailman/bin/qrunner", line 270, in ? main() File "/usr/local/mailman/bin/qrunner", line 230, in main qrunner.run() File "/usr/local/mailman/Mailman/Queue/Runner.py", line 70, in run filecnt = self._oneloop() File "/usr/local/mailman/Mailman/Queue/Runner.py", line 99, in _oneloop msg, msgdata = self._switchboard.dequeue(filebase) File "/usr/local/mailman/Mailman/Queue/Switchboard.py", line 143, in dequeue fp = open(filename) IOError: [Errno 2] No such file or directory: '/usr/local/mailman/qfiles/out/1243535478.4113281+cdfdfd56b6ebc1b658ed9c772038562cb6090a8f.pck'
When we tried to send a message to the list ... it does not get sent. Anyone have any idea about what might be going on?
Dave
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Dave Filchak wrote:
See the FAQ at <http://wiki.list.org/x/_4A9>. If you go through the steps in that FAQ and still have a problem, see <http://wiki.list.org/x/A4E9>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/bae8c21416925078085efc889dc8c61f.jpg?s=120&d=mm&r=g)
Mark Sapiro wrote:
Well .. this worked to get rid of the errors ... thank you. However, while I see no errors in the maillog, emails sent to mailman get delivered TO mailman but the emails are not forwarded to the list users. I have restarted mailman and run the cron job manually but still nothing. However, I tried to send an email from the command line and did not receive that either. I am using Sendmail with MailScanner but mail looks like it is being processed in the logs.
ps aux | grep sendmail gives me:
ps aux | grep sendmail
root 16749 0.0 0.2 9128 3632 ? S 19:24 0:00 sendmail:
server 189.27.106.155.dynamic.adsl.gvt.net.br [189.27.106.155] cmd
read
root 17070 0.0 0.1 9384 3100 ? Ss 19:28 0:00 sendmail:
accepting
connections
smmsp 17074 0.0 0.1 7388 2564 ? Ss 19:28 0:00 sendmail:
Queue runner@00:15:00 for /var/spool/clientmqueue
root 17079 0.0 0.1 7560 2680 ? Ss 19:28 0:00 sendmail:
Queue runner@00:15:00 for /var/spool/mqueue
root 17569 0.0 0.2 9864 3588 ? S 19:39 0:00 sendmail:
server pool-96-241-183-254.washdc.fios.verizon.net [96.241.183.254] cmd
read
root 17633 0.0 0.0 4708 692 pts/2 R+ 19:40 0:00 grep sendmail
ps aux | grep MailScanner root 17106 0.0 1.4 27608 22028 ? Ss 19:28 0:00 MailScanner: master waiting for children, sleeping root 17107 0.2 2.1 40812 32752 ? S 19:28 0:02 MailScanner: waiting for messages root 17126 0.2 2.1 41020 33028 ? S 19:28 0:02 MailScanner: waiting for messages root 17131 0.2 2.1 41016 33068 ? S 19:28 0:02 MailScanner: waiting for messages root 17681 0.0 0.0 5104 712 pts/2 R+ 19:42 0:00 grep MailScanner
Seems good though not sure about the line "root 17106 0.0 1.4 27608 22028 ? Ss 19:28 0:00 MailScanner: master waiting for children, sleeping"
Dave
![](https://secure.gravatar.com/avatar/bae8c21416925078085efc889dc8c61f.jpg?s=120&d=mm&r=g)
Mark Sapiro wrote:
I have found the following in the smtp-failure logs:
failed with code -1: (-2, 'Name or service not known')
I have tons of these. I Googled this and one of the issues appears to be not having search my.domain in my resolv.conf file. I have added this but I still cannot get mailman to deliver any mail. Would really appreciate it if anyone has any other ideas about this.
Dave
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Dave Filchak wrote:
So the problem is that Outgoing Runner can't send mail, so all the outgong mail gets put in the retry queue and gets periodically retried, but continues to fail.
There are two FAQs with information about this. <http://wiki.list.org/x/AoE9> and <http://wiki.list.org/x/-IA9>. Thes, together with some archived posts they link to give some information and debugging techniques. The resolv.conf addition worked in one case, but it is not the only thing that can cause this nor the only solution.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/bae8c21416925078085efc889dc8c61f.jpg?s=120&d=mm&r=g)
Well .. I have ran through most of the FAQs and the debugging techniques listed in them and all SEEMS like it is functioning correctly. I have also upgraded Mailman to 2.1.8 from 2.1.6 and I still have the exact same problem. After upgrading, I didn't run the debugging stuff again so I will try it again but I honestly do not think that it will help me.
Dave
Mark Sapiro wrote:
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Dave Filchak wrote:
The exception occurs in the Python smtplib and is independent of the Mailman version.
Did you actually do the test described in the post at <http://mail.python.org/pipermail/mailman-users/2005-May/044976.html> (linked from the FAQ) as the Mailman user?
Did you actually try to send mail as described in the post at <http://mail.python.org/pipermail/mailman-users/2005-May/044746.html> (linked from the FAQ) as the Mailman user?
If you did those as the Mailman user and they didn't show any error, then I can't explain why it fails when OutgoingRunner does the exact same thing.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/bae8c21416925078085efc889dc8c61f.jpg?s=120&d=mm&r=g)
Mark Sapiro wrote:
Yes. This test was fine.
This worked as well although, as I mention below, I am not logged in a mailman as mailman has no login shell and no password. Do I need to create one for mailman and try it again?
Did not do them as the mailman user but as another user (not root). User mailman has no login shell (/sbin/nologin) Should mailman need a login shell and passwd? It never has before and mailman was working. Again, there was a UPS failure at my ISP and the servers lost power abruptly so something might have happened then. But everything else is working, including regular mail.
Dave
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Dave Filchak wrote:
No. Mailman doesn't need a login shell or a password. You should be able to do, e.g.
sudo -u mailman /bin/bash
in order to get a command shell running as mailman or
sudo -u mailman python
to get a python interpreter.
It seems there is a permissions issue somewhere that is preventing mailman from accessing something. Make sure /etc/hosts and /etc/resolve.conf are world readable. If that isn't it, try to narrow it down by running the tests as mailman using sudo as above.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/bae8c21416925078085efc889dc8c61f.jpg?s=120&d=mm&r=g)
Mark Sapiro wrote:
OK .. ran both tests as mailman. First one was fine. Second one, while it shown no errors initially, I only received the email that was sent as a rcpt (secondary email address). The To: email address did not get delivered. The smtp-failure logs do not show a specific error for that email transaction but it still shows a ton of the same errors, i.e.:
May 29 16:21:04 2009 (6489) Low level smtp error: (-2, 'Name or service not known'), msgid: <mailman.1.1243617046.6486.someone@domain.net> May 29 16:21:04 2009 (6489) delivery to someone@domain.org failed with code -1: (-2, 'Name or service not known')
Both /etc/resolv.conf and /etc/hosts are world readable. I am truly stumped.
Dave
![](https://secure.gravatar.com/avatar/637ffca68d0b28b0314ca0201fd6d485.jpg?s=120&d=mm&r=g)
Hi
I installed mailman on localhost using the following instructions on http://systers.org/systers-soc/doku.php/step_by_step_system_installation_-_p...
But on starting mailman I get an error: Site-list is missing: mailman-admin
Can anyone help me here?
Thanks Malveeka
On Fri, May 29, 2009 at 10:41 PM, Dave Filchak <submit@zuka.net> wrote:
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Malveeka Tewari wrote:
Please do not hijack existing threads for new topics. Post an original message, not a reply.
The instructions you reference above are old. They reference mailman 2.1.10. The current version is 2.1.12. They are also incomplete because they don't mention creating the site list.
The error message you got says you didn't create the site list, which is normally named 'mailman', not 'mailman-admin', but in your case you have declared its name to be mailman-admin by putting
MAILMAN_SITE_LIST = 'mailman-admin'
in mm_cfg.py.
Our installation manual is in the tarball and also at <http://www.list.org/mailman-install/index.html>. See section 8.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/637ffca68d0b28b0314ca0201fd6d485.jpg?s=120&d=mm&r=g)
Sorry for replying in an already running thread. Will not happen again.
I tried creating a newlist using bin/newlist
It asked me for an email address and password which I enetered but I got an error Illegal list name: mailman-admin@localhost
On Fri, May 29, 2009 at 11:28 PM, Mark Sapiro <mark@msapiro.net> wrote:
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Malveeka Tewari wrote:
The instructions you are following are no good. DEFAULT_EMAIL_HOST and DEFAULT_URL_HOST and the host names you supply to configure have to be fully qualified domain names. 'localhost' won't work.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/637ffca68d0b28b0314ca0201fd6d485.jpg?s=120&d=mm&r=g)
Hi
I trying to run mailman on my own laptop. I have been able to install mailman and it's running (i can view the mailman start up pages)
I have specified the DEFAULT_URL_HOST and DEFAULT_URL_HOST to be my laptop's ip addresses in mm_cfg.py
But am not able to send/recieve mails I am also not able to create new lists. (When trying to create new lists, I get an error: *Unknown virtual host ) * Is there something wrong with my postfix installation or with the mm_cfg.py values?
On Sat, May 30, 2009 at 12:11 AM, Malveeka Tewari <malveeka@gmail.com>wrote:
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Malveeka Tewari wrote:
Did you mean DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST?
Note that these should be defined as domain names, not IP addresses. IP addresses may work in some contexts, but if you don't have a domain name, you will have problems sending and receiving mail. Note these are generic problems with mail, and not specific to Mailman.
In order to be able to send mail reliably, you need a non-generic domain name with a fixed IP address and a rDNS pointing from that IP to the domain name. Without these, you will find your mail blocked by many services.
After defining DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST in mm_cfg.py, you need
VIRTUAL_HOSTS.clear()
to remove the Defaults.py values from the VIRTUAL_HOSTS dictionary, and
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
to add the new values.
Can you send mail from your laptop through the local Postfix? E.g., with Postfix's 'sendmail' command.
Can your laptop receive any mail at all, e.g. for a local user?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/637ffca68d0b28b0314ca0201fd6d485.jpg?s=120&d=mm&r=g)
Hi Mark
Yes I meant DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST.. Sorry about that
Postfix seems to be working fine.. I am able to send and recieve mails to the local users
I do not have a fixed IP address. Is there anywhere I can get a free domain name for my laptop fr sometime ( 1 week or so) so that I can test my mailman setup on my laptop?
Since don't have any FQDN for my laptop, If I want to run mailman on my laptop what should i give the value of DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST ?
On Mon, Jun 1, 2009 at 4:48 PM, Mark Sapiro <mark@msapiro.net> wrote:
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Malveeka Tewari wrote:
You could check out <http://www.dyndns.com/services/dns/dyndns/>. I am not recommending either for or against using such a service, just pointing it out.
You can use an IP address for testing purposes if you add it to the VIRTUAL_HOSTS dictionary as I indicated in my prefious reply., but you can't actually run a real list in this way.
Note also that even with a domain name as provided by dyndns or equivalent, many ISPs will not accept mail from such a domain.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/637ffca68d0b28b0314ca0201fd6d485.jpg?s=120&d=mm&r=g)
Now I have managed to get mailman working correctly but for one small problem. Users can subscribe to a list, confrm the subcription, create new lists.
But they can't post to the list. I think I need to fix my postfix settings. I am able to send mails to local users and also to other Internet mail accounts but can only receive local mails but not from external mail accounts.
Can you please tell me how to fix this?
Thanks Malveeka
On Mon, Jun 1, 2009 at 9:16 PM, Mark Sapiro <mark@msapiro.net> wrote:
![](https://secure.gravatar.com/avatar/267565c6ab7816fe29beedf9a9cbcd44.jpg?s=120&d=mm&r=g)
- Malveeka Tewari <malveeka@gmail.com>:
Create the required list mailman-admin
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12200 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 Ralf.Hildebrandt@charite.de | http://www.charite.de
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Dave Filchak wrote:
That example won't deliver to any addresses in the message headers. Also, it won't log any errors. Error will be written to Python's stderr (normally the terminal). It sends to the addresses in the rcpts list as those are the only addresses communicated via SMTP. I.e., the envelope is sent to the rcpts regardless of what the message inside the envelope says.
OK. I'm stumped too. Check the definitions of SMTPHOST and SMTPPORT in Defaults.py and possible overrides in mm_cfg.py to make sure they are 'localhost' and 0 respectively.
Also, another thing that occurred to me at one point which I don't think makes any difference and which looked OK in your prior post of 'ps' output, but make sure that a sendmail process didn't start on it's own after the power failure.
chkconfig --list sendmail
or however you set these things on your system should show sendmail is off at all run levels. sendmail should only be run by MailScanner.
If your python is 2.4.x or later, you can use the technique described in the FAQ at <http://wiki.list.org/x/-IA9> to obtain debugging info from Python's smtplib. The extra information will be written to Mailman's error log.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Dave Filchak wrote:
See the FAQ at <http://wiki.list.org/x/_4A9>. If you go through the steps in that FAQ and still have a problem, see <http://wiki.list.org/x/A4E9>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/bae8c21416925078085efc889dc8c61f.jpg?s=120&d=mm&r=g)
Mark Sapiro wrote:
Well .. this worked to get rid of the errors ... thank you. However, while I see no errors in the maillog, emails sent to mailman get delivered TO mailman but the emails are not forwarded to the list users. I have restarted mailman and run the cron job manually but still nothing. However, I tried to send an email from the command line and did not receive that either. I am using Sendmail with MailScanner but mail looks like it is being processed in the logs.
ps aux | grep sendmail gives me:
ps aux | grep sendmail
root 16749 0.0 0.2 9128 3632 ? S 19:24 0:00 sendmail:
server 189.27.106.155.dynamic.adsl.gvt.net.br [189.27.106.155] cmd
read
root 17070 0.0 0.1 9384 3100 ? Ss 19:28 0:00 sendmail:
accepting
connections
smmsp 17074 0.0 0.1 7388 2564 ? Ss 19:28 0:00 sendmail:
Queue runner@00:15:00 for /var/spool/clientmqueue
root 17079 0.0 0.1 7560 2680 ? Ss 19:28 0:00 sendmail:
Queue runner@00:15:00 for /var/spool/mqueue
root 17569 0.0 0.2 9864 3588 ? S 19:39 0:00 sendmail:
server pool-96-241-183-254.washdc.fios.verizon.net [96.241.183.254] cmd
read
root 17633 0.0 0.0 4708 692 pts/2 R+ 19:40 0:00 grep sendmail
ps aux | grep MailScanner root 17106 0.0 1.4 27608 22028 ? Ss 19:28 0:00 MailScanner: master waiting for children, sleeping root 17107 0.2 2.1 40812 32752 ? S 19:28 0:02 MailScanner: waiting for messages root 17126 0.2 2.1 41020 33028 ? S 19:28 0:02 MailScanner: waiting for messages root 17131 0.2 2.1 41016 33068 ? S 19:28 0:02 MailScanner: waiting for messages root 17681 0.0 0.0 5104 712 pts/2 R+ 19:42 0:00 grep MailScanner
Seems good though not sure about the line "root 17106 0.0 1.4 27608 22028 ? Ss 19:28 0:00 MailScanner: master waiting for children, sleeping"
Dave
![](https://secure.gravatar.com/avatar/bae8c21416925078085efc889dc8c61f.jpg?s=120&d=mm&r=g)
Mark Sapiro wrote:
I have found the following in the smtp-failure logs:
failed with code -1: (-2, 'Name or service not known')
I have tons of these. I Googled this and one of the issues appears to be not having search my.domain in my resolv.conf file. I have added this but I still cannot get mailman to deliver any mail. Would really appreciate it if anyone has any other ideas about this.
Dave
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Dave Filchak wrote:
So the problem is that Outgoing Runner can't send mail, so all the outgong mail gets put in the retry queue and gets periodically retried, but continues to fail.
There are two FAQs with information about this. <http://wiki.list.org/x/AoE9> and <http://wiki.list.org/x/-IA9>. Thes, together with some archived posts they link to give some information and debugging techniques. The resolv.conf addition worked in one case, but it is not the only thing that can cause this nor the only solution.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/bae8c21416925078085efc889dc8c61f.jpg?s=120&d=mm&r=g)
Well .. I have ran through most of the FAQs and the debugging techniques listed in them and all SEEMS like it is functioning correctly. I have also upgraded Mailman to 2.1.8 from 2.1.6 and I still have the exact same problem. After upgrading, I didn't run the debugging stuff again so I will try it again but I honestly do not think that it will help me.
Dave
Mark Sapiro wrote:
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Dave Filchak wrote:
The exception occurs in the Python smtplib and is independent of the Mailman version.
Did you actually do the test described in the post at <http://mail.python.org/pipermail/mailman-users/2005-May/044976.html> (linked from the FAQ) as the Mailman user?
Did you actually try to send mail as described in the post at <http://mail.python.org/pipermail/mailman-users/2005-May/044746.html> (linked from the FAQ) as the Mailman user?
If you did those as the Mailman user and they didn't show any error, then I can't explain why it fails when OutgoingRunner does the exact same thing.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/bae8c21416925078085efc889dc8c61f.jpg?s=120&d=mm&r=g)
Mark Sapiro wrote:
Yes. This test was fine.
This worked as well although, as I mention below, I am not logged in a mailman as mailman has no login shell and no password. Do I need to create one for mailman and try it again?
Did not do them as the mailman user but as another user (not root). User mailman has no login shell (/sbin/nologin) Should mailman need a login shell and passwd? It never has before and mailman was working. Again, there was a UPS failure at my ISP and the servers lost power abruptly so something might have happened then. But everything else is working, including regular mail.
Dave
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Dave Filchak wrote:
No. Mailman doesn't need a login shell or a password. You should be able to do, e.g.
sudo -u mailman /bin/bash
in order to get a command shell running as mailman or
sudo -u mailman python
to get a python interpreter.
It seems there is a permissions issue somewhere that is preventing mailman from accessing something. Make sure /etc/hosts and /etc/resolve.conf are world readable. If that isn't it, try to narrow it down by running the tests as mailman using sudo as above.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/bae8c21416925078085efc889dc8c61f.jpg?s=120&d=mm&r=g)
Mark Sapiro wrote:
OK .. ran both tests as mailman. First one was fine. Second one, while it shown no errors initially, I only received the email that was sent as a rcpt (secondary email address). The To: email address did not get delivered. The smtp-failure logs do not show a specific error for that email transaction but it still shows a ton of the same errors, i.e.:
May 29 16:21:04 2009 (6489) Low level smtp error: (-2, 'Name or service not known'), msgid: <mailman.1.1243617046.6486.someone@domain.net> May 29 16:21:04 2009 (6489) delivery to someone@domain.org failed with code -1: (-2, 'Name or service not known')
Both /etc/resolv.conf and /etc/hosts are world readable. I am truly stumped.
Dave
![](https://secure.gravatar.com/avatar/637ffca68d0b28b0314ca0201fd6d485.jpg?s=120&d=mm&r=g)
Hi
I installed mailman on localhost using the following instructions on http://systers.org/systers-soc/doku.php/step_by_step_system_installation_-_p...
But on starting mailman I get an error: Site-list is missing: mailman-admin
Can anyone help me here?
Thanks Malveeka
On Fri, May 29, 2009 at 10:41 PM, Dave Filchak <submit@zuka.net> wrote:
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Malveeka Tewari wrote:
Please do not hijack existing threads for new topics. Post an original message, not a reply.
The instructions you reference above are old. They reference mailman 2.1.10. The current version is 2.1.12. They are also incomplete because they don't mention creating the site list.
The error message you got says you didn't create the site list, which is normally named 'mailman', not 'mailman-admin', but in your case you have declared its name to be mailman-admin by putting
MAILMAN_SITE_LIST = 'mailman-admin'
in mm_cfg.py.
Our installation manual is in the tarball and also at <http://www.list.org/mailman-install/index.html>. See section 8.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/637ffca68d0b28b0314ca0201fd6d485.jpg?s=120&d=mm&r=g)
Sorry for replying in an already running thread. Will not happen again.
I tried creating a newlist using bin/newlist
It asked me for an email address and password which I enetered but I got an error Illegal list name: mailman-admin@localhost
On Fri, May 29, 2009 at 11:28 PM, Mark Sapiro <mark@msapiro.net> wrote:
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Malveeka Tewari wrote:
The instructions you are following are no good. DEFAULT_EMAIL_HOST and DEFAULT_URL_HOST and the host names you supply to configure have to be fully qualified domain names. 'localhost' won't work.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/637ffca68d0b28b0314ca0201fd6d485.jpg?s=120&d=mm&r=g)
Hi
I trying to run mailman on my own laptop. I have been able to install mailman and it's running (i can view the mailman start up pages)
I have specified the DEFAULT_URL_HOST and DEFAULT_URL_HOST to be my laptop's ip addresses in mm_cfg.py
But am not able to send/recieve mails I am also not able to create new lists. (When trying to create new lists, I get an error: *Unknown virtual host ) * Is there something wrong with my postfix installation or with the mm_cfg.py values?
On Sat, May 30, 2009 at 12:11 AM, Malveeka Tewari <malveeka@gmail.com>wrote:
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Malveeka Tewari wrote:
Did you mean DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST?
Note that these should be defined as domain names, not IP addresses. IP addresses may work in some contexts, but if you don't have a domain name, you will have problems sending and receiving mail. Note these are generic problems with mail, and not specific to Mailman.
In order to be able to send mail reliably, you need a non-generic domain name with a fixed IP address and a rDNS pointing from that IP to the domain name. Without these, you will find your mail blocked by many services.
After defining DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST in mm_cfg.py, you need
VIRTUAL_HOSTS.clear()
to remove the Defaults.py values from the VIRTUAL_HOSTS dictionary, and
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
to add the new values.
Can you send mail from your laptop through the local Postfix? E.g., with Postfix's 'sendmail' command.
Can your laptop receive any mail at all, e.g. for a local user?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/637ffca68d0b28b0314ca0201fd6d485.jpg?s=120&d=mm&r=g)
Hi Mark
Yes I meant DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST.. Sorry about that
Postfix seems to be working fine.. I am able to send and recieve mails to the local users
I do not have a fixed IP address. Is there anywhere I can get a free domain name for my laptop fr sometime ( 1 week or so) so that I can test my mailman setup on my laptop?
Since don't have any FQDN for my laptop, If I want to run mailman on my laptop what should i give the value of DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST ?
On Mon, Jun 1, 2009 at 4:48 PM, Mark Sapiro <mark@msapiro.net> wrote:
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Malveeka Tewari wrote:
You could check out <http://www.dyndns.com/services/dns/dyndns/>. I am not recommending either for or against using such a service, just pointing it out.
You can use an IP address for testing purposes if you add it to the VIRTUAL_HOSTS dictionary as I indicated in my prefious reply., but you can't actually run a real list in this way.
Note also that even with a domain name as provided by dyndns or equivalent, many ISPs will not accept mail from such a domain.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/637ffca68d0b28b0314ca0201fd6d485.jpg?s=120&d=mm&r=g)
Now I have managed to get mailman working correctly but for one small problem. Users can subscribe to a list, confrm the subcription, create new lists.
But they can't post to the list. I think I need to fix my postfix settings. I am able to send mails to local users and also to other Internet mail accounts but can only receive local mails but not from external mail accounts.
Can you please tell me how to fix this?
Thanks Malveeka
On Mon, Jun 1, 2009 at 9:16 PM, Mark Sapiro <mark@msapiro.net> wrote:
![](https://secure.gravatar.com/avatar/267565c6ab7816fe29beedf9a9cbcd44.jpg?s=120&d=mm&r=g)
- Malveeka Tewari <malveeka@gmail.com>:
Create the required list mailman-admin
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12200 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 Ralf.Hildebrandt@charite.de | http://www.charite.de
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
Dave Filchak wrote:
That example won't deliver to any addresses in the message headers. Also, it won't log any errors. Error will be written to Python's stderr (normally the terminal). It sends to the addresses in the rcpts list as those are the only addresses communicated via SMTP. I.e., the envelope is sent to the rcpts regardless of what the message inside the envelope says.
OK. I'm stumped too. Check the definitions of SMTPHOST and SMTPPORT in Defaults.py and possible overrides in mm_cfg.py to make sure they are 'localhost' and 0 respectively.
Also, another thing that occurred to me at one point which I don't think makes any difference and which looked OK in your prior post of 'ps' output, but make sure that a sendmail process didn't start on it's own after the power failure.
chkconfig --list sendmail
or however you set these things on your system should show sendmail is off at all run levels. sendmail should only be run by MailScanner.
If your python is 2.4.x or later, you can use the technique described in the FAQ at <http://wiki.list.org/x/-IA9> to obtain debugging info from Python's smtplib. The extra information will be written to Mailman's error log.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (4)
-
Dave Filchak
-
Malveeka Tewari
-
Mark Sapiro
-
Ralf Hildebrandt