Re: [Mailman-Users] How to PRESERVE multipart/mixed format

2007-03-07 Thread Brad Knowles
At 2:50 PM +0200 3/6/07, andReadG wrote:

  The link is correct and everything works in the
  end, but I would prefer the original attachment to
  remain within the original mime multipart message!

The sending of any kind of MIME/HTML format e-mail is a really, 
really bad idea.  It's bad enough that there isn't a single mail 
client on the planet that can actually do anything remotely close to 
a decent job of *writing* MIME/HTML format messages, but compound 
that with the problem that there isn't a single mail client on the 
planet that is capable of properly *reading* MIME/HTML format 
messages, and you have a disaster.

The problem is that crap from one particular vendor will mostly 
kinda-semi-sorta work okay with other crap from the same vendor, but 
then everyone gets lulled into this sense that everyone else should 
be exposed to the same crap.  More importantly, people get criminally 
misled into the view that their particular brand of crap should 
necessarily be inflicted upon the entire rest of the world, because 
it obviously works quite well enough for them -- if only the entire 
rest of the world would kow-tow to them.


Of course, the particular brand of crap from one vendor rarely 
interoperates well at all with any kind of crap from any other kind 
of vendor.


Trust me, when it comes to MIME/HTML and any kind of MIME/multipart 
format, the whole world would be so much better off if the entire 
concept had never been invented.

Short of that, it would be best if all of that got removed from the 
entire rest of the world, so that we wouldn't have to deal with all 
that.

Failing that, we should at least try to fix all multi-party 
communications channels that happen through commonly shared 
mechanisms such as mailing lists.


And yes, I recognize the hubris and irony in suggesting that I know 
better than anyone else in the world on this subject, and that 
everyone else should kow-tow to me.  ;)

  Can it be done?

Yeah.  Turn off all filtering within Mailman.

And be prepared for the deluge of sewage.

  (note: the actual MTA is postfix)

The MTA you use is not relevant to this particular question.



Please understand, I'm not blaming you for any of this.  I know that 
you've probably got some sort of impossible demand that has been 
handed down to you from $DEITY's-gift-to-your-organization, and that 
you have to just live with it.

But that doesn't make it a good idea.


Sometimes people demand that you do things that are not in their best 
interest.  And sometimes when you give them what they demand, even if 
you know how bad it is for them, it doesn't actually blow up in their 
face -- at least, not immediately.

But you know that, sooner or later, it will blow up in their face, 
and then they will forget that they demanded that you give them the 
loaded bazooka without a safety and then blame you for allowing them 
to blow off their entire leg -- and half the city as well.


Face it -- you're damned if you do, and damned if you don't.  That's 
just the nature of this business.  But you should at least have some 
sort of idea of what you're getting yourself into.

  I hope I'm not asking something naive!

Sadly enough, no.

-- 
Brad Knowles [EMAIL PROTECTED], Consultant  Author
LinkedIn Profile: http://tinyurl.com/y8kpxu
Slides from Invited Talks: http://tinyurl.com/tj6q4
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Trouble with mailman external responses

2007-03-07 Thread Stefan Berglund
Hello, I'm trying to set up mailman along with postfix to be able to create
my own mailllists at home.. I use a dyndns, which I'd like to use for the
mail list URL (is that possible??) - boffman.mine.nu.

It seems to work fine, I can send mail between users on the machine,
locally.. I can send mail from a local user to an external mail.. And the
other way around.

I can also subscribe to a list, locally, and get the confirmation.. But this
is what fails externally.

That is, if I send a mail to some [EMAIL PROTECTED] from an
external mail account, something goes wrong.. For some reason it uses the
result from gethostname()(?) as address in the mail (
blahblah.bredband.comhem.se) instead of boffman.mine.nu.

I have a log extract from the mail log over this scenario, here:
http://rafb.net/p/WRvuTL64.html

