# \[Mailman\] Mail discussion and e-newsletter lists

**URL:** https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994
**Category:** Apps
**Tags:** mailman
**Created:** [November 6, 2015, 11:20pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994 "2015-11-06T23:20:21Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![ppr](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/8c91f0/32.png) [@ppr](https://forum.yunohost.org/u/ppr)
#### Post date: [October 16, 2017, 6:01pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994/21 "2017-10-16T18:01:17Z")

</div>

@Aleks ,

The Bullet point about DNS is that my k9-mail client on my Android doesn’t sent the mail’s reply because of bad configuration.  
I’ll try from webmail Rainloop in order to test it again.  
I think i should, one day, buy a domaine name and configure DNS well.

ppr

p.s. : Désolé pour mon anglais perfectible.

---

<div class="post-metadata">

### Author: ![ppr](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/8c91f0/32.png) [@ppr](https://forum.yunohost.org/u/ppr)
#### Post date: [October 16, 2017, 7:42pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994/22 "2017-10-16T19:42:40Z")

</div>

@Aleks ,

I think i’ve found the issue with DNS.  
It seems to appear that a minima an alias (user ?) have to be created in the script installer like that

> mailman-request@DOMAIN.TLD

At this moment Google is more verbose than my K-9 mail Android client :

> Réponse du serveur distant :  
> 550 5.1.1 [mailman-request@domain.tld](mailto:mailman-request@domain.tld): Recipient address rejected: User unknown in virtual mailbox table

> Final-Recipient: rfc822; mailman-request@domain.tld  
> Action: failed  
> Status: 5.1.1  
> Remote-MTA: dns; domain.tld. (IP.of.my.server, the server for the domain domaine.tld.)  
> Diagnostic-Code: smtp; 550 5.1.1 [mailman-request@domain.tld](mailto:mailman-request@domain.tld): Recipient address rejected: User unknown in virtual mailbox table  
> Last-Attempt-Date: Mon, 16 Oct 2017 12:18:31 -0700 (PDT)

ppr

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [October 16, 2017, 7:44pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994/23 "2017-10-16T19:44:12Z")

</div>

Uh okay ? To me it doesn’t seem related to DNS but more to aliases …

What exactly led you to send an email to mailman-request@domain.tld ?

---

<div class="post-metadata">

### Author: ![ppr](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/8c91f0/32.png) [@ppr](https://forum.yunohost.org/u/ppr)
#### Post date: [October 16, 2017, 8:26pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994/24 "2017-10-16T20:26:07Z")

</div>

@Aleks ,

Have to add alias :

> mailman-request@domain.tld  
> mailman-owner@domain.tld

Don’t fotget to remove then in the unistall script 😉

ppr

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [October 16, 2017, 8:27pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994/25 "2017-10-16T20:27:40Z")

</div>

Ok but… What led you to be willing to send emails to mailman-request@domain.tld 😕 …

---

<div class="post-metadata">

### Author: ![ppr](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/8c91f0/32.png) [@ppr](https://forum.yunohost.org/u/ppr)
#### Post date: [October 16, 2017, 8:44pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994/26 "2017-10-16T20:44:06Z")

</div>

@Aleks ,

It’s when you subscribe to a list, you had to confirm your mail by replying message to **mailman-request@domain.tld** or by clicking on the link in the message.  
It’s the same for unsubscribe.

ppr

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [October 16, 2017, 8:47pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994/27 "2017-10-16T20:47:49Z")

</div>

Oh okay, sorry about that !

But in fact the alias already exist and should be working … c.f.

```bash
$ cat /var/lib/mailman/data/virtual-mailman | grep "request"
mailman-request@yolo.test mailman-request@localhost

$ cat /var/lib/mailman/data/aliases | grep "request"
mailman-request: "|/var/lib/mailman/mail/mailman request mailman"

```

So not sure why that doesn’t work, but that should be investigated 😉

---

<div class="post-metadata">

### Author: ![tierce](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tierce/32/9675_2.png) [@tierce](https://forum.yunohost.org/u/tierce)
#### Post date: [October 16, 2017, 9:09pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994/28 "2017-10-16T21:09:28Z")

</div>

Hello,

Thank you soo much for this app!

Success on Yunohost 2.7.2 on Olimex Lime1 (arm) board 🎉

I’ve installed, subscribed, sent and received a mail, but I did not tried to remove yet.

---

<div class="post-metadata">

### Author: ![tierce](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tierce/32/9675_2.png) [@tierce](https://forum.yunohost.org/u/tierce)
#### Post date: [October 16, 2017, 9:17pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994/29 "2017-10-16T21:17:29Z")

</div>

On a VPS the mailman was installed successfully, _(also on 2.7.2 on a Debian 8.9)_.

I was able to subscribe, receive the activation link and activate my registration to the list. **But** sending an email to the default mailman@domain.tld returned…

> 550 5.1.1 [mailman@computhings.be](mailto:mailman@computhings.be): Recipient address rejected: User unknown in virtual mailbox table;

So I removed the app in the idea of installing it again (as a good noob). The removal was successful but I cannot install mailman anymore.

> Warning: ./install: line 78: /var/lib/mailman/bin/mmsitepass: No such file or directory  
> Warning: !!  
> Warning: mailman’s script has encountered an error. Its execution was cancelled.  
> Warning: !!  
> Warning:  
> Warning: /var/lib/mailman wasn’t deleted because it doesn’t exist.  
> Warning: /usr/share/yunohost/hooks/conf\_regen/98-postfix\_mailman wasn’t deleted because it doesn’t exist.  
> Warning: /etc/nginx/conf.d/computhings.be.d/mailman.conf wasn’t deleted because it doesn’t exist.  
> Warning: The configuration file ‘/etc/postfix/main.cf’ has been manually modified and will not be updated  
> Success! The SSOwat configuration has been generated  
> Error: Installation failed

I do not know where to look _(install log, etc)_ so if you need more info, just ask and I’ll try to provide it.

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [October 16, 2017, 9:19pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994/30 "2017-10-16T21:19:11Z")

</div>

Eh okay that sounds weird …

Can you try running `apt-get remove mailman --purge` and try again ?

---

<div class="post-metadata">

### Author: ![tierce](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tierce/32/9675_2.png) [@tierce](https://forum.yunohost.org/u/tierce)
#### Post date: [October 16, 2017, 9:23pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994/31 "2017-10-16T21:23:08Z")

</div>

It removed mailman 😷 👍

And I was able to install (for the second time on the same machine), and now I’ll test if the [mailman@computhings.be](mailto:mailman@computhings.be) address will work his time.

---

<div class="post-metadata">

### Author: ![ppr](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/8c91f0/32.png) [@ppr](https://forum.yunohost.org/u/ppr)
#### Post date: [October 16, 2017, 9:26pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994/32 "2017-10-16T21:26:31Z")

</div>

@Aleks , @tierce ,

I’ve created aliases manually on YunoHost admin’s panel for the user and domain i’ve install mailman on my instance.

ppr

---

<div class="post-metadata">

### Author: ![tierce](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tierce/32/9675_2.png) [@tierce](https://forum.yunohost.org/u/tierce)
#### Post date: [October 16, 2017, 9:27pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994/33 "2017-10-16T21:27:21Z")

</div>

Mmmm … this second installation was done using the same settings but I’ve a redirect error on the admin url [https://computhings.be/mailman/](https://computhings.be/mailman/).

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [October 16, 2017, 9:28pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994/34 "2017-10-16T21:28:27Z")

</div>

Ah, that might be because I broke things in the meantime 😉

Did you use the direct URL to the github repo ?

---

<div class="post-metadata">

### Author: ![tierce](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tierce/32/9675_2.png) [@tierce](https://forum.yunohost.org/u/tierce)
#### Post date: [October 16, 2017, 9:29pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994/35 "2017-10-16T21:29:56Z")

</div>

> [@Aleks](#):
>
> Did you use the direct URL to the github repo ?

I suppose, I used this one : [GitHub - YunoHost-Apps/mailman\_ynh: Mailman packaging for YunoHost](https://github.com/YunoHost-Apps/mailman_ynh)

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [October 16, 2017, 9:59pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994/36 "2017-10-16T21:59:40Z")

</div>

Definitely was my fault then, sorry 'bout that 😉

Now it should be fixed (and should also be working on root path, e.g. if you want to install on some domain like list.domain.tld/)

---

<div class="post-metadata">

### Author: ![tierce](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tierce/32/9675_2.png) [@tierce](https://forum.yunohost.org/u/tierce)
#### Post date: [October 16, 2017, 11:35pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994/37 "2017-10-16T23:35:39Z")

</div>

Cool! I installed it on [lists.computhings.be](http://lists.computhings.be) but I do have the same error :

`550 5.1.1 mailman@lists.computhings.be: Recipient address rejected: User unknown in virtual mailbox table;`

And …

```
$ cat /var/lib/mailman/data/virtual-mailman | grep "mailman"

```

Returns …

`mailman@lists.computhings.be mailman@localhost`

@ppr suggested [to add aliases via admin panel](https://forum.yunohost.org/t/mailman-package/994/32), I suppose to any user on the same domain, but that sounds weird to me because I did not have to do it on my cube. The address [mailman@tierce.nohost.me](mailto:mailman@tierce.nohost.me) worked «out of the box» and it’s not even visible as an alias of my user account.

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [October 17, 2017, 6:56pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994/38 "2017-10-17T18:56:40Z")

</div>

> [@tierce](#):
>
> $ cat /var/lib/mailman/data/virtual-mailman | grep “mailman”
> 
> Returns …
> 
> mailman@lists.computhings.be mailman@localhost

That’s really weird 😕 You should see a whole bunch of alias related to the default list (“mailman”)

Can you do

```auto
$ cd /var/lib/mailman/bin && ./genaliases

```

and see if that put more stuff in the virtual-mailman file ?

When you go to the web interface, do you see the “mailman” list correctly listed ?

---

<div class="post-metadata">

### Author: ![tierce](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tierce/32/9675_2.png) [@tierce](https://forum.yunohost.org/u/tierce)
#### Post date: [October 17, 2017, 7:19pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994/39 "2017-10-17T19:19:44Z")

</div>

Sorry … I did not paste all the content

```
# file virtual-mailman.db. YOU SHOULD NOT MANUALLY EDIT THIS FILE unless you
mailman-loop@lists.computhings.be	mailman-loop@localhost
# STANZA START: mailman
mailman@lists.computhings.be mailman@localhost
mailman-admin@lists.computhings.be mailman-admin@localhost
mailman-bounces@lists.computhings.be mailman-bounces@localhost
mailman-confirm@lists.computhings.be mailman-confirm@localhost
mailman-join@lists.computhings.be mailman-join@localhost
mailman-leave@lists.computhings.be mailman-leave@localhost
mailman-owner@lists.computhings.be mailman-owner@localhost
mailman-request@lists.computhings.be mailman-request@localhost
mailman-subscribe@lists.computhings.be mailman-subscribe@localhost
mailman-unsubscribe@lists.computhings.be mailman-unsubscribe@localhost
# STANZA END: mailman

```

And yes in the web interface the list called «mailman» is visible.

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [October 17, 2017, 7:22pm UTC](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994/40 "2017-10-17T19:22:13Z")

</div>

Hm ok 🤔 But then the `mailman@lists.computhings.be` adress should definitely be working … Do you have a MX record for your lists.domain.tld ?

[Previous page](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994.md?page=1)

[Next page](https://forum.yunohost.org/t/mailman-mail-discussion-and-e-newsletter-lists/994.md?page=3)
