[Mailman-Users] Attachment size limit (or max_message_size)

2011-01-19 Thread Scott Race
Hello,
Running mailman 2.1.13 on RHEL5.  From what I've read, the max_message_size 
setting in a list will be the max size for the message text (body) plus 
attachment.  Therefore, max_message_size setting of 1000 would be approximately 
a megabyte for the message and any attachments.

I've set that for all my list, but can still get a 5MB attachment to go through 
no problem.  Is there something I'm missing?

Thanks!
Scott
--
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] Attachment size limit (or max_message_size)

2011-01-19 Thread Scott Race
Ah, I see what's going on. So for the particular lists were working on, all 
messages to the list are held for moderation.  So, it seems clicking Accept 
will accept the message, even if the message size is too big.

We recently (4 months ago) upgraded from Debian 4 to RHEL5. On the previous 
box, I believe we were running Mailman 2.1.12 (not sure), messages over the 
max_message_size limit would not hit the list and bounce back to the user with 
that message.

The company I'm working with is hoping the system can kick back messages over 
the max_message_size before it hits moderation.  Is that possible?

Would adding GLOBAL_PIPELINE directives to mm_cfg.py get that done?

Thanks!
Scott

-Original Message-
From: Mark Sapiro [mailto:m...@msapiro.net] 
Sent: Wednesday, January 19, 2011 1:22 PM
To: Scott Race; mailman-users@python.org
Subject: Re: [Mailman-Users] Attachment size limit (or max_message_size)

Scott Race wrote:

Running mailman 2.1.13 on RHEL5.  From what I've read, the max_message_size 
setting in a list will be the max size for the message text (body) plus 
attachment.  Therefore, max_message_size setting of 1000 would be 
approximately a megabyte for the message and any attachments.


Correct.


I've set that for all my list, but can still get a 5MB attachment to go 
through no problem.  Is there something I'm missing?


The setting of 1000 should cause any message whose raw size is over 1
MB to be held for moderator approval with reason Message body is too
big:  bytes with a limit of 1000 KB.

This will not occur if the message is pre-approved with an Approved:
password header or first body line, but should occur in other cases.
Of course, if a moderator approves it, it will go to the list.

If you are sure it isn't working in your case, we'd need to see an
actual example message to figure out why. You could send me one off
list if you wish.

-- 
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] Change list admin password, old one and new one works

2010-11-24 Thread Scott Race
In going through some security procedures yesterday, we decided to change our 
list passwords on all our lists.

The new password works, as does the old one still.  Restarting mailmanctl 
process does not fix.

We are running Mailman 2.1.13 on RHEL5.

Any ideas?  Haven't restarted the server yet.
Thanks.

Scott
--
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 server consuming entire Internet pipe (dual T1)

2010-11-24 Thread Scott Race
Was scrolling through the maillog just now, nothing out of the ordinary other 
than list traffic that I can tell.

So no, all inbound mail comes to the Barracuda, gets cleaned and sent to the 
Mailman server.  Each day about 600 inbound junk mails get blocked and around 
50 legit emails.  It is hosting just lists only, no other inbound or outbound 
mail.  Outbound does get sent directly out the Postfix and is not sent through 
any smart host.

Good question on the verifying recipients - not quite sure the exact answer - I 
think the mailman server is processing bounces because I'll see bounced emails 
in the log to johnsm...@lists.mydomain.com does not exist.  So invalid 
recipients do seem to hit the Mailman server.  Maybe filtering recipients at 
the Barrcuda could help?

On the note of the traffic - today everything is fine.  Not sure why for 5 days 
it was consuming the pipe, but have not found any indication of an open relay 
or malicious intent.  We did throttle back the simulaneous connections, maybe 
that will help a bit.

My Postfix maillog shows a ton of these:

(lost connection with spool.santarosa.org[216.222.240.7] while sending end of 
data -- message may be sent more than once)   

and

(conversation with mail.laguna-hills.ca.us[68.203.215.26] timed out while 
sending end of data -- message may be sent more than once)  

 11,968 matches of (lost connection) and 9202 matches of (conversation with) in 
a log file covering 4 days (Nov 21 01:18 - Nov 24 9:07).

One thing that did change was the internal DNS servers on the network, I almost 
have to assume it has to do with that.


-Original Message-
From: Andrew Hodgson [mailto:and...@hodgsonfamily.org] 
Sent: Wednesday, November 24, 2010 10:34 AM
To: Scott Race; mailman-users@python.org
Subject: RE: [Mailman-Users] Mailman server consuming entire Internet pipe 
(dual T1)

Scott Race wrote:

[...]

I've done some basic testing for open relays, so far I have not found anything 
indicating it's an open relay. Packet sniffing shows connections from a 
number of IP addresses to the Mailman server.  Outside test shows the hostname 
is not an open relay, and I can't telnet on port 25 with standard HELO 
command.  All internal mail comes to a Barrucuda spam filter unit.

/usr/local/mailman/logs/post shows 19 posts today to the various lists.

The Postfix logs would be of more benefit I think here, as well as the mail 
queue.
 