As I understand, something (wrong) happens at line 11.. There it uses @
c83-255-126-145.bredband.comhem.se for the first time.. Which I do not
want.. And after that, it uses that as from-address in the relay.. Or
something. I can't figure out what happens.. I just hope it's some simple
configuration detail that I've missed.

Any tips are highly apprecciated !!
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Trouble with mailman external responses

2007-03-07 Thread Paul Tomblin
Quoting Stefan Berglund ([EMAIL PROTECTED]):
 That is, if I send a mail to some [EMAIL PROTECTED] from an
 external mail account, something goes wrong.. For some reason it uses the
 result from gethostname()(?) as address in the mail (
 blahblah.bredband.comhem.se) instead of boffman.mine.nu.

That's a Postfix issue.  In /etc/postfix/main.cf, you need to specify the 
myhostname, mydomain, and possibly the masquerade_domains

-- 
Paul Tomblin [EMAIL PROTECTED] http://blog.xcski.com/
It's not hard, it's just asking for a visit by the fuckup fairy.
  -- Peter da Silva
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] header

2007-03-07 Thread Gerson Rino Prantl Oaida
Hi,

I have the mailman with freebsd and postfix.
My hostname is host.domain.com, and the list is 
[EMAIL PROTECTED], but I want [EMAIL PROTECTED].

I can´t remove de host of header.

Anyone can help me?

Gerson Oaida
===
Aviso de confidencialidade:
===
Esta mensagem da Empresa Brasileira de Pesquisa Agropecuaria (Embrapa),
empresa publica federal regida pelo disposto na Lei Federal N.  5.851,de 
7 de dezembro de 1972, e enviada exclusivamente a seu destinatario e pode 
conter informacoes confidenciais, protegidas por sigilo profissional. 
Sua utilizacao desautorizada e ilegal e sujeita o infrator as penas da lei.
Se voce a recebeu indevidamente, queira, por gentileza, reenvia-la ao 
emitente, esclarecendo o equivoco.
=
Confidentiality note:
=
This message from Empresa Brasileira de Pesquisa Agropecuaria (Embrapa) 
a government company established under Brazilian law (5.851/72) is directed 
exclusively to its addresses and may contain confidential data, protected 
under professional secrecy rules. Its unauthorized use is illegal and may 
subject the transgressor to the law's penalties. If you are not the addressee,
please send it back, elucidating the failure.
==
Embrapa Florestas
www.cnpf.embrapa.br
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Mail delivery fails with (-2, 'Name or service not known')

2007-03-07 Thread noc
Hi,

I'm in trouble. I've read the FAQ and everything about it on mailman site.

My problem is described in the FAQ (6.14) :
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.014.htp

I see these log entries in smtp-failure:
  Dec 22 21:03:29 2004 (1060) delivery to [EMAIL PROTECTED] failed  
with code -1: (-2, 'Name or service not known')
  Dec 22 21:18:32 2004 (1060) Low level smtp error: (-2, 'Name or  
service not known'), msgid:  
[EMAIL PROTECTED]
  Dec 22 21:18:32 2004 (1060) delivery to [EMAIL PROTECTED] failed  
with code -1: (-2, 'Name or service not known').

This python script :
   import smtplib
   connection = smtplib.SMTP()
  

didn't return any error to me... So I've look in my resolv.conf file.


My resolv.conf look like this :

search domainname.com
nameserver 193.24.123.123

but my computer name is ns50.domainname.com. Should I have  
domainname.com in resolv.conf or ns50.domainanme.com ?

I've tried that in python shell :
 import socket
 x = socket.gethostname()
 print x
ns50.domainname.com
 y = socket.gethostbyname(x)
 print y
127.0.0.1

So i've aded nameserver 127.0.0.1 to my resolv.conf . I've rebooted  
this computer and restarted mailman daemon.

But the problem is always here ...

When I try to access to python shell with mailman user ( @# su  
mailman ) I've got a error :
This account is currently not available.

So I can't test this python shell script with mailman user ...

I've look my /etc/hosts, I think it's world readable :
[EMAIL PROTECTED] ~]# ls -lah /etc/hosts
-rw-r--r-- 1 root root 135 Feb  2 16:21 /etc/hosts


