Micah wrote:
I've been fighting with this problem a bit now. Google and RTFM have
been pretty kind to me, and I'm about 90% to having a solution
implemented. I've gotten hung up on one little detail, and I find
myself in need of some guidance.
I run a RHEL5 server with postfix, clam, spamassassin, & dovecot. About
a year or so ago I switched from Sendmail (which I had been running
since 1995) to Postfix when I rebuilt my mail server, and it's been a
pretty painless conversion. I have discovered a couple of mail servers
on the net that will not accept mail from any customer at my ISP ("We're
sorry, but the class B that you're coming from is in the MAPS database
as being dynamically assigned, so bugger off!" Funny... I've paid for
a block of static addresses for 3 years now from my ISP)
a block like what?
$ host 207.32.43.6
6.43.32.207.in-addr.arpa domain name pointer perrin.blades.net.
$ host 207.32.43.5
5.43.32.207.in-addr.arpa domain name pointer loial.blades.net.
$ host 207.32.43.4
4.43.32.207.in-addr.arpa domain name pointer 4.43.32.207.sta.southslope.net.
$ host 207.32.43.3
3.43.32.207.in-addr.arpa domain name pointer 3.43.32.207.sta.southslope.net.
$ host 207.32.43.7
7.43.32.207.in-addr.arpa domain name pointer portasbestos.blades.net.
$ host 207.32.43.8
8.43.32.207.in-addr.arpa domain name pointer 8.43.32.207.sta.southslope.net.
$ host 207.32.43.9
9.43.32.207.in-addr.arpa domain name pointer 9.43.32.207.sta.southslope.net.
that's a "generic" block. don't be surprised if it's all blocked.
so I've got to
relay mail to a couple of specific domain through my ISP's mail server.
Their server admin is a pretty decent guy and generally has a clue and
I've got things mostly working. My ISP's mail server is doing
non-encrypted SASL for outbound mail on an odd-ball port, (577) and only
accepting connections from IP address space allocated to it's customers.
In my main.cf I have this line:
transport_maps = hash:/etc/postfix/transport
in my /etc/postfix/transport I have these two lines: (host/domain names
changed to protect the innocent)
foo.com smtp:[smtp.my-isp.net]:577
.foo.com smtp:[smtp.my-isp.net]:577
and in /etc/postfix/sasl_password I have this:
smtp.my-isp.net:577 MyUsernameHere:MyPasswordHere
key mismatch. use
[smtp.my-isp.net]:577 MyUsernameHere:MyPasswordHere
oh, and where is 'postconf -n' output?