public inbox for mlmmj@mlmmj.org
 help / color / mirror / Atom feed
* [mlmmj] Allowing specific addresses with subonlypost
@ 2016-12-22 12:24 David Demelier
  2016-12-22 12:51 ` Morten Shearman Kirkegaard
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: David Demelier @ 2016-12-22 12:24 UTC (permalink / raw)
  To: mlmmj

Hello all,

I've installed mlmmj with my postfix and it works fine.

However to stop spam I've enabled the subonlypost option to only allow 
subscribers to post mails. The problem is that I also would like to add 
specific addresses so my own mail server can also send mails to people 
subscribed.

I've tried using this in the control/access file:

     send ^From: .*@mydomain.tld

If I send a mail to the list using foo@mydomain.tld, mlmmj seems to do 
something with it but is not forwarded to the subscribers. And 
obviously, if I don't have that access file at all and send a mail, the 
administrator receives a mail saying that someone wanted to send a mail 
and was denied because it is not subscribed.

So what I'm missing to allow this? If it's possible of course. Because I 
would like to avoid creating fake mail users just for sending mails from 
the server itself.

Regards,

-- 

David



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

* Re: [mlmmj] Allowing specific addresses with subonlypost
  2016-12-22 12:24 [mlmmj] Allowing specific addresses with subonlypost David Demelier
@ 2016-12-22 12:51 ` Morten Shearman Kirkegaard
  2016-12-22 13:16 ` David Demelier
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Morten Shearman Kirkegaard @ 2016-12-22 12:51 UTC (permalink / raw)
  To: mlmmj

On 2016-12-22, at 13:24:10 +0100, David Demelier wrote:
> However to stop spam I've enabled the subonlypost option to only allow
> subscribers to post mails. The problem is that I also would like to
> add specific addresses so my own mail server can also send mails to
> people subscribed.

The easiest way of allowing that, is adding them in nomailsubs.d/.

// Moki


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

* Re: [mlmmj] Allowing specific addresses with subonlypost
  2016-12-22 12:24 [mlmmj] Allowing specific addresses with subonlypost David Demelier
  2016-12-22 12:51 ` Morten Shearman Kirkegaard
@ 2016-12-22 13:16 ` David Demelier
  2016-12-22 21:05 ` Ben Schmidt
  2017-01-12 18:03 ` Christoph Ehnes
  3 siblings, 0 replies; 5+ messages in thread
From: David Demelier @ 2016-12-22 13:16 UTC (permalink / raw)
  To: mlmmj

2016-12-22 13:51 GMT+01:00 Morten Shearman Kirkegaard
<morten+mlmmj.org@afdelingp.dk>:
> On 2016-12-22, at 13:24:10 +0100, David Demelier wrote:
>> However to stop spam I've enabled the subonlypost option to only allow
>> subscribers to post mails. The problem is that I also would like to
>> add specific addresses so my own mail server can also send mails to
>> people subscribed.
>
> The easiest way of allowing that, is adding them in nomailsubs.d/.
>

Thanks you very much! :-)

-- 
Demelier David


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

* Re: [mlmmj] Allowing specific addresses with subonlypost
  2016-12-22 12:24 [mlmmj] Allowing specific addresses with subonlypost David Demelier
  2016-12-22 12:51 ` Morten Shearman Kirkegaard
  2016-12-22 13:16 ` David Demelier
@ 2016-12-22 21:05 ` Ben Schmidt
  2017-01-12 18:03 ` Christoph Ehnes
  3 siblings, 0 replies; 5+ messages in thread
From: Ben Schmidt @ 2016-12-22 21:05 UTC (permalink / raw)
  To: mlmmj

On 22/12/2016 11:51 pm, Morten Shearman Kirkegaard wrote:
> On 2016-12-22, at 13:24:10 +0100, David Demelier wrote:
>> However to stop spam I've enabled the subonlypost option to only allow
>> subscribers to post mails. The problem is that I also would like to
>> add specific addresses so my own mail server can also send mails to
>> people subscribed.
>
> The easiest way of allowing that, is adding them in nomailsubs.d/.

This is absolutely right. But using 'send' in an access file should have
worked, too. I might have to look into that.


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

* Re: [mlmmj] Allowing specific addresses with subonlypost
  2016-12-22 12:24 [mlmmj] Allowing specific addresses with subonlypost David Demelier
                   ` (2 preceding siblings ...)
  2016-12-22 21:05 ` Ben Schmidt
@ 2017-01-12 18:03 ` Christoph Ehnes
  3 siblings, 0 replies; 5+ messages in thread
From: Christoph Ehnes @ 2017-01-12 18:03 UTC (permalink / raw)
  To: mlmmj

[-- Attachment #1: Type: text/plain, Size: 925 bytes --]

Hi,

yep, this thread is quite old, but in case someone needs this later
on...

On Fri, 23 Dec 2016 08:05:46 +1100
Ben Schmidt <mail_ben_schmidt@yahoo.com.au> wrote:

> 
> On 22/12/2016 11:51 pm, Morten Shearman Kirkegaard wrote:
> > On 2016-12-22, at 13:24:10 +0100, David Demelier wrote:
> >> However to stop spam I've enabled the subonlypost option to only
> >> allow subscribers to post mails. The problem is that I also would
> >> like to add specific addresses so my own mail server can also send
> >> mails to people subscribed.
> >
> > The easiest way of allowing that, is adding them in nomailsubs.d/.
> 
> This is absolutely right. But using 'send' in an access file should
> have worked, too. I might have to look into that.

It works, but only if the send statement is followed by an allow. For
me it looks therefore like this:

send ^Return-Path:.*@domain.tld
allow


Regards
Chris

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

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

end of thread, other threads:[~2017-01-12 18:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-22 12:24 [mlmmj] Allowing specific addresses with subonlypost David Demelier
2016-12-22 12:51 ` Morten Shearman Kirkegaard
2016-12-22 13:16 ` David Demelier
2016-12-22 21:05 ` Ben Schmidt
2017-01-12 18:03 ` Christoph Ehnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox