Dear Members.......
I need help urgently with postfix. I have installed RedHat 8.0 with Postfix, Fetchmail and Procmail. Im constantly connected to the internet thru a ADSL modem.
My prob is this: I have to setup up my mail server to send and receive mail through an external mail server (=mail.xxxxx.com.my) (provided by my ISP). Users in my network should connect to my mail server (mars.xxxxx.com.my) to send and receive mails. I am not able to send mail to any other domain (e.g yahoo, hotmail,etc) outside my own network.
I am able to receive mail from anywhere, within and outside my network (fetchmail is working fine).
I have read through numerous mailing lists but am still unable to find a solution. This is the error msg in my log file:
Aug 11 10:15:57 mars postfix/smtp[1878]: 2EA593789C: to=<sharmila_rajagopal@yahoo.com>, relay=mail.xxxxx.com.my[202.157.185.130], delay=7, status=bounced (host mail.xxxxx.com.my[202.157.185.130] said: 550 not local host yahoo.com, not a gateway)
1. Below is the output of postconf -n
[root@mars root]# postconf -n
mydomain = xxxxx.com.my
myhostname = mars.xxxxx.com.my
relayhost = mail.xxxxx.com.my
myorigin = $mydomain
mydestination = $myhostname, localhost.$mydomain, $mydomain, mail.$mydomain,
www.$mydomain, ftp.$mydomain
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
disable_dns_lookups = no
inet_interfaces = all
mynetworks_style = class
local_destination_concurrency_limit = 5
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-1.1.11/README_FILES
sample_directory = /usr/share/doc/postfix-1.1.11/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_always_send_ehlo = yes
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
transport_maps = hash:/etc/postfix/transport
2. etc/postfix/transport contains this:
xxxxx.com.my smtp:mail.xxxxx.com.my
3. And the output of #hostname is
mars.xxxxx.com.my
4. port 25 at my ISP is not closed.
p/s even if i changed
disable_dns_lookups = no to yes (as suggested in some lists), my problem is still not solved.
thank you in advance.