changing message number
Hello,
I will move a few lists to mailman, from ecartis. I want to retain message numbers, and continue current sequence. So I need to start message number from a non-zero number.
How can I do that ?
I am new to mailman. I can undump, config.pck, I can chnage post-id. I do not know, how to put that fiile in pck format.
Secondly, I manage to change post-id, will it break anything else ?
Regards Mustafa Akgul
On 8/30/08, Mustafa Akgul wrote:
I will move a few lists to mailman, from ecartis. I want to retain message numbers, and continue current sequence. So I need to start message number from a non-zero number.
I think you're going to have to make changes in the source code to achieve these goals.
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>
Mustafa Akgul wrote:
I will move a few lists to mailman, from ecartis. I want to retain message numbers, and continue current sequence. So I need to start message number from a non-zero number.
How can I do that ?
I am new to mailman. I can undump, config.pck, I can chnage post-id. I do not know, how to put that fiile in pck format.
Secondly, I manage to change post-id, will it break anything else ?
You can change post_id (not post-id). It won't break anything.
Two ways to set post_id are bin/withlist and bin/config_list. With either method, you need to set post_id to a floating point value. E.g., if you want to set it to 237, you need to set it to 237.0. This can be done by putting the single line
mlist.post_id = 237.0
in a file and running
bin/config_list -i /path/to/file listname
You can also set post_id in an interactive withlist session. E.g., for a list named test
$ bin/withlist -l test Loading list test (locked) The variable `m' is the test MailList instance
m.post_id 0.0 m.post_id = 237.0 m.post_id 237.0 m.Save()
Unlocking (but not saving) list: test Finalizing $
The last input following the m.Save() input is a control-D (end of file).
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mustafa Akgul wrote:
I will move a few lists to mailman, from ecartis. I want to retain message numbers, and continue current sequence. So I need to start message number from a non-zero number.
How can I do that ?
I am new to mailman. I can undump, config.pck, I can chnage post-id. I do not know, how to put that fiile in pck format.
Secondly, I manage to change post-id, will it break anything else ?
You can change post_id (not post-id). It won't break anything.
Two ways to set post_id are bin/withlist and bin/config_list. With either method, you need to set post_id to a floating point value. E.g., if you want to set it to 237, you need to set it to 237.0. This can be done by putting the single line
mlist.post_id = 237.0
in a file and running
bin/config_list -i /path/to/file listname
I have tried this method. It worked fine.
Many thanks
Mustafa Akgul
You can also set post_id in an interactive withlist session. E.g., for a list named test
$ bin/withlist -l test Loading list test (locked) The variable `m' is the test MailList instance
m.post_id 0.0 m.post_id = 237.0 m.post_id 237.0 m.Save()
Unlocking (but not saving) list: test Finalizing $
The last input following the m.Save() input is a control-D (end of file).
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
hi,
i have a list about 36000 member in same domain.when i want to post an email and approve it there is not any problem in mailman server and gateways. but when it start to delivered to my sendmail server,my server load incresase so much and it stop to work properly. what can i do for this problem,i think about to slow down mailman's post, will it work?
Thanks,
Burcu İnci
Hi,
Burcu İnci:
hi,
i have a list about 36000 member in same domain.when i want to post an email and approve it there is not any problem in mailman server and gateways. but when it start to delivered to my sendmail server,my server load incresase so much and it stop to work properly. what can i do for this problem,i think about to slow down mailman's post, will it work? Have you tried setting SMTP_MAX_SESSIONS_PER_CONNECTION in mm_cfg.py and restarting Mailman?
Reading Defaults.py is highly recommended as it contains a wealth of settings to tweak Mailman.
Thanks!
-- Zbigniew Szalbot www.LCWords.com
Hi Burcu,
The best way I have found to throttle the number of messages coming out of mailman is to use something like the QOS service found in Shorewall.
This allows you to control how much of the available bandwidth is used going out of your server + prioritise SMTP with other protocols.
Regards James.
-----Original Message----- From: mailman-users-bounces+james=thereidsonline.com@python.org [mailto:mailman-users-bounces+james=thereidsonline.com@python.org] On Behalf Of Burcu Inci Sent: Monday, 1 September 2008 9:35 PM To: mailman-users@python.org Subject: [Mailman-Users] want to slow down the post of server
hi,
i have a list about 36000 member in same domain.when i want to post an email and approve it there is not any problem in mailman server and gateways. but when it start to delivered to my sendmail server,my server load incresase so much and it stop to work properly. what can i do for this problem,i think about to slow down mailman's post, will it work?
Thanks,
Burcu İnci
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/james%40thereidsonline. com
Security Policy: http://wiki.list.org/x/QIA9
Hi,
James Reid:
The best way I have found to throttle the number of messages coming out of mailman is to use something like the QOS service found in Shorewall.
This allows you to control how much of the available bandwidth is used going out of your server + prioritise SMTP with other protocols.
But he was referring to his server load increasing so much that it ceases to operate in a stable manner, which throttling bandwidth won't help, or will it?
-- Zbigniew Szalbot www.LCWords.com
Thanks much, but no problem with my bandwith,my server take mails or mailman post mails properly,
Burcu İNCİ -----Original Message----- From: Zbigniew Szalbot [mailto:z.szalbot@lcwords.com] Sent: Monday, September 01, 2008 3:08 PM To: James Reid Cc: 'Burcu İnci'; mailman-users@python.org Subject: Re: [Mailman-Users] want to slow down the post of server
Hi,
James Reid:
The best way I have found to throttle the number of messages coming out of mailman is to use something like the QOS service found in Shorewall.
This allows you to control how much of the available bandwidth is used going out of your server + prioritise SMTP with other protocols.
But he was referring to his server load increasing so much that it ceases to operate in a stable manner, which throttling bandwidth won't help, or will it?
-- Zbigniew Szalbot www.LCWords.com
I think you could set things up so that mailman talks to sendmail / postfix via tcp, which could then be throttled using shorewall
-----Original Message----- From: Zbigniew Szalbot [mailto:z.szalbot@lcwords.com] Sent: Monday, 1 September 2008 10:08 PM To: James Reid Cc: 'Burcu İnci'; mailman-users@python.org Subject: Re: [Mailman-Users] want to slow down the post of server
Hi,
James Reid:
The best way I have found to throttle the number of messages coming out of mailman is to use something like the QOS service found in Shorewall.
This allows you to control how much of the available bandwidth is used going out of your server + prioritise SMTP with other protocols.
But he was referring to his server load increasing so much that it ceases to operate in a stable manner, which throttling bandwidth won't help, or will it?
-- Zbigniew Szalbot www.LCWords.com
On 9/1/08, Burcu Inci wrote:
what can i do for this problem,i think about to slow down mailman's post, will it work?
Go to the Mailman FAQ wiki page at <http://wiki.list.org/display/DOC/Frequently+Asked+Questions> and search for "throttle".
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>
Merhaba Burcu,
On Mon, 1 Sep 2008 14:35:10 +0300 Burcu İnci <incib@itu.edu.tr> wrote:
i have a list about 36000 member in same domain.when i want to post an email and approve it there is not any problem in mailman server and gateways. but when it start to delivered to my sendmail server,my server load incresase so much and it stop to work properly. what can i do for this problem,i think about to slow down mailman's post, will it work?
What is exactly your problem? I.e. what causes the load? Is it CPU load, I/O load or something different? I'm running a few larger mailman lists myself (though not with 36'000 subscribers) and never had any problems. My machine is mostly idle.
So the question would be: What kind of machine do you have for sendmail? (CPU, RAM, Disks)
Why do you use sendmail? In my experience, postfix performs better in high load situations than sendmail and its easier to tweak so that certain traffic patterns do not cause any problems.
Selamlarla
Attila Kinali
-- The true CS students do not need to know how to program. They learn how to abstract the process of programming to the point of making programmers obsolete. -- Jabber in #holo
Burcu İnci İTÜ Bilgi İşlem Daire Başkanlığı Sistem Destek Grubu Tel: 0 212 285 39 30
-----Original Message----- From: mailman-users-bounces+incib=itu.edu.tr@python.org [mailto:mailman-users-bounces+incib=itu.edu.tr@python.org] On Behalf Of Burcu İnci Sent: Monday, September 01, 2008 2:35 PM To: mailman-users@python.org Subject: [Mailman-Users] want to slow down the post of server
hi,
i have a list about 36000 member in same domain.when i want to post an email and approve it there is not any problem in mailman server and gateways. but when it start to delivered to my sendmail server,my server load incresase so much and it stop to work properly. what can i do for this problem,i think about to slow down mailman's post, will it work?
Thanks,
Burcu İnci
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/incib%40itu.edu.tr
Security Policy: http://wiki.list.org/x/QIA9
Burcu 0nci wrote:
i have a list about 36000 member in same domain.when i want to post an email and approve it there is not any problem in mailman server and gateways. but when it start to delivered to my sendmail server,my server load incresase so much and it stop to work properly. what can i do for this problem,i think about to slow down mailman's post, will it work?
Mailman has no controls for this. This needs to be addressed in sendmail. See the FAQ at <http://wiki.list.org/x/j4A9>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (7)
-
Attila Kinali
-
Brad Knowles
-
Burcu İnci
-
James Reid
-
Mark Sapiro
-
Mustafa Akgul
-
Zbigniew Szalbot