Re: [Mailman-Users] [Suspected Spam] Images on iPhone's not loading

2014-10-30 Thread James Nightly
I think the issue is dmarc_moderation_action which we use to wrap the
message or munge the headers. This works great for our Yahoo and AOL
parents -- school newsletter is not spam filtered anymore.

These messages are all HTML MIME-structured with multipart/mixed.
Its a global issue, not a single iPhone/email/user -- its everyone
with an iPhone, they can't read our newsletter. Images do not load.
I tried using Gmail app and it seems to work! iPhone Mail app does not
load images in the same message/account/phone/network.
--
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] Changing ports doesn't seem to work

2014-10-30 Thread Brian Rudy
Made the changes that Mark directed me to do and everything works the 
way it should.


Thank you Mark,
Much appreciated.
On 10/29/2014 9:05 PM, Mark Sapiro wrote:

On 10/29/2014 10:32 AM, Brian Rudy wrote:

Hello all,

Due to changing ISP's I was forced to change my web port to something
other than 80.  On port 80, everything was working well. I moved all of
my web interfaces to port 8000.  I thought I followed the instructions
correctly and did:

bin/withlist -l -r fix_url listname


You don't say, but before running fix_url did you add

DEFAULT_URL_PATTERN = 'http://%s:8000/mailman/'

to mm_cfg.py?



It seems to work fine using
http://host.example.com:8000/mailman/admin/listname but any link I
click on doesn't add in the port number (:8000) so by default, it's
trying port 80.  Is there any way around that?  If I manually copy the
link and paste it in the url of the browser and manually add in the
:8000 the link works fine.  The problem then is when I try to submit
something... It doesn't take.


If you added the port to DEFAULT_URL_PATTERN as above before running
fix_url, I can only guess that the issue has something to do with your
browser getting confused over relative URLs.

However, your comment above about copying/pasting the link and adding
the :8000 makes me think you didn't add the port to DEFAULT_URL_PATTERN
as above before running fix_url, although I suppose it could still be a
browser/relative URL issue.

View the source of the web page and look at the href= URLs. If they are
of form http://host.example.com/mailman/admin/listname... without the
:8000, then you need to be sure you have

DEFAULT_URL_PATTERN = 'http://%s:8000/mailman/'

in mm_cfg.py and run fix_url again.

If they are of form ../admin/listname... (i.e.relative) it is your
browser that's at fault, but this seems unlikely.

If it is the browser not handling relative URLs properly, the only way
to make Mailman generate absolute URLs is to edit Mailman/Utils.py and
change the line

def ScriptURL(target, web_page_url=None, absolute=False):

to

def ScriptURL(target, web_page_url=None, absolute=True):




--
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


[Mailman-Users] config.pck files

2014-10-30 Thread Christopher Adams
Hello all,

A list that is hosted here reported that the membership list and other
settings had reverted to previous content.

I took a look at the files and see this:

-rw-rw 1 mailman mailman 14526 Oct 30 08:00 config.pck
-rw-rw 1 mailman mailman 48950 Sep 29 13:15 config.pck.corrupt
-rw-rw 1 mailman mailman 14526 Oct 30 08:00 config.pck.last
-rw-rw 1 apache  mailman 49499 Sep 29 16:38 config.pck.safety

It looks like the config.pck file was corrupt. Just for clarification, what
are the other config.pck* files ? Since teh config.pck.safety looks like it
is much larger in size, and I ran ./dumpdb to read it and it appears to be
more current data, I am thinking that I can use it to overwrite the
config.pck, which apparently was used because the file was corrupt.

Can someone explain how these files work when the file becomes corrupt?

Can I just copy the config.pck.safety to config.pck ?

Many thanks


-- 
Christopher Adams
adam...@gmail.com
--
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


[Mailman-Users] MM3/Delivery Problem

2014-10-30 Thread Guillaume Libersat
Hi,

We're running a mailman 3.0.0b at ulists.org and so far it was working
quite well. Since a few days, email delivery seems to be broken, but
only for the posts, not bounces.
When someone subscribes, he gets the welcome message.
When someone posts, nothing is delivered. Same when posting from hyperkitty.

Here's what happens when en email is sent to a list:

On the MM3 side:

Oct 30 15:34:36 2014 (1387)
20141030143436.1389.15...@mailman.ulists.org smtp to t...@ulists.org
for 1 recips, completed in 0.0919508934021 seconds
Oct 30 15:34:36 2014 (1387)
20141030143436.1389.15...@mailman.ulists.org post to t...@ulists.org
from test-requ...@ulists.org, 1177 bytes

and on the smtp side:

Oct 30 15:34:36 mailman postfix/qmgr[7675]: CEF7719628BC:
from=gliber...@unisson.co, size=718, nrcpt=1 (queue active)
Oct 30 15:34:36 mailman postfix/lmtp[2526]: CEF7719628BC:
to=t...@ulists.org, relay=127.0.0.1[127.0.0.1]:8024, delay=0.14,
delays=0.0
6/0.04/0/0.04, dsn=2.0.0, status=sent (250 Ok)
Oct 30 15:34:36 mailman postfix/qmgr[7675]: CEF7719628BC: removed

Any idea of what I should check?

Thanks a lot !

Guillaume
--
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] MM3/Delivery Problem

2014-10-30 Thread Mark Sapiro
On 10/30/2014 07:48 AM, Guillaume Libersat wrote:
 
 We're running a mailman 3.0.0b at ulists.org and so far it was working
 quite well. Since a few days, email delivery seems to be broken, but
 only for the posts, not bounces.
 When someone subscribes, he gets the welcome message.
 When someone posts, nothing is delivered. Same when posting from hyperkitty.


I'll note a few things below, but this list is mostly still oriented
towards Mailman 2.1. The MM 3 folks pay much more attention to the
mailman-develop...@python.org list and the #mailman irc channel on
freenode.net.


 Here's what happens when en email is sent to a list:
 
 On the MM3 side:
 
 Oct 30 15:34:36 2014 (1387)
 20141030143436.1389.15...@mailman.ulists.org smtp to t...@ulists.org
 for 1 recips, completed in 0.0919508934021 seconds
 Oct 30 15:34:36 2014 (1387)
 20141030143436.1389.15...@mailman.ulists.org post to t...@ulists.org
 from test-requ...@ulists.org, 1177 bytes


This says the post was sent to 1 recipient. If there's nothing in
Mailman's smtp-failure log, it was accepted by the outgong MTA.


 and on the smtp side:
 
 Oct 30 15:34:36 mailman postfix/qmgr[7675]: CEF7719628BC:
 from=gliber...@unisson.co, size=718, nrcpt=1 (queue active)
 Oct 30 15:34:36 mailman postfix/lmtp[2526]: CEF7719628BC:
 to=t...@ulists.org, relay=127.0.0.1[127.0.0.1]:8024, delay=0.14,
 delays=0.0
 6/0.04/0/0.04, dsn=2.0.0, status=sent (250 Ok)
 Oct 30 15:34:36 mailman postfix/qmgr[7675]: CEF7719628BC: removed


This is the incoming post being delivered to Mailman. We already know
that succeeded.


 Any idea of what I should check?


What is in the outgoing MTA logs for the post from
test-boun...@ulists.org to the list member?

-- 
Mark Sapiro m...@msapiro.netThe 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] config.pck files

2014-10-30 Thread Mark Sapiro
On 10/30/2014 09:03 AM, Christopher Adams wrote:
 Hello all,
 
 A list that is hosted here reported that the membership list and other
 settings had reverted to previous content.
 
 I took a look at the files and see this:
 
 -rw-rw 1 mailman mailman 14526 Oct 30 08:00 config.pck
 -rw-rw 1 mailman mailman 48950 Sep 29 13:15 config.pck.corrupt
 -rw-rw 1 mailman mailman 14526 Oct 30 08:00 config.pck.last
 -rw-rw 1 apache  mailman 49499 Sep 29 16:38 config.pck.safety


Where there any config.db.* files? A problem is that between Mailman 2.0
and 2.1 this file changed from a marshal (config.db) to a pickle
(config.pck). The upgrade process migrated the file, but if the
config.db* files were not then manually removed, what can happen is
later (perhaps years later) the config.pck files become somehow
corrupted. Mailman tries the files in the order config.pck,
config.pck.last, config.db and config.db.last, and the first one it can
successfully load is used. This can be a config.db which rolls back the
list to a possibly way earlier state.


 It looks like the config.pck file was corrupt. Just for clarification, what
 are the other config.pck* files ?


Every time Mailman saves a list's state, it makes a file named
config.pck.tmp.hostname.pid and saves the list's state there and
then removes config.pck.last, renames config.pck to config.pck.last and
finally renames config.pck.tmp.hostname.pid to config.pck.

So there is always a current config.pck and the immediately prior
config.pck.last.

When Mailman tries to load a config.pck and has to fall back to a prior
file, it logs that fact in the 'error' log which see, and it renames the
current config.pck to config.pck.corrupt and also copies the recovered
file to config.pck and to config.pck.safety.


 Since teh config.pck.safety looks like it
 is much larger in size, and I ran ./dumpdb to read it and it appears to be
 more current data, I am thinking that I can use it to overwrite the
 config.pck, which apparently was used because the file was corrupt.
 
 Can someone explain how these files work when the file becomes corrupt?


See above, and see all the error log messages relating to this.

It is unclear exactly what the issue was here. It apparently occurred on
Sept 29. The error log from that time may help understand the sequence.


 Can I just copy the config.pck.safety to config.pck ?


If you can successfully dump it with bin/dumpdb, you can copy it to
config.pck and that should work. To be absolutely safe, you could run
'bin/withlist -l listname' to lock the list, then do the copy from
another terminal and then type control-D to exit the withlist session
and unlock the list. Otherwise you run the risk that Mailman or the web
UI is updating the list just as you do the copy.

Also, when you're done and the list works, remove or move aside the
config.db* files if any and the .corrupt and .safety files.

-- 
Mark Sapiro m...@msapiro.netThe 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] Images on iPhone's not loading

2014-10-30 Thread Mark Sapiro
On 10/30/2014 08:00 AM, James Nightly wrote:
 I think the issue is dmarc_moderation_action which we use to wrap the
 message or munge the headers. This works great for our Yahoo and AOL
 parents -- school newsletter is not spam filtered anymore.
 
 These messages are all HTML MIME-structured with multipart/mixed.
 Its a global issue, not a single iPhone/email/user -- its everyone
 with an iPhone, they can't read our newsletter. Images do not load.
 I tried using Gmail app and it seems to work! iPhone Mail app does not
 load images in the same message/account/phone/network.


This issue is with the iPhone Mail app, and only Apple can fix it.

I can't say whether complaining to them will help, but sending them a
copy of the raw email and explaining what's deficient with their
rendering may help.

In the mean time note that the major reason I gave up on
dmarc_moderation_action = Wrap Message on my lists and went to
dmarc_moderation_action = Munge From is complaints from iPhone users.
The iPhone Mail app, at least iOS 7, seems to do better with these, but
my lists are plain text so my experience may not apply to you.

-- 
Mark Sapiro m...@msapiro.netThe 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] Images on iPhone's not loading

2014-10-30 Thread James Nightly
I tried disabling dmarc completely and apparently there is still an
issue with HTML emails loading images on Apple iPhone Mail app.
--
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] Images on iPhone's not loading

2014-10-30 Thread Peter Shute
Are these images attachments of the emails, or are they just linked into the 
html from elsewhere? If the latter, have you looked at the html to see if there 
are errors in it?

Peter Shute

Sent from my iPad

 On 31 Oct 2014, at 8:35 am, James Nightly exim4deb...@gmail.com wrote:
 
 I tried disabling dmarc completely and apparently there is still an
 issue with HTML emails loading images on Apple iPhone Mail app.
 --
 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/pshute%40nuw.org.au
--
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