Re: [Mailman-Users] Digest distribution time problem

2012-02-23 Thread Mark Sapiro
On 2/22/2012 11:11 AM, Conor –– wrote:
 
 After having read several different threads in the archives about
 altering the crontab file entry to change when the senddigests script
 is run, effectively distributing each list's daily digest, I am still
 at a loss. I've changed the entry so it appears it would distribute
 the digests at 9AM each day, but, no matter what I do, the digests
 still distribute at the installation default time of noon. For
 example, here is what the entry looks like now:
 
 # 9AM, mail digests for lists that do periodic as well as threshold
 delivery. 0 9 * * * /usr/bin/python -S
 /var/lib/mailman/cron/senddigests
 
 Is there perhaps another issue taking place here that I am not aware
 of?


What file are you changing? If you are changing Mailman's
cron/crontab.in, that will have no effect until you do

crontab cron/crontab.in

either as the mailman user or as root with the -u option.

Note that if your Mailman is installed from a package, it might be using
a 'system' crontab. You should check if the actual mailman crontab is a
user crontab in /var/spool/cron/mailman or a system crontab in some
place like /etc/cron.d/mailman. If it is a user crontab, you can list
it, edit it or install it from a file using the crontab command (see man
crontab). If it is a system crontab, you have to edit it directly and it
will also have an additional field for the user to run as between the
days/times fields and the command.

-- 
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
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] mailman and virtual mailboxes on same domain

2012-02-23 Thread Cédric Jeanneret

Hello people!

I'm having big troubles with a special setup:

one server, one domain (say foo.bar.com), virtual mailboxes (managed by 
ldap), and a mailman


I'm using postfix and dovecot for the standard mail part, and this 
works well. My problem is for mailman:


While trying to send email to my-l...@foo.bar.com, postfix tells me 
this:


Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: connect from myHost[myIP]
Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: 1CAECBE69AC: 
client=myHost[myIP]
Feb 23 09:49:25 sqdf3 postfix/cleanup[14765]: 1CAECBE69AC: 
message-id=20120223084925.0B86537AAEF@mail.myhost
Feb 23 09:49:25 sqdf3 postfix/qmgr[14759]: 1CAECBE69AC: 
from=me@myhost, size=513, nrcpt=1 (queue active)
Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: disconnect from 
myHost[myIP]
Feb 23 09:49:25 sqdf3 postfix/virtual[14766]: 1CAECBE69AC: 
to=|/var/lib/mailman/mail/mailman post my-l...@foo.bar.com, 
orig_to=my-l...@foo.bar.com, relay=virtual, delay=0.03, 
delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: 
|/var/lib/mailman/mail/mailman post my-l...@foo.bar.com)
Feb 23 09:49:25 sqdf3 postfix/cleanup[14765]: 23D50BE69F5: 
message-id=20120223084925.23d50be6...@foo.bar.com
Feb 23 09:49:25 sqdf3 postfix/qmgr[14759]: 23D50BE69F5: from=, 
size=2585, nrcpt=1 (queue active)
Feb 23 09:49:25 sqdf3 postfix/bounce[14767]: 1CAECBE69AC: sender 
non-delivery notification: 23D50BE69F5

Feb 23 09:49:25 sqdf3 postfix/qmgr[14759]: 1CAECBE69AC: removed
(and it sends me back a delivery failure due to unknown user)

Here's my postfix configuration:

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate delayed mail warnings
#delay_warning_time = 4h

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = foo.bar.com, localhost
mynetworks = 127.0.0.0/8
inet_interfaces = all
recipient_delimiter = +

smtpd_sasl_security_options = noanonymous
myorigin = foo.bar.com
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_sasl_path = private/auth

owner_request_special = no

smtpd_tls_CAfile = /etc/postfix/ssl/foo_bundle.crt
smtpd_tls_cert_file = /etc/postfix/ssl/foo.crt
smtpd_use_tls = yes
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_sasl_auth_enable = yes

default_process_limit = 5
smtpd_recipient_restrictions = check_recipient_access 
hash:/etc/postfix/access, permit_sasl_authenticated, permit_mynetworks, 
reject_unauth_destination, reject_unlisted_recipient

smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache

broken_sasl_auth_clients = yes
smtpd_tls_key_file = /etc/postfix/ssl/keyForApache2.key
transport_maps = hash:/etc/postfix/transport

virtual_transport = virtual
virtual_transport_maps = hash:/etc/postfix/transport
virtual_alias_maps = hash:/etc/aliases, 
ldap:/etc/postfix/ldap-aliases.cf, hash:/etc/postfix/virtual

virtual_alias_mbox = ldap:/etc/postfix/ldap-mbox.cf
virtual_mailbox_maps = ldap:/etc/postfix/ldap-accounts.cf
virtual_gid_maps = static:104
virtual_minimum_uid = 8
virtual_uid_maps = static:8
virtual_mailbox_domains = foo.bar.com
virtual_mailbox_base = /
mailman_destination_recipient_limit = 1
smtpd_sasl_type = dovecot


The virtual user delivery works just fine. Here's a sniped of my 
transport hash:

my-l...@foo.bar.com mailman:
@foo.bar.com virtual:

Any help is welcome, if you need any other information regarding the 
postfix configuration, please ask - I'm pretty sure it's obvious, but I 
must be blind :(.


Mailman version: 1:2.1.13-5 (on debian squeeze)
Postfix version: 2.7.1-1+squeeze1
Dovecot version: 1:1.2.15-7

Cheers,

C.
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] finding moderators of a list

2012-02-23 Thread Hone, Don
Is there a way as list owner or as system admin, to sort a mailman membership 
list based on whether someone's moderation flag is set, or perhaps export that 
list into a format that includes all of the various option columns that could 
then dump into Excel?   We have a list of over 700 members and it would take 
some time to click through and look at each page manually to find out who has 
the Mod box unchecked.

Using Mailman version: 2.1.9

Don Hone
Office of Information Technology
Ohio University

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Digest distribution time problem

2012-02-23 Thread Conor ––––––

This worked perfectly. I changed both the user's crontab as well as the 
system's cron.d/mailman file and now I seem to be able to manipulate the time 
at which the digests distribute. As a quick aside though: would I be able to 
just duplicate that particular line in both of those files and make the second 
line, say, 3pm, so digests distribute both at 9am and 3pm everyday?

Either way, thank you very much!

- Conor

 Date: Wed, 22 Feb 2012 23:59:29 -0800
 From: m...@msapiro.net
 To: port_mant...@live.com
 CC: mailman-users@python.org
 Subject: Re: [Mailman-Users] Digest distribution time problem
 
 On 2/22/2012 11:11 AM, Conor –– wrote:
  
  After having read several different threads in the archives about
  altering the crontab file entry to change when the senddigests script
  is run, effectively distributing each list's daily digest, I am still
  at a loss. I've changed the entry so it appears it would distribute
  the digests at 9AM each day, but, no matter what I do, the digests
  still distribute at the installation default time of noon. For
  example, here is what the entry looks like now:
  
  # 9AM, mail digests for lists that do periodic as well as threshold
  delivery. 0 9 * * * /usr/bin/python -S
  /var/lib/mailman/cron/senddigests
  
  Is there perhaps another issue taking place here that I am not aware
  of?
 
 
 What file are you changing? If you are changing Mailman's
 cron/crontab.in, that will have no effect until you do
 
 crontab cron/crontab.in
 
 either as the mailman user or as root with the -u option.
 
 Note that if your Mailman is installed from a package, it might be using
 a 'system' crontab. You should check if the actual mailman crontab is a
 user crontab in /var/spool/cron/mailman or a system crontab in some
 place like /etc/cron.d/mailman. If it is a user crontab, you can list
 it, edit it or install it from a file using the crontab command (see man
 crontab). If it is a system crontab, you have to edit it directly and it
 will also have an additional field for the user to run as between the
 days/times fields and the command.
 
 -- 
 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
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] finding moderators of a list

2012-02-23 Thread Mark Sapiro
Hone, Don wrote:

Is there a way as list owner or as system admin, to sort a mailman membership 
list based on whether someone's moderation flag is set, or perhaps export that 
list into a format that includes all of the various option columns that could 
then dump into Excel?   We have a list of over 700 members and it would take 
some time to click through and look at each page manually to find out who has 
the Mod box unchecked.


See http://www.msapiro.net/scripts/list_mod.py and
http://www.msapiro.net/scripts/mailman-subscribers.py (mirrored at
http://fog.ccsf.cc.ca.us/~msapiro/scripts/list_mod.py and
http://fog.ccsf.cc.ca.us/~msapiro/scripts/mailman-subscribers.py).

-- 
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
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] finding moderators of a list

2012-02-23 Thread Adam McGreggor
On Thu, Feb 23, 2012 at 02:22:25PM -0500, Hone, Don wrote:
 Is there a way as list owner or as system admin, to sort a mailman
 membership list based on whether someone's moderation flag is set, or
 perhaps export that list into a format that includes all of the
 various option columns that could then dump into Excel?  

moderators (per your Subject: line) != moderated bit.

For list-moderators, `list_owners -wm` may be useful. (pipe it through
tr(1), maybe)

To list those with moderated bits set,
http://www.msapiro.net/scripts/list_mod.py might be what you're after.

-- 
Many people would sooner die than think. In fact, they do.
-- Bertrand Russell
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] finding moderators of a list

2012-02-23 Thread Glenn Sieb
On 2/23/12 2:22 PM, Hone, Don wrote:
 Is there a way as list owner or as system admin, to sort a mailman membership 
 list based on whether someone's moderation flag is set, or perhaps export 
 that list into a format that includes all of the various option columns that 
 could then dump into Excel?   We have a list of over 700 members and it would 
 take some time to click through and look at each page manually to find out 
 who has the Mod box unchecked.
 
 Using Mailman version: 2.1.9

There is no mod box in Mailman 2.

If you have access to the shell on the box that Mailman is running on,
you can do this:

$ list_owners -wm

That will give you the lists, who the owners and the moderators are.

Best,
--Glenn
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Digest distribution time problem

2012-02-23 Thread Mark Sapiro
On 2/23/2012 11:32 AM, Conor –– wrote:
 
 This worked perfectly. I changed both the user's crontab as well as
 the system's cron.d/mailman file and now I seem to be able to
 manipulate the time at which the digests distribute.


You absolutely do not want both the user and the system crontabs. Either
one will do, but both will run every job twice. This won't matter much
for senddigests because the first one will send a digest and the second
won't have a digest to send, but, for example, two checkdbs will each
send the nn moderator requests email so recipients will receive two
copies.


 As a quick aside
 though: would I be able to just duplicate that particular line in
 both of those files and make the second line, say, 3pm, so digests
 distribute both at 9am and 3pm everyday?


As I said, you only want one of the two files. taking the user's crontab
as an example, you could have two entries

0 9 * * * /usr/bin/python -S /var/lib/mailman/cron/senddigests

and

0 15 * * * /usr/bin/python -S /var/lib/mailman/cron/senddigests

but the normal way to do this is with one entry

0 9,15 * * * /usr/bin/python -S /var/lib/mailman/cron/senddigests

See 'man 5 crontab'.

-- 
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
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] finding moderators of a list

2012-02-23 Thread Glenn Sieb
On 2/23/12 2:35 PM, Mark Sapiro wrote:
 Hone, Don wrote:
 
 Is there a way as list owner or as system admin, to sort a mailman
 membership list based on whether someone's moderation flag is set,
 or perhaps export that list into a format that includes all of the
 various option columns that could then dump into Excel?   We have a
 list of over 700 members and it would take some time to click
 through and look at each page manually to find out who has the Mod
 box unchecked.
 
 
 See http://www.msapiro.net/scripts/list_mod.py and 
 http://www.msapiro.net/scripts/mailman-subscribers.py (mirrored at 
 http://fog.ccsf.cc.ca.us/~msapiro/scripts/list_mod.py and 
 http://fog.ccsf.cc.ca.us/~msapiro/scripts/mailman-subscribers.py).
 


D'oh. I misread that as someone who is a moderator not someone who is
moderated :)

--Glenn
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] finding moderators of a list

2012-02-23 Thread Hone, Don
Thanks for the solution and for reading past my mistake in the subject line.

Don Hone
Office of Information Technology
Ohio University


 -Original Message-
 From: Mark Sapiro [mailto:m...@msapiro.net]
 Sent: Thursday, February 23, 2012 2:35 PM
 To: Hone, Don; Mailman-Users@python.org
 Subject: Re: [Mailman-Users] finding moderators of a list
 
 Hone, Don wrote:
 
 Is there a way as list owner or as system admin, to sort a mailman
 membership list based on whether someone's moderation flag is set, or
 perhaps export that list into a format that includes all of the various
 option columns that could then dump into Excel?   We have a list of
 over 700 members and it would take some time to click through and look
 at each page manually to find out who has the Mod box unchecked.
 
 
 See http://www.msapiro.net/scripts/list_mod.py and
 http://www.msapiro.net/scripts/mailman-subscribers.py (mirrored at
 http://fog.ccsf.cc.ca.us/~msapiro/scripts/list_mod.py and
 http://fog.ccsf.cc.ca.us/~msapiro/scripts/mailman-subscribers.py).
 
 --
 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
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] finding moderators of a list

2012-02-23 Thread Mark Sapiro
Glenn Sieb wrote:

D'oh. I misread that as someone who is a moderator not someone who is
moderated :)


Not surprising since the Subject: said moderators, not moderated.

-- 
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
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] iPhone App for moderating mails

2012-02-23 Thread Manuel Weiel

Am 09.02.2012 um 19:25 schrieb Manuel Weiel:

 
 Am 09.02.2012 um 19:15 schrieb Mark Sapiro:
 
 Manuel Weiel wrote:
 
 If you don't select the advanced settings, the program tries to detect the 
 right mailman configuration and uses this:
 
 if your mail address is t...@example.com, it will set the url to 
 http://example.com/mailman/ and the list name to test_example.com.
 
 
 Note that the list name test_example.com implies the Mailman
 installation is cPanel. In non-cPanel Mailman, the list name will
 usually be just 'test'.
 That is a good hint. I did notice, that also 'test' seems to be common. But I 
 did not know in which case what list name is used. In the next update, I will 
 test both when advanced is not checked (should not be that hard...)
I've released an updated, that checks both common list names (test and 
test_example.com in this example), clarifies the settings and fixes some small 
things.
Also it allows the reordering of lists.

The update is now live in the AppStore.
http://cl.ly/DyCl

I'm currently working on adding the ability to add people to the list 
(including address-book support) and also modifying/deleting someone.

Best regards,
Manuel Weiel

 
 -- 
 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
 http://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: 
 http://mail.python.org/mailman/options/mailman-users/manuelweiel%40gmx.de

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] iPhone App for moderating mails

2012-02-23 Thread Rob McLear
On Feb 23, 2012, at 3:05 PM, Manuel Weiel wrote:
 
 I've released an updated, that checks both common list names (test and 
 test_example.com in this example), clarifies the settings and fixes some 
 small things.
 Also it allows the reordering of lists.
 
 The update is now live in the AppStore.
 http://cl.ly/DyCl
 
 I'm currently working on adding the ability to add people to the list 
 (including address-book support) and also modifying/deleting someone.
 
 Best regards,
 Manuel Weiel
 
 



Keep up the great work, I'm using the app daily now!

-Rob
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] No archive

2012-02-23 Thread Peter

Hi

I did upgrade from Debian5 to 6 and running mailman version 2.1.13
I have postfix running with aliases in mysql.
I move the aliases tabel to the new server
To move the list to the new server did the next steps:
newlist ping, give the needed info, add the members.

Then I import the old mbox files and create the archive with:
bin/arch ping archives/private/ping.mbox/ping.mbox

So far so good.
I can send and receive  email to and receive them from the list.
I see the old archive, BUT there are no new emails archieved anymore

While creating the newlist I saw on the end to at the the aliass tabel:
ping:  |/var/lib/mailman/mail/mailman post ping
ping-admin:|/var/lib/mailman/mail/mailman admin ping
ping-bounces:  |/var/lib/mailman/mail/mailman bounces ping
ping-confirm:  |/var/lib/mailman/mail/mailman confirm ping
ping-join: |/var/lib/mailman/mail/mailman join ping
ping-leave:|/var/lib/mailman/mail/mailman leave ping
ping-owner:|/var/lib/mailman/mail/mailman owner ping
ping-request:  |/var/lib/mailman/mail/mailman request ping
ping-subscribe:|/var/lib/mailman/mail/mailman subscribe ping
ping-unsubscribe:  |/var/lib/mailman/mail/mailman unsubscribe ping

But how can I handle this in mysql?

I use the old style:
p...@example.com p...@lists.example.com
ping-ad...@example.com ping-ad...@lists.example.com
ping-boun...@example.com ping-boun...@lists.example.com
ping-conf...@example.com ping-conf...@lists.example.com
ping-j...@example.com ping-j...@lists.example.com
ping-le...@example.com ping-le...@lists.example.com
ping-ow...@example.com ping-ow...@lists.example.com
ping-requ...@example.com ping-requ...@lists.example.com
ping-subscr...@example.com ping-subscr...@lists.example.com
ping-unsubscr...@example.com ping-unsubscr...@lists.example.com


Has this a relation with the no archiving at the moment?

peter

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] No archive

2012-02-23 Thread Mark Sapiro
Peter wrote:

I did upgrade from Debian5 to 6 and running mailman version 2.1.13
I have postfix running with aliases in mysql.
I move the aliases tabel to the new server
To move the list to the new server did the next steps:
newlist ping, give the needed info, add the members.

Then I import the old mbox files and create the archive with:
 bin/arch ping archives/private/ping.mbox/ping.mbox

So far so good.
I can send and receive  email to and receive them from the list.
I see the old archive, BUT there are no new emails archieved anymore


Have you checked whether ArchRunner is running and looked at Mailman's
error log?


While creating the newlist I saw on the end to at the the aliass tabel:
ping:  |/var/lib/mailman/mail/mailman post ping
ping-admin:|/var/lib/mailman/mail/mailman admin ping
ping-bounces:  |/var/lib/mailman/mail/mailman bounces ping
ping-confirm:  |/var/lib/mailman/mail/mailman confirm ping
ping-join: |/var/lib/mailman/mail/mailman join ping
ping-leave:|/var/lib/mailman/mail/mailman leave ping
ping-owner:|/var/lib/mailman/mail/mailman owner ping
ping-request:  |/var/lib/mailman/mail/mailman request ping
ping-subscribe:|/var/lib/mailman/mail/mailman subscribe ping
ping-unsubscribe:  |/var/lib/mailman/mail/mailman unsubscribe ping

But how can I handle this in mysql?

I use the old style:
p...@example.com p...@lists.example.com
ping-ad...@example.com ping-ad...@lists.example.com
ping-boun...@example.com ping-boun...@lists.example.com
ping-conf...@example.com ping-conf...@lists.example.com
ping-j...@example.com ping-j...@lists.example.com
ping-le...@example.com ping-le...@lists.example.com
ping-ow...@example.com ping-ow...@lists.example.com
ping-requ...@example.com ping-requ...@lists.example.com
ping-subscr...@example.com ping-subscr...@lists.example.com
ping-unsubscr...@example.com ping-unsubscr...@lists.example.com


You could see the FAQ at http://wiki.list.org/x/ZoCj for some hints.
Also, see the FAQ at http://wiki.list.org/x/OIDD.


Has this a relation with the no archiving at the moment?


No. It is not related. Aliases and other Postfix configuration mostly
has to do with delivery of incoming mail to Mailman. It can also have
an effect on outgoing mail from Mailman, but this generally at least
works if Postfix is working at all.

-- 
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
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] mailman and virtual mailboxes on same domain

2012-02-23 Thread Mark Sapiro
Cédric Jeanneret wrote:

I'm having big troubles with a special setup:

one server, one domain (say foo.bar.com), virtual mailboxes (managed by 
ldap), and a mailman

I'm using postfix and dovecot for the standard mail part, and this 
works well. My problem is for mailman:

While trying to send email to my-l...@foo.bar.com, postfix tells me 
this:

Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: connect from myHost[myIP]
Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: 1CAECBE69AC: 
client=myHost[myIP]
Feb 23 09:49:25 sqdf3 postfix/cleanup[14765]: 1CAECBE69AC: 
message-id=20120223084925.0B86537AAEF@mail.myhost
Feb 23 09:49:25 sqdf3 postfix/qmgr[14759]: 1CAECBE69AC: 
from=me@myhost, size=513, nrcpt=1 (queue active)
Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: disconnect from 
myHost[myIP]
Feb 23 09:49:25 sqdf3 postfix/virtual[14766]: 1CAECBE69AC: 
to=|/var/lib/mailman/mail/mailman post my-l...@foo.bar.com, 
orig_to=my-l...@foo.bar.com, relay=virtual, delay=0.03, 
delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: 
|/var/lib/mailman/mail/mailman post my-l...@foo.bar.com)


So you have an alias in a virtual mapping. Aliases only work with
'local' delivery.


[...]
transport_maps = hash:/etc/postfix/transport

virtual_transport = virtual
virtual_transport_maps = hash:/etc/postfix/transport


What is this for?



virtual_alias_maps = hash:/etc/aliases, 
ldap:/etc/postfix/ldap-aliases.cf, hash:/etc/postfix/virtual


/etc/aliases is not in the correct format for virtual_alias_maps. It
should not be there.


virtual_alias_mbox = ldap:/etc/postfix/ldap-mbox.cf
virtual_mailbox_maps = ldap:/etc/postfix/ldap-accounts.cf
virtual_gid_maps = static:104
virtual_minimum_uid = 8
virtual_uid_maps = static:8
virtual_mailbox_domains = foo.bar.com
virtual_mailbox_base = /
mailman_destination_recipient_limit = 1
smtpd_sasl_type = dovecot


The virtual user delivery works just fine. Here's a sniped of my 
transport hash:
my-l...@foo.bar.com mailman:


So mail to my-l...@foo.bar.com should use a 'mailman' transport,
presumably defined in master.cf as postfix_to_mailman.py. If you want
to use this, there should be no aliases for Mailman at all there
should only be transport maps entries of the form

my-l...@foo.bar.com mailman:
my-list-ad...@foo.bar.com mailman:
my-list-boun...@foo.bar.com mailman:
etc. A total of 10 per list since non-list mail for this domain should
be handled by the 'virtual' transport. The FAQ at
http://wiki.list.org/x/ZoCj may help.


@foo.bar.com virtual:

Any help is welcome, if you need any other information regarding the 
postfix configuration, please ask - I'm pretty sure it's obvious, but I 
must be blind :(.

Mailman version: 1:2.1.13-5 (on debian squeeze)
Postfix version: 2.7.1-1+squeeze1
Dovecot version: 1:1.2.15-7


Please also see the FAQ at http://wiki.list.org/x/OIDD.

-- 
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
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org