You say you route mails through a Barracuda host, do you allow traffic directly 
into this machine on port 25 externally?  Is this machine hosting lists only, 
and if so, how is the Barracuda/Postfix server verifying recipients as early as 
possible (in case the domain is receiving large amounts of bounced mail and is 
rejecting with a full NDR and not a bounce at SMTP stage?  Does outbound mail 
get delivered direct from Postfix or are you smarthosting to the Barracuda?

Thanks.
Andrew. 


--
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 server consuming entire Internet pipe (dualT1)

2010-11-24 Thread Scott Race
Thanks for the reply.

So it sounds like my iptables rule:

iptables -A INPUT -p tcp --dport 25 -j REJECT

also blocks outbound mail too.  Is there a preferred way to secure mailman SMTP 
traffic with iptables?  In our case, we would just need an inbound filter that 
only accepts mail from a few hosts, I thought this would do it, but mailman 
wouldn't send mail with rules like this:

# accept mail from two hosts, drop the rest
iptables -A INPUT -p tcp -s 192.168.1.245 --dport 25 -j ACCEPT
iptables -A INPUT -p tcp -s 192.168.1.246 --dport 25 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j REJECT

For the queues - I guess it's fine today - still reviewing the logs, and I will 
use those bin utilities to see the messages, that will be helpful...thanks!!

Scott


-Original Message-
From: Mark Sapiro [mailto:m...@msapiro.net] 
Sent: Tuesday, November 23, 2010 4:16 PM
To: Scott Race; mailman-users@python.org
Subject: Re: [Mailman-Users] Mailman server consuming entire Internet pipe 
(dualT1)

Scott Race wrote:

Haven't been able to figure out exactly what's up - but I do know if I set an 
iptables rule to block all inbound port 25 traffic, issues go away - so...


So, assuming you are also blocking port 25 connects from the local host
via the loopback interface, you are blocking Mailman's connects to
Postfix, thus preventing Mailman from connecting to Postfix and the
resultant sending from Postfix of whatever Mailman is sending.

Take a look at Mailman's queues, particularly virgin, out and retry to
see what's there. Use Mailman's bin/dumpdb to see an individual
entry's message and metadata or bin/show_quefiles to see one or more
entries' messages.


[...]
At this point I can't tell if I have a Postfix problem or Mailman problem. Any 
ideas?  Thanks!!


I suspect the actual network traffic is coming from Postfix sending the
stuff that Mailman is delivering to it. The question is what is
Mailman doing. Check the queues as above and also Mailman's smtp and
perhaps other logs.

-- 
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 server consuming entire Internet pipe (dual T1)

2010-11-23 Thread Scott Race
Hello,

Starting Friday this particular office started having massive Internet trouble 
(dual T1s). Running a speedtest shows 2.75Mbps download (fine) and about 
.09Mbps upload (not fine).  There are about 15 active lists on this server, a 
few of the lists have a few thousand members.

We traced the network issues to our mailman server.  With Mailman server turned 
off, network is fine.  As soon as it comes back up, bandwidth consumed.

Using Postfix as the MTA, set the default_process_limit to 3 in the master.cf 
file.  Other settings are postfix defaults (main.cf)

Haven't been able to figure out exactly what's up - but I do know if I set an 
iptables rule to block all inbound port 25 traffic, issues go away - so...

I've done some basic testing for open relays, so far I have not found anything 
indicating it's an open relay. Packet sniffing shows connections from a number 
of IP addresses to the Mailman server.  Outside test shows the hostname is not 
an open relay, and I can't telnet on port 25 with standard HELO command.  All 
internal mail comes to a Barrucuda spam filter unit.

/usr/local/mailman/logs/post shows 19 posts today to the various lists.

from my main.cf:

mynetworks = 172.10.0.0/16, 127.0.0.0/8
#relay_domains = $mydestination
mydestination = $myhostname, $mydomain, localhost
myhostname = lists.lists.mydomain.com
mydomain = lists.mydomain.com


At this point I can't tell if I have a Postfix problem or Mailman problem. Any 
ideas?  Thanks!!

Scott

--
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] Moved to new server - new mail not showing up in moderation

2010-08-27 Thread Scott Race
Hello,

First, thanks for all the help with the htdig issues I had - finally resolved 
them, will post back shortly on what I found and did to correct.

I am migrating lists from and old Debian server to a new Red Hat server, in the 
middle of it now and all lists are down til I can figure this out.

I was able to move the lists successfully, the archives come up, they are 
searchable, list config works, etc.

When posting to the list from a subscribed email, I receive an email back that 
the post is in moderation, which we expect.  However, the message never reaches 
the moderation queue.

Ive searched through the /mailman/logs and /var/log/maillog and havent found 
anything that jumps out at me.  Rebooted the server and made sure mailmanctl 
was running….any ideas on something I can check?  I feel lke I am missing 
something simple.

FYI - new lists works fine, its just the migrated lists.
Thanks!
Scott
--
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] Mass Removal of Subscribers from Mailing List

2009-12-24 Thread Scott Race
Have you actually talked to your hosting company?  One client I worked  
with had cpanlr hosting, and we were able to get the hosting company  
to run commands for us, they dropped the .csv files into our hosting  
directory.

Scott

On Dec 24, 2009, at 12:21 PM, certuspersonality i...@certuspersonality.com 
  wrote:

 This is a new attempt to receive a meaningful reply to above subject.

 I am not able to use Mailman commands on my server, as Mailman is
 integrated in cpanel of the hosting server I am subscribed to.
 I need to remove all subscriber email addresses in a given mailing
 list to then mass-subscribe a number of new email addresses.
 As the existing list is long and I do not have a backup of it on my
 computer, I cannot copy them into the field displayed for mass  
 removal.
 It is possible to mark all given entries in the 'unsub' column
 individually but that takes ages to do.
 Is there a way of marking them in one go?

 Herward

 --
 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/scott%40916networks.com
--
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] Strangely mailman stopped sending outgoing email

2009-10-02 Thread Scott Race
I had this same thing happen to me last week - i had permissions  
issues on my aliases files (weird - host loaded OS updates and  
permissions got jacked up) and then restarting mailman fixed for me -  
I did also see errors in /var/log/maillog

The command I use restart mailman is
/etc/init.d/mailman restart


Scott Race
916 Networks


On Oct 2, 2009, at 1:31 PM, Ralf Hildebrandt ralf.hildebra...@charite.de 
  wrote:

 * Patricia A Moss pmo...@csc.com:

 Last week, Friday, mailman stopped sending out  and receiving  
 email.  I
 started troubleshooting and found that there were firewall rules  
 that had
 been changed that appeared to be causing the problem.  Those  
 changes were
 reverted and mailman began receiving email.  However it was still not
 sending out email.  I had the Sendmail people check all of the  
 servers to
 confirm that the servers were sending and receiving.
 Then, from the mailman server, I ran a manual test against the SMTP
 server.  That resulted in an email to my mailbox:

 Queue runner up  running?

 -- 
 Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebra...@charite.de | http://www.charite.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
 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
 Unsubscribe: 
 http://mail.python.org/mailman/options/mailman-users/scott%40916networks.com

 Security Policy: http://wiki.list.org/x/QIA9