What should I do ?
Any tips ?

I have this problem since two week from now ... and I can't see how to  
solve that :(

Thanks you if you have a tips !

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

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] header

2007-03-07 Thread Paul Tomblin
Quoting Gerson Rino Prantl Oaida ([EMAIL PROTECTED]):
 Hi,
 
 I have the mailman with freebsd and postfix.
 My hostname is host.domain.com, and the list is 
 [EMAIL PROTECTED], but I want [EMAIL PROTECTED].
 
 I can´t remove de host of header.

Try sending email from that host without using mailman (but not as root).
If it's still putting host.domain.com, then you need to make the following
changes to your /etc/postfix/main.cf (this will look a lot like the
message I sent a few hours ago):

mydomain = domain.com
myorigin = $mydomain
masquerade_domains = $mydomain
masquerade_exceptions = webmaster, root


-- 
Paul Tomblin [EMAIL PROTECTED] http://blog.xcski.com/
In an experiment to determine the precise amount of beer required to enjoy
this film, I passed out.
  -- Dave O'Brien, on Highlander II
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Trouble with mailman external responses

2007-03-07 Thread Mark Sapiro
Stefan Berglund wrote:

Hello, I'm trying to set up mailman along with postfix to be able to create
my own mailllists at home.. I use a dyndns, which I'd like to use for the
mail list URL (is that possible??) - boffman.mine.nu.


Paul has addressed your main question. I just want to add that you may
have problems trying to run Mailman from a server with a dynamic IP.
Earthlink.net for one will not accept your mail. The same is true for
some smaller ISPs. They don't like IPs with a 'generic' rDNS.

Depending on exactly which ISPs are used by your list members, you may
not be able to send mail to all of them unless you have a fixed IP,
and rDNS for the IP that points back to your domain.

I had the same issue with sending mail directly from my home network. I
already had a static IP, but it had a generic name. I had to register
my own domain and get the ISP to set rDNS for my IP to point to my
domain.

-- 
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://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Trouble with mailman external responses

2007-03-07 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mar 7, 2007, at 11:04 AM, Mark Sapiro wrote:

 Paul has addressed your main question. I just want to add that you may
 have problems trying to run Mailman from a server with a dynamic IP.
 Earthlink.net for one will not accept your mail. The same is true for
 some smaller ISPs. They don't like IPs with a 'generic' rDNS.

 Depending on exactly which ISPs are used by your list members, you may
 not be able to send mail to all of them unless you have a fixed IP,
 and rDNS for the IP that points back to your domain.

 I had the same issue with sending mail directly from my home  
 network. I
 already had a static IP, but it had a generic name. I had to register
 my own domain and get the ISP to set rDNS for my IP to point to my
 domain.

Which ISP do you use?  I have a static IP from my cable company but  
they refuse to give me an rDNS entry.  In every other way, I really  
like them, but I do get bounces occasionally from people's (IMHO)  
misconfigured MTAs who don't accept mail from cable rDNSs.

- -Barry

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iQCVAwUBRe7kg3EjvBPtnXfVAQJaCwP/fIMYLx+q2gR2kfx0om3bonPQy+k5tx6p
0Mzth5+RL8gLuBm4ckB7XG1AvBQQsk8KbruD6tPR9Tz0E891QtTIrY4/wEC/m3ck
ZshZZqwigAchUDXB3l5KVvE7W1MU2FXQMIrkXfIHMWR3i8rJdHYF6WfMRbq9xti/
NmmYmZUVm90=
=2MJA
-END PGP SIGNATURE-
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Trouble with mailman external responses

2007-03-07 Thread Paul Tomblin
Quoting Mark Sapiro ([EMAIL PROTECTED]):
 Paul has addressed your main question. I just want to add that you may
 have problems trying to run Mailman from a server with a dynamic IP.
 Earthlink.net for one will not accept your mail. The same is true for
 some smaller ISPs. They don't like IPs with a 'generic' rDNS.

