# Help With Mailman

**URL:** <https://www.ruby-forum.com/t/help-with-mailman/203014>\
**Category:** NGINX\
**Created:** [February 10, 2011, 4:32pm UTC](https://www.ruby-forum.com/t/help-with-mailman/203014 "2011-02-10T16:32:56Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [February 10, 2011, 4:32pm UTC](https://www.ruby-forum.com/t/help-with-mailman/203014/1 "2011-02-10T16:32:56Z")

</div>

Hello everyone. I am having a little issue with mailman. I’ve installed  
and  
configured mailman for [mulyoo.net](http://mulyoo.net) which works. On this particular server  
the  
software is Ubuntu 10 (Lucid). On a different server, I did the same  
installation and configuration, but this server is running Ubuntu 8  
(Hardy).  
However, when I visit this server ([mulyoo.org](http://mulyoo.org)), I get a bad gateway  
error.  
Can someone help me troubleshoot and figure out what may be wrong? If it  
helps, I used a tutorial similar to this for installation and  
configuration: [http://e-healthexpert.org/book/export/html/430](http://e-healthexpert.org/book/export/html/430)

---

<div class="post-metadata">

**Author:** ![ParkerS\_Joshua](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3d9bf3/32.png) [@ParkerS\_Joshua](https://www.ruby-forum.com/u/ParkerS_Joshua)\
**Post date:** [February 10, 2011, 4:53pm UTC](https://www.ruby-forum.com/t/help-with-mailman/203014/2 "2011-02-10T16:53:55Z")

</div>

On Feb 10, 2011, at 18:31 , Parker, Joshua wrote:

> Hello everyone. I am having a little issue with mailman. I’ve installed and  
> configured mailman for [mulyoo.net](http://mulyoo.net) which works. On this particular server the  
> software is Ubuntu 10 (Lucid). On a different server, I did the same installation  
> and configuration, but this server is running Ubuntu 8 (Hardy). However, when I  
> visit this server ([mulyoo.org](http://mulyoo.org)), I get a bad gateway error. Can someone help me  
> troubleshoot and figure out what may be wrong? If it helps, I used a tutorial  
> similar to this for installation and configuration:  
> [http://e-healthexpert.org/book/export/html/430](http://e-healthexpert.org/book/export/html/430)

What is in error\_log ?

---

<div class="post-metadata">

**Author:** ![ParkerS\_Joshua](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3d9bf3/32.png) [@ParkerS\_Joshua](https://www.ruby-forum.com/u/ParkerS_Joshua)\
**Post date:** [February 10, 2011, 5:28pm UTC](https://www.ruby-forum.com/t/help-with-mailman/203014/3 "2011-02-10T17:28:38Z")

</div>

Hello, Igor. This is what’s in the error log:

2011/02/10 10:45:25 [error] 24949#0: \*4 connect() failed (111:  
Connection  
refused) while connecting to upstream, client: 205.172.21.53, server:  
[mulyoo.org](http://mulyoo.org), request: “GET /mailman/ HTTP/1.1”, upstream: "  
[http://174.142.104.180:8000/mailman/listinfo](http://174.142.104.180:8000/mailman/listinfo)", host: “[mulyoo.org](http://mulyoo.org)”  
2011/02/10 10:45:25 [error] 24949#0: \*4 open()  
“/usr/lib/cgi-bin/mailman/favicon.ico” failed (2: No such file or  
directory), client: 205.172.21.53, server: [mulyoo.org](http://mulyoo.org), request: “GET  
/favicon.ico HTTP/1.1”, host: “[mulyoo.org](http://mulyoo.org)”

I think I may have found the issue though. When I do “telnet  
174.142.104.180  
8000”, I get connect refused. So, I’ve contacted my hosting company to  
see  
how I can remedy this. Or if you have a suggestion I am all ears (it is  
an  
unmanaged dedicated server).

---

<div class="post-metadata">

**Author:** ![ParkerS\_Joshua](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3d9bf3/32.png) [@ParkerS\_Joshua](https://www.ruby-forum.com/u/ParkerS_Joshua)\
**Post date:** [February 10, 2011, 5:41pm UTC](https://www.ruby-forum.com/t/help-with-mailman/203014/4 "2011-02-10T17:41:52Z")

</div>

Thanks everyone. My issue has been resolved, but now I have a new issue  
and  
its with emails. This is the bounce back I get:

Delivery to the following recipient failed permanently:

```
removed_email_address@domain.invalid

```

Technical details of permanent failure:  
Google tried to deliver your message, but it was rejected by the  
recipient  
domain. We recommend contacting the other email provider for further  
information about the cause of this error. The error that the other  
server  
returned was: 554 554 5.7.1 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid): Relay access  
denied (state 14).

My records are below:

[mulyoo.org](http://mulyoo.org). IN MX 10 [mail.mulyoo.org](http://mail.mulyoo.org).  
mail IN A 72.55.148.59

---

<div class="post-metadata">

**Author:** ![ParkerS\_Joshua](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3d9bf3/32.png) [@ParkerS\_Joshua](https://www.ruby-forum.com/u/ParkerS_Joshua)\
**Post date:** [February 10, 2011, 5:31pm UTC](https://www.ruby-forum.com/t/help-with-mailman/203014/5 "2011-02-10T17:31:08Z")

</div>

Check your firewalll

on the hosting side

---

<div class="post-metadata">

**Author:** ![ParkerS\_Joshua](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3d9bf3/32.png) [@ParkerS\_Joshua](https://www.ruby-forum.com/u/ParkerS_Joshua)\
**Post date:** [February 10, 2011, 7:08pm UTC](https://www.ruby-forum.com/t/help-with-mailman/203014/6 "2011-02-10T19:08:36Z")

</div>

On Feb 10, 2011, at 20:54 , Francis D. wrote:

> up the config.)  
> Also, you may try to use this configuration with moni\_httpd  
> instead of thttpd:  
> [Mailman with nginx and thttpd](http://nginx.org/pipermail/nginx/2010-October/023255.html)

–  
Igor S.

> **[Igor Sysoev](http://sysoev.ru/en/)**

---

<div class="post-metadata">

**Author:** ![ParkerS\_Joshua](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3d9bf3/32.png) [@ParkerS\_Joshua](https://www.ruby-forum.com/u/ParkerS_Joshua)\
**Post date:** [February 10, 2011, 6:56pm UTC](https://www.ruby-forum.com/t/help-with-mailman/203014/7 "2011-02-10T18:56:42Z")

</div>

On Thu, Feb 10, 2011 at 11:40:07AM -0500, Parker, Joshua wrote:

Hi there,

> Thanks everyone. My issue has been resolved, but now I have a new issue and  
> its with emails. This is the bounce back I get:

Point your web browser at [http://mulyoo.org:8000/](http://mulyoo.org:8000/) Click the “mailman”  
link. You’re talking directly to thttpd; there is no nginx involvement  
here. (Unless you intend for that to be the case, you may want to  
tighten  
up the config.)

You’ll probably find better help on mailman, or your smtp server,  
resources.

> The error that the other server  
> returned was: 554 554 5.7.1 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid): Relay access  
> denied (state 14).

You’ll probably want to make sure that the smtp server knows that it  
should handle mail for the domain [mulyoo.org](http://mulyoo.org). There’s almost certainly a  
(non-nginx) manual showing how to do that.

Good luck with it,

## f

Francis D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![ParkerS\_Joshua](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3d9bf3/32.png) [@ParkerS\_Joshua](https://www.ruby-forum.com/u/ParkerS_Joshua)\
**Post date:** [February 10, 2011, 7:09pm UTC](https://www.ruby-forum.com/t/help-with-mailman/203014/8 "2011-02-10T19:09:52Z")

</div>

On Feb 10, 2011, at 19:40 , Parker, Joshua wrote:

> [mulyoo.org](http://mulyoo.org). IN MX 10 [mail.mulyoo.org](http://mail.mulyoo.org).  
> mail IN A 72.55.148.59

This your SMTP server issue, but not nginx’s one.

---

<div class="post-metadata">

**Author:** ![ParkerS\_Joshua](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3d9bf3/32.png) [@ParkerS\_Joshua](https://www.ruby-forum.com/u/ParkerS_Joshua)\
**Post date:** [February 10, 2011, 8:50pm UTC](https://www.ruby-forum.com/t/help-with-mailman/203014/9 "2011-02-10T20:50:23Z")

</div>

Ah, thank you. I didn’t even think about smtp, and I am sure that smtp  
is  
the issue.

---

<div class="post-metadata">

**Author:** ![ParkerS\_Joshua](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3d9bf3/32.png) [@ParkerS\_Joshua](https://www.ruby-forum.com/u/ParkerS_Joshua)\
**Post date:** [February 11, 2011, 12:52am UTC](https://www.ruby-forum.com/t/help-with-mailman/203014/10 "2011-02-11T00:52:45Z")

</div>

Ok, I have postfix installed and these are the steps I took:

sudo aptitude -y install postfix telnet mailx  
sudo nano /etc/aliases  
root: some\_value  
sudo newaliases  
sudo nano /etc/postfix/main.cf

============================================================  
myorigin = $mydomain

mydestination = $mulyoo, localhost.$mulyoo, localhost

mynetworks = 127.0.0.0/8

sudo /etc/init.d/postfix restart

> From what I gathered, postfix should be able to send email, but after  
> doing the steps above, I still can’t send email through mailman. Is  
> there an alternative solution?

---

<div class="post-metadata">

**Author:** ![ParkerS\_Joshua](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3d9bf3/32.png) [@ParkerS\_Joshua](https://www.ruby-forum.com/u/ParkerS_Joshua)\
**Post date:** [February 11, 2011, 2:17am UTC](https://www.ruby-forum.com/t/help-with-mailman/203014/11 "2011-02-11T02:17:35Z")

</div>

Thanks, I am actually trying this one last tutorial:  
[http://wiki.dovecot.org/HowTo/DovecotLDAPostfixAdminMySQL](http://wiki.dovecot.org/HowTo/DovecotLDAPostfixAdminMySQL)

If it still doesn’t work, then I will take your suggestion and try exim.  
Thanks.

---

<div class="post-metadata">

**Author:** ![ParkerS\_Joshua](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3d9bf3/32.png) [@ParkerS\_Joshua](https://www.ruby-forum.com/u/ParkerS_Joshua)\
**Post date:** [February 11, 2011, 1:14am UTC](https://www.ruby-forum.com/t/help-with-mailman/203014/12 "2011-02-11T01:14:52Z")

</div>

apt-get install exim4

I was having issues of a Wordpress script not emailing and switching to  
exim4 fixed it rather than dealing with Sendmail.

On 02/10/2011 06:50 PM, Parker, Joshua wrote:

> > ```
> > Google tried to deliver your message, but it was rejected by
> > mail.mulyoo.org <http://mail.mulyoo.org/>.
> > 
> > ```
> 
> ```
> _______________________________________________
> 
> ```
> 
> –  
> Joshua Parker
> 
> * * *
> 
> nginx mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [mailman.nginx.org archive](http://nginx.org/mailman/listinfo/nginx)

–  
-C

[MyNassauLeader.net](http://MyNassauLeader.net)

> **[Gun Control Is Racist](https://guncontrolisracist.com)**
>
> Explore the historical perspective of systemic racism in gun control with Gun Control Is Racist. Join the conversation today!

[EgyptRiots.net](http://EgyptRiots.net)  
[BobcatTix.com](http://BobcatTix.com)  
[CharlotteEvents.net](http://CharlotteEvents.net)

PO BOX 1165  
Fernandina Beach, FL  
32035-1165

904-638-4567 (Home)  
904-624-1224 (Google Voice)

---

<div class="post-metadata">

**Author:** ![ParkerS\_Joshua](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3d9bf3/32.png) [@ParkerS\_Joshua](https://www.ruby-forum.com/u/ParkerS_Joshua)\
**Post date:** [February 11, 2011, 4:40am UTC](https://www.ruby-forum.com/t/help-with-mailman/203014/13 "2011-02-11T04:40:50Z")

</div>

On 02/10/2011 08:15 PM, Parker, Joshua wrote:

> Thanks, I am actually trying this one last tutorial:  
> [http://wiki.dovecot.org/HowTo/DovecotLDAPostfixAdminMySQL](http://wiki.dovecot.org/HowTo/DovecotLDAPostfixAdminMySQL)
> 
> [http://wiki.dovecot.org/HowTo/DovecotLDAPostfixAdminMySQL](http://wiki.dovecot.org/HowTo/DovecotLDAPostfixAdminMySQL)If it still  
> doesn’t work, then I will take your suggestion and try exim. Thanks.

## That will only complicate your life. If you can’t get Postfix working with the default setup, adding LDAP and MySQL into the mix surely isn’t going to make things any easier. Exim isn’t going to magically fix this problem either. Installing Mailman usually “Just Works”. This is a Mailman and MTA (Postfix) integration issue. There are a few ways that could be done. I know this one [http://www.list.org/mailman-install/node13.html](http://www.list.org/mailman-install/node13.html) works. I’ve used other techniques, too.

Regards,

Clifford Ilkay  
Dinamis  
1419-3266 Yonge St.  
Toronto, ON  
Canada M4N 3P6

[http://dinamis.com](http://dinamis.com)  
+1 416-410-3326
