[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


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] 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


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