Re: [Mailman-Users] Virtual Domains

2003-09-12 Thread Klavs Klavsen
On fre, 2003-09-12 at 14:42, Angel Gabriel wrote:
 How can I setup mailman to use virtual domains?
 
 If I use http://domainA.com/mailman/admin/ I get the same page as
 http://domainB.com/mailman/admin
 
 How can I set diffrent lists for diffrent domains?

have you read:
/usr/share/doc/mailman-2.1.2-r1/README.POSTFIX.gz
or whatever fits your MTA?
-- 
Regards,
Klavs Klavsen, GSEC - [EMAIL PROTECTED] - http://www.vsen.dk
PGP: 7E063C62/2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
See my new CMS Hosting Service at http://www.VirkPaaNettet.dk

Working with Unix is like wrestling a worthy opponent. 
Working with windows is like attacking a small whining child 
who is carrying a .38.  


signature.asc
Description: This is a digitally signed message part
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] just the html please

2003-09-08 Thread Klavs Klavsen
On l
   I am trying to set up a list that allows html formatting but no other 
 attachments.  The ONLY way I can get the formatting is to set Should 
 Mailman filter the content of list traffic according to the settings 
 below? to No, which of course means I can't eliminate any other items.  If 
 the filter is turned on all html is converted to plain text regardless of 
 how the Should Mailman convert text/html parts to plain text? setting is set.
 
  I have tried leaving all fields blank, and I have tried setting 
 everything I can think of in the Remove message attachments that don't 
 have a matching content type box.  It seems the html to text conversion 
 can not be stopped if filtering is on.  After more than an hour of testing, 
 reading the FAQs, searching the archives and trying Google I'm ready for 
 someone to make me feel dumb with an obvious answer!!
 

I only have one idea, using the spamfilter to remove attachments?

Using a match like (does it support regexp?)
if you want to disable certain extention names (these are virus-names ;)
^.*name=[^]+\.(hta|com|pif|vbs|vbe|js|jse|exe|lnk|bat|cmd|vxd|eml|scr|chm)

or just every attachment.
^.*name=[^]+\.*[^]

nb. these attachments are a part of the email-body so even though
mailman may not search headers(? - I'm new to Mailman), this would be
matched anyways.
-- 
Regards,
Klavs Klavsen, GSEC - [EMAIL PROTECTED] - http://www.vsen.dk
PGP: 7E063C62/2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
See my new CMS Hosting Service at http://www.VirkPaaNettet.dk

Working with Unix is like wrestling a worthy opponent. 
Working with windows is like attacking a small whining child 
who is carrying a .38.  


signature.asc
Description: This is a digitally signed message part
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] specifying the hostname

2003-09-06 Thread Klavs Klavsen
On fre, 2003-09-05 at 00:31, Jonathan Vanasco wrote:
 I can't seem to find this anywhere in the Defaults.py mm_cfg.py or in 
 the archives:
 
 I'd like to specify the hostname somewhere.  The hostname for the 
 machine is not the current http address -- so all the links that 
 mailman creates are incorrect
 
 Is there any way to do that?
 

Set this in mm_cfg.py:

DEFAULT_EMAIL_HOST = 'maildomain.tld'
DEFAULT_URL_HOST = 'www.domain.tld'
-- 
Regards,
Klavs Klavsen, GSEC - [EMAIL PROTECTED] - http://www.vsen.dk
PGP: 7E063C62/2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
See my new CMS Hosting Service at http://www.VirkPaaNettet.dk

Working with Unix is like wrestling a worthy opponent. 
Working with windows is like attacking a small whining child 
who is carrying a .38.  


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] error adding lists

2003-09-06 Thread Klavs Klavsen
On l
 I am trying to add a list via the following URL: 
 
 http://mail.lfriendly.com/mailman/create
 
 when I hit submit, I get the following on an error page: 
 
 Traceback: 
 
 
 Traceback (most recent call last):
  File /usr/lib/mailman/scripts/driver, line 87, in run_main
