Re: [Mailman-Users] spam discard expressions

2017-09-22 Thread Mark Sapiro
On 09/22/2017 07:22 PM, Jim Dory wrote:
> Maybe this is how to do it:
> 
> My spam filter is not working. I have this syntax: ^Subject: .*Example


And where are you putting this?

If you have that in bounce_matching_headers, you don't want the ^. The
syntax there is the header followed by a regexp to match. E.g.

subject: .*example

or even (I think)

subject: ^.*example

Both the header and regexp are case insensitive.

If it's in header_filter_rules

^Subject: .*Example

should work (and it too is case insensitive).


> And mail with this subject is still getting through:
> Subject: Desperate for a Example


If the above doesn't explain it, it's possible the header is rfc 2047
encoded as in

Subject: =?utf-8?b?RGVzcGVyYXRlIGZvciBhIEV4YW1wbGUK?=

which decodes to

Subject: Desperate for a Example

but headers should be rfc 2047 decoded for header_filter_rules but not
for bounce_matching headers.

Also note that bounce_matching_headers is called "Legacy anti-spam
filters" for a reason.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] spam discard expressions

2017-09-22 Thread Mark Sapiro
On 09/22/2017 07:19 PM, Jim Dory wrote:
> I'm trying to ask a question about spam filters, using an example of spam
> I'm getting, but I'm getting this error:
> 
> The response was:
> 
> 554 permanent error Contact your postmaster/admin for assistance. Please
> provide the following information in your problem report: time (Sep 22
> 22:16:42) and client (2607:f8b0:400e:c05::231).

Your email client is not giving you the reject reason which from
mail.python.org's log is

Sep 22 22:16:42 mail postfix/smtpd[18989]: NOQUEUE: reject_warning: RCPT
from mail-pg0-x231.google.com[2607:f8b0:400e:c05::231]: 554 5.7.1
: Recipient address rejected: You must be a
member to send to this address.; from=
to= proto=ESMTP helo=


I.e. post from your subscribed address which is ja...@dorydesign.com,
not jim.d...@gmail.com

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] spam discard expressions

2017-09-22 Thread Jim Dory
Maybe this is how to do it:

My spam filter is not working. I have this syntax: ^Subject: .*Example

And mail with this subject is still getting through:
Subject: Desperate for a Example

What would be correct way to catch messages with "Example"?

thanks, jim

On Fri, Sep 22, 2017 at 6:19 PM, Jim Dory  wrote:

>
> I'm trying to ask a question about spam filters, using an example of spam
> I'm getting, but I'm getting this error:
>
> The response was:
>
> 554 permanent error Contact your postmaster/admin for assistance. Please
> provide the following information in your problem report: time (Sep 22
> 22:16:42) and client (2607:f8b0:400e:c05::231).
>
>
> Anyway around this?   /jim
>
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] spam discard expressions

2017-09-22 Thread Jim Dory
I'm trying to ask a question about spam filters, using an example of spam
I'm getting, but I'm getting this error:

The response was:

554 permanent error Contact your postmaster/admin for assistance. Please
provide the following information in your problem report: time (Sep 22
22:16:42) and client (2607:f8b0:400e:c05::231).


Anyway around this?   /jim
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Correct Mailman setup

2017-09-22 Thread Mark Sapiro
At Fri, 22 Sep 2017 17:57:36 +0200 lusche...@yahoo.de wrote:
> 
>>
>>
>> Hi all
>>
>> I have now read through the web pages Mark Sapiro proposed on Wednesday
>> - and I am more confused than before about all this. After contacting
>> our hoster (who told me that we are the only one of his clients who uses
>> Mailman and that he can't help me here), I ask the collective of all
>> knowledgeable people to help me configure Mailman (v 2.1.23 on cPanel)
>> so that there are the least possible problems.
>>
>> There are in total 5 lists:
>>
>> 3 of them are discussion lists for various subjects. All members are
>> allowed to reply to all messages, and all these replies should go to the
>> list / distributed to all members.
>>
>> 2 of them are announcement lists - members should normally not be
>> allowed to post anything; therefore all are set to "moderated". 
>>
>> All lists have members who use various mail domains, so I cannot be sure
>> about any odd behaviour of their mail servers
>>
>> All lists are more or less working


So far, I don't see a problem. For a guide to setting up announcement
lists see .


>>, but every now and then some people
>> complain about something. The most annoying thing is that messages are
>> processed but then queued for up to one hour before they go out. The
>> mail system is on the same virtual server, and the provider has no idea
>> what to do. Otherwise the mail server does not ause problems, any
>> message submitted normally (not via Mailman) goes out nearly instantly. 
>> I would appreciate if a knowledgeable person could guide me through the
>> proper setup of these lists.


You are not going to be able to find the necessary information to
diagnose this issue which requires access to Mailman's logs and the Mail
Server logs which are normally not available to customers of a hosted
cPanel installation.

What I can tell you is there is nothing in normal list configuration
that would cause delays in outgoing mail. The most likely cause of these
delays is Mailman's 'out' queue being backlogged. There are multiple
posts about this in this list's archives including
.
There is also a FAQ at .

One thing you can check is if posts are archived almost immediately even
though they aren't sent out for some time. This indicates a possibly
backlogged 'out' queue or possibly other delays in outgoing mail. If the
posts are not archived until they are ultimately sent out, that would
indicate the delay is in incoming mail.

It is also possible the outgoing mail server is throttling mail, i.e.
limiting the number of messages sent per hour or some such.

The bottom line is if the hosting service won't help you with this,
you're stuck. You might find
 of some interest.

If there are other issues/complaints, please describe both the current
and desired behaviors, and perhaps we can offer more advice.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Correct Mailman setup (was: List adds information to sender's name)

2017-09-22 Thread Robert Heller
For some reason, you sent this to just me (Robert Heller 
).  I am replying and including the list 
(mailman-users@python.org) on the CC.

At Fri, 22 Sep 2017 17:57:36 +0200 lusche...@yahoo.de wrote:

> 
> 
> Hi all
> 
> I have now read through the web pages Mark Sapiro proposed on Wednesday
> - and I am more confused than before about all this. After contacting
> our hoster (who told me that we are the only one of his clients who uses
> Mailman and that he can't help me here), I ask the collective of all
> knowledgeable people to help me configure Mailman (v 2.1.23 on cPanel)
> so that there are the least possible problems.
> 
> There are in total 5 lists:
> 
> 3 of them are discussion lists for various subjects. All members are
> allowed to reply to all messages, and all these replies should go to the
> list / distributed to all members.
> 
> 2 of them are announcement lists - members should normally not be
> allowed to post anything; therefore all are set to "moderated". 
> 
> All lists have members who use various mail domains, so I cannot be sure
> about any odd behaviour of their mail servers
> 
> All lists are more or less working, but every now and then some people
> complain about something. The most annoying thing is that messages are
> processed but then queued for up to one hour before they go out. The
> mail system is on the same virtual server, and the provider has no idea
> what to do. Otherwise the mail server does not ause problems, any
> message submitted normally (not via Mailman) goes out nearly instantly. 
> I would appreciate if a knowledgeable person could guide me through the
> proper setup of these lists.
> 
> Thanks, Christian

-- 
Robert Heller -- 978-544-6933
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services

--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org