From: "Christian Gleerup" <cromozon@swn.nu>
To: mlmmj@mlmmj.org
Subject: [mlmmj] Configuration problems using mlmmj+postfix
Date: Mon, 23 Nov 2015 18:20:38 +0000 [thread overview]
Message-ID: <2814c8bd343523366b23a6289b918a5f@swn.nu> (raw)
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
next reply other threads:[~2015-11-23 18:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-23 18:20 Christian Gleerup [this message]
2015-11-23 19:12 ` [mlmmj] Configuration problems using mlmmj+postfix 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2814c8bd343523366b23a6289b918a5f@swn.nu \
--to=cromozon@swn.nu \
--cc=mlmmj@mlmmj.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).