main()
  File /var/tmp/mailman-2.1.1-build/usr/lib/mailman/Mailman/Cgi/create.py, 
 line 55, in main
  File /var/tmp/mailman-2.1.1-build/usr/lib/mailman/Mailman/Cgi/create.py, 
 line 176, in process_request
  File /var/tmp/mailman-2.1.1-build/usr/lib/mailman/Mailman/MailList.py, 
 line 431, in Create
  File /var/tmp/mailman-2.1.1-build/usr/lib/mailman/Mailman/Utils.py, line 
 203, in ValidateEmail
 MMHostileAddress: test123@(unused) 
 
 I appear to be missing something.  The MMHostileAddress:  test123@(unused) 
 is obviously the problem.  Anyone know where I can fix the (unused) ?  
 Everything else in MailMan works except addind a list via URL.  Any help 
 appreciated.  I am using version:  2.1.1 MailMan.
 
have you set this in mm_cfg.py (or Defaults.py):

DEFAULT_EMAIL_HOST = 'yourmaildomain.tld'
DEFAULT_URL_HOST = 'www.yourdomain.tld'
-- 
Regards,
Klavs Klavsen, GSEC - [EMAIL PROTECTED] - http://www.vsen.dk
PGP: 7E063C62/2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
See my new CMS Hosting Service at http://www.VirkPaaNettet.dk

Working with Unix is like wrestling a worthy opponent. 
Working with windows is like attacking a small whining child 
who is carrying a .38.  


signature.asc
Description: This is a digitally signed message part
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] mailman and virtual domains

2003-09-05 Thread Klavs Klavsen
On tor, 2003-09-04 at 09:31, Klavs Klavsen wrote:
 Hi guys,
 
 I'm new to mailman, but I managed to get it set up on my Gentoo Linux :)
 
 I wanted it to support virtual domains, because I'd like to run it on
 several domains (obviously :)
 
 I have ofcourse searched the archives in search for answers, and since I
 couldn't find any answers that worked for me, I turn to you as a last
 resort.
 
 I only have one problem left, if I set it up to service one of the
 virtual domains, the welcome to your new mailing list (and to users too)
 it uses my primary domain (vsen.dk - see the Defaults.py settings below)
 as the domainname :(
 
Fixed this - just create lists with the [EMAIL PROTECTED] and
it works.

 Also I was wondering if it is possible to have lists with the same name
 (f.ex. news) for different virtual domains. 
 
in the lists/ folder i can see that [EMAIL PROTECTED] is saved
as listname - which means I can't have two domains, with the same
listname :(

Anyone know how I can get this to work? or do I have to have seperate
installations of mailman - ie. does it not support virtual domains for
real (ie. with same listname for different domains)?

p.s. I installed the postfix-to-mailman.py script to avoid aliases :)
and now use lists.virtualdomain.tld for all lists.

Thank you for any help.

 my mm_cfg.py looks like this:
 MTA = 'Postfix'
 POSTFIX_STYLE_VIRTUAL_DOMAINS =
 ['lists.virkpaanettet.dk','lists.karismacentret.dk','lists.defaulttest.virkpaanettet.dk']
 OWNERS_CAN_DELETE_THEIR_OWN_LISTS = 1
 #VIRTUAL_HOSTS = {}
 
 add_virtualhost('virkpaanettet.dk','lists.virkpaanettet.dk')
 add_virtualhost('www.defaulttest.virkpaanettet.dk','lists.defaulttest.virkpaanettet.dk')
 add_virtualhost('www.karismacentret.dk','lists.karismacentret.dk')
 
 
 a snipppet of Defaults.py is:
 DEFAULT_EMAIL_HOST = 'vsen.dk'
 DEFAULT_URL_HOST = 'vsen.dk'
 DEFAULT_URL_PATTERN = 'http://%s/mailman/'
 
 Thank you for reading this far - I hope you can help.
-- 
Regards,
Klavs Klavsen, GSEC - [EMAIL PROTECTED] - http://www.vsen.dk
PGP: 7E063C62/2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
See my new CMS Hosting Service at http://www.VirkPaaNettet.dk

Working with Unix is like wrestling a worthy opponent. 
Working with windows is like attacking a small whining child 
who is carrying a .38.  


signature.asc
Description: This is a digitally signed message part
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] implementing real virtual domain support to mailman