--
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/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Re: [Mailman-Users] Mailman not automatically updating its aliases file

2009-08-21 Thread Scott Race
Check the permissions and ownership of the aliases file (not in front of my 
install, but documentation tells you how it should be set - I believe on my 
install the group ownership is list)

Also - I believe your Postfix main.cf file needs to have an entry pointing to 
an additional aliases file, instead of updating the /etc/aliases file.  
However, on a fresh install a few days ago (my first 2.1.11 install), I found 
that it's dropping the aliases file that it updates in something like 
/var/lib/mailman.  That was new to me, but seemed to work out of the box.

So go to your root directory and do a 

#find -name aliases

and see if you have multiple aliases files, maybe it's hanging out in the 
mailman install directory.

-Original Message-
From: mailman-users-bounces+scott=916networks@python.org 
[mailto:mailman-users-bounces+scott=916networks@python.org] On Behalf Of 
Mark Ratcliff
Sent: Friday, August 21, 2009 10:29 AM
To: mailman-users@python.org
Subject: [Mailman-Users] Mailman not automatically updating its aliases file

Hi,
I was recently tasked with setting up a new mailman server.
 
We installed mm2.1.9 via yum on a RHEL5.3 server with postfix installed.
 
varprefix=/var/lib/mailman and prefix =/usr/lib/mailman.
 
This is what I have for custom lines in my mm_cfg.py:
 
DEFAULT_EMAIL_HOST = 'mm server name'
DEFAULT_URL_HOST = 'mm server name'
 
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
 
MTA = 'Postfix'
VIRTUAL_HOST_OVERVIEW = 0
OWNERS_CAN_ENABLE_PERSONALIZATION = 1
 
My problem is that whenever I use the newlist command and I create a
list, it doesnt automatically update the aliases file. According to the
install documentation on the mailman website, I only had to do a few
things including adding MTA='Postfix', etc. Are there any other settings
that I need to check on in order to make sure it is working?
 
Thanks for any replies.
--
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/scott%40916networks.com

Security Policy: http://wiki.list.org/x/QIA9
--
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/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Trouble with some messages being scrubbed

2009-08-10 Thread Scott Race
Thanks for confirming Mark. I had read that this was a possible bug - so good 
to know that an upgrade/new install will likely cure it.

Would the workaround you describe involve setting:

convert_html_to_plaintext = 1
and
filter_mime_types = [add html/text]
?

One other question about upgrade/new install - I have read that upgrading an 
existing installation is rather difficult and might involve downtime, so the 
preferred method is to bring up a new server and move the lists over.  Is that 
correct?

Thanks again.
Scott

-Original Message-
From: Mark Sapiro [mailto:m...@msapiro.net] 
Sent: Sunday, August 09, 2009 9:30 PM
To: Scott Race; mailman-users@python.org
Subject: Re: [Mailman-Users] Trouble with some messages being scrubbed

Scott Race wrote:

I am getting the following message in some of our posts, no content, just:

Skipped content of type multipart/alternative-- next part 
--


This is a bug in your 2.1.5 version, long since fixed.


A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1994 bytes
Desc: image003.gif
There's a link to the attachment, image003.gif, which pulls up ok, but, no 
content is being delivered.

The list settings have filter_content set to No.


This is a scrubber issue. It is independent of content filtering except
in that if you filtered the text/html part out of the
multipart/alternative part leaving only the text/plain part, it would
probably appear OK in the archive.


I read in another post that scrub_nondigest might be set to Yes, but I can't 
find the setting for that.


Because it doesn't exist in 2.1.5, and if it were set in your case, it
would just break individual messages and mime digests as well as
archives and plain digests.

Mailman 2.1.5.


If you are saying that this happens to individual messages and not to
just plain digests and archives, then this is not 'standard' 2.1.5,
and somehow Scrubber has been inserted into GLOBAL_PIPELINE either in
Defaults.py or mm_cfg.py or in a pipeline attribute of the list.

The real solution is to upgrade to a more recent Mailman that doesn't
have this Scrubber bug.

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

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Users] Trouble with some messages being scrubbed

2009-08-09 Thread Scott Race
I am getting the following message in some of our posts, no content, just:

Skipped content of type multipart/alternative-- next part 
--
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1994 bytes
Desc: image003.gif
There's a link to the attachment, image003.gif, which pulls up ok, but, no 
content is being delivered.

The list settings have filter_content set to No.

I read in another post that scrub_nondigest might be set to Yes, but I can't 
find the setting for that.  How would i find it, or where is the config file 
that holds this setting?   I looked and greped, couldn't find

Mailman 2.1.5.

Thanks!
Scott
--
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/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Users] Changing the email address of a list

2009-01-22 Thread Scott Race
Hello,

 

I have successfully moved my mailman lists to a new server, thanks to
lots of documentation and help from people on the list.

 

I have one small change I want to make, and wanted to get some advice
before breaking it.

 

My virtual-mailman file has entries like this:

 

mylistname_which_is_really_l...@mydomain.net
mylistname_which_is_really_long

mylistname_which_is_really_long-ad...@mydomain.net
mylistname_which_is_really_long-admin

mylistname_which_is_really_long-boun...@mydomain.net
mylistname_which_is_really_long-bounces

mylistname_which_is_really_long-conf...@mydomain.net
mylistname_which_is_really_long-confirm

mylistname_which_is_really_long-j...@mydomain.net
mylistname_which_is_really_long-join

mylistname_which_is_really_long-le...@mydomain.net
mylistname_which_is_really_long-leave

mylistname_which_is_really_long-ow...@mydomain.net
mylistname_which_is_really_long-owner

mylistname_which_is_really_long-requ...@mydomain.net
mylistname_which_is_really_long-request

 

I want to change mylistname_which_is_really_long to mylistname.

 

Will simply changing the listname in the virtual mailman file take care
of this? I'm thinking there's another place I'll need to change this as
well, but not quite sure.


Thanks in advance!

 

Scott Race

--
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/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Users] Moving lists without shell access

2008-11-18 Thread Scott Race
Is there a way to move lists from one server to another without shell access?  
I am able to download the archives from the admin interface, but don't have ssh 
access
Thanks!
--
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/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Users] VirtualDirectories and /var/www setup

2008-11-12 Thread Scott Race
Hello,

Using RHLE 4 with Apache and Mailman on multiple domains on the same
server.  The two domains I've setup are working fine.  The documentation
on the Mailman site does not go into detail on how to setup Apache for
Mailman, so I wanted to make sure I have setup my installation
correctly.  

 

I inherited this setup, and it all seems to work, though I'm not quite
sure how.  I have VirtualDirectory directives in myhttpd.conf file for
each mailman domain, though there's no /mailman directory there.  As I
look, seemes the cgi-bin directory in /usr/lib/mailman takes care of
that.


How does Apache know to route domain traffic to
www.mydomain.com/mailman/create to the appropriate place? I'm mostly
wondering this for a third domain setup, will I need a VirtualDirectory
for the site, even if there's nothing in the root of the site?  I'm
guessing I will, but just wanted to verify the setup.   

 

Also wondering if domains on my server that are not hosting mailmain
sites will also by default have /mailman/create directories, since it
seems like it's applying it to all domains.

 

Thanks!

 

 

Scott 

 

--
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/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Mailman on multiple domains

2008-10-31 Thread Scott Race
So I didn't have the entry for POSTFIX_STYLE_VIRTUAL_DOMAINS in my
mm_cfg.py file.

So I added the following:

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['www.second-domain.com']

Ran /bin/genaliases, no errors

Mail still bounces with the following:

Your message did not reach some or all of the intended recipients.

  Subject:  Test to list
  Sent: 10/30/2008 4:16 PM

The following recipient(s) could not be reached:

  [EMAIL PROTECTED] on 10/30/2008 4:16 PM
There was a SMTP communication problem with the recipient's
email server.  Please contact your system administrator.
jdaarch.com #5.5.0 smtp;550 [EMAIL PROTECTED]:
Recipient address rejected: User unknown in virtual alias table


Guess I still don't know how the virtual alias table gets updated when a
list is createdthanks in advance for any thoughts.

Scott






-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Mark Sapiro
Sent: Wednesday, October 29, 2008 4:36 PM
To: Scott Race; mailman-users@python.org
Subject: Re: [Mailman-Users] Mailman on multiple domains

Scott Racewrote:

As a follow-up, I don't seem to have the virtual-mailman file on my
server anywhere as stated in the documentation


Is the virtual domain in

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['the.virtual.domain']

in mm_cfg.py.

Is the host_name of the list = the.virtual.domain

Have you run Mailman's bin/genaliases since setting

MTA= 'Postfix'

and

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['the.virtual.domain']

in mm_cfg.py?

-- 
Mark Sapiro [EMAIL PROTECTED]The 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
Searchable Archives:
http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/webaccount%40jdaarc
h.com

Security Policy: http://wiki.list.org/x/QIA9
--
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/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Mailman on multiple domains

2008-10-31 Thread Scott Race
Thanks, fixed the domain name in the mm_cfg.py to read ['second-domain.com'].

Running the /bin/genaliases doesn't return an error, but doesn't generate the 
/data/virtual-mailman file.  The mailman error logs don't show anything (no 
errors since Oct 22).
 
Sounds like the virtual-mailman file missing is my main problem, huh?
 
Scott



