From: Jonathan Nichols (no email)
Date: Thu Jan 29 2004 - 19:22:42 EST
Yeah, Exchange.. trustd host, hah hah.. ;)
Anyway, I keep getting this:
Jan 29 16:15:47 [postfix/smtpd] DA0DC21F9A: reject: RCPT from
idontcare.pbp.net[66.92.222.34]: 454 <>: Relay
access denied; from=<>
to=<> proto=ESMTP helo=<exchange.internal.pbp.net>
idontcare = the firewall. exchange is actually on a 172 net, but FW-1 is
re-writing the NAT oddly, so that's what comes out. I haven't managed to
fix that yet.
I want to have the Exchange server use "mail.pbp.net" as a smart host
and send all of its mail via that host.
some stuff from postconf -n:
mydomain = pbp.net
myhostname = mail.pbp.net
mynetworks = 192.168.10.0/24, 127.0.0.0/8
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.0.16-r1
recipient_delimiter = +
relay_domains = /etc/postfix/relaydomains
relocated_maps = mysql:/etc/postfix/mysql-relocated.cf
sample_directory = /etc/postfix/sample
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_client_restrictions = permit_mynetworks,
hash:/etc/postfix/exchange, check_sender_access,
hash:/etc/postfix/access, hash:/etc/postfix/exchange
permit_sasl_authenticated, reject
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks, reject_unauth_destination
/etc/postfix/exchange:
exchange.internal.pbp.net OK
66.92.222.34 OK
/etc/postfix/access:
idontcare.pbp.net RELAY
exchange.internal.pbp.net RELAY
66.92.222.34 RELAY
Neither seem to be working. =/ Of course, I did "postfix reload" and
"postfix check" ...
I'm using TLS for users to send mail via this machine, but I want the
Exchange server to be able to send all of its outbound mail through my
Postfix machine.
Re-writing the addresses on outbound mail is something I'll ask about
later. :P
Thanks!
|
|
|