The biggest problem I had when I was doing a mailman list on my home
server was that many sites would refuse email from IPs that were on their
RBLs list of dynamic IPs.  Yes, some of them look for a valid rDNS, but
99.99% of them were perfectly happy with an rDNS of
74-202-84-132.static.twtelecom.net rather than list.xcski.com.

I tried to get around that by sending my outgoing mail through my ISP's
outgoing mail server (using Postfix's relayhost =
[smtp-server.rochester.rr.com]), but then my ISP wouuld decide I'd sent
enough mail for that day and block me for 24 hours.  For a while I was
using a friend's box on a colo facility for a relayhost, but eventually I
moved my lists to first a Virtual Private Server at linode.com, and then
to my own colo box.

-- 
Paul Tomblin [EMAIL PROTECTED] http://blog.xcski.com/
IMAP is just not a very rich protocol.
  -- Steve Conn, Exchange Server product manager for Microsoft
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] ISPs and rDNS [was: Trouble with mailman external responses]

2007-03-07 Thread Mark Sapiro
Barry Warsaw wrote:

Which ISP do you use?  I have a static IP from my cable company but  
they refuse to give me an rDNS entry.  In every other way, I really  
like them, but I do get bounces occasionally from people's (IMHO)  
misconfigured MTAs who don't accept mail from cable rDNSs.


I use value.net, now a part of amerion.com, but I don't recommend them.
My IP is a DSL connection from amerion.com, but it is via
dslextreme.com. I don't know the exact relationship between
amerion.com and dslextreme.com, but I have no specific problem with
dslextreme.com.

Amerion.com is not too responsive. On the rDNS issue, I sent three
email requests to Amerion customer service over about 2 weeks. I got
no response to the first two. The third request was responded to with
I've forwarded this to engineering and the change was made a few
days later in only one of two name servers. One more email produced an
apology and an update of the second DNS a day or two later.

I also can't seem to get them to recognize that their MTA at
mail.value.net (Ipswitch Imail, aka SMTPD32, on a MS Windows box) is
seriously overloaded or misconfigured resulting in its often reaching
its maximum number of concurrent port 25 sessions which causes it to
stop listening and refuse a port 25 connect until something finishes.
I got so frustrated with connect refusals on my attempts to send mail
that I started using my own MTA. That ultimately solved my sending
problem, but not the issue of delayed and out of sequence incoming
mail. (Actually, I think they've done something as the situation isn't
as bad as it once was, but it's still a problem).

People see/hear this rant and ask why I just don't go somewhere else,
and I have no good answer - just inertia and an attachment to my
value.net address.

Paul Tomblin wrote:

The biggest problem I had when I was doing a mailman list on my home
server was that many sites would refuse email from IPs that were on their
RBLs list of dynamic IPs.  Yes, some of them look for a valid rDNS, but
99.99% of them were perfectly happy with an rDNS of
74-202-84-132.static.twtelecom.net rather than list.xcski.com.

Actually, when I first started using my own MTA, I just configured the
MTA's primary host name as netblock-68-183-193-239.dslextreme.com, and
things worked well except for earthlink.net. I don't know if they
would have liked me better if the name had been
netblock-68-183-193-239.static.dslextreme.com, but I wound up going
through the whole domain registration/rDNS dance before I could get
them to unblock me.

-- 
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://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] True virtual hosting patch for 2.1.9

2007-03-07 Thread noc
Hi,

I've applied mailman-vh-2.1.7.patch from http://nix.lauft.net/mailman/  
to my mailman 2.1.9 (running on fedora core 5).

But I can't create same list name on different domains ... where  
should I look to fix this problem ? Any tips or logs ?

Thanks !

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

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] sendmail and solaris stuff

2007-03-07 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Feb 27, 2007, at 10:44 PM, [EMAIL PROTECTED] wrote:

 Since you guys aren't working with either Sendmail or Solaris, I think
 it would be best for me to walk through and record the entire process,
 and give that to you as a basis for inclusion where and however you
 want to use it.