2003-09-05 Thread Klavs Klavsen
Hi guys,

I'm new to mailman, but I can see that it does't support real virtual
domains, because it stores all lists as lists/listname - instead of
lists/[EMAIL PROTECTED]

I was thinking that support for this could easily be added by
manipulating this variable:

LIST_DATA_DIR   = os.path.join(VAR_PREFIX, 'lists')

it could be done, so each virtualdomain would have their own
lists-folder - and every occurence of VAR_PREFIX in the code, would then
just be replaced with VAR_PREFIX . VAR_VIRT (or some variable name,
indicating the virtualdomainname requested) - and the lists folder would
be lists-virtualdomainname for everything except for the main address,
where VAR_VIRT would ofcourse be empty.

I've never coded python before, but It looks as this would be easily
doable, but then again, I'm new to mailman and there I was hoping to get
your feedback on this idea, before I start implementing it.

-- 
Regards,
Klavs Klavsen, GSEC - [EMAIL PROTECTED] - http://www.vsen.dk
PGP: 7E063C62/2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
See my new CMS Hosting Service at http://www.VirkPaaNettet.dk

Working with Unix is like wrestling a worthy opponent. 
Working with windows is like attacking a small whining child 
who is carrying a .38.  


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] implementing real virtual domain support to mailman

2003-09-05 Thread Klavs Klavsen
On fre, 2003-09-05 at 13:41, Klavs Klavsen wrote:
 Hi guys,
 
 I'm new to mailman, but I can see that it does't support real virtual
 domains, because it stores all lists as lists/listname - instead of
 lists/[EMAIL PROTECTED]
 
 I was thinking that support for this could easily be added by
 manipulating this variable:
 
 LIST_DATA_DIR   = os.path.join(VAR_PREFIX, 'lists')
 
 it could be done, so each virtualdomain would have their own
 lists-folder - and every occurence of VAR_PREFIX in the code, would then
 just be replaced with VAR_PREFIX . VAR_VIRT (or some variable name,
 indicating the virtualdomainname requested) - and the lists folder would
 be lists-virtualdomainname for everything except for the main address,
 where VAR_VIRT would ofcourse be empty.

Ofcourse, the same VAR_VIRT would have to be added to mailbox/maildir
names, and perhaps other places too? I'm looking forward to your
(hopefully) positive feedback.

I could also just add whatever VAR contains the virtualdomainname mailman is working 
on, to 
where ever the LIST_DATA_DIR and mbox/maildir variable's are used.
-- 
Regards,
Klavs Klavsen, GSEC - [EMAIL PROTECTED] - http://www.vsen.dk
PGP: 7E063C62/2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
See my new CMS Hosting Service at http://www.VirkPaaNettet.dk

Working with Unix is like wrestling a worthy opponent. 
Working with windows is like attacking a small whining child 
who is carrying a .38.  


signature.asc
Description: This is a digitally signed message part
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] mailman and virtual domains

2003-09-04 Thread Klavs Klavsen
Hi guys,

I'm new to mailman, but I managed to get it set up on my Gentoo Linux :)

I wanted it to support virtual domains, because I'd like to run it on
several domains (obviously :)

I have ofcourse searched the archives in search for answers, and since I
couldn't find any answers that worked for me, I turn to you as a last
resort.

