From: Ben Schmidt <mail_ben_schmidt@yahoo.com.au>
To: mlmmj@mlmmj.org
Subject: Re: [mlmmj] Help setting up my first mailing list
Date: Fri, 21 Nov 2014 21:26:58 +0000 [thread overview]
Message-ID: <546FAE22.2010908@yahoo.com.au> (raw)
In-Reply-To: <9EC4CE90-6B36-4C12-B02D-1E9328EBBD77@right2.org>
Hi!
The "No such file or directory" is a known red herring.
I do think it's the ^M.
Suspect Haraka doesn't convert the CRLF line endings in SMTP to unix LF-only line
endings before piping to external programs as other MTAs do. Looks like some parts
of Mlmmj cope with this and other parts don't.
Try piping the mail through tr(1) to filter out the CRs and see if it works:
|tr -d '\r' | /bin/mlmmj-receive -L /opt/mlmmj/mylist/
If it doesn't like the pipe in aliases, try making a script that does the piping
and referring to that in aliases rather than mlmmj-receive directly.
Cheers,
Ben.
On 22/11/14 4:42 AM, Joe Eaves wrote:
> Hi guys,
>
> I'm having some trouble setting up a mailing list with mlmmj, I'm running 1.2.18.1 from the EPEL repo on CentOS 7. I have set my smtp server to pipe emails destined for the mailing list as so:
>
> |/bin/mlmmj-receive -L /opt/mlmmj/mylist/
>
> Everything seems to be going well, the email is received, but then I get errors when it tries to send a reply. The log looks as follows:
>
> /bin/mlmmj-process[6791]: mlmmj-process.c:828: Found To: right2-general@right2.org: Success
> /bin/mlmmj-send[6791]: mlmmj-send.c:925: Could not prepare headers: No such file or directory
>
> The only info I can find in the list directory is a file in the queue directory which seems to be the version of my email that the list is supposed to receive. It has the following headers:
>
> Envelope-To: <right2-general@right2.org>
> Authentication-Results: email.right2.org; ; ^M
> Received: from email.right2.org (garum.right2.org [178.62.6.212])^M
> by email.right2.org (Haraka/2.5.0) with ESMTP id F4EF895C-E9E9-443D-8D34-81EB88DF501C.1^M
> envelope-from <joe@right2.org>;^M
> Fri, 21 Nov 2014 17:39:47 +0000^M
> Received: (Haraka outbound); Fri, 21 Nov 2014 17:39:46 +0000^M
> Received: from [192.168.33.137] (212.44.18.254.ip.redstone-isp.net [212.44.18.254])^M
> by email.right2.org (Haraka/2.5.0) with ESMTPSA id 770D3771-B9E8-48BA-B1EF-CD8161FC9183.1^M
> envelope-from <joe@right2.org> (authenticated bits=0)^M
> (version=TLSv1/SSLv3 cipher®S128-SHA verifyúIL);^M
> Fri, 21 Nov 2014 17:39:46 +0000^M
> From: Joe Eaves <joe@right2.org>^M
> Content-Type: text/plain; charset=us-ascii^M
> Content-Transfer-Encoding: 7bit^M
> Subject: [Right2] -general- Hi^M
> Message-Id: <79939293-967A-4149-A48F-DAAF9FEA6D09@right2.org>^M
> Date: Fri, 21 Nov 2014 17:39:45 +0000^M
> To: "right2-general@right2.org" <right2-general@right2.org>^M
> X-Mailinglist: right2-general
> Reply-To: right2-general@right2.org
> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))^M
> X-Mailer: Apple Mail (2.1510)^M
>
> Any ideas? The ^M worries me but I don't know if it's a major issue? Maybe I'm missing a header?
>
> Cheers,
>
> Joe
>
> --
> :wq!
>
next prev parent reply other threads:[~2014-11-21 21:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-21 17:42 [mlmmj] Help setting up my first mailing list Joe Eaves
2014-11-21 21:26 ` Ben Schmidt [this message]
2014-11-22 16:41 ` Joe Eaves
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=546FAE22.2010908@yahoo.com.au \
--to=mail_ben_schmidt@yahoo.com.au \
--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 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.