Sounds great Hank, thanks.
- -Barry

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iQCVAwUBRe8EOHEjvBPtnXfVAQLlSwP/Yy0m8Imse1G/caR4nHNXOo+TN7FKdEAf
IaE7HRIO6Z9e1c0WE0RiaHwpaLWNsBe8ME33sTBv5p9yT5XceL2VTRZz8ZXvCrKX
xlCvDKQfNCtXX4Hk3Ezv861QUDJcKJDI3cLV3s1w8uMI43i1ManDwBcC/IEQn9SN
hjz2M6Jr33c=
=rkmC
-END PGP SIGNATURE-
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] ISPs and rDNS [was: Trouble with mailman external responses]

2007-03-07 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mar 7, 2007, at 12:05 PM, Mark Sapiro wrote:

 Actually, when I first started using my own MTA, I just configured the
 MTA's primary host name as netblock-68-183-193-239.dslextreme.com, and
 things worked well except for earthlink.net. I don't know if they
 would have liked me better if the name had been
 netblock-68-183-193-239.static.dslextreme.com, but I wound up going
 through the whole domain registration/rDNS dance before I could get
 them to unblock me.

That's not a bad idea actually.  So far, I've only had one or two  
MTAs block me because of my funky reverse and I usually just go  
through my dormant gmail account to request a whitelisting.

- -Barry

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iQCVAwUBRe8GqnEjvBPtnXfVAQIQSAP9FDBLsdyxX3QapJfHNu70/cRXv2sAPZ6I
STH8V9L2PNPZaEPeVGMXKI92bckc3K1UbIRqz9bwt0tL6rsbq+Sk2Yc83dqkxg8X
HZy5vbZ4x4kNfClD6YiZFOoA9UqKpjhuXJ1RdkgA1hBVl9Ph8vx8HqwTtFZBlCOk
jp/a4NGoUQ4=
=CKRT
-END PGP SIGNATURE-
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Trouble with mailman external responses

2007-03-07 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mar 7, 2007, at 11:24 AM, Paul Tomblin wrote:

 I tried to get around that by sending my outgoing mail through my  
 ISP's
 outgoing mail server (using Postfix's relayhost =
 [smtp-server.rochester.rr.com]), but then my ISP wouuld decide I'd  
 sent
 enough mail for that day and block me for 24 hours.  For a while I was
 using a friend's box on a colo facility for a relayhost, but  
 eventually I
 moved my lists to first a Virtual Private Server at linode.com, and  
 then
 to my own colo box.

Maybe you know Paul: I looked a long while back and never found a  
good answer, but can Postfix set a relayhost on a per-recipient  
basis?  IOW, for the one or two domains that block me because of my  
funky reverse DNS, I'd like to relay them through my ISP, but I'd  
like to handle everyone else myself.

- -Barry

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iQCVAwUBRe8HBnEjvBPtnXfVAQIt9AP/Vx/laQiZYOTaLmGG70B/8Yq3ooEnZRfT
2KICM6Jt7K7XJDcwjDE5Rr58rv9x3eqm2ENmTywhEsCxUdEZmzHSviU5YDRTCXp5
Nk1BXz4Db5QOmgT/jI5KXt9IJ7UUDUo8KqCPYMAFa+H/CdToAkjHYX+5q213ld1N
y7u7Dv86HTA=
=kV2v
-END PGP SIGNATURE-
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Trouble with mailman external responses

2007-03-07 Thread Brad Knowles
At 1:40 PM -0500 3/7/07, Barry Warsaw wrote:

  Maybe you know Paul: I looked a long while back and never found a
  good answer, but can Postfix set a relayhost on a per-recipient
  basis?  IOW, for the one or two domains that block me because of my
  funky reverse DNS, I'd like to relay them through my ISP, but I'd
  like to handle everyone else myself.

All postfix routing solutions can be determined via tables and maps, 
so you should be able to do that.  Just create a suitable map.

