Asfihani wrote:
On Mon, Jan 19, 2004 at 09:41:47AM +0700, iwa wrote:
dear postfix'er
numpang tanya donk ttg postfix, dikantorku saat ini postfix dijadikan sebagai
relay server untuk ms. exchange. yg gambarannya kira2x seperti ini:
ISP (Mailbox di ISP) ---> postfix (relayer) ---> Mailbox (Ms. Exchange).
setelah saya test, saat ini postfix untuk relay lokal berjalan normal,
Jan 17 06:18:11 mail01 postfix/smtp[13619]: E1C1D153224:
to=<[EMAIL PROTECTED]>, relay=10.19.255.250[10.19.255.250], delay=23,
status=sent (250 OK)
tetapi ketika saya test mengirim email dari luar (yahoo) ke dalam ternyata
didalam lognya ada problem "Relay access denied, katanya:
Jan 17 09:35:33 mail01 postfix/smtpd[5286]: 471EA153224: reject: RCPT from
web13806.mail.yahoo.com[216.136.175.16]: 554 <[EMAIL PROTECTED]>: Relay
access denied; from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]>
proto=SMTP helo=<web13806.mail.yahoo.com>
isi main.cf spt ini:
[EMAIL PROTECTED] iwa]# /usr/sbin/postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
inet_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
maps_rbl_domains = relays.ordb.org cbl.abuseat.org
mydestination = $myhostname, localhost.$mydomain
mydomain = bbj-jfx.com
myhostname = mail01.bbj-jfx.com
mynetworks = 202.xxx.xxx.224/28 10.19.0.0/16 10.16.0.0/14, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /etc/postfix/readme
relay_domains = $mydestination
Coba ditambah seperti ini :
relay_domains = $mydestination domainku.com
Lihat juga http://www.postfix.or.id/website/faq.html#backup
Asfihani
dan juga ini mungkin bisa membantu :
transport_maps = hash:/etc/postfix/transport
isi transport map =
namarelaydomain smtp:[exchangeIP]
regards
postbie