hi I have configured a basic postfix mail server but wen i am trying to sen a mail frm a remote system it give me the following error : #################################################################### Oct 31 10:53:22 server227 postfix/smtpd[9586]: connect from unknown[ 59.181.110.97] Oct 31 10:53:23 server227 postfix/smtpd[9586]: NOQUEUE: reject: RCPT from unknown[59.181.110.97]: 554 < agnello.dsouza@gmail.com>: Relay access denied; from=test@quali.com to=agnello.dsouza@gmail.com proto=SMTP helo=<Agnello> Oct 31 10:53:23 server227 postfix/smtpd[9586]: disconnect from unknown[ 59.181.110.97] ###################################################################################### my main.cf file look something like this
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 html_directory = no inet_interfaces = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, localhost mydomain = quali.com myhostname = mail.quali.com mynetworks = 168.100.189.0/28, 127.0.0.0/8, myorigin = $myhostname newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES sample_directory = /usr/share/doc/postfix-2.2.2/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop unknown_local_recipient_reject_code = 550 ########################################################################### When i added the the IP addresss { 59.181.110.97 } to the " mynetwork" parameter i was able to send out the mails. but when i remove it it gives me the same errror.
Could you please advice me how to resolve this issue