-- 
Brad Knowles [EMAIL PROTECTED], Consultant  Author
LinkedIn Profile: http://tinyurl.com/y8kpxu
Slides from Invited Talks: http://tinyurl.com/tj6q4
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Trouble with mailman external responses

2007-03-07 Thread Paul Tomblin
Quoting Barry Warsaw ([EMAIL PROTECTED]):
 On Mar 7, 2007, at 11:24 AM, Paul Tomblin wrote:
 I tried to get around that by sending my outgoing mail through my
 ISP's outgoing mail server (using Postfix's relayhost =
 [smtp-server.rochester.rr.com]), but then my ISP wouuld decide I'd
 sent enough mail for that day and block me for 24 hours.  For a while I
 was using a friend's box on a colo facility for a relayhost, but
 eventually I moved my lists to first a Virtual Private Server at
 linode.com, and  then to my own colo box.
 
 Maybe you know Paul: I looked a long while back and never found a  
 good answer, but can Postfix set a relayhost on a per-recipient  
 basis?  IOW, for the one or two domains that block me because of my  

Yes.  When ISPs first started blocking dynamic IPs, I was adding them one
at a time to /etc/postfix/transport like this:

.rit.edusmtp:smtp-server.rochester.rr.com
rit.edu smtp:smtp-server.rochester.rr.com
microsoft.com smtp:smtp-server.rochester.rr.com

Make sure you have
transport_maps = hash:/etc/postfix/transport
in /etc/postfix/main.cf

-- 
Paul Tomblin [EMAIL PROTECTED] http://blog.xcski.com/
Belligerent Design: The theory that life was put on this planet by an
external sentient force just to piss me off. - Lore Brand Comics
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Trouble with mailman external responses

2007-03-07 Thread vancleef
The esteemed Barry Warsaw has said:
 
 Which ISP do you use?  I have a static IP from my cable company but  
 they refuse to give me an rDNS entry.  In every other way, I really  
 like them, but I do get bounces occasionally from people's (IMHO)  
 misconfigured MTAs who don't accept mail from cable rDNSs.
 
 - -Barry
 
Barry, I'm going to disagree with you on this one.  Virtually all of
the spam that gets through the various filters on my box comes from
big-service dynamic IP's right here in the US.  

Right now, I'm trying to home in on some of this spam, and am
operating under the assumption that I've got two or three users with
infected Microsoft systems sending out port 25 mail without their
knowledge.  I've pinned down a couple of others.  These users haven't
got the foggiest notion that there is anything wrong, what is wrong,
why it is wrong, or what to do about it, and that seems to be a common
affliction among consumer users with always-on internet
connectivity.

My own site has two IP's, with their own identities separate from my
upstream feed, with reverse lookups properly configured, and no port
blocking either way.  It took some time, discussion, and a couple of
very serious technical interviews with their people before they agreed
to that.  They consider me a commercial site with competent on-site
administration, and terms and conditions which are quite different
from consumer sites.   

I'd really call a sendmail receiving site that blocks dynamic IP mail
as misconfigured, when virtually all of the mail coming from such
IP's is spam.

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

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Permission issues

2007-03-07 Thread Stefan Berglund
Hi again, thanks for the help w/ my previous problem.. However, I had messed
it up a bit, so I reinstalled it (postfix + mailman) :-)

Now I got some user/group issues.. It complains about postfix running the
scripts(?) as nobody instead of mailman. Some googling tells me that
this is kindof common, and that postfix should use the same identity as the
owner of the aliases file...?

Right now I have this postfix config;

alias_maps = hash:/etc/mail/aliases,
 hash:/usr/local/mailman/data/aliases

..and user mailman owns both these files. Something wrong there..?

Also, I get some problem when I try to create a new list now, using the web
interface. I get a Oops, there was a bug page, and looking at the mailman
error log, it seems to be some kind of permission problem here also;

...
admin(29718): os.mkdir(self.archive_dir()+'.mbox', 02775)
admin(29718): OSError: [Errno 13] Permission denied:
'/usr/local/mailman/archives/private/testlist.mbox'
admin(29718): [- Python Information -]
admin(29718): sys.version =   2.4.2 (#1, Jun 13 2006, 15:10:48)
[GCC 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1,
pie-8.7.7.
admin(29718): sys.executable  =   /usr/bin/python
admin(29718): sys.prefix  =   /usr
admin(29718): sys.exec_prefix =   /usr
admin(29718): sys.path=   /usr
admin(29718): sys.platform=   linux2
admin(29718): [- Environment Variables -]
admin(29718):   HTTP_REFERER: http://boffman.mine.nu/mailman/create
admin(29718):   SERVER_SOFTWARE: Apache
admin(29718):   SCRIPT_NAME: /mailman/create
admin(29718):   SERVER_SIGNATURE: addressApache Server at
boffman.mine.nuPort 80/address
...

And, looking at the path mentioned;
# ls -ld /usr/local/mailman/archives/private
drwxr-s--x 4 mailman mailman 4096 Mar  7 14:52
/usr/local/mailman/archives/private/

# ls -l /usr/local/mailman/archives/private/
total 8
drwxrwsr-x 2 mailman mailman 4096 Mar  7 14:52 mailman
drwxrwsr-x 2 mailman mailman 4096 Mar  7 14:52 mailman.mbox

It feels like I've missed to do some settings of permissions.. I run gentoo,
and followed some gentoo guide.. Did I miss something? Does anyone have any
tips?


(hehe, I think this is among the most tricky things I've stumbled upon..
I've re-done it a couple of times now, and get new errors every time..! I
thought hm, maybe I should set up a mailing list!.. how naive :))


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

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Trouble with mailman external responses

2007-03-07 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mar 7, 2007, at 2:47 PM, Paul Tomblin wrote:

 Yes.  When ISPs first started blocking dynamic IPs, I was adding  
 them one
 at a time to /etc/postfix/transport like this:

 .rit.edusmtp:smtp-server.rochester.rr.com
 rit.edu smtp:smtp-server.rochester.rr.com
 microsoft.com smtp:smtp-server.rochester.rr.com

 Make sure you have
 transport_maps = hash:/etc/postfix/transport
 in /etc/postfix/main.cf

Transports, right!  (sound of hand smacking head).  I will definitely  
try this next time I get bounced by someone.

Thanks!
- -Barry

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iQCVAwUBRe9PJnEjvBPtnXfVAQIVGQQAqfqw5tbmM2o/D+DqCXCqR7NIOGq6Cmi9
xQPknC/Zykv+HSMx+h19OCxCJRdCgqFhMFefI7Qi6c41hDXoiGHIR9Oa2fiipyo+
H4yNILa3tLWXXYraIkzWOA9WtGMF0UDX9aw2SkkYpwCmjjXBMf9qwdTjiap0Yb/R
V6Tk13oAQ6Y=
=GBGK
-END PGP SIGNATURE-
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Trouble with mailman external responses

2007-03-07 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mar 7, 2007, at 4:08 PM, [EMAIL PROTECTED] wrote:

 Barry, I'm going to disagree with you on this one.  Virtually all of
 the spam that gets through the various filters on my box comes from
 big-service dynamic IP's right here in the US.

Hi Hank,

I don't disagree, except to point out that no-reverse-dns  dynamic  
IP (or clueless owner :).  I'm still trying to get my ISP to provide  
reverse-dns for my static IP address, for which I pay $19.95/mo  
extra.  I don't have many other options except to move to a CoLo,  
which I'd rather not do.

I recognize that there's no good way for an MTA to determine what's  
truly a dynamic IP address, and that for the money I'm spending, my  
ISP really should give me a way to set up my reverse.  I guess either  
are as likely to happen as a certain operating system vendor fixing  
all their deployed units so that botnets are impossible. :/

- -Barry

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iQCVAwUBRe9QpnEjvBPtnXfVAQI8rAP/RRNyy7/2u4pw1lLm1iNHCu89ndb1xtHa
DwzNPXJt7PKbah7vI+q+tM4uysTPqaigO2nx4PgYDuf78PVjAQ46exBza4WZDDNe
tV3blypeOdznEnYTDzykKtuFHuK8IXLRgLw9Lx+/PUo1keezyv76C4cVBGw6LP9h
mQRUMMW632M=
=zJRo
-END PGP SIGNATURE-
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Trouble with mailman external responses

2007-03-07 Thread Brad Knowles
At 2:08 PM -0700 3/7/07, [EMAIL PROTECTED] wrote:

  I'd really call a sendmail receiving site that blocks dynamic IP mail
  as misconfigured, when virtually all of the mail coming from such
  IP's is spam.

On the python.org mail system, we do not accept e-mail from sites 
that don't have proper working reverse DNS set up for their IP 
address.

However, we do not refuse connections from networks that are known to 
be within dynamic IP address space from major providers -- some of 
our own key people (like Barry) use dynamic IP address space, and we 
wouldn't want to reject their connections or connections from anyone 
else doing the same.

So long as those addresses have proper reverse DNS set up for them, 
and they're not on one of the very conservative RBLs that we use, 
then they should be fine.  IMO, this is a reasonable balance to 
strike.


Most everything else we do is done within SpamBayes, which is a 
Bayesian anti-spam classification system written in Python, and 
maintained by various well-known people in the Python community (see 
http://sourceforge.net/projects/spambayes and 
http://mail.python.org/mailman/listinfo/spambayes).

In this respect, we eat our own dog food, and run the same anti-spam 
processing system on our own machines as we provide for the benefit 
of the larger anti-spam community.

-- 
Brad Knowles [EMAIL PROTECTED], Consultant  Author
LinkedIn Profile: http://tinyurl.com/y8kpxu
Slides from Invited Talks: http://tinyurl.com/tj6q4
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Permission issues

2007-03-07 Thread Mark Sapiro
Stefan Berglund wrote:

Now I got some user/group issues.. It complains about postfix running the
scripts(?) as nobody instead of mailman. Some googling tells me that
this is kindof common, and that postfix should use the same identity as the
owner of the aliases file...?

Right now I have this postfix config;

alias_maps = hash:/etc/mail/aliases,
 hash:/usr/local/mailman/data/aliases

..and user mailman owns both these files. Something wrong there..?


/etc/mail/aliases should not have any Mailman aliases, so its ownership
is not relevant to Mailman. It is the group of the file
/usr/local/mailman/data/aliases and /usr/local/mailman/data/aliases.db
that is important, not the owner. Postfix runs the pipe as the
user:group of the file it found the alias in. Mailman only cares about
the group.


Also, I get some problem when I try to create a new list now, using the web
interface. I get a Oops, there was a bug page, and looking at the mailman
error log, it seems to be some kind of permission problem here also;

...
admin(29718): os.mkdir(self.archive_dir()+'.mbox', 02775)
admin(29718): OSError: [Errno 13] Permission denied:
'/usr/local/mailman/archives/private/testlist.mbox'


If this one weren't so obvious to me, I would have wanted to see the
full traceback preceeding the above lines.


And, looking at the path mentioned;
# ls -ld /usr/local/mailman/archives/private
drwxr-s--x 4 mailman mailman 4096 Mar  7 14:52 
/usr/local/mailman/archives/private/

Premissions on /usr/local/mailman/archives/private/
 should be drwxrws--- at a minimum, but they probably need to be
drwxrws--x for public archives to work.

What is happening here is the web create cgi is running as the web
server user and mailman group because of the SETGID bit on the
wrapper. It does not have permission to create
/usr/local/mailman/archives/private/testlist.mbox because
/usr/local/mailman/archives/private/ is not group writable.


It feels like I've missed to do some settings of permissions.. I run gentoo,
and followed some gentoo guide.. Did I miss something? Does anyone have any
tips?


Did you run bin/check_perms?

Also, see
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.016.htp
regarding mailman permissions, security and group mismatch errors.

-- 
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://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp