All of lore.kernel.org
 help / color / mirror / Atom feed
* [mlmmj] Configuration problems using mlmmj+postfix
@ 2015-11-23 18:20 Christian Gleerup
  2015-11-23 19:12 ` Morten Shearman Kirkegaard
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Christian Gleerup @ 2015-11-23 18:20 UTC (permalink / raw)
  To: mlmmj

Hi List,

I have migrated to a new server, and have done a reconfiguration of mlmmj, the old installation was kind of the same, but not following best practice. 
I have configured following the documentation here: http://mlmmj.org/docs/readme-postfix/

But I have some problems getting mlmmj to send mails out, and I don't know where to look, so I hope you can help me.

I have the following clues
In /var/log/mail.err
Nov 23 16:00:01 Lists /usr/local/bin/mlmmj-send[21648]: init_sockfd.c:56: Could not connect to 127.0.0.1: Connection refused

I have set up the transport in postfix as recommended, and the transport files are owned by the root, with read access to multiple users
root@lists:/var/spool/mlmmj# ls -la
total 44
drwxr-xr-x  3 mlmmj mlmmj  4096 Nov  9 21:12 .
drwxr-xr-x  7 root  root   4096 Nov  9 20:22 ..
drwxr-xr-x 13 mlmmj mlmmj  4096 Nov 23 16:00 nyhedsbrev
-rw-r--r--  1 root  root     90 Nov  9 21:11 transport
-rw-r--r--  1 root  root  12288 Nov  9 21:12 transport.db
-rw-r--r--  1 root  root     82 Nov  9 21:09 virtual
-rw-r--r--  1 root  root  12288 Nov  9 21:12 virtual.db

In /var/spool/mlmmj/transport
# for a flat structure
lists.[my-tld]--nyhedsbrev@localhost.mlmmj   mlmmj:nyhedsbrev

In /var/spool/mlmmj/virtual
nyhedsbrev@lists.[my.tld]    lists.[my.tld]--nyhedsbrev@localhost.mlmmj

I am able to subscribe, unsubscribe and wiev the subscribers from the web interface, I do this in the following way
sudo -u mlmmj /usr/local/bin/mlmmj-sub ...
sudo -u mlmmj /usr/local/bin/mlmmj-unsub ...
sudo -u mlmmj /usr/local/bin/mlmmj-list ...
this works fine, ofcourse the relavent stuff is configured for sudoers.

If needed I will post main.cf and master.cf from postfix.

Kind regards
Christian Gleerup






^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-11-26 10:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-23 18:20 [mlmmj] Configuration problems using mlmmj+postfix Christian Gleerup
2015-11-23 19:12 ` Morten Shearman Kirkegaard
2015-11-24  2:45 ` Piotr Auksztulewicz
2015-11-24  7:40 ` Morten Shearman Kirkegaard
2015-11-24 12:29 ` Morten Shearman Kirkegaard
2015-11-25 23:52 ` Ben Schmidt
2015-11-26  8:49 ` Morten Shearman Kirkegaard
2015-11-26 10:55 ` Christian Gleerup

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.