[Mailman-Developers] Trying to get started developing Mailman

Thomas Storey storey.thomas at gmail.com
Sat Jul 25 13:37:18 CEST 2015


Thanks for the help. I have double-checked my postfix configuration to make
sure it is like yours, but my mail to the list still bounces.
mail.log looks like this when I try to send a message to the list (in this
case named mailman at augusta.net):

Jul 25 07:20:39 augusta postfix/pickup[4387]: C40252006E5: uid=1000
from=<thomas at augusta>
Jul 25 07:20:39 augusta postfix/cleanup[4488]: C40252006E5: message-id=<
20150725112039.C40252006E5 at augusta.net>
Jul 25 07:20:39 augusta postfix/qmgr[4388]: C40252006E5:
from=<thomas at augusta>, size=343, nrcpt=1 (queue active)
Jul 25 07:20:39 augusta postfix/local[4490]: C40252006E5:
to=<lmtp:[127.0.0.1]:8024 at localhost>, orig_to=<mailman at augusta.net>,
relay=local, delay=0.26, delays=0.24/0/0/0.03, dsn=5.1.1, status=bounced
(unknown use$
Jul 25 07:20:39 augusta postfix/cleanup[4488]: D113C2006F1: message-id=<
20150725112039.D113C2006F1 at augusta.net>
Jul 25 07:20:39 augusta postfix/bounce[4509]: C40252006E5: sender
non-delivery notification: D113C2006F1
Jul 25 07:20:39 augusta postfix/qmgr[4388]: D113C2006F1: from=<>,
size=2158, nrcpt=1 (queue active)
Jul 25 07:20:39 augusta postfix/qmgr[4388]: C40252006E5: removed
Jul 25 07:20:39 augusta postfix/local[4490]: D113C2006F1: to=<thomas at augusta>,
relay=local, delay=0.05, delays=0.03/0/0/0.03, dsn=2.0.0, status=sent
(delivered to mailbox)
Jul 25 07:20:39 augusta postfix/qmgr[4388]: D113C2006F1: removed

essentially, bounced because of unknown user
and the actual bounce notification in /var/mail/thomas is similar:

<"lmtp:[127.0.0.1]:8024"@localhost> (expanded from <mailman at augusta.net>):
    unknown user: "lmtp:[127.0.0.1]:8024"

--C40252006E5.1437823239/augusta.net
Content-Description: Delivery report
Content-Type: message/delivery-status

Reporting-MTA: dns; augusta.net
X-Postfix-Queue-ID: C40252006E5
X-Postfix-Sender: rfc822; thomas at augusta
Arrival-Date: Sat, 25 Jul 2015 07:20:39 -0400 (EDT)

Final-Recipient: rfc822; "lmtp:[127.0.0.1]:8024"@localhost
Original-Recipient: rfc822; mailman at augusta.net
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "lmtp:[127.0.0.1]:8024"

I have tried with and without a user on my system named "mailman", either
way the message bounces if sent to mailman at augusta.net, but with a user it
goes through if sent to mailman at localhost (when there is a user), which I
find odd. I can send mail to other users fine with <name>@augusta.net.
Thanks for any further assistance! Sorry for the newbish questions.

On Sat, Jul 25, 2015 at 6:02 AM <mailman-developers-request at python.org>
wrote:

> Send Mailman-Developers mailing list submissions to
>         mailman-developers at python.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mail.python.org/mailman/listinfo/mailman-developers
> or, via email, send a message with subject or body 'help' to
>         mailman-developers-request at python.org
>
> You can reach the person managing the list at
>         mailman-developers-owner at python.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Mailman-Developers digest..."
>
>
> Today's Topics:
>
>    1. Trying to get started developing Mailman (Thomas Storey)
>    2. Re: Trying to get started developing Mailman (Mark Sapiro)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 24 Jul 2015 16:37:40 +0000
> From: Thomas Storey <storey.thomas at gmail.com>
> To: mailman-developers at python.org
> Subject: [Mailman-Developers] Trying to get started developing Mailman
> Message-ID:
>         <CABqwFzN_HH28NyC46VfXtP59izwJBDU53Z6T94kCKS+JaP_5=
> w at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hello Mailman developers,
>
> I am trying to get started developing Mailman but I am having difficulty
> setting up a local development/test environment on my machine (Ubuntu 14.04
> LTS). I used black-perl's lovely development bootstrap to set up my virtual
> environments and initially install Mailman and postorious, but I can't seem
> to get a mailing list to actually work!
>
> I followed the excellent documentation at
> http://mailman.readthedocs.org/en/latest/src/mailman/docs/MTA.html to
> configure postfix and Mailman to talk to each other. I created a mailing
> list called "testlist" through the postorious interface. I subscribed
> myself and a testuser to the list, but sending mail via:
>
> echo "test body text" | mail -s "test subject" testlist at augusta.net
>
> simply results in a bounced email message in /var/mail/thomas (my user on
> my machine).
> augusta.net is the domain I specified during postfix configuration.
> Sending
> mail like above to "testuser at augusta.net" works perfectly (mail appears in
> /var/mail/testuser). The only reason I made it is because Mailman won't let
> you make a list @localhost.
>
> Does anyone have any advice for setting up a local-only mailing list
> environment so I can test behavior as I poke around in the code? Ideally I
> want to be able to just send emails via the command line to the local
> Mailman instance and have Mailman send emails out to local users that are
> subscribed to its lists.  I am stumped as to how to get this going, and I
> feel like I must be fundamentally misunderstanding how things are supposed
> to be done.
>
> Thanks for any guidance you can give me.
>
> -Thomas
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 24 Jul 2015 09:52:15 -0700
> From: Mark Sapiro <mark at msapiro.net>
> To: mailman-developers at python.org
> Subject: Re: [Mailman-Developers] Trying to get started developing
>         Mailman
> Message-ID: <55B26D3F.4000606 at msapiro.net>
> Content-Type: text/plain; charset=windows-1252
>
> On 7/24/15 9:37 AM, Thomas Storey wrote:
> > ... but sending mail via:
> >
> > echo "test body text" | mail -s "test subject" testlist at augusta.net
> >
> > simply results in a bounced email message in /var/mail/thomas (my user on
> > my machine).
>
>
> And what does the bounce (or Postfix's mail.log) say is the reason why
> it's undeliverable?
>
>
> > Does anyone have any advice for setting up a local-only mailing list
> > environment so I can test behavior as I poke around in the code? Ideally
> I
> > want to be able to just send emails via the command line to the local
> > Mailman instance and have Mailman send emails out to local users that are
> > subscribed to its lists.  I am stumped as to how to get this going, and I
> > feel like I must be fundamentally misunderstanding how things are
> supposed
> > to be done.
>
>
> My main development machine's IP is actually in DNS as msapiro.net. I
> have Postfix on that machine configured with mydomain and myhostname =
> msapiro.net and mydestination = msapiro.net, localhost.localdomain,
> localhost.
>
> My other machines (traveling laptops) are similar, but I also have
>
> 127.0.0.1  msapiro.net
>
> in /etc/hosts to override the DNS.
>
> --
> Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Mailman-Developers mailing list
> Mailman-Developers at python.org
> https://mail.python.org/mailman/listinfo/mailman-developers
>
>
> ------------------------------
>
> End of Mailman-Developers Digest, Vol 315, Issue 13
> ***************************************************
>


More information about the Mailman-Developers mailing list