I only have one problem left, if I set it up to service one of the
virtual domains, the welcome to your new mailing list (and to users too)
it uses my primary domain (vsen.dk - see the Defaults.py settings below)
as the domainname :(

Also I was wondering if it is possible to have lists with the same name
(f.ex. news) for different virtual domains. 

my mm_cfg.py looks like this:
MTA = 'Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS =
['virkpaanettet.dk','karismacentret.dk','defaulttest.virkpaanettet.dk']
OWNERS_CAN_DELETE_THEIR_OWN_LISTS = 1
#VIRTUAL_HOSTS = {}

add_virtualhost('virkpaanettet.dk','virkpaanettet.dk')
add_virtualhost('www.defaulttest.virkpaanettet.dk','defaulttest.virkpaanettet.dk')
add_virtualhost('www.karismacentret.dk','karismacentret.dk')


a snipppet of Defaults.py is:
DEFAULT_EMAIL_HOST = 'vsen.dk'
DEFAULT_URL_HOST = 'vsen.dk'
DEFAULT_URL_PATTERN = 'http://%s/mailman/'

Thank you for reading this far - I hope you can help.

-- 
Regards,
Klavs Klavsen, GSEC - [EMAIL PROTECTED] - http://www.vsen.dk
PGP: 7E063C62/2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
See my new CMS Hosting Service at http://www.VirkPaaNettet.dk

Working with Unix is like wrestling a worthy opponent. 
Working with windows is like attacking a small whining child 
who is carrying a .38.  


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] mailman and virtual domains

2003-09-04 Thread Klavs Klavsen
Hi guys,

I'm new to mailman, but I managed to get it set up on my Gentoo Linux :)

I wanted it to support virtual domains, because I'd like to run it on
several domains (obviously :)

I have ofcourse searched the archives in search for answers, and since I
couldn't find any answers that worked for me, I turn to you as a last
resort.

I only have one problem left, if I set it up to service one of the
virtual domains, the welcome to your new mailing list (and to users too)
it uses my primary domain (vsen.dk - see the Defaults.py settings below)
as the domainname :(

Also I was wondering if it is possible to have lists with the same name
(f.ex. news) for different virtual domains. 

my mm_cfg.py looks like this:
MTA = 'Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS =
['virkpaanettet.dk','karismacentret.dk','defaulttest.virkpaanettet.dk']
OWNERS_CAN_DELETE_THEIR_OWN_LISTS = 1
#VIRTUAL_HOSTS = {}

add_virtualhost('virkpaanettet.dk','virkpaanettet.dk')
add_virtualhost('www.defaulttest.virkpaanettet.dk','defaulttest.virkpaanettet.dk')
add_virtualhost('www.karismacentret.dk','karismacentret.dk')


a snipppet of Defaults.py is:
DEFAULT_EMAIL_HOST = 'vsen.dk'
DEFAULT_URL_HOST = 'vsen.dk'
DEFAULT_URL_PATTERN = 'http://%s/mailman/'

Thank you for reading this far - I hope you can help.

-- 
Regards,
Klavs Klavsen, GSEC - [EMAIL PROTECTED] - http://www.vsen.dk
PGP: 7E063C62/2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
See my new CMS Hosting Service at http://www.VirkPaaNettet.dk

Working with Unix is like wrestling a worthy opponent. 
Working with windows is like attacking a small whining child 
who is carrying a .38.  


signature.asc
Description: This is a digitally signed message part
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] maildir support

2003-08-30 Thread Klavs Klavsen
Hi guys,

I'm new to Mailman and I can see from the Defaults.py that it supports
mailman, and from the lists I gather it just started doing so a few
months ago.

What are the experiences with it? Mailman doesn't get new releases very
often (2.1.2 has lasted for quite some time now) so that would seem no
bugs have been found in the maildir support - but ofcourse it could just
be that no one is using it :)

Thanks for a great piece of software, I hope will stay with me for many
years to come :)

-- 
Regards,
Klavs Klavsen, GSEC - [EMAIL PROTECTED] - http://www.vsen.dk
PGP: 7E063C62/2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
See my new CMS Hosting Service at http://www.VirkPaaNettet.dk

Working with Unix is like wrestling a worthy opponent. 
Working with windows is like attacking a small whining child 
who is carrying a .38.  


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org