From: Mark Sapiro [mailto:[EMAIL PROTECTED]
Sent: Fri 10/31/2008 12:02 PM
To: Scott Race; mailman-users@python.org
Subject: Re: [Mailman-Users] Mailman on multiple domains



Scott Race wrote:

So I didn't have the entry for POSTFIX_STYLE_VIRTUAL_DOMAINS in my
mm_cfg.py file.

So I added the following:

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['www.second-domain.com']


This domain has to match the host_name attribute of the list (the
'email host', not the 'url host'). It seems likely it should be
'second-domain.com', not 'www.second-domain.com'.


Ran /bin/genaliases, no errors


But did it produce a data/virtual-mailman file?


Mail still bounces with the following:

Your message did not reach some or all of the intended recipients.

  Subject: Test to list
  Sent:10/30/2008 4:16 PM

The following recipient(s) could not be reached:

  [EMAIL PROTECTED] on 10/30/2008 4:16 PM
There was a SMTP communication problem with the recipient's
email server.  Please contact your system administrator.
jdaarch.com #5.5.0 smtp;550 [EMAIL PROTECTED]:
Recipient address rejected: User unknown in virtual alias table


Guess I still don't know how the virtual alias table gets updated when a
list is createdthanks in advance for any thoughts.


If the list's host_name is in POSTFIX_STYLE_VIRTUAL_DOMAINS, the
appropriate virtual mappings are added to data/virtual-mailman and
POSTFIX_MAP_CMD (default '/usr/sbin/postmap') is run to update
data/virtual-mailman.db.

--
Mark Sapiro [EMAIL PROTECTED]The 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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Mailman on multiple domains

2008-10-31 Thread Scott Race
Thanks for the reply - so this will be a multiple mailman domain.
Currently list working on first-domain.org, trying to get it working on
second-domain.org.

So yes, Host name this list prefers for email is correct as
second-domain.org.

My mm_cfg.py looks like this:

from socket import *
try:
fqdn = getfqdn()
except:
fqdn = 'mm_cfg_has_unknown_host_domains'

DEFAULT_URL_HOST   = fqdn
DEFAULT_EMAIL_HOST = fqdn

# Because we've overriden the virtual hosts above
add_virtualhost
# MUST be called after they have been defined.

add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
add_virtualhost('www.first-domain.org', 'first-domain.org')
add_virtualhost('www.second-domain.org',
'second-domain.org')

##
# Put YOUR site-specific configuration below, in mm_cfg.py . #
# See Defaults.py for explanations of the values.#

# Note - if you're looking for something that is imported from
mm_cfg, but you
# didn't find it above, it's probably in Defaults.py.

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['second-domain.org']

MTA = 'Postfix'


So, I might be getting somewhere now...so I have a virtual-mailman file
now, it's in /etc/mailman.  It has the following entries:

# LOOP ADDRESSES START
[EMAIL PROTECTED]  mailman-loop
# LOOP ADDRESSES END

# STANZA START: scott-test
# CREATED: Fri Oct 31 15:44:28 2008
[EMAIL PROTECTED]  scott-test
[EMAIL PROTECTED]scott-test-admin
[EMAIL PROTECTED]  scott-test-bounces
[EMAIL PROTECTED]  scott-test-confirm
[EMAIL PROTECTED] scott-test-join
[EMAIL PROTECTED]scott-test-leave
[EMAIL PROTECTED]scott-test-owner
[EMAIL PROTECTED]  scott-test-request
[EMAIL PROTECTED]scott-test-subscribe
[EMAIL PROTECTED]  scott-test-unsubscribe
# STANZA END: scott-test

And the virtual-mailman.db is present and current (same date and time as
the virtual-mailman file).

So, getting closer, but a test to the list still bounces: 
The following recipient(s) could not be reached:

  [EMAIL PROTECTED] on 10/31/2008 1:47 PM
There was a SMTP communication problem with the recipient's
email server.  Please contact your system administrator.
jdaarch.com #5.5.0 smtp;550 [EMAIL PROTECTED]:
Recipient address rejected: User unknown in virtual alias table


At this point I'm wondering if since I'm using a second domain, I need
to include the first domain in the virtual domain config?  Right now it
seems like only my second-domain is in the virtual config.


Scott

-Original Message-
From: Mark Sapiro [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 31, 2008 1:13 PM
To: Scott Race
Cc: mailman-users@python.org
Subject: RE: [Mailman-Users] Mailman on multiple domains

Scott Race wrote:

Thanks, fixed the domain name in the mm_cfg.py to read
['second-domain.com'].

Running the /bin/genaliases doesn't return an error, but doesn't
generate the /data/virtual-mailman file.  The mailman error logs don't
show anything (no errors since Oct 22).

Sounds like the virtual-mailman file missing is my main problem, huh?


Yes.

Go to the list's General Options page and look near the bottom at Host
name this list prefers for email.. Does this match second-domain.com?

What you ultimately need to do to configure all this depends on whether
or not you will have multiple Mailman domains or a single Mailman
domain.

If there is only a single mailman domain = second-domain.com you want
something like

DEFAULT_URL_HOST = 'www.second-domain.com'
DEFAULT_EMAIL_HOST = 'second-domain.com'
add_virtual_hosts(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

in mm_cfg.py

and then run

bin/withlist -l -a -r fix_url

to fix the web_page_url and host_name attributes of all the lists.

If you have more Mailman domains, it's more complex, but until you have
the proper host_name for your lists, genaliases won't create/update
virtual-mailman.

-- 
Mark Sapiro [EMAIL PROTECTED]The 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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Mailman on multiple domains

2008-10-31 Thread Scott Race
Sorry bout that...yes, RHLE server.

/etc/postfix/main.cf has the following (in reference to the questions
below):


virtual_alias_maps = hash:/etc/postfix/virtual_alias_maps
virtual_alias_domains = hash:/etc/postfix/mydomains
alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases


With your direction, realizing I likely needed a reference to this
virtual-mailman file in my virtual_alias_maps, I added it, and my test
post went through!

Not sure if I need the reference to virtual-mailman in my alias_maps
too, didn't think so, and so I didn't add it.

Thanks a TON for the help!


Scott Race 
 

-Original Message-
From: Mark Sapiro [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 31, 2008 2:16 PM
To: Scott Race
Cc: mailman-users@python.org
Subject: RE: [Mailman-Users] Mailman on multiple domains

Scott Race wrote:

Thanks for the reply - so this will be a multiple mailman domain.
Currently list working on first-domain.org, trying to get it working on
second-domain.org.

So yes, Host name this list prefers for email is correct as
second-domain.org.

My mm_cfg.py looks like this:

   from socket import *
   try:
   fqdn = getfqdn()
   except:
   fqdn = 'mm_cfg_has_unknown_host_domains'

   DEFAULT_URL_HOST   = fqdn
   DEFAULT_EMAIL_HOST = fqdn

   # Because we've overriden the virtual hosts above
add_virtualhost
   # MUST be called after they have been defined.

   add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
   add_virtualhost('www.first-domain.org', 'first-domain.org')
   add_virtualhost('www.second-domain.org',
'second-domain.org')

   ##
   # Put YOUR site-specific configuration below, in mm_cfg.py . #
   # See Defaults.py for explanations of the values.#

   # Note - if you're looking for something that is imported from
mm_cfg,but you
   # didn't find it above, it's probably in Defaults.py.

   POSTFIX_STYLE_VIRTUAL_DOMAINS = ['second-domain.org']

   MTA = 'Postfix'


So, I might be getting somewhere now...so I have a virtual-mailman file
now, it's in /etc/mailman.


I don't recall your telling us that this was a RedHat package. These
things make a difference.


  It has the following entries:

# LOOP ADDRESSES START
[EMAIL PROTECTED]  mailman-loop
# LOOP ADDRESSES END

# STANZA START: scott-test
# CREATED: Fri Oct 31 15:44:28 2008
[EMAIL PROTECTED]  scott-test
[EMAIL PROTECTED]scott-test-admin
[EMAIL PROTECTED]  scott-test-bounces
[EMAIL PROTECTED]  scott-test-confirm
[EMAIL PROTECTED] scott-test-join
[EMAIL PROTECTED]scott-test-leave
[EMAIL PROTECTED]scott-test-owner
[EMAIL PROTECTED]  scott-test-request
[EMAIL PROTECTED]scott-test-subscribe
[EMAIL PROTECTED]  scott-test-unsubscribe
# STANZA END: scott-test

And the virtual-mailman.db is present and current (same date and time
as
the virtual-mailman file).


That's good.


So, getting closer, but a test to the list still bounces:
The following recipient(s) could not be reached:

  [EMAIL PROTECTED] on 10/31/2008 1:47 PM
There was a SMTP communication problem with the recipient's
email server.  Please contact your system administrator.
jdaarch.com #5.5.0 smtp;550
[EMAIL PROTECTED]:
Recipient address rejected: User unknown in virtual alias table


At this point I'm wondering if since I'm using a second domain, I need
to include the first domain in the virtual domain config?  Right now it
seems like only my second-domain is in the virtual config.


That's probably not a problem.

Does your main.cf virtual_alias_maps point to
/etc/mailman/virtual-mailman where it is or does it point somewhere
else. How about alias_maps?

-- 
Mark Sapiro [EMAIL PROTECTED]The 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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Mailman on multiple domains

2008-10-31 Thread Scott Race
Now just hit one more slight snag, can no longer create new lists on the
second-domain.org.

Fails with the Bug in Mailman version 2.1.5 - We're sorry, we hit a bug!
Error.

/var/log/mailman error shows:

admin(14722): RuntimeError: command failed: /usr/sbin/postmap
/etc/mailman/virtual-mailman (status: 1, Operation not permitted)

I noticed that apache is now trying to own the virtual-mailman file in
/etc/mailman, didn't notice that before.  Changing the ownership to
root:mailman doesn't work, when trying to create a list it fails and
apache takes ownership back.

Scott


-Original Message-
From: Mark Sapiro [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 31, 2008 2:16 PM
To: Scott Race
Cc: mailman-users@python.org
Subject: RE: [Mailman-Users] Mailman on multiple domains

Scott Race wrote:

Thanks for the reply - so this will be a multiple mailman domain.
Currently list working on first-domain.org, trying to get it working on
second-domain.org.

So yes, Host name this list prefers for email is correct as
second-domain.org.

My mm_cfg.py looks like this:

   from socket import *
   try:
   fqdn = getfqdn()
   except:
   fqdn = 'mm_cfg_has_unknown_host_domains'

   DEFAULT_URL_HOST   = fqdn
   DEFAULT_EMAIL_HOST = fqdn

   # Because we've overriden the virtual hosts above
add_virtualhost
   # MUST be called after they have been defined.

   add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
   add_virtualhost('www.first-domain.org', 'first-domain.org')
   add_virtualhost('www.second-domain.org',
'second-domain.org')

   ##
   # Put YOUR site-specific configuration below, in mm_cfg.py . #
   # See Defaults.py for explanations of the values.#

   # Note - if you're looking for something that is imported from
mm_cfg,but you
   # didn't find it above, it's probably in Defaults.py.

   POSTFIX_STYLE_VIRTUAL_DOMAINS = ['second-domain.org']

   MTA = 'Postfix'


So, I might be getting somewhere now...so I have a virtual-mailman file
now, it's in /etc/mailman.


I don't recall your telling us that this was a RedHat package. These
things make a difference.


  It has the following entries:

# LOOP ADDRESSES START
[EMAIL PROTECTED]  mailman-loop
# LOOP ADDRESSES END

# STANZA START: scott-test
# CREATED: Fri Oct 31 15:44:28 2008
[EMAIL PROTECTED]  scott-test
[EMAIL PROTECTED]scott-test-admin
[EMAIL PROTECTED]  scott-test-bounces
[EMAIL PROTECTED]  scott-test-confirm
[EMAIL PROTECTED] scott-test-join
[EMAIL PROTECTED]scott-test-leave
[EMAIL PROTECTED]scott-test-owner
[EMAIL PROTECTED]  scott-test-request
[EMAIL PROTECTED]scott-test-subscribe
[EMAIL PROTECTED]  scott-test-unsubscribe
# STANZA END: scott-test

And the virtual-mailman.db is present and current (same date and time
as
the virtual-mailman file).


That's good.


So, getting closer, but a test to the list still bounces:
The following recipient(s) could not be reached:

  [EMAIL PROTECTED] on 10/31/2008 1:47 PM
There was a SMTP communication problem with the recipient's
email server.  Please contact your system administrator.
jdaarch.com #5.5.0 smtp;550
[EMAIL PROTECTED]:
Recipient address rejected: User unknown in virtual alias table


At this point I'm wondering if since I'm using a second domain, I need
to include the first domain in the virtual domain config?  Right now it
seems like only my second-domain is in the virtual config.


That's probably not a problem.

Does your main.cf virtual_alias_maps point to
/etc/mailman/virtual-mailman where it is or does it point somewhere
else. How about alias_maps?

-- 
Mark Sapiro [EMAIL PROTECTED]The 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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Mailman on multiple domains

2008-10-31 Thread Scott Race
Checked the permissions:

Mailman directory:
drwxrwsr-x   2 root   mailman4096 Oct 31 16:41 mailman

Alias files:
-rw-rw-rw-  1 root   mailman 12582 Oct 31 16:41 aliases
-rw-rw-rw-  1 root   mailman 24576 Oct 31 16:41 aliases.db
-rw-rw  1 apache mailman  3689 Oct 31 16:41 virtual-mailman
-rw-r-  1 root   mailman 12288 Oct 31 15:44 virtual-mailman.db

Changed the file permissions to 660 on virtual-mailman.db and posts now
working!

Thanks a million.

Scott Race
 
 

-Original Message-
From: Mark Sapiro [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 31, 2008 3:11 PM
To: Scott Race
Cc: mailman-users@python.org
Subject: RE: [Mailman-Users] Mailman on multiple domains

Scott Race wrote:

Now just hit one more slight snag, can no longer create new lists on
the
second-domain.org.

Fails with the Bug in Mailman version 2.1.5 - We're sorry, we hit a
bug!
Error.

/var/log/mailman error shows:

admin(14722): RuntimeError: command failed: /usr/sbin/postmap
/etc/mailman/virtual-mailman (status: 1, Operation not permitted)

I noticed that apache is now trying to own the virtual-mailman file in
/etc/mailman, didn't notice that before.  Changing the ownership to
root:mailman doesn't work, when trying to create a list it fails and
apache takes ownership back.


The owner doesn't matter except the owner of aliases.db probably needs
to be 'mailman'. the other owners (aliases, virtual-mailman and
virtual-mailman.db don't matter.

What does matter is /etc/mailman needs to be group mailman and g+rws
and all four of aliases, aliases.db, virtual-mailman and
virtual-mailman.db need to be group mailman and g+rw.

-- 
Mark Sapiro [EMAIL PROTECTED]The 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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Users] Mailman on multiple domains

2008-10-29 Thread Scott Race
Hello all,
Question about using mailman in a virtual domain scenario. I currently
have Postfix on a RHLE server with mailman installed working for a
single domain.

I am configuring Postfix for virtual domains, using the Virtual Mailbox
Domain setup instead of alias domains since I'm assuming I am not going
to have local user accounts for the virtual domains.

I'm getting stuck in the virtual recipient maps section.  I am not sure
how I should setup my maps.  Postfix wants me to map an email address to
a virtual mailbox, but since mailman has multiple email addresses, do I
need a mailbox for each email address?

Thanks in advance!
Scott
--
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/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Mailman on multiple domains

2008-10-29 Thread Scott Race
I did some more research and looked at the Mailman Install info (should
have done that before posting, sorry).  Looks like I need to be using
virtual alias domains instead of virtual mailbox domains. I will work
with this config.  Thanks!
Scott

-Original Message-
From: Scott Race 
Sent: Tuesday, October 28, 2008 11:15 AM
To: mailman-users@python.org
Subject: Mailman on multiple domains

Hello all,
Question about using mailman in a virtual domain scenario. I currently
have Postfix on a RHLE server with mailman installed working for a
single domain.

I am configuring Postfix for virtual domains, using the Virtual Mailbox
Domain setup instead of alias domains since I'm assuming I am not going
to have local user accounts for the virtual domains.

I'm getting stuck in the virtual recipient maps section.  I am not sure
how I should setup my maps.  Postfix wants me to map an email address to
a virtual mailbox, but since mailman has multiple email addresses, do I
need a mailbox for each email address?


Thanks in advance!
Scott
--
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/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Users] Mailman on multiple domains

2008-10-29 Thread Scott Race
I have Postfix and Mailman running on a RHLE server.  Mailman and
Postfix work fine for a single domain setup.

 

I have now setup my postfix configuration setup to accept mail for
multiple domains.  I did so editing main.cf to include the new domain I
want to receive mail for, created a local user account for the user, and
created a virtual_alias_maps file which tells the email to the second
domain to forward to the new user account I setup.

 

So I have mailman running on a new VirtualHost, I can create a list from
the web interface, I can join lists and all emails from the system look
ok (having the second domain name).  When posting, I get the following:

 

Your message did not reach some or all of the intended recipients.

 

  Subject: Test Post

  Sent: 10/28/2008 1:11 PM

 

The following recipient(s) could not be reached:

 

  [EMAIL PROTECTED] on 10/28/2008 1:11 PM

You do not have permission to send to this recipient.  For
assistance, contact your system administrator.

MSEXCH:MSExchangeIS:/DC=local/DC=jda:SERVER 

 

This must have something to do with my virtual_alias_maps file, which
currently has nothing in it except a map from the second domain to a
local user (which I just did as a test).  I'm sure I'm missing something
here?

 

Thanks

Scott

 

--
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/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Mailman on multiple domains

2008-10-29 Thread Scott Race
As a follow-up, I don't seem to have the virtual-mailman file on my
server anywhere as stated in the documentation

 



From: Scott Race 
Sent: Tuesday, October 28, 2008 1:18 PM
To: mailman-users@python.org
Subject: Mailman on multiple domains

 

I have Postfix and Mailman running on a RHLE server.  Mailman and
Postfix work fine for a single domain setup.

 

I have now setup my postfix configuration setup to accept mail for
multiple domains.  I did so editing main.cf to include the new domain I
want to receive mail for, created a local user account for the user, and
created a virtual_alias_maps file which tells the email to the second
domain to forward to the new user account I setup.

 

So I have mailman running on a new VirtualHost, I can create a list from
the web interface, I can join lists and all emails from the system look
ok (having the second domain name).  When posting, I get the following:

 

Your message did not reach some or all of the intended recipients.

 

  Subject: Test Post

  Sent: 10/28/2008 1:11 PM

 

The following recipient(s) could not be reached:

 

  [EMAIL PROTECTED] on 10/28/2008 1:11 PM

You do not have permission to send to this recipient.  For
assistance, contact your system administrator.

MSEXCH:MSExchangeIS:/DC=local/DC=jda:SERVER 

 

This must have something to do with my virtual_alias_maps file, which
currently has nothing in it except a map from the second domain to a
local user (which I just did as a test).  I'm sure I'm missing something
here?

 

Thanks

Scott

 

--
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/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] /etc/aliases vs. /etc/mailman/aliases

2008-10-19 Thread Scott Race
Worked perfect.  Thank you!!

scott

-Original Message-
From: Mark Sapiro [EMAIL PROTECTED]
Sent: Saturday, October 18, 2008 10:52 AM
To: Scott Race [EMAIL PROTECTED]; mailman-users@python.org 
mailman-users@python.org
Subject: Re: [Mailman-Users] /etc/aliases vs. /etc/mailman/aliases

Scott Race wrote:

How can I tell Postfix to also check the /etc/mailman/aliases file, or
is it better to tell mailman to write to the /etc/aliases file?  Seems
like I'd rather keep my malman aliases in /etc/mailman/aliases.


This is really a RedHat package question (i.e. why doesn't RedHat's
package update Postfix main.cf?), but ...

It is better to keep your Mailman aliases separate. Otherwise, you will
run into permissions issues and also, Mailman doesn't really know
about 'other' aliases in /etc/aliases and various Mailman events can
lose some or all of them.

You probably have something like

alias_maps = hash:/etc/aliases

in your Postfix main.cf. Possibly other files are listed too. You need
to add hash:/etc/mailman/aliases to the list, e.g.

alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases

and reload postfix.

-- 
Mark Sapiro [EMAIL PROTECTED]The 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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Users] /etc/aliases vs. /etc/mailman/aliases

2008-10-18 Thread Scott Race
I am configuring mailman on a Red Hat Enterprise server, single domain
(for now).  I've gone through some different configs, finally almost
have it working.

When I create a new list, it updates the /etc/mailman/aliases file and
updates it.

/etc/mailman:
-rw-rw-rw-  1 root mailman  6040 Oct 17 18:44 aliases
-rw-rw-rw-  1 root mailman 12288 Oct 17 19:01 aliases.db

Problem is, postfix seems to be using /etc/aliases for the aliases file.
If I add my mailman entries in /etc/aliases, email works.  

How can I tell Postfix to also check the /etc/mailman/aliases file, or
is it better to tell mailman to write to the /etc/aliases file?  Seems
like I'd rather keep my malman aliases in /etc/mailman/aliases.

Thanks!
Scott
--
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/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] (no subject)

2008-10-17 Thread Scott Race
Well, I actually just figured this out.  I set Postfix back to work for
just a single domain, reinstalled mailman and now it's working
correctly. I'll just need to do the advanced config for the multiple
domains.

Scott

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Scott Race
Sent: Wednesday, October 15, 2008 1:50 AM
To: mailman-users@python.org
Subject: [Mailman-Users] (no subject)

 
Hello,
I'm inheriting a server that has mailman setup on it, but eventually
will have mailman lists for multiple domain names.  I'm having hard time
figuring out what was previously done, but ultimately trying to get at
least one mailman list working on one domain.  However, it's currently
somewhat configured for mutliple domains.
 
At this point, I can create lists, join lists, but can't post to lists.
I can send emails to the list and don't get bounces, but nothing ever
gets posted.
 
One thing I see is that the maillog shows email is getting rewritten
before it can be delivered to the orig mailbox, see the relevant section
of the maillog here:
 
Oct 15 03:26:29 161446-db1 postfix/smtpd[23936]: 70D3719F075E:
client=mail.newarch.com[216.135.169.66]
Oct 15 03:26:29 161446-db1 postfix/cleanup[23940]: 70D3719F075E:
message-id=[EMAIL PROTECTED]
l mailto:[EMAIL PROTECTED]

Oct 15 03:26:29 161446-db1 postfix/qmgr[23869]: 70D3719F075E:
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ,
size=1721, nrcpt=1 (queue active)
Oct 15 03:26:29 161446-db1 postfix/local[23941]: 70D3719F075E:
to=[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ,
orig_to=[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] , relay=local, delay=0,
status=sent (delivered to mailbox)
Oct 15 03:26:29 161446-db1 postfix/qmgr[23869]: 70D3719F075E: removed
Oct 15 03:26:29 161446-db1 postfix/smtpd[23936]: disconnect from
mail.newarch.com[216.135.169.66]

 
I'm thinking the aliases is somehow not configured correctly, but just
an idea.
 
So, can join the list fine and receive emails from the mailman server,
just can't post to the list...
 
Any ideas? Thanks a ton in advance.
 
 
-BFC
 
--
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/webaccount%40jdaarc
h.com

Security Policy: http://wiki.list.org/x/QIA9
--
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/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Users] (no subject)

2008-10-16 Thread Scott Race
 
Hello,
I'm inheriting a server that has mailman setup on it, but eventually will have 
mailman lists for multiple domain names.  I'm having hard time figuring out 
what was previously done, but ultimately trying to get at least one mailman 
list working on one domain.  However, it's currently somewhat configured for 
mutliple domains.
 
At this point, I can create lists, join lists, but can't post to lists.  I can 
send emails to the list and don't get bounces, but nothing ever gets posted.
 
One thing I see is that the maillog shows email is getting rewritten before it 
can be delivered to the orig mailbox, see the relevant section of the maillog 
here:
 
Oct 15 03:26:29 161446-db1 postfix/smtpd[23936]: 70D3719F075E: 
client=mail.newarch.com[216.135.169.66]
Oct 15 03:26:29 161446-db1 postfix/cleanup[23940]: 70D3719F075E: 
message-id=[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
Oct 15 03:26:29 161446-db1 postfix/qmgr[23869]: 70D3719F075E: [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] , size=1721, nrcpt=1 (queue active)
Oct 15 03:26:29 161446-db1 postfix/local[23941]: 70D3719F075E: to=[EMAIL 
PROTECTED] mailto:[EMAIL PROTECTED] , orig_to=[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] , relay=local, delay=0, status=sent (delivered to 
mailbox)
Oct 15 03:26:29 161446-db1 postfix/qmgr[23869]: 70D3719F075E: removed
Oct 15 03:26:29 161446-db1 postfix/smtpd[23936]: disconnect from 
mail.newarch.com[216.135.169.66]

 
I'm thinking the aliases is somehow not configured correctly, but just an idea.
 
So, can join the list fine and receive emails from the mailman server, just 
can't post to the list...
 
Any ideas? Thanks a ton in advance.
 
 
-BFC
 
--
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/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9