[Mailman-Users] Installing http://packages.ubuntu.com/zesty/mailman, stuck at "Temporary failure"

Caesar Samsi cmsamsi at hotmail.com
Thu Dec 22 13:47:50 EST 2016


OK debugging further it turns out /var/lib/mailman/data/virtualman and virtualman.db is no longer there …

Dec 22 10:42:24 localhost postfix/trivial-rewrite[4960]: warning: virtual_alias_
domains: hash:/var/lib/mailman/data/virtual-mailman: table lookup problem

Running /var/lib/mailman/bin/genaliases doesn’t create them.

On Dec 22, 2016, at 10:19 AM, Caesar Samsi <cmsamsi at hotmail.com<mailto:cmsamsi at hotmail.com>> wrote:

[resending from right email address]

Hi Mark,

I’m starting from scratch but with the 2.1.23 mailman package found here: http://packages.ubuntu.com/zesty/mailman I took the amd64 .deb package http://packages.ubuntu.com/zesty/amd64/mailman/download.

I have done the following steps:
- Linuxmint 18 Sarah (Ubuntu 16 flavor)
- LAMP with PHP7 (stock install)
- Postfix and Dovecot (stock install)
- Updated Postfix and Dovecot config file to serve virtual domains (e.g. yogi.us<http://yogi.us/> and samson.us<http://samson.us/>)
- Downloaded and installed the 2.1.23 mailman package
- Edited /etc/mailman/mm_cfg.py and enabled MTA=Postfix
- Copied /etc/mailman/apache.conf to /etc/apache2/sites-available/mailman.conf
- Used this instead what was in apache.con:
<Directory "/usr/lib/cgi-bin/mailman">
Options +ExecCGI
AddHandler cgi-script .cgi
Options FollowSymLinks
Require all granted
</Directory>
- Enable apache2 cgi module (was not enabled on stock install)
sudo a2enmod cgi
sudo service apache2 restart

http://mail.yugi.us/cgi-bin/mailman/listinfo now produces a nice mailman webpage

Note that Postfix services virtual domain.

Now I follow: https://www.gnu.org/software/mailman/mailman-install/postfix-virtual.html
I use:
virtual_alias_maps = <your normal virtual alias files>,
         hash:/var/lib/mailman/data/virtual-mailman
instead of the /usr/local/mailman … as that’s not where the mailman package is installed.

I now run /var/lib/mailman/genaliases and voila /var/lib/mailman/data/virtualman and virtualman.db are generated!

I added, from one of my previous install I had a file called /etc/postfix/transport with the content of:
mail.yugi.us<http://mail.yugi.us/>    mailman:

I sudo reboot just in case.

I send an email to mailman at yugi.us<mailto:mailman at yugi.us>, it arrives in postfix and mail.log looks like:
Dec 22 09:50:05 mail amavis[5567]: (05567-08) Passed CLEAN {RelayedOutbound}, LOCAL [192.168.1.1]:56325 <caesar at samsi.us<mailto:caesar at samsi.us>> -> <mailman at yugi.us<mailto:mailman at yugi.us>>, Queue-ID: 6C0733FC22, Message-ID: <9035407C-0F0F-4EC1-8E0B-791645C68E4F at samsi.us<mailto:9035407C-0F0F-4EC1-8E0B-791645C68E4F at samsi.us>>, mail_id: 50j8MooSZtlh, Hits: -0.002, size: 307, queued_as: DCB473FC72, 2500 ms

Dec 22 09:50:05 mail postfix/smtp[6025]: 6C0733FC22: to=<mailman at yugi.us<mailto:mailman at yugi.us>>, relay=127.0.0.1[127.0.0.1]:10024, delay=2.6, delays=0.1/0.03/0.01/2.5, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as DCB473FC72)

Dec 22 09:50:05 mail postfix/qmgr[5982]: 6C0733FC22: removed

Dec 22 09:50:05 mail postfix/smtp[6031]: DCB473FC72: to=<mailman at yugi.us<mailto:mailman at yugi.us>>, relay=yugi.us<http://yugi.us/>[216.9.1.153]:25, delay=0.52, delays=0.06/0.03/0.07/0.35, dsn=4.3.0, status=deferred (host yugi.us<http://yugi.us/>[216.9.1.153] said: 451 4.3.0 <caesar at samsi.us<mailto:caesar at samsi.us>>: Temporary lookup failure (in reply to RCPT TO command))

Nothing happens after "Temporary lookup" failure.

What to do?

Thank you, Caesar.


On Dec 16, 2016, at 10:26 AM, Caesar Samsi <cmsamsi at hotmail.com<mailto:cmsamsi at hotmail.com>> wrote:


Well this certainly might make it easier for me. I'll give the package a try.

Thank you.



Sent from my Samsung Tablet

Mark Sapiro <mark at msapiro.net<mailto:mark at msapiro.net>> wrote:
On 12/16/2016 08:52 AM, Barry S. Finkel wrote:

As I have written before, one can easily create a Debian/Ubuntu package
for Mailman 2.x based on the SourceForge source.  Contact me for
details.  This will install Mailman in the directories that
Debian/Ubuntu uses, and I assume that installing the package will
overwrite any existing Debian/Ubuntu installation.


Thanks Barry.

Also note there is an article at <https://wiki.list.org/x/17891606> that
discusses how to upgrade the Debian/Ubuntu package from source.

Also note that there is a current (2.1.23) Ubuntu Mailman package at
<http://packages.ubuntu.com/zesty/mailman> with links to the .deb for
all supported architectures and similarly for Debian at
<https://packages.debian.org/stretch/mailman>.

--
Mark Sapiro <mark at msapiro.net<mailto:mark at msapiro.net>>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list Mailman-Users at python.org<mailto:Mailman-Users at python.org>
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: https://mail.python.org/mailman/options/mailman-users/cmsamsi%40hotmail.com
------------------------------------------------------
Mailman-Users mailing list Mailman-Users at python.org<mailto:Mailman-Users at python.org>
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: https://mail.python.org/mailman/options/mailman-users/cmsamsi%40hotmail.com




More information about the Mailman